guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/10: gnu: gtksourceview: Fix build.


From: guix-commits
Subject: 10/10: gnu: gtksourceview: Fix build.
Date: Sat, 27 May 2023 10:23:54 -0400 (EDT)

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

commit 00d8a4116427fb69f79e334bfbf91920a0d871d2
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat May 13 22:27:57 2023 +0200

    gnu: gtksourceview: Fix build.
    
    * gnu/packages/gtk.scm (gtksourceview)[#:phases]<pre-check>: Set 
“GDK_BACKEND”
    and “GTK_A11Y”.
---
 gnu/packages/gtk.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index de45eb3870..b957989689 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -616,6 +616,11 @@ printing and other features typical of a source code 
editor.")
                ;; Tests require a running X server.
                (system (string-append Xvfb " :1 &"))
                (setenv "DISPLAY" ":1")
+               ;; Use an X11 setup to find the display.
+               (setenv "GDK_BACKEND" "x11")
+               ;; Avoid spawning (and failing to connect to) the accessiblity
+               ;; bus.
+               (setenv "GTK_A11Y" "none")
                ;; For the missing /etc/machine-id.
                (setenv "DBUS_FATAL_WARNINGS" "0")))))))
     (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]