mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: synfigstudio: Fix crash on opening files.
* gnu/packages/animation.scm (synfigstudio)[arguments]: Add "wrap-program" phase.
This commit is contained in:
parent
b0415c0361
commit
ae44ebb90e
1 changed files with 13 additions and 0 deletions
|
@ -147,8 +147,21 @@ (define-public synfigstudio
|
|||
(patches
|
||||
(search-patches "synfigstudio-fix-ui-with-gtk3.patch"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; This fixes the file chooser crash that happens with GTK 3.
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(gtk (assoc-ref inputs "gtk+"))
|
||||
(gtk-share (string-append gtk "/share")))
|
||||
(wrap-program (string-append out "/bin/synfigstudio")
|
||||
`("XDG_DATA_DIRS" ":" prefix (,gtk-share)))
|
||||
#t))))))
|
||||
(inputs
|
||||
`(("gtkmm" ,gtkmm)
|
||||
("gtk+" ,gtk+)
|
||||
("libsigc++" ,libsigc++)
|
||||
("synfig" ,synfig)))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue