gnu: herbstluftwm: Enable Xcursor support.
* gnu/packages/wm.scm (herbstluftwm)[inputs]: Add libxcursor. [arguments]: Set 'LDFLAGS' to '-lXcursor'.master
parent
1c1d7e3db9
commit
f926fd50d1
|
@ -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"))
|
||||
|
|
Reference in New Issue