mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-24 03:06:40 +01:00
gnu: herbstluftwm: Enable Xcursor support.
* gnu/packages/wm.scm (herbstluftwm)[inputs]: Add libxcursor. [arguments]: Set 'LDFLAGS' to '-lXcursor'.
This commit is contained in:
parent
1c1d7e3db9
commit
f926fd50d1
1 changed files with 5 additions and 0 deletions
|
@ -208,6 +208,7 @@ (define-public herbstluftwm
|
||||||
xterm
|
xterm
|
||||||
xsetroot
|
xsetroot
|
||||||
libx11
|
libx11
|
||||||
|
libxcursor
|
||||||
libxext
|
libxext
|
||||||
libxfixes
|
libxfixes
|
||||||
libxinerama
|
libxinerama
|
||||||
|
@ -224,6 +225,10 @@ (define-public herbstluftwm
|
||||||
(string-append "-DBASHCOMPLETIONDIR=" out "/etc/bash_completion.d")))
|
(string-append "-DBASHCOMPLETIONDIR=" out "/etc/bash_completion.d")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'install 'install-xsession
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue