mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-26 11:01:48 +02:00
gnu: gtk: Update to 4.20.3.
* gnu/packages/gtk.scm (gtk): Update to 4.20.3. [#:test-flags]: Add “--no-suite=docs”. [#:phases]<patch>: Re-enable ‘validate’, ‘mask-half-pixel’ and ‘scaling’ tests. Disable ‘wrapping-label-in-nested-boxes’, ‘yuv-matrix-dmabuf’, and ‘flipping-icons’ tests.
This commit is contained in:
committed by
Andreas Enge
parent
df44180879
commit
4aa0c52e80
+7
-14
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user