Subject: [bug#74989] [PATCH 03/23] gnu: xfconf: Update to 4.20.0.

From: [email-masked]
Date: Fri, 20 Dec 2024 11:56:34 +0800

From: 宋文武 <[email-masked]>

* gnu/packages/xfce.scm (xfconf): Update to 4.20.0.
[arguments]: Add 'patch-configure phase for 'gdbus-codegen'.

Change-Id: I9b652946796ff65d7fa22338adfcbb6534894169
---
 gnu/packages/xfce.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index c17a76b213..7b6b525cb7 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -135,7 +135,7 @@ (define-public libxfce4util
 (define-public xfconf
   (package
     (name "xfconf")
-    (version "4.18.3")
+    (version "4.20.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://archive.xfce.org/src/xfce/"
@@ -143,12 +143,18 @@ (define-public xfconf
                                   "xfconf-" version ".tar.bz2"))
               (sha256
                (base32
-                "165xbr6y5z4zr235znkqlwkcy2ib9hgfqrdic0n7p57nas8ccv65"))))
+                "1zbyar9hzvqf498z1a3q6kf6r77a6qm9x2gw6p7i6sviy5h3ri4b"))))
     (build-system gnu-build-system)
     (arguments
      '(#:phases
        ;; Run check after install phase to test dbus activation.
        (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"))))
          ;; tests-end seems to hang forever
          (add-before 'configure 'patchout-tests-end
            (lambda _
-- 
2.46.0