From 4aa0c52e80963502eb29094f5dcc4e535a0fb25f Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Mon, 1 Dec 2025 06:17:48 +0100 Subject: gnu: gtk: Update to 4.20.3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gtk.scm (gtk): Update to 4.20.3. [#:test-flags]: Add “--no-suite=docs”. [#:phases]: Re-enable ‘validate’, ‘mask-half-pixel’ and ‘scaling’ tests. Disable ‘wrapping-label-in-nested-boxes’, ‘yuv-matrix-dmabuf’, and ‘flipping-icons’ tests. --- gnu/packages/gtk.scm | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 25b8f7bc886..1c59c6a794a 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1123,7 +1123,7 @@ application suites.") (define-public gtk (package (name "gtk") - (version "4.16.13") + (version "4.20.3") (source (origin (method url-fetch) @@ -1131,7 +1131,7 @@ application suites.") (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 - (base32 "1624c9hjp47rlnybhm9vym3hd3dpav5db4fi8nlkk0c45ghxkwyx")) + (base32 "0ly1gqc6ybxv5f2a9hvjp5k6l9mfzy2yv8iy2xqnr9l8628g4wr8")) (patches (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch")) (modules '((guix build utils))))) @@ -1160,6 +1160,7 @@ application suites.") "--no-suite=headless" ; requires mutter… "--no-suite=gsk-compare-broadway" "--no-suite=needs-udmabuf" + "--no-suite=docs" ;; These seem to fail on aarch64, and Debian has ;; also disabled these, see: ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050075 @@ -1189,21 +1190,13 @@ application suites.") (("[ \t]*'empty-text.node',") "") (("[ \t]*'testswitch.node',") "") (("[ \t]*'widgetfactory.node',") "") - ;; This test, 'gtk:tools / validate', started failing for - ;; unknown reasons after updating mesa to 23.3.1 and xorgproto - ;; to 2023.2. - ((" 'validate',") "") ;; XXX: Figure out why this fails and report upstream. ((".*'memorytexture',.*") "") - ;; Some mask-half-pixel variant tests of the gsk-compare-gl - ;; suite are failing starting with 4.16.13. - ;; TODO: Reinstate in 4.18. - ((".*'mask-half-pixel',.*") "") - ;; The 'gtk:gsk / scaling' test fails starting with 4.16.13. - ;; TODO: Reinstate in 4.18. - ((".*'scaling',.*") "")) + ((".*'yuv-matrix-dmabuf',.*") "")) (substitute* "testsuite/reftests/meson.build" - (("[ \t]*'label-wrap-justify.ui',") "")) + (("[ \t]*'label-wrap-justify.ui',") "") + (("[ \t]*'wrapping-label-in-nested-boxes.ui',") "") + (("[ \t]*'flipping-icons(\\.ref)?\\.ui',") "")) ;; These tests fail on an Apple M1 (aarch64) with the following errors: ;; - MESA: error: ZINK: failed to choose pdev ;; - libEGL warning: egl: failed to create dri2 screen -- cgit v1.3