summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2025-06-16 11:46:54 +0300
committerEfraim Flashner <efraim@flashner.co.il>2025-06-16 12:04:56 +0300
commitaa23ca6be744dbc36072a9475a82a61a78cdd6f7 (patch)
tree12b6f08a3d36912d1f2e18c3ae07011a99a641ad
parenta8287d8bc477ec6bbca1b805a845257c74a31a8e (diff)
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
-rw-r--r--gnu/packages/gtk.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 9ee0b417d4..528ffbc062 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -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',") ""))