GNU bug report logs - #74989
[PATCH 00/23] xfce 4.20 updates

Previous Next

Package: guix-patches;

Reported by: iyzsong <at> envs.net

Date: Fri, 20 Dec 2024 03:53:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: iyzsong <at> envs.net
To: 74989 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>, Zhu Zihao <all_but_last <at> 163.com>, 宋文武 <iyzsong <at> envs.net>
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 <at> 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





This bug report was last modified 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.