guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75146] [PATCH v4 50/68] gnu: xfce4-calculator-plugin: Update to 0.7


From: iyzsong
Subject: [bug#75146] [PATCH v4 50/68] gnu: xfce4-calculator-plugin: Update to 0.7.3.
Date: Tue, 31 Dec 2024 14:44:20 +0800

From: 宋文武 <iyzsong@member.fsf.org>

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

Change-Id: Icfe99394f43e5061fcd032ccd87c5901a690abb3
---
 gnu/packages/xfce.scm | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index e92317ca6a..e1714fb548 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1766,24 +1766,24 @@ (define-public xfce4-datetime-plugin
 
 (define-public xfce4-calculator-plugin
   (package
-   (name "xfce4-calculator-plugin")
-   (version "0.7.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/panel-plugins/";
-                                  "xfce4-calculator-plugin/"
-                                  (version-major+minor version)
-                                  "/xfce4-calculator-plugin-" version 
".tar.bz2"))
-              (sha256
-               (base32
-                "12q2jh67w0m9vq94gf324xg9k3mji943rwgrddlc340sljz25xni"))))
+    (name "xfce4-calculator-plugin")
+    (version "0.7.3")
+    (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 "1jdsd3qswzv5kvh1ybpmfz79nqwlfh34r9bhhvw5j71339mcpzf9"))))
     (build-system gnu-build-system)
     (native-inputs
-     (list intltool pkg-config))
+     (list xfce4-dev-tools))
     (inputs
      (list libxfce4ui xfce4-panel))
-    (home-page
-     "https://goodies.xfce.org/projects/panel-plugins/xfce4-calculator-plugin";)
+    (home-page "https://docs.xfce.org/panel-plugins/xfce4-calculator-plugin/";)
     (synopsis "Calculator for the Xfce panel")
     (description "This plugin is a calculator for the Xfce4 panel.  It
 supports common mathematical operators (+, -, *, /, ^) with usual
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]