From d8df1ae482086b21202983ca5fe24591e2ecaf69 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Sat, 20 Sep 2025 23:37:04 -0400 Subject: [PATCH] gnu: gtk+: Fix build on i686-linux. Looks like the (graft) update to gtk+ to 3.24.49 never built on i686-linux due to a failing test. It is unclear why, but since we use an old librsvg on this platform compared to x86_64, that is a major difference in the build/tests. * gnu/packages/gtk.scm (gtk+)[arguments]<#:phases>: Skip the linear-gradient on i686-linux. Change-Id: I61e2fccaeaa92889c5519ad7845483f0e6a6715f --- gnu/packages/gtk.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index f36ce2e791b72c8b5f13ceac7961ede7650756b1..b1193ff42053b78bea1057edf695bcdb39b9bc1a 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1107,7 +1107,12 @@ application suites.") ;; ). (substitute* "testsuite/reftests/meson.build" ((" 'flipping-icons.ui',.*") "") - ((" 'gtk-icontheme-sizing.ui',.*") "")))) + ((" 'gtk-icontheme-sizing.ui',.*") "")) + ;; This test fails just on i686-linux, for unknown reasons. + #$@(if (target-x86-32?) + #~((substitute* "testsuite/reftests/meson.build" + ((" 'linear-gradient.ui',.*") ""))) + #~()))) (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file (assoc-ref glib-or-gtk:%standard-phases 'generate-gdk-pixbuf-loaders-cache-file))