1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-07-03 19:44:04 +02:00

gnu: glade3: Fix build, and wrap to render icons.

* gnu/packages/gnome.scm (glade3) [#:glib-or-gtk]: New.
[#:phases] {skip-gjs-test}: Delete.
{skip-modules-test}: New.

Change-Id: I71397e22835f37cb83cef517ee0c9116f706cfc9
This commit is contained in:
Maxim Cournoyer
2026-03-30 12:17:12 +09:00
committed by Noé Lopez
parent bbd0e658e0
commit ff65b44e7d
+8 -11
View File
@@ -3222,6 +3222,7 @@ API add-ons to make GTK+ widgets OpenGL-capable.")
(build-system meson-build-system)
(arguments
(list
#:glib-or-gtk? #t
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'skip-gtk-update-icon-cache
@@ -3229,17 +3230,13 @@ API add-ons to make GTK+ widgets OpenGL-capable.")
(lambda _
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))))
#$@(if (this-package-input "gjs")
'()
'((add-after 'unpack 'skip-gjs-test
(lambda _
;; When the optional dependency on GJS is missing, skip
;; the GJS plugin tests.
(substitute* "tests/modules.c"
(("g_test_add.*JavaScript.*" all)
(string-append "// " all "\n")))
(delete-file "tests/catalogs/gjsplugin.xml")))))
(add-after 'unpack 'skip-modules-test
;; This test fails with 'GLib-GObject-FATAL-CRITICAL: cannot
;; register existing type 'GIRepository' since the GNOME 49
;; upgrades.
(lambda _
(substitute* "tests/meson.build"
((".*'modules', .*") ""))))
(add-before 'check 'pre-check
(lambda _
(setenv "HOME" "/tmp")