Subject: [PATCH v4 23/68] gnu: thunar-volman: Switch to git source.

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

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

* gnu/packages/xfce.scm (thunar-volman)[source]: Switch to git-fetch.
[native-inputs]: Add xfce4-dev-tools.
[home-page]: Set to docs.xfce.org.

Change-Id: I1b8e6d828183457ecce1fe76a1a033fe716c4081
---
 gnu/packages/xfce.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 98673eddd3..a6ceb0b56a 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -830,18 +830,19 @@ (define-public thunar-volman
     (version "4.20.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://archive.xfce.org/src/xfce/thunar-volman/"
-                           (version-major+minor version) "/"
-                           "thunar-volman-" version ".tar.bz2"))
+       (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 "1nmi3q9jfc4p3dznw96m4ryk8h136qp5bvfipy7mnlcvjm9dinmh"))))
+        (base32 "14cs5hscjrgxvmkxr1d5ank76rxwq7ifvm3g844p9jvhykz6r1aw"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list pkg-config intltool))
+     (list xfce4-dev-tools))
     (inputs
      (list exo libgudev libnotify libxfce4ui))
-    (home-page "https://www.xfce.org/")
+    (home-page "https://docs.xfce.org/xfce/thunar-volman/")
     (synopsis "Removable media manager for Thunar")
     (description
      "Thunar-volman is an extension for the Thunar File Manager, which enables
-- 
2.46.0