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 #125 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 04/16] gnu: libxfce4util: Switch to git source.
Date: Mon, 30 Dec 2024 22:21:49 +0800
From: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>

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

Change-Id: I3acb4b9237f26e50702c28139f68a7a2082ab60b
---
 gnu/packages/xfce.scm | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 7c1f9cf3a8..25f7a539b8 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -116,19 +116,26 @@ (define-public libxfce4util
   (package
     (name "libxfce4util")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  "libxfce4util/" (version-major+minor version)
-                                  "/" name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "14mml8rdj16gkax92h89vcgf6sphp7v3jf5r7n1858lmk6f3yj91"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/xfce/" name))
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0r24hx200jvixn8rhcg0cbvv6b3jc4hj1iw2bkvmrcf74m4ck9nj"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config gobject-introspection intltool vala))
-    (propagated-inputs (list glib)) ; required by libxfce4util-1.0.pc
-    (home-page "https://www.xfce.org/")
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "--enable-maintainer-mode" ;for libxfce4util-visibility.c
+              "--enable-gtk-doc")))
+    (native-inputs (list gobject-introspection
+                         vala
+                         xfce4-dev-tools))
+    (propagated-inputs (list glib)) ;required by libxfce4util-1.0.pc
+    (home-page "https://docs.xfce.org/xfce/libxfce4util/")
     (synopsis "Basic utility library for Xfce")
     (description
      "A general-purpose utility library with core application support for the
-- 
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.