GNU bug report logs - #75146
[PATCH v0 00/15] XFCE: Move source from generated archive to git.

Previous Next

Package: guix-patches;

Reported by: Ashvith Shetty <ashvithshetty10 <at> gmail.com>

Date: Fri, 27 Dec 2024 19:49:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


Message #152 received at 75146 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> envs.net
To: 75146 <at> debbugs.gnu.org
Cc: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>
Subject: [PATCH v3 12/16] gnu: xfce4-battery-plugin: Update to 1.1.6.
Date: Mon, 30 Dec 2024 22:21:57 +0800
From: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>

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

Change-Id: I9359731b564a225450cf314b762d51564cce370e
---
 gnu/packages/xfce.scm | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 7aa739d0d1..a68600d2d2 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -490,20 +490,23 @@ (define-public xfce4-panel
 (define-public xfce4-battery-plugin
   (package
     (name "xfce4-battery-plugin")
-    (version "1.1.5")
-    (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
-                "04z2bic6c2cgl6wy4qrhfdigb6c2hsxnqraa20k1xvi0nfzk68km"))))
+    (version "1.1.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bd912j22pf6rmqvkc80g5axjil88pbzxqa68krw65l11v73icmm"))))
     (build-system gnu-build-system)
-    (native-inputs (list pkg-config intltool))
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")))
+    (native-inputs (list xfce4-dev-tools))
     (inputs (list glib gtk+ libxfce4util libxfce4ui xfce4-panel))
-    (home-page
-     "https://goodies.xfce.org/projects/panel-plugins/xfce4-battery-plugin")
+    (home-page "https://docs.xfce.org/panel-plugins/xfce4-battery-plugin/")
     (synopsis "Battery monitor panel plugin for Xfce4")
     (description
      "A battery monitor panel plugin for Xfce4, compatible with APM and ACPI.")
-- 
2.46.0





This bug report was last modified 197 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.