summaryrefslogtreecommitdiff
path: root/gnu/packages/xfce.scm
diff options
context:
space:
mode:
author宋文武 <[email protected]>2024-12-31 11:35:34 +0800
committer宋文武 <[email protected]>2025-01-01 10:48:33 +0800
commit1854509e5fd33ab60719ae91e002b64e938d5a52 (patch)
tree66516f0f122c802eec12d2c3ba33a124e3ee4c89 /gnu/packages/xfce.scm
parent87afce8d47db907994cfd9a5905aec6e1c98f6c5 (diff)
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
Diffstat (limited to 'gnu/packages/xfce.scm')
-rw-r--r--gnu/packages/xfce.scm24
1 files changed, 14 insertions, 10 deletions
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 269099e3fc..4ea06ba4a8 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