Subject: [bug#75146] [PATCH v4 18/68] gnu: xfce4-xkb-plugin: Update to 0.8.5.

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

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

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

Change-Id: I386b5e0b57a3553a648b5065dccffdb45496e3ea
---
 gnu/packages/xfce.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index b7410cbc7b..e959e0c31e 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -616,18 +616,20 @@ (define-public xfce4-whiskermenu-plugin
 (define-public xfce4-xkb-plugin
   (package
     (name "xfce4-xkb-plugin")
-    (version "0.8.3")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/panel-plugins/"
-                                  name "/" (version-major+minor version) "/"
-                                  name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "11s9s0634g9rf5hcj6nga6hsv71wcq9c7ym6nsis077gfmwfkgzh"))))
+    (version "0.8.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/panel-plugins/"
+                                 name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1iai2myz1zj5vvbl3lz8r50bhv103avfjdc233gqa933wwxgwvd0"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list intltool pkg-config))
+     (list xfce4-dev-tools))
     (inputs
      (list garcon
            (librsvg-for-system)
@@ -636,7 +638,7 @@ (define-public xfce4-xkb-plugin
            libxfce4ui
            libxklavier
            xfce4-panel))
-    (home-page "https://git.xfce.org/panel-plugins/xfce4-xkb-plugin/")
+    (home-page "https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin/")
     (synopsis "XKB layout switching panel plug-in for Xfce")
     (description
      "Xfce XKB plugin makes it possible to set up and use multiple
-- 
2.46.0