[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63499] [PATCH gnome-team 3/3] gnu: gtksourceview: Fix build.
From: |
Liliana Marie Prikler |
Subject: |
[bug#63499] [PATCH gnome-team 3/3] gnu: gtksourceview: Fix build. |
Date: |
Sat, 13 May 2023 22:27:57 +0200 |
* gnu/packages/gtk.scm (gtksourceview)[#:phases]<pre-check>: Set “GDK_BACKEND”
and “GTK_A11Y”.
---
gnu/packages/gtk.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index de45eb3870..7d76610293 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -616,6 +616,9 @@ (define-public gtksourceview
;; Tests require a running X server.
(system (string-append Xvfb " :1 &"))
(setenv "DISPLAY" ":1")
+ ;; For GTK
+ (setenv "GDK_BACKEND" "x11")
+ (setenv "GTK_A11Y" "none")
;; For the missing /etc/machine-id.
(setenv "DBUS_FATAL_WARNINGS" "0")))))))
(native-inputs
--
2.39.2