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

* gnu/packages/xfce.scm (libxfce4ui)[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: I9ca360cec30660b85cea95b494df9dae1767f3ab
---
 gnu/packages/xfce.scm | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 25065f769a..4b6045b64f 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -188,27 +188,29 @@ (define-public libxfce4ui
   (package
     (name "libxfce4ui")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  name "/" (version-major+minor version) "/"
-                                  name "-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "1vpafvmn2x95n0d8dmr6pp81w8bw2ksicp6dvsm7a0zjhilrks3m"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/libxfce4ui")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ps8sq8g43dx12qp0shrdb45bjrfhhgkziscj5jnrzfhy6j9mqrk"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:configure-flags
-       (list "--with-vendor-info=GNU Guix")))
-    (native-inputs
-     (list pkg-config intltool gobject-introspection))
-    (propagated-inputs
-     (list gtk+    ; required by libxfce4ui-2.pc
-           ;; libxfce4kbd-private-3.pc refers to all these.
-           libxfce4util
-           xfconf))
+     (list #:configure-flags
+           #~(list "--with-vendor-info=GNU Guix"
+                   "--enable-maintainer-mode" ; for about-dialog-ui.h, etc.
+                   "--enable-gtk-doc")))
+    (native-inputs (list gobject-introspection xfce4-dev-tools))
+    (propagated-inputs (list
+                        ;; required by libxfce4ui-2.pc
+                        gtk+
+                        ;; libxfce4kbd-private-3.pc refers to all these.
+                        libxfce4util xfconf))
     (inputs (list libgtop libice libsm startup-notification))
-    (home-page "https://www.xfce.org/")
+    (home-page "https://docs.xfce.org/xfce/libxfce4ui/")
     (synopsis "Widgets library for Xfce")
     (description
      "Libxfce4ui is the replacement of the old libxfcegui4 library.  It is used
-- 
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.