Subject: [PATCH v4 31/68] gnu: gigolo: Update to 0.5.4.

From: [email-masked]
Date: Tue, 31 Dec 2024 14:44:01 +0800

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

* gnu/packages/xfce.scm (gigolo): Update to 0.5.4.
[source]: Switch to git-fetch.
[native-inputs]: Add xfce4-dev-tools.
[arguments]: Add "--enable-maintainer-mode" to configure-flags.
[home-page]: Set to docs.xfce.org.

Change-Id: Id6fcd761535ff14cb4357c19d214b44462845b8b
---
 gnu/packages/xfce.scm | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 6bc29fc8c1..eb5fdb0c3b 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1112,19 +1112,24 @@ (define-public xfdesktop
 (define-public gigolo
   (package
     (name "gigolo")
-    (version "0.5.3")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/apps/"
-                                  name "/" (version-major+minor version)
-                                  "/" name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "1l1g9ljvyzir1jpjf0248nnwwf3sakwljlik6cj5wrj4azv88nfj"))))
+    (version "0.5.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/apps/"
+                                 name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1688j4c7d1vzglx9a8a32gy17yfqwrha7p0r272hrhz009jza6w1"))))
     (build-system gnu-build-system)
-    (native-inputs (list pkg-config intltool))
+    (arguments
+     (list #:configure-flags
+           #~(list "--enable-maintainer-mode"))) ;for gigolo_ui.h
+    (native-inputs (list xfce4-dev-tools))
     (inputs (list gtk+))
-    (home-page "https://www.xfce.org/")
+    (home-page "https://docs.xfce.org/apps/gigolo/")
     (synopsis "Manage connections to remote file systems")
     (description
      "Gigolo is a graphical user interface to easily manage connections to
-- 
2.46.0