[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: herbstluftwm: Enable Xcursor support.
From: |
guix-commits |
Subject: |
02/02: gnu: herbstluftwm: Enable Xcursor support. |
Date: |
Tue, 28 Feb 2023 20:48:04 -0500 (EST) |
iyzsong pushed a commit to branch master
in repository guix.
commit f926fd50d1374b9a09f0855239a7bdede332cd9c
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Tue Feb 28 11:02:06 2023 +0800
gnu: herbstluftwm: Enable Xcursor support.
* gnu/packages/wm.scm (herbstluftwm)[inputs]: Add libxcursor.
[arguments]: Set 'LDFLAGS' to '-lXcursor'.
---
gnu/packages/wm.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 55838314db..c656101159 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -208,6 +208,7 @@ the leaves of a full binary tree.")
xterm
xsetroot
libx11
+ libxcursor
libxext
libxfixes
libxinerama
@@ -224,6 +225,10 @@ the leaves of a full binary tree.")
(string-append "-DBASHCOMPLETIONDIR=" out
"/etc/bash_completion.d")))
#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'link-libxcursor
+ (lambda _
+ ;; libX11 will dlopen libXcursor to load cursors.
+ (setenv "LDFLAGS" "-lXcursor")))
(add-after 'install 'install-xsession
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))