mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-28 05:59:20 -05: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:
parent
e642f78f2e
commit
f3ed529739
1 changed files with 9 additions and 2 deletions
|
@ -821,7 +821,12 @@ (define-public geany
|
||||||
`(("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 @@ (define-public geany
|
||||||
(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
|
||||||
|
|
Loading…
Reference in a new issue