guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74989] [PATCH 14/23] gnu: xfce4-power-manager: Update to 4.20.0.


From: iyzsong
Subject: [bug#74989] [PATCH 14/23] gnu: xfce4-power-manager: Update to 4.20.0.
Date: Fri, 20 Dec 2024 11:56:45 +0800

From: 宋文武 <iyzsong@member.fsf.org>

* 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
---
 gnu/packages/xfce.scm | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 5fa84b4063..bcb5334d04 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1348,7 +1348,7 @@ (define-public xfce
 (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/";
@@ -1356,10 +1356,19 @@ (define-public xfce4-power-manager
                                   "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/";)
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]