guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 5b87fae1d529f385c5badcdc577818923da31066
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Mon Mar 30 12:17:12 2026 +0900
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
---
gnu/packages/gnome.scm | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ff36d624f3..4a7e8051e3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3217,6 +3217,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
@@ -3224,17 +3225,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")