3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: geany: Fix crash when displaying file selection

* gnu/packages/text-editors.scm (geany)[arguments]: Wrap GTK to prevent errors
when opening file selection menu.
This commit is contained in:
Nicolas Goaziou 2020-06-01 23:31:22 +02:00
parent e642f78f2e
commit f3ed529739
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -821,7 +821,12 @@ and multiple fonts.")
`(("gtk+" ,gtk+) `(("gtk+" ,gtk+)
("scintilla" ,scintilla))) ("scintilla" ,scintilla)))
(arguments (arguments
`(#:phases `(#:imported-modules ((guix build glib-or-gtk-build-system)
,@%gnu-build-system-modules)
#:modules (((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build gnu-build-system)
(guix build utils))
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'use-scintilla-shared-library (add-after 'unpack 'use-scintilla-shared-library
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
@ -838,7 +843,9 @@ and multiple fonts.")
(substitute* "tests/Makefile.am" (substitute* "tests/Makefile.am"
(("AM_LDFLAGS =" all) (string-append all " -lscintilla"))) (("AM_LDFLAGS =" all) (string-append all " -lscintilla")))
(for-each delete-file (list "autogen.sh" "configure" "Makefile.in")) (for-each delete-file (list "autogen.sh" "configure" "Makefile.in"))
#t))))) #t))
(add-after 'install 'glib-or-gtk-wrap
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
(home-page "https://www.geany.org") (home-page "https://www.geany.org")
(synopsis "Fast and lightweight IDE") (synopsis "Fast and lightweight IDE")
(description "Geany is a small and fast Integrated Development (description "Geany is a small and fast Integrated Development