diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2024-12-20 11:47:43 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2024-12-22 14:08:47 +0800 |
commit | 466144d17474f764178e604139bb1aa632919ef8 (patch) | |
tree | 5574fa7d02d2e69ad5a20bbf80489b7d35acefc8 /gnu/packages/xfce.scm | |
parent | 9cb5c28c2d5b4295485434fdf70b5944b0e7961b (diff) | |
download | guix-466144d17474f764178e604139bb1aa632919ef8.tar.gz guix-466144d17474f764178e604139bb1aa632919ef8.zip |
gnu: xfce4-session: Update to 4.20.0.
* gnu/packages/xfce.scm (xfce4-session): Update to 4.20.0.
[source]: Adjust snippet.
[arguments]: Remove 'patch-xflock phase. Add 'patch-configure phase.
Pass "--with-wayland-session-prefix" to configure.
[inputs]: Add gtk-layer-shell and libxfce4windowing. Remove xset.
Change-Id: I0b33e30976ef44da5f505cd2cbd486fd025ec270
Diffstat (limited to 'gnu/packages/xfce.scm')
-rw-r--r-- | gnu/packages/xfce.scm | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 54a8f88ce0..86d6aa9860 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -679,7 +679,7 @@ your system in categories, so you can quickly find and launch them.") (define-public xfce4-session (package (name "xfce4-session") - (version "4.18.4") + (version "4.20.0") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -687,11 +687,11 @@ your system in categories, so you can quickly find and launch them.") "xfce4-session-" version ".tar.bz2")) (sha256 (base32 - "05k5w3n3hyb93a74f0qc6q0lky4vc51vdlsra8d8i2rkqxs5174s")) + "11agss7x749i4wnw82czv0b053mhqn34hwi8rihj6sgfwqzj6aaj")) (modules '((guix build utils))) (snippet '(begin - (substitute* "xfsm-shutdown-helper/main.c" + (substitute* "libxfsm/xfsm-shutdown-common.h" (("/sbin/shutdown -h now") "halt") (("/sbin/shutdown -r now") "restart") (("/usr/sbin/pm-suspend") "pm-suspend") @@ -700,27 +700,30 @@ your system in categories, so you can quickly find and launch them.") (build-system gnu-build-system) (arguments '(#:configure-flags - (list (string-append "--with-xsession-prefix=" %output)) + (list (string-append "--with-xsession-prefix=" %output) + (string-append "--with-wayland-session-prefix=" %output)) ;; Disable icon cache update. #:make-flags '("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"))))))))) + (add-before 'configure 'patch-configure + (lambda _ + (substitute* "configure" + ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path. + (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0") + "type -p gdbus-codegen"))))))) (native-inputs - (list pkg-config intltool)) + (list (list glib "bin") pkg-config intltool)) (inputs (list iceauth + gtk-layer-shell upower polkit libsm libwnck libxfce4ui - xset)) + libxfce4windowing)) (home-page "https://www.xfce.org/") (synopsis "Xfce session manager") (description |