Subject: [bug#75146] [PATCH v1 03/15] gnu: libxfce4util: Update variable fields.

From: Ashvith Shetty <[email-masked]>
Date: Sat, 28 Dec 2024 17:22:53 +0530

From: Ashvith Shetty <[email-masked]>

* gnu/packages/xfce.scm (libxfce4util):
[source]: Update to XFCE's GitLab URL.
[home-page]: Set to docs.xfce.org.
[arguments]: Set configure flag "--enable-maintainer-mode".
[native-inputs]: Add autoconf, automake, gtk-doc, libtool
and xfce4-dev-tools.

Change-Id: I3acb4b9237f26e50702c28139f68a7a2082ab60b
---
 gnu/packages/xfce.scm | 35 +++++++++++++++++++++++------------
 1 file changed, 23 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index de6d0935a0..e3a746dee9 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -95,19 +95,30 @@ (define-public libxfce4util
   (package
     (name "libxfce4util")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  "libxfce4util/" (version-major+minor version)
-                                  "/" name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "14mml8rdj16gkax92h89vcgf6sphp7v3jf5r7n1858lmk6f3yj91"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/xfce/" name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0r24hx200jvixn8rhcg0cbvv6b3jc4hj1iw2bkvmrcf74m4ck9nj"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config gobject-introspection intltool vala))
-    (propagated-inputs (list glib)) ; required by libxfce4util-1.0.pc
-    (home-page "https://www.xfce.org/")
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")))
+    (native-inputs (list autoconf
+                         automake
+                         gobject-introspection
+                         gtk-doc
+                         intltool
+                         libtool
+                         pkg-config
+                         vala
+                         xfce4-dev-tools))
+    (propagated-inputs (list glib)) ;required by libxfce4util-1.0.pc
+    (home-page "https://docs.xfce.org/xfce/libxfce4util/")
     (synopsis "Basic utility library for Xfce")
     (description
      "A general-purpose utility library with core application support for the
-- 
2.46.0