From 4ce4b36a20d856ae6c6a727a6eb80c7d37d4693e 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 10:26:34 +0800 Subject: [PATCH] gnu: xfce4-appfinder: Switch to git source. * gnu/packages/xfce.scm (xfce4-appfinder)[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: I5c0760162e1f1c566f1b13571035f7fb9708f89b --- gnu/packages/xfce.scm | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index e959e0c31edf5b24d4671085fedfe62097a379a7..8fa5f3a0a342dddbc884ead96b0089b398211d23 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -656,21 +656,24 @@ per window.") (package (name "xfce4-appfinder") (version "4.20.0") - (source (origin - (method url-fetch) - (uri (string-append "https://archive.xfce.org/src/xfce/" - name "/" - (version-major+minor version) - "/" name "-" version ".tar.bz2")) - (sha256 - (base32 - "013kkspy9gma5yzzwvwqm9452i6z67zc4f2lnifjhgn8gpvq5jl2")))) + (source + (origin + (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 "1irqbabdgj5ybns55g92548jcr0i1k4q0c7s8jn17r7g8ygd12qy")))) (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--enable-maintainer-mode"))) ;for appfinder-preferences-ui.h (native-inputs - (list pkg-config intltool)) + (list xfce4-dev-tools)) (inputs (list garcon gtk+ libxfce4ui)) - (home-page "https://www.xfce.org/") + (home-page "https://docs.xfce.org/xfce/xfce4-appfinder/") (synopsis "Xfce application finder") (description "Application finder for Xfce, it will show the applications installed on