guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75146] [PATCH v4 08/68] gnu: exo: Switch to git source.


From: iyzsong
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@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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]