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


View this message in rfc822 format

From: iyzsong <at> envs.net
To: 75146 <at> debbugs.gnu.org
Cc: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>, Zhu Zihao <all_but_last <at> 163.com>, 宋文武 <iyzsong <at> envs.net>
Subject: [bug#75146] [PATCH v3 09/16] gnu: garcon: Switch to git source.
Date: Mon, 30 Dec 2024 22:21:54 +0800
From: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>

* gnu/packages/xfce.scm (garcon)[source]: Use git-fetch.
[home-page]: Set to docs.xfce.org.
[arguments]: Add "--enable-gtk-doc" to configure-flags.
[native-inputs]: Add docbook-xsl, libxslt and xfce4-dev-tools.

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

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index fb562f6557..71836970ba 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -343,21 +343,26 @@ (define-public garcon
   (package
     (name "garcon")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  "garcon/" (version-major+minor version) "/"
-                                  "garcon-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "13ysx9gl22a5rjzl4m3v0zm3hpii1jy38b5lz3fs971h29y53f3z"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/garcon")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "076pdyssl5lhm88s2xx94w3rk6glcc4kgfl3jqd6704hpl6n9rii"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list `(,glib "bin") gobject-introspection intltool pkg-config))
-    (propagated-inputs
-     (list gtk+ ; required by garcon-gtk3-1.pc
-           libxfce4ui))     ; required by garcon-gtk3-1.pc
-    (home-page "https://www.xfce.org/")
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-gtk-doc")))
+    (native-inputs (list docbook-xsl
+                         gobject-introspection
+                         libxslt
+                         xfce4-dev-tools))
+    (propagated-inputs (list gtk+ ;required by garcon-gtk3-1.pc
+                             libxfce4ui)) ;required by garcon-gtk3-1.pc
+    (home-page "https://docs.xfce.org/xfce/garcon/")
     (synopsis "Implementation of the freedesktop.org menu specification")
     (description
      "Garcon is a freedesktop.org compliant menu implementation based on
-- 
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.