~ruther/guix-local

f3ed5297392fd7fe9cb6fc003824ce34130e80bd — Nicolas Goaziou 6 years ago e642f78
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.
1 files changed, 9 insertions(+), 2 deletions(-)

M gnu/packages/text-editors.scm
M gnu/packages/text-editors.scm => gnu/packages/text-editors.scm +9 -2
@@ 821,7 821,12 @@ and multiple fonts.")
     `(("gtk+" ,gtk+)
       ("scintilla" ,scintilla)))
    (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
         (add-after 'unpack 'use-scintilla-shared-library
           (lambda* (#:key inputs #:allow-other-keys)


@@ 838,7 843,9 @@ and multiple fonts.")
             (substitute* "tests/Makefile.am"
               (("AM_LDFLAGS =" all) (string-append all " -lscintilla")))
             (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")
    (synopsis "Fast and lightweight IDE")
    (description "Geany is a small and fast Integrated Development