diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2024-12-20 11:46:56 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2024-12-22 14:08:47 +0800 |
commit | 2e6adef5a61e074299c5331e04a43f1039b0921e (patch) | |
tree | e8bc626ab8230daefd72729f39df764396e47c2a | |
parent | b94eba693ec239e9c5411f71669b3e1d4ef5af3e (diff) | |
download | guix-2e6adef5a61e074299c5331e04a43f1039b0921e.tar.gz guix-2e6adef5a61e074299c5331e04a43f1039b0921e.zip |
gnu: xfce4-power-manager: Update to 4.20.0.
* gnu/packages/xfce.scm (xfce4-power-manager): Update to 4.20.0.
[arguments]: Add 'patch-configure phase.
[native-inputs]: Add glib:bin.
Change-Id: I094a7ae49dab6f8a8f380d033766eccff2142807
-rw-r--r-- | gnu/packages/xfce.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index e58b96bd4d..8c03eb283b 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1345,7 +1345,7 @@ system resources, while still being visually appealing and user friendly.") (define-public xfce4-power-manager (package (name "xfce4-power-manager") - (version "4.18.4") + (version "4.20.0") (source (origin (method url-fetch) (uri (string-append "https://archive.xfce.org/src/xfce/" @@ -1353,10 +1353,19 @@ system resources, while still being visually appealing and user friendly.") "xfce4-power-manager-" version ".tar.bz2")) (sha256 (base32 - "0x6qychcgqxc5dwwxzypqw2da35y6cd25ngg42zxndnrvixqz4bn")))) + "0agdsq2d4kr9aw7nqj1x5cgpxqcjffajipwjvlxq6likyv7924wp")))) (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (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 libxrandr gtk+ upower libnotify libxfce4ui)) (home-page "https://www.xfce.org/") |