Subject: [bug#75146] [PATCH v4 28/68] gnu: thunarx-python: Switch to git source.

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

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

* gnu/packages/xfce.scm (thunarx-python)[source]: Switch to git-fetch.
[native-inputs]: Add xfce4-dev-tools.  Remove which.

Change-Id: Ia16aeaaf9c7aebec9c36d26470fb3077c342be9e
---
 gnu/packages/xfce.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index a3ea1e08b6..269099e3fc 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -967,15 +967,17 @@ (define-public thunarx-python
     (version "0.5.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://archive.xfce.org/src/bindings/"
-                           name "/" (version-major+minor version)
-                           "/" name "-" version ".tar.bz2"))
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/bindings/"
+                                 name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "08lz9pvx006a2fypg2q38p61jbhy0yswz8cizlxpiwfcqsvhpnln"))))
+        (base32 "1x39pbdx4186f7bkrc9ab5q7qs783mivm2j1msyf9m1nh09y617f"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list pkg-config which))
+     (list xfce4-dev-tools))
     (inputs
      (list exo
            thunar
-- 
2.46.0