guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75146] [PATCH v4 34/68] gnu: xfce4-dict: Switch to git source.


From: iyzsong
Subject: [bug#75146] [PATCH v4 34/68] gnu: xfce4-dict: Switch to git source.
Date: Tue, 31 Dec 2024 14:44:04 +0800

From: 宋文武 <iyzsong@member.fsf.org>

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

Change-Id: I3d184bc65f1d6347e148dd153202974567c8831c
---
 gnu/packages/xfce.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index e1876b14b4..70ab93069f 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1222,20 +1222,22 @@ (define-public xfce4-dict
   (package
     (name "xfce4-dict")
     (version "0.8.8")
-    (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
-                "05p9xbjzhqg2a13c9vsva854kpqjvzj4xjaj98bjrn3ns9wv030d"))))
+    (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 "1y9ggn3c0ngn621ljmb2ahavr27sksld48z2qs470zcjwiw48nlx"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list intltool pkg-config))
+     (list xfce4-dev-tools))
     (inputs
      (list libxfce4ui xfce4-panel))
-    (home-page "https://www.xfce.org/";)
+    (home-page "https://docs.xfce.org/apps/xfce4-dict/";)
     (synopsis "Dictionary of Xfce desktop")
     (description
      "Xfce4-dict allows you to search different kinds of dictionary services
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]