Skip to content
Snippets Groups Projects
Unverified Commit ae44ebb9 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: synfigstudio: Fix crash on opening files.

* gnu/packages/animation.scm (synfigstudio)[arguments]: Add "wrap-program"
phase.
parent b0415c03
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment