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
This commit is contained in:
宋文武 2024-12-31 11:35:34 +08:00
parent 87afce8d47
commit 1854509e5f
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -995,17 +995,21 @@ (define-public xfwm4
(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"))
(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
"01ng1lcr0a45w1jm3vwsfwk5kfy8jfz3c1ng3n6hvalpjgj672x5"))))
(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 @@ (define-public xfwm4
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