Subject: [bug#75146] [PATCH v4 38/68] gnu: xfce4-taskmanager: Update to 1.5.8.

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

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

* gnu/packages/xfce.scm (xfce4-taskmanager): Update to 1.5.8.
[source]: Switch to git-fetch.
[arguments]: Add "--enable-maintainer-mode" to configure-flags.
[native-inputs]: Add xfce4-dev-tools.
[home-page]: Set to docs.xfce.org.

Change-Id: I2b37b509c392dbf2799870a40a146928a232bf76
---
 gnu/packages/xfce.scm | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 30c77d664f..696afa885e 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1421,18 +1421,22 @@ (define-public ristretto
 (define-public xfce4-taskmanager
   (package
     (name "xfce4-taskmanager")
-    (version "1.5.7")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/apps/"
-                                  "xfce4-taskmanager/" (version-major+minor version) "/"
-                                  "xfce4-taskmanager-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "1fv83xcbnlwabi32z3fsdik1knh7v45ji529dx9kwlv4b8pq6dk7"))))
+    (version "1.5.8")
+    (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 "0dmfbxnnyfv6n55krvjmgx8niv96xkpsf3il0bdmk928hzazhqh3"))))
     (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags
+           #~(list "--enable-maintainer-mode"))) ;for process-window_ui.h, etc.
     (native-inputs
-     (list intltool pkg-config))
+     (list xfce4-dev-tools))
     (inputs
      (list libwnck
            libxmu
@@ -1441,7 +1445,7 @@ (define-public xfce4-taskmanager
            ;; FIXME: Remove libxext and libxt when libxmu propagates them.
            libxext
            libxt))
-    (home-page "https://goodies.xfce.org/projects/applications/xfce4-taskmanager")
+    (home-page "https://docs.xfce.org/apps/xfce4-taskmanager/")
     (synopsis "Easy to use task manager")
     (description
      "This is a task manager for the Xfce desktop.  It displays the CPU and
-- 
2.46.0