[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#75146] [PATCH v4 05/68] gnu: xfconf: Switch to git source.
From: |
iyzsong |
Subject: |
[bug#75146] [PATCH v4 05/68] gnu: xfconf: Switch to git source. |
Date: |
Tue, 31 Dec 2024 14:43:35 +0800 |
From: Ashvith Shetty <Ashvith@noreply.codeberg.org>
* gnu/packages/xfce.scm (xfconf)[source]: Switch to git-fetch.
[home-page]: Set to docs.xfce.org.
[arguments]: Remove 'patch-configure phase. Simpify 'check phase.
Add '--enable-gtk-doc' to configure-flags.
[native-inputs]: Add xfce4-dev-tools.
Change-Id: Ib7ea144d0c788a287479ebd8a22c3f9504fe8ebf
---
gnu/packages/xfce.scm | 69 +++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index cce60feeca..35ce1b20f6 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -146,53 +146,38 @@ (define-public xfconf
(package
(name "xfconf")
(version "4.20.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://archive.xfce.org/src/xfce/"
- "xfconf/" (version-major+minor version) "/"
- "xfconf-" version ".tar.bz2"))
- (sha256
- (base32
- "1zbyar9hzvqf498z1a3q6kf6r77a6qm9x2gw6p7i6sviy5h3ri4b"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.xfce.org/xfce/xfconf")
+ (commit (string-append name "-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1k4d2gg77p3jdr0rankz2mv50hy7ddf5xl32si1mdby1wvpa9r2k"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
- ;; Run check after install phase to test dbus activation.
- (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"))))
- ;; tests-end seems to hang forever
- (add-before 'configure 'patchout-tests-end
- (lambda _
- (substitute* "tests/Makefile.in"
- (("tests-end") ""))))
- (add-after 'install 'custom-check
- (lambda _
- (setenv "HOME" (getenv "TMPDIR")) ; xfconfd requires a writable
HOME
- ;; Run test-suite under a dbus session.
- (setenv "XDG_DATA_DIRS" ; for finding org.xfce.Xfconf.service
- (string-append %output "/share"))
- ;; For the missing '/etc/machine-id'.
- (setenv "DBUS_FATAL_WARNINGS" "0")
- (invoke "dbus-launch" "make" "check")))
- (delete 'check))))
- (native-inputs
- (list pkg-config
- intltool
- `(,glib "bin") ;; for gdbus-codegen
- gobject-introspection
- vala
- dbus))
+ (list
+ #:configure-flags #~(list "--enable-gtk-doc")
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "HOME"
+ (getenv "TMPDIR")) ;xfconfd requires a writable HOME
+ ;; For the missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ ;; Run test-suite under a dbus session.
+ (invoke "dbus-launch" "make" "check"))))))
+ (native-inputs (list dbus
+ gobject-introspection
+ vala
+ xfce4-dev-tools))
(propagated-inputs
;; libxfconf-0.pc refers to all these.
(list glib))
- (inputs
- (list libxfce4util))
- (home-page "https://www.xfce.org/")
+ (inputs (list libxfce4util))
+ (home-page "https://docs.xfce.org/xfce/xfconf/")
(synopsis "Configuration storage and query system for Xfce")
(description
"Settings daemon for Xfce, implemented as a D-Bus-based configuration
--
2.46.0
- [bug#75146] [PATCH v4 01/68] gnu: xfce4-dev-tools: Switch to git source., (continued)
- [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
- [bug#75146] [PATCH v4 14/68] gnu: xfce4-pulseaudio-plugin: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 10/68] gnu: tumbler: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 04/68] gnu: libxfce4util: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 17/68] gnu: xfce4-whiskermenu-plugin: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 05/68] gnu: xfconf: Switch to git source.,
iyzsong <=
- [bug#75146] [PATCH v4 07/68] gnu: libxfce4windowing: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 12/68] gnu: xfce4-battery-plugin: Update to 1.1.6., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 19/68] gnu: xfce4-appfinder: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 13/68] gnu: xfce4-clipman-plugin: Update to 1.6.7., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 11/68] gnu: xfce4-panel: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 16/68] gnu: catfish: Update to 4.20.0., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 09/68] gnu: garcon: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 18/68] gnu: xfce4-xkb-plugin: Update to 0.8.5., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 23/68] gnu: thunar-volman: Switch to git source., iyzsong, 2024/12/31
- [bug#75146] [PATCH v4 21/68] gnu: xfce4-settings: Switch to git source., iyzsong, 2024/12/31