[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/68: gnu: xfce4-session: Switch to git source.
From: |
guix-commits |
Subject: |
20/68: gnu: xfce4-session: Switch to git source. |
Date: |
Wed, 1 Jan 2025 03:40:05 -0500 (EST) |
iyzsong pushed a commit to branch master
in repository guix.
commit 23c25b30da5add1302a579da85ef065f9c022393
Author: Sou Bunnbu (宋文武) <iyzsong@gmail.com>
AuthorDate: Tue Dec 31 10:36:02 2024 +0800
gnu: xfce4-session: Switch to git source.
* gnu/packages/xfce.scm (xfce4-session)[source]: Switch to git-fetch.
[arguments]: Add "--enable-maintainer-mode" to configure-flags.
Remove 'patch-configure phase.
[native-inputs]: Add xfce4-dev-tools.
[home-page]: Set to docs.xfce.org.
Change-Id: Id234bc39d803f616d386771896347a7a8185fe81
---
gnu/packages/xfce.scm | 52 +++++++++++++++++++++++----------------------------
1 file changed, 23 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 8fa5f3a0a3..235c4e69a8 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -684,41 +684,35 @@ your system in categories, so you can quickly find and
launch them.")
(package
(name "xfce4-session")
(version "4.20.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://archive.xfce.org/src/xfce/"
- "xfce4-session/" (version-major+minor
version) "/"
- "xfce4-session-" version ".tar.bz2"))
- (sha256
- (base32
- "11agss7x749i4wnw82czv0b053mhqn34hwi8rihj6sgfwqzj6aaj"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (substitute* "libxfsm/xfsm-shutdown-common.h"
- (("/sbin/shutdown -h now") "halt")
- (("/sbin/shutdown -r now") "restart")
- (("/usr/sbin/pm-suspend") "pm-suspend")
- (("/usr/sbin/pm-hibernate") "pm-hibernate"))
- #t))))
+ (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 "0zzmszwm22nnwybagnvan62qbqcgcr7fnp288qcr9bkkag5y8zcs"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (substitute* "libxfsm/xfsm-shutdown-common.h"
+ (("/sbin/shutdown -h now") "halt")
+ (("/sbin/shutdown -r now") "restart")
+ (("/usr/sbin/pm-suspend") "pm-suspend")
+ (("/usr/sbin/pm-hibernate") "pm-hibernate"))
+ #t))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags
- (list (string-append "--with-xsession-prefix=" %output)
+ (list "--enable-maintainer-mode" ;for xfce4-session-settings_ui.h
+ (string-append "--with-xsession-prefix=" %output)
(string-append "--with-wayland-session-prefix=" %output))
;; Disable icon cache update.
#:make-flags
- '("gtk_update_icon_cache=true")
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'patch-configure
- (lambda _
- (substitute* "configure"
- ;; XDG_CHECK_PACKAGE_BINARY requires an absolute path.
- (("\\$PKG_CONFIG --variable=gdbus_codegen gio-2.0")
- "type -p gdbus-codegen")))))))
+ '("gtk_update_icon_cache=true")))
(native-inputs
- (list (list glib "bin") pkg-config intltool))
+ (list xfce4-dev-tools))
(inputs
(list iceauth
gtk-layer-shell
@@ -728,7 +722,7 @@ your system in categories, so you can quickly find and
launch them.")
libwnck
libxfce4ui
libxfce4windowing))
- (home-page "https://www.xfce.org/")
+ (home-page "https://docs.xfce.org/xfce/xfce4-session/")
(synopsis "Xfce session manager")
(description
"Session manager for Xfce, it will restore your session on startup and
- 49/68: gnu: xfce4-datetime-plugin: Switch to git source., (continued)
- 49/68: gnu: xfce4-datetime-plugin: Switch to git source., guix-commits, 2025/01/01
- 34/68: gnu: xfce4-dict: Switch to git source., guix-commits, 2025/01/01
- 30/68: gnu: xfdesktop: Switch to git source., guix-commits, 2025/01/01
- 56/68: gnu: xfce4-mpc-plugin: Update to 0.5.5., guix-commits, 2025/01/01
- 57/68: gnu: xfce4-mount-plugin: Update to 1.1.7., guix-commits, 2025/01/01
- 60/68: gnu: xfce4-smartbookmark-plugin: Update to 0.5.3., guix-commits, 2025/01/01
- 65/68: gnu: xfce4-timer-plugin: Update to 1.7.3., guix-commits, 2025/01/01
- 68/68: gnu: xfce4-weather-plugin: Switch to git source., guix-commits, 2025/01/01
- 67/68: gnu: xfce4-wavelan-plugin: Update to 0.6.4., guix-commits, 2025/01/01
- 59/68: gnu: xfce4-places-plugin: Update to 1.8.4., guix-commits, 2025/01/01
- 20/68: gnu: xfce4-session: Switch to git source.,
guix-commits <=
- 01/68: gnu: xfce4-dev-tools: Switch to git source., guix-commits, 2025/01/01
- 08/68: gnu: exo: Switch to git source., guix-commits, 2025/01/01
- 12/68: gnu: xfce4-battery-plugin: Update to 1.1.6., guix-commits, 2025/01/01
- 11/68: gnu: xfce4-panel: Switch to git source., guix-commits, 2025/01/01
- 09/68: gnu: garcon: Switch to git source., guix-commits, 2025/01/01
- 07/68: gnu: libxfce4windowing: Switch to git source., guix-commits, 2025/01/01
- 06/68: gnu: libxfce4ui: Switch to git source., guix-commits, 2025/01/01
- 29/68: gnu: xfwm4: Switch to git source., guix-commits, 2025/01/01
- 21/68: gnu: xfce4-settings: Switch to git source., guix-commits, 2025/01/01
- 24/68: gnu: thunar-archive-plugin: Update to 0.5.3., guix-commits, 2025/01/01