Archived
1
0
Fork 0

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:
Brendan Tildesley 2021-05-06 12:34:55 +10:00 committed by Ludovic Courtès
parent f0ae715da9
commit 3b69c30856
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -707,7 +707,14 @@ your system in categories, so you can quickly find and launch them.")
(list (string-append "--with-xsession-prefix=" %output)) (list (string-append "--with-xsession-prefix=" %output))
;; Disable icon cache update. ;; Disable icon cache update.
#:make-flags #: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 (native-inputs
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("intltool" ,intltool))) ("intltool" ,intltool)))
@ -717,7 +724,8 @@ your system in categories, so you can quickly find and launch them.")
("polkit" ,polkit) ("polkit" ,polkit)
("libsm" ,libsm) ("libsm" ,libsm)
("libwnck" ,libwnck) ("libwnck" ,libwnck)
("libxfce4ui" ,libxfce4ui))) ("libxfce4ui" ,libxfce4ui)
("xset" ,xset)))
(home-page "https://www.xfce.org/") (home-page "https://www.xfce.org/")
(synopsis "Xfce session manager") (synopsis "Xfce session manager")
(description (description