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 #290 received at 75146 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> envs.net
To: 75146 <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>
Subject: [PATCH v4 40/68] gnu: xfce4-notifyd: Switch to git source.
Date: Tue, 31 Dec 2024 14:44:10 +0800
From: 宋文武 <iyzsong <at> member.fsf.org>

* gnu/packages/xfce.scm (xfce4-notifyd)[source]: Switch to git-fetch.
[arguments]: Remove 'patch-configure phase.
[native-inputs]: Add xfce4-dev-tools.  Remove which.
[home-page]: Set to docs.xfce.org.

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

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 3c571a30bd..04c4c3991b 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1484,34 +1484,21 @@ (define-public xfce4-notifyd
   (package
     (name "xfce4-notifyd")
     (version "0.9.6")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/apps/"
-                                  name "/" (version-major+minor version) "/"
-                                  name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "0w967np9ik74lg63sn7g7448f10pjspd7h62ncqmr0vxr9f2clwy"))))
+    (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 "0li1vxh460ak329sxpz8zbyggv4m38mzdanpjxdjxf9gypsp65ag"))))
     (build-system glib-or-gtk-build-system)
-    (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (add-before 'configure 'patch-configure
-                 (lambda _
-                   (substitute* "configure"
-                     (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
-                      "which gdbus-codegen")
-                     (("\\$PKG_CONFIG --variable=glib_compile_resources gio-2.0")
-                      "which glib-compile-resources")
-                     (("\\$PKG_CONFIG --variable=glib_genmarshal glib-2.0")
-                      "which glib-genmarshal")
-                     (("\\$PKG_CONFIG --variable=glib_mkenums glib-2.0")
-                      "which glib-mkenums")))))))
     (native-inputs
-     (list intltool pkg-config (list glib "bin") which))
+     (list xfce4-dev-tools))
     (inputs
      (list libxfce4ui libnotify sqlite xfce4-panel))
-    (home-page "https://goodies.xfce.org/projects/applications/xfce4-notifyd")
+    (home-page "https://docs.xfce.org/apps/xfce4-notifyd/")
     (synopsis "Show notification bubbles on Xfce")
     (description
      "The Xfce Notify Daemon (xfce4-notifyd for short) is a smallish program
-- 
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.