[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75146] [PATCH v4 36/68] gnu: xfce4-power-manager: Switch to git sou
From: |
iyzsong |
Subject: |
[bug#75146] [PATCH v4 36/68] gnu: xfce4-power-manager: Switch to git source. |
Date: |
Tue, 31 Dec 2024 14:44:06 +0800 |
From: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/xfce.scm (xfce4-power-manager)[source]: Switch to git-fetch.
[arguments]: Add "--enable-maintainer-mode" to configure-flags.
Remove 'patch-configure phase.
[native-inputs]: Add xfce4-dev-tools.
[inputs]: Add wlr-protocols.
[home-page]: Set to docs.xfce.org.
Change-Id: Ief7a7b05516ad535f4417aa4f927bca6d039e034
---
gnu/packages/xfce.scm | 34 +++++++++++++++-------------------
1 file changed, 15 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 6a2c6c905d..a35ba85661 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -1358,29 +1358,25 @@ (define-public xfce4-power-manager
(package
(name "xfce4-power-manager")
(version "4.20.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://archive.xfce.org/src/xfce/"
- "xfce4-power-manager/" (version-major+minor
version) "/"
- "xfce4-power-manager-" version ".tar.bz2"))
- (sha256
- (base32
- "0agdsq2d4kr9aw7nqj1x5cgpxqcjffajipwjvlxq6likyv7924wp"))))
+ (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 "089qv5704y5dk2jddl3rij4d591q5i2dqlv8gb6vr250pyp1v9d8"))))
(build-system gnu-build-system)
(arguments
- (list #: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")))))))
+ (list #:configure-flags
+ #~(list "--enable-maintainer-mode"))) ;for xfpm-dbus-marshal.h, etc.
(native-inputs
- (list (list glib "bin") pkg-config intltool))
+ (list xfce4-dev-tools))
(inputs
- (list libxrandr gtk+ upower libnotify libxfce4ui polkit xfce4-panel))
- (home-page "https://www.xfce.org/")
+ (list libxrandr gtk+ upower libnotify libxfce4ui polkit
+ wlr-protocols xfce4-panel))
+ (home-page "https://docs.xfce.org/xfce/xfce4-power-manager/")
(synopsis "Xfce Power Manager")
(description
"This is a power manager for the Xfce desktop. It manages the power
--
2.46.0
- [bug#75146] [PATCH v4 21/68] gnu: xfce4-settings: Switch to git source., (continued)
- [bug#75146] [PATCH v4 21/68] gnu: xfce4-settings: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 20/68] gnu: xfce4-session: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 26/68] gnu: thunar-media-tags-plugin: Update to 0.5.0., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 22/68] gnu: thunar: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 25/68] gnu: thunar-shares-plugin: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 29/68] gnu: xfwm4: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 24/68] gnu: thunar-archive-plugin: Update to 0.5.3., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 27/68] gnu: thunar-vcs-plugin: Update to 0.3.0., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 28/68] gnu: thunarx-python: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 31/68] gnu: gigolo: Update to 0.5.4., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 36/68] gnu: xfce4-power-manager: Switch to git source.,
iyzsong <=
- [bug#75146] [PATCH v4 41/68] gnu: xfce4-notifyd: Enable sound and wayland support., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 33/68] gnu: xfce4-terminal: Update to 1.1.4., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 35/68] gnu: xfdashboard: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 30/68] gnu: xfdesktop: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 32/68] gnu: parole: Update to 4.18.2., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 45/68] gnu: xfce4-screensaver: Update to 4.18.4., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 34/68] gnu: xfce4-dict: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 38/68] gnu: xfce4-taskmanager: Update to 1.5.8., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 39/68] gnu: orage: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 44/68] gnu: xfce4-screenshooter: Switch to git source., iyzsong, 2024/12/31