1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 10:00:46 +02:00

gnu: gtk: Fix building on riscv64-linux.

* gnu/packages/gtk.scm (gtk)[arguments]: When building for riscv64-linux
adjust the 'patch phase to skip some tests.

Change-Id: Ie5e590b042a96fee44c6fb0d0874175274c3e30a
This commit is contained in:
Efraim Flashner 2025-06-16 11:46:54 +03:00
parent a8287d8bc4
commit aa23ca6be7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1279,6 +1279,28 @@ application suites.")
#~())
;; libEGL warning: DRI3 error: Could not get DRI3 device
;; libEGL warning: Activate DRI3 at Xorg or build mesa with DRI2
;; JIT session error: No HI20 PCREL relocation type be found for
;; LO12 PCREL relocation type
#$@(if (target-riscv64?)
#~((substitute* "testsuite/gsk/meson.build"
(("'border-colorstates',") "")
(("'glyph-cache-overflow-slices',") "")
(("'huge-height-nogl',") "")
(("'huge-width-nogl',") "")
(("'mipmap-generation-later',") "")
(("'shadow-texture-formats',") "")
(("'texture-offscreen-mipmap-nogl',") "")
(("'texture-scale-filters-nocairo',") ""))
(substitute* "testsuite/reftests/meson.build"
((".*center-center-300.*00.ui.*") "")
((".*center-center-300.*00-overlay.ui.*") "")
((".*icon-shadow-no-transform.ui.*") "")
((".*image-load-from-file.ui.*") ""))
(substitute* "testsuite/css/parser/meson.build"
((".*color-mix.*") "")))
#~())
;; libEGL warning: DRI3 error: Could not get DRI3 device
;; libEGL warning: Activate DRI3 at Xorg or build mesa with DRI2
#$@(if (target-ppc64le?)
#~((substitute* "testsuite/gsk/meson.build"
(("'border-zero-width-color',") ""))