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 v4 08/68] gnu: exo: Switch to git source.
Date: Tue, 31 Dec 2024 14:43:38 +0800
From: Ashvith Shetty <Ashvith <at> noreply.codeberg.org>

* gnu/packages/xfce.scm (exo)[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 docbook-xsl, libxslt and xfce4-dev-tools.

Change-Id: Ic32658dfba670e44916d63e186fc61f0e73f3124
---
 gnu/packages/xfce.scm | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index bd6cc83a19..fcd5363957 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -308,23 +308,29 @@ (define-public exo
   (package
     (name "exo")
     (version "4.20.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/xfce/"
-                                  "exo/" (version-major+minor version) "/"
-                                  "exo-" version ".tar.bz2"))
-              (sha256
-               (base32
-                "1387xib59z9m43z772lz3kwjrcd6id9zs5yr3khgs7jz4jczfxs2"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/exo")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zbj5q0ih5kvxvays4ajjsmxm2938jmn4648062agxxjl8asqlcs"))))
     (build-system gnu-build-system)
-    (native-inputs
-     (list pkg-config intltool))
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "--enable-maintainer-mode" ;for exo-enum-types.c, etc.
+              "--enable-gtk-doc")))
+    (native-inputs (list docbook-xsl
+                         libxslt
+                         xfce4-dev-tools))
     (propagated-inputs
      ;; exo-2.pc refers to all these.
      (list gtk+ libxfce4util))
-    (inputs
-     (list libxfce4ui))
-    (home-page "https://www.xfce.org/")
+    (inputs (list libxfce4ui))
+    (home-page "https://docs.xfce.org/xfce/exo/")
     (synopsis "Extension library for Xfce")
     (description
      "An extension library to Xfce.  While Xfce comes with quite a few libraries
-- 
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.