guix-commits
[Top][All Lists]
Advanced

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

111/113: gnu: libxcursor: Set a better default XCURSORPATH.


From: guix-commits
Subject: 111/113: gnu: libxcursor: Set a better default XCURSORPATH.
Date: Wed, 22 Jan 2025 05:07:28 -0500 (EST)

iyzsong pushed a commit to branch xorg-updates
in repository guix.

commit c313317ccc704e517a480040bf61e1574609253a
Author: Sou Bunnbu (宋文武) <iyzsong@gmail.com>
AuthorDate: Sat Jan 11 11:33:29 2025 +0800

    gnu: libxcursor: Set a better default XCURSORPATH.
    
    * gnu/packages/xorg.scm (libxcursor)[arguments]: Add "--with-cursorpath" to
    configure-flags.
    
    Change-Id: I821cd440cf4e9e6fcc67c9164a38b81e8d793dff
---
 gnu/packages/xorg.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 56e0e47f22..3944aec0d4 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5424,7 +5424,17 @@ Wayland.")
          "1h62narayrhrkqalrmx7z3s6yppw1acbp5id3skrvrygshnl1sgx"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:configure-flags '("--disable-static")))
+     (list
+      #:configure-flags
+      #~(list "--disable-static"
+              ;; Set default path, used when XCURSOR_PATH is unset.
+              (string-append "--with-cursorpath="
+                             (string-join
+                              '("~/.local/share/icons" "~/.icons"
+                                "~/.guix-profile/share/icons"
+                                "/run/current-system/profile/share/icons"
+                                "/usr/share/icons")
+                              ":")))))
     (propagated-inputs
      (list libx11 libxrender libxfixes xorgproto))
     (native-inputs



reply via email to

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