From 1854509e5fd33ab60719ae91e002b64e938d5a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Tue, 31 Dec 2024 11:35:34 +0800 Subject: [PATCH] gnu: xfwm4: Switch to git source. * gnu/packages/xfce.scm (xfwm4)[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: I4f650c49983cd12ecf54e204a8ca9ac81a4cc02b --- gnu/packages/xfce.scm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 269099e3fccf9f42b36db6a39d96a67959904beb..4ea06ba4a8b9b7fe93c45b4dc749500691efd9d7 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -995,17 +995,21 @@ menu.") (package (name "xfwm4") (version "4.20.0") - (source (origin - (method url-fetch) - (uri (string-append "https://archive.xfce.org/src/xfce/" - "xfwm4/" (version-major+minor version) "/" - "xfwm4-" version ".tar.bz2")) - (sha256 - (base32 - "01ng1lcr0a45w1jm3vwsfwk5kfy8jfz3c1ng3n6hvalpjgj672x5")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url (string-append "https://gitlab.xfce.org/xfce/" name)) + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "153zfjw6z9nvlw05xjjws9f95097qci5qbxpzf33z8zl06n50ip5")))) (build-system gnu-build-system) + (arguments + (list #:configure-flags + #~(list "--enable-maintainer-mode"))) ;for xfwm4-dialog_ui.h, etc. (native-inputs - (list pkg-config intltool)) + (list xfce4-dev-tools)) (inputs (list libdrm libwnck @@ -1014,7 +1018,7 @@ menu.") libxfce4ui libxpresent libxrandr)) - (home-page "https://www.xfce.org/") + (home-page "https://docs.xfce.org/xfce/xfwm4/") (synopsis "Xfce window manager") (description "Window manager for Xfce, it handles the placement of windows