guix-patches
[Top][All Lists]
Advanced

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

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


From: iyzsong
Subject: [bug#75146] [PATCH v4 35/68] gnu: xfdashboard: Switch to git source.
Date: Tue, 31 Dec 2024 14:44:05 +0800

From: 宋文武 <iyzsong@member.fsf.org>

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

Change-Id: I2f9341f850c7ee4cfc0246f3f9117ec1549c5289
---
 gnu/packages/xfce.scm | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 70ab93069f..6a2c6c905d 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1253,22 +1253,21 @@ (define-public xfdashboard
   (package
     (name "xfdashboard")
     (version "1.0.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://archive.xfce.org/src/apps/";
-                                  name
-                                  "/"
-                                  (version-major+minor version)
-                                  "/"
-                                  name
-                                  "-"
-                                  version
-                                  ".tar.bz2"))
-              (sha256
-               (base32
-                "19a8xz6zv039j2m595v4wld3x4inidc7idfkk0pp42ffwm1l6a55"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url (string-append "https://gitlab.xfce.org/apps/";
+                                 name))
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1blydl57xzqndcj1dkfxbmsaad27s7mqwwj3mmidz2dx9cikabl8"))))
     (build-system gnu-build-system)
-    (native-inputs (list intltool pkg-config `(,glib "bin")))
+    (arguments
+     (list #:configure-flags
+           #~(list "--enable-maintainer-mode"))) ;for enums.c, etc.
+    (native-inputs (list xfce4-dev-tools))
     (inputs (list clutter
                   garcon
                   gtk+
@@ -1279,7 +1278,7 @@ (define-public xfdashboard
                   libxfce4ui
                   libxinerama
                   xfconf))
-    (home-page "https://www.xfce.org/";)
+    (home-page "https://docs.xfce.org/apps/xfdashboard/";)
     (synopsis "Gnome shell like dashboard for Xfce")
     (description
      "Xfdashboard provides a GNOME shell dashboard and MacOS Mission Control
-- 
2.46.0






reply via email to

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