Subject: [bug#75146] [PATCH v4 17/68] gnu: xfce4-whiskermenu-plugin: Switch to git source.

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

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

* gnu/packages/xfce.scm (xfce4-whiskermenu-plugin)[source]: Switch to git-fetch.
[native-inputs]: Remove intltool.  Add gettext-minimal.
[inputs]: Remove gettext-minimal and gtk.
[home-page]: Set to docs.xfce.org.

Change-Id: I38e2ca59104f243afb698eb80de1b57310040208
---
 gnu/packages/xfce.scm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 73bf34cd80..b7410cbc7b 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -583,27 +583,27 @@ (define-public xfce4-whiskermenu-plugin
     (version "2.8.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://archive.xfce.org/src/panel-plugins/"
-                           "xfce4-whiskermenu-plugin/" (version-major+minor version) "/"
-                           "xfce4-whiskermenu-plugin-" version ".tar.bz2"))
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/panel-plugins/"
+                                 name))
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1l4wzirqk754cliwyhl28f460xkqzqi9a9s7jirx164gcn3w4xp7"))))
+        (base32 "025nnf1h361a4nl8l28rk7w37d3jajr8dm359lnfq8xz3f6yy4n5"))))
     (build-system cmake-build-system)
     (native-inputs
-     (list pkg-config intltool))
+     (list gettext-minimal pkg-config))
     (inputs
      (list accountsservice
            xfce4-panel
            garcon
-           gettext-minimal
            exo
-           gtk
            gtk-layer-shell
            libxfce4ui))
     (arguments
      (list #:tests? #f))                ; no tests
-    (home-page "https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin")
+    (home-page "https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/")
     (synopsis "Application menu panel plugin for Xfce")
     (description
      "This package provides an alternative to the default application menu
-- 
2.46.0