Subject: [PATCH v0 10/15] gnu: garcon: Update variable fields.

From: Ashvith Shetty <[email-masked]>
Date: Sat, 28 Dec 2024 01:23:59 +0530

From: Ashvith Shetty <[email-masked]>

* gnu/packages/xfce.scm (garcon):
[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, docbook-xsl, gtk-doc,
libtool, libxslt and xfce4-dev-tools.

Change-Id: Ic0175d67858c0a1d43174c77079bab8ebfa5d489
---
 gnu/packages/xfce.scm | 40 ++++++++++++++++++++++++++--------------
 1 file changed, 26 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index dd09923739..c9ea04e91e 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -350,21 +350,33 @@ (define-public garcon
   (package
     (name "garcon")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  "garcon/" (version-major+minor version) "/"
-                                  "garcon-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "13ysx9gl22a5rjzl4m3v0zm3hpii1jy38b5lz3fs971h29y53f3z"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/garcon")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "076pdyssl5lhm88s2xx94w3rk6glcc4kgfl3jqd6704hpl6n9rii"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list `(,glib "bin") gobject-introspection intltool pkg-config))
-    (propagated-inputs
-     (list gtk+ ; required by garcon-gtk3-1.pc
-           libxfce4ui))     ; required by garcon-gtk3-1.pc
-    (home-page "https://www.xfce.org/")
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")))
+    (native-inputs (list autoconf
+                         automake
+                         docbook-xsl
+                         `(,glib "bin")
+                         gobject-introspection
+                         gtk-doc
+                         intltool
+                         libtool
+                         libxslt
+                         pkg-config
+                         xfce4-dev-tools))
+    (propagated-inputs (list gtk+ ;required by garcon-gtk3-1.pc
+                             libxfce4ui)) ;required by garcon-gtk3-1.pc
+    (home-page "https://docs.xfce.org/xfce/garcon/")
     (synopsis "Implementation of the freedesktop.org menu specification")
     (description
      "Garcon is a freedesktop.org compliant menu implementation based on
-- 
2.46.0