From f4e14c1269e568dfa8b7befe2855289ed3cde6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Tue, 31 Dec 2024 12:06:43 +0800 Subject: [PATCH] gnu: xfce4-dict: Switch to git source. * 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 e1876b14b41d60bed5cc1ec6202ee079340a0953..70ab93069fcf773d638e7ae610fec8b5aa67537e 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -1222,20 +1222,22 @@ on your desktop.") (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