lilyp pushed a commit to branch gnome-team
in repository guix.

commit 2e9c56ddd6da5d98f77ff8798e472047e59d21ce
Author: Liliana Marie Prikler <liliana.prik...@gmail.com>
AuthorDate: Sat Apr 6 09:34:15 2024 +0200

    gnu: gtk: Update to 4.14.2.
    
    * gnu/packages/gtk.scm (gtk): Update to 4.14.2.
    [#:phases]<patch>: Disable new test failures.
    [inputs]: Add shaderc.
---
 gnu/packages/gtk.scm | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 4fae0fd275..8cc9fb05cd 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -1119,7 +1119,7 @@ application suites.")
 (define-public gtk
   (package
     (name "gtk")
-    (version "4.12.3")
+    (version "4.14.2")
     (source
      (origin
        (method url-fetch)
@@ -1127,7 +1127,7 @@ application suites.")
                            (version-major+minor version)  "/"
                            name "-" version ".tar.xz"))
        (sha256
-        (base32 "128ahzsj016vz8brd8kplhfkxg2q7wy7kndibx2qfr68yrif530l"))
+        (base32 "0wp0w259rkwf6g8sk2b9jkms47vx5gp7mfs345grx9wq53plqq12"))
        (patches
         (search-patches "gtk4-respect-GUIX_GTK4_PATH.patch"))
        (modules '((guix build utils)))))
@@ -1199,7 +1199,16 @@ application suites.")
                 ;; This test, 'gtk:tools / validate', started failing for
                 ;; unknown reasons after updating mesa to 23.3.1 and xorgproto
                 ;; to 2023.2.
-                ((" 'validate',") ""))
+                ((" 'validate',") "")
+                ;; XXX: These test failures come newly from 4.14.
+                ;; Not all of them are reported upstream yet, but the text 
nodes
+                ;; are mentioned in
+                ;; <https://gitlab.gnome.org/GNOME/gtk/-/issues/6647>.
+                (("'glyph-subpixel-position',") "")
+                (("'subpixel-positioning',") "")
+                (("'subpixel-positioning-hidpi-nogl-nocairo',") "")
+                (("'text.*\\.node',") "")
+                (("'text-mixed-color-colrv1',") ""))
               (substitute* "testsuite/reftests/meson.build"
                 (("[ \t]*'label-wrap-justify.ui',") "")
                 ;; The inscription-markup.ui fails due to /etc/machine-id
@@ -1267,6 +1276,7 @@ application suites.")
            python-toml
            python-typogrify
            sassc                        ;for building themes
+           shaderc
            tzdata-for-tests
            vala
            xorg-server-for-tests))

Reply via email to