[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75146] [PATCH v3 11/16] gnu: xfce4-panel: Switch to git source.
From: |
iyzsong |
Subject: |
[bug#75146] [PATCH v3 11/16] gnu: xfce4-panel: Switch to git source. |
Date: |
Mon, 30 Dec 2024 22:21:56 +0800 |
From: Ashvith Shetty <Ashvith@noreply.codeberg.org>
* gnu/packages/xfce.scm (xfce4-panel)[source]: Switch to git-fetch.
[home-page]: Set to docs.xfce.org.
[arguments]: Add "--enable-maintainer-mode --enable-gtk-doc" to configure-flags.
Remove 'patch-configure phase.
[native-inputs]: Add xfce4-dev-tools.
Change-Id: Ic5b4a82b1d14e24b11efac7f655ddb8f43a0b9da
---
gnu/packages/xfce.scm | 69 +++++++++++++++++++------------------------
1 file changed, 31 insertions(+), 38 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 0dbde8b08e..7aa739d0d1 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -443,50 +443,43 @@ (define-public xfce4-panel
(package
(name "xfce4-panel")
(version "4.20.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://archive.xfce.org/src/xfce/"
- name "/" (version-major+minor version) "/"
- name "-" version ".tar.bz2"))
- (sha256
- (base32
- "1f235lwmqavvsay9899gm7p2z3fdha6qgx05wczikhhnbmgwsczz"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.xfce.org/xfce/xfce4-panel")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "049dhis9106zig5awr9ppnxm357d93z842h015pd8rni9sayc7m0"))))
(build-system gnu-build-system)
(arguments
- `(#: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"))))
- (add-after 'unpack 'fix-tzdata-path
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* (string-append "plugins/clock/clock.c")
- (("/usr/share/zoneinfo")
- (search-input-directory inputs "share/zoneinfo"))))))))
- (native-inputs
- (list pkg-config
- intltool
- `(,glib "bin")))
- (propagated-inputs
- (list gtk+ ; required by libxfce4panel-2.0.pc
- libxfce4util)) ; required by libxfce4panel-2.0.pc
- (inputs
- (list tzdata ;; For fix-tzdata-path phase only.
- exo
- xfconf
- garcon
- gtk-layer-shell
- libwnck
- libxfce4ui
- libxfce4windowing))
+ (list
+ #:configure-flags
+ #~(list "--enable-maintainer-mode" ;for panel-marshal.h, etc
+ "--enable-gtk-doc")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tzdata-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* (string-append "plugins/clock/clock.c")
+ (("/usr/share/zoneinfo")
+ (search-input-directory inputs
"share/zoneinfo"))))))))
+ (native-inputs (list xfce4-dev-tools))
+ (propagated-inputs (list gtk+ ;required by libxfce4panel-2.0.pc
+ libxfce4util)) ;required by libxfce4panel-2.0.pc
+ (inputs (list tzdata ;For fix-tzdata-path phase only.
+ exo
+ xfconf
+ garcon
+ gtk-layer-shell
+ libwnck
+ libxfce4ui
+ libxfce4windowing))
(native-search-paths
(list (search-path-specification
(variable "XDG_DATA_DIRS")
(files '("share")))))
- (home-page "https://www.xfce.org/")
+ (home-page "https://docs.xfce.org/xfce/xfce4-panel/")
(synopsis "Xfce desktop panel")
(description
"Desktop panel for Xfce, which contains program launchers, window buttons,
--
2.46.0
- [bug#75146] [PATCH v3 04/16] gnu: libxfce4util: Switch to git source., (continued)
- [bug#75146] [PATCH v3 04/16] gnu: libxfce4util: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 03/16] gnu: xfce4-dev-tools: Fix XDT_CHECK_PACKAGE_BINARY for non-absolute paths., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 06/16] gnu: libxfce4ui: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 10/16] gnu: tumbler: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 07/16] gnu: libxfce4windowing: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 08/16] gnu: exo: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 09/16] gnu: garcon: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 12/16] gnu: xfce4-battery-plugin: Update to 1.1.6., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 13/16] gnu: xfce4-clipman-plugin: Update to 1.6.7., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 05/16] gnu: xfconf: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 11/16] gnu: xfce4-panel: Switch to git source.,
iyzsong <=
- [bug#75146] [PATCH v3 15/16] gnu: elementary-xfce-icon-theme: Use new style., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 14/16] gnu: xfce4-pulseaudio-plugin: Switch to git source., iyzsong, 2024/12/30
- [bug#75146] [PATCH v3 16/16] gnu: catfish: Update to 4.20.0., iyzsong, 2024/12/30
- [bug#75146] [PATCH v4 00/68] xfce updates, iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 01/68] gnu: xfce4-dev-tools: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 03/68] gnu: xfce4-dev-tools: Fix XDT_CHECK_PACKAGE_BINARY for non-absolute paths., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 02/68] gnu: xfce4-dev-tools: Add more propagated inputs., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 06/68] gnu: libxfce4ui: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 08/68] gnu: exo: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 15/68] gnu: elementary-xfce-icon-theme: Use new style., iyzsong, 2024/12/31