[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: xfce4-session: Allow xflock4 to use xset.
From: |
guix-commits |
Subject: |
03/11: gnu: xfce4-session: Allow xflock4 to use xset. |
Date: |
Sat, 8 May 2021 09:08:57 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3b69c308566f548cd93599e4c0871912c8e4bc18
Author: Brendan Tildesley <mail@brendan.scot>
AuthorDate: Thu May 6 12:34:55 2021 +1000
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>
---
gnu/packages/xfce.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index a0dcf79..704e50e 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -707,7 +707,14 @@ your system in categories, so you can quickly find and
launch them.")
(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 @@ your system in categories, so you can quickly find and
launch them.")
("polkit" ,polkit)
("libsm" ,libsm)
("libwnck" ,libwnck)
- ("libxfce4ui" ,libxfce4ui)))
+ ("libxfce4ui" ,libxfce4ui)
+ ("xset" ,xset)))
(home-page "https://www.xfce.org/")
(synopsis "Xfce session manager")
(description
- branch master updated (e118348 -> f903bb7), guix-commits, 2021/05/08
- 02/11: gnu: Add font-montserrat., guix-commits, 2021/05/08
- 01/11: gnu: ocaml: Depend on libiberty., guix-commits, 2021/05/08
- 04/11: gnu: Add volctl., guix-commits, 2021/05/08
- 03/11: gnu: xfce4-session: Allow xflock4 to use xset.,
guix-commits <=
- 06/11: weather: '--display-missing' shows the system type of missing items., guix-commits, 2021/05/08
- 11/11: services: configuration: Export 'no-serialization' syntactic keyword., guix-commits, 2021/05/08
- 05/11: gnu: volctl: Comment on the license., guix-commits, 2021/05/08
- 07/11: store: 'open-connection' never returns #f., guix-commits, 2021/05/08
- 08/11: ssh: 'connect-to-remote-daemon' raises a nicer message upon error., guix-commits, 2021/05/08
- 10/11: ssh: Honor GUIX_DAEMON_SOCKET on the target machine., guix-commits, 2021/05/08
- 09/11: store: Export 'connect-to-daemon'., guix-commits, 2021/05/08