mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 02:19:18 -05:00
gnu: xfce4-session: Allow xflock4 to use xset.
* gnu/packages/xfce.scm (xfce4-session): [inputs]: Add xset. [arguments]: Add 'patch-xflock' phase to use exact store path to 'xset' in 'xflock4'. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
f0ae715da9
commit
3b69c30856
1 changed files with 10 additions and 2 deletions
|
@ -707,7 +707,14 @@ (define-public xfce4-session
|
|||
(list (string-append "--with-xsession-prefix=" %output))
|
||||
;; Disable icon cache update.
|
||||
#:make-flags
|
||||
'("gtk_update_icon_cache=true")))
|
||||
'("gtk_update_icon_cache=true")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-xflock
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((xset (assoc-ref inputs "xset")))
|
||||
(substitute* "scripts/xflock4"
|
||||
(("xset") (string-append xset "/bin/xset")))))))))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("intltool" ,intltool)))
|
||||
|
@ -717,7 +724,8 @@ (define-public xfce4-session
|
|||
("polkit" ,polkit)
|
||||
("libsm" ,libsm)
|
||||
("libwnck" ,libwnck)
|
||||
("libxfce4ui" ,libxfce4ui)))
|
||||
("libxfce4ui" ,libxfce4ui)
|
||||
("xset" ,xset)))
|
||||
(home-page "https://www.xfce.org/")
|
||||
(synopsis "Xfce session manager")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue