~ruther/guix-local

d8df1ae482086b21202983ca5fe24591e2ecaf69 — John Kehayias 6 months ago c383c3b
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
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/gtk.scm
M gnu/packages/gtk.scm => gnu/packages/gtk.scm +6 -1
@@ 1107,7 1107,12 @@ application suites.")
                ;; <https://gitlab.gnome.org/GNOME/gtk/-/issues/7679>).
                (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))