Subject: [PATCH v1 06/15] gnu: libxfce4windowing: Update variable fields.

From: Ashvith Shetty <[email-masked]>
Date: Sat, 28 Dec 2024 17:22:56 +0530

From: Ashvith Shetty <[email-masked]>

* gnu/packages/xfce.scm (libxfce4windowing):
[source]: Update to XFCE's GitLab URL.
[home-page]: Set to docs.xfce.org.
[arguments]: Set configure flag "--enable-maintainer-mode".
[inputs]: Add wlr-protocols.
[native-inputs]: Add autoconf, automake, gtk-doc, intltool
libtool and xfce4-dev-tools.

Change-Id: I995433864b2de45cabcafd541ef39af4c6aab320
---
 gnu/packages/xfce.scm | 38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 8587d2d8c1..152da5c12d 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -414,23 +414,29 @@ (define-public libxfce4windowing
   (package
     (name "libxfce4windowing")
     (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
-                "0s4zjf7bwzski7zsmb7i5frd4xr8w7ng8gn8285b0vv0g4frpwjn"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.xfce.org/xfce/libxfce4windowing")
+             (commit (string-append name "-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "158jhw5kq3dzmgmy9wr9fgspwcdq84r6hjfnvbn48wx9d2q9pwdp"))))
     (build-system gnu-build-system)
-    (native-inputs (list pkg-config xfce4-dev-tools))
-    (propagated-inputs (list gtk+))     ; required by libxfce4windowing-0.pc
-    (inputs (list libdisplay-info
-                  libwnck
-                  libxrandr
-                  wayland
-                  wayland-protocols))
-    (home-page "https://www.xfce.org/")
+    (arguments
+     (list
+      #:configure-flags #~(list "--enable-maintainer-mode")))
+    (native-inputs (list autoconf
+                         automake
+                         gtk-doc
+                         intltool
+                         libtool
+                         pkg-config
+                         xfce4-dev-tools))
+    (propagated-inputs (list gtk+)) ;required by libxfce4windowing-0.pc
+    (inputs (list libdisplay-info libwnck libxrandr wayland wayland-protocols wlr-protocols))
+    (home-page "https://docs.xfce.org/xfce/libxfce4windowing/")
     (synopsis "Windowing concept abstraction library for X11 and Wayland")
     (description
      "Libxfce4windowing is an abstraction library that attempts to present
-- 
2.46.0