From ff65b44e7d413d8ee52b442a8bf55ce1cbb556f0 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 30 Mar 2026 12:17:12 +0900 Subject: [PATCH] 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 3ab837ee639..ca5250a28cd 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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")