gnu: dbus: Update to 1.15.8.

* gnu/packages/glib.scm (dbus): Update to 1.15.8.
[arguments]: Convert to list of G-Expressions.
[native-inputs]: Add autoconf, autoconf-archive, automake, libtool and
which.  Sort alphabetically.

Change-Id: I1833eb51ab37f138ec4d007230d84b541d66170d
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Vivien Kraus 2023-10-27 19:51:58 +02:00 committed by Liliana Marie Prikler
parent 3101acd8f0
commit 26485fc575
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -37,6 +37,7 @@
(define-module (gnu packages glib) (define-module (gnu packages glib)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools)
#:use-module (gnu packages backup) #:use-module (gnu packages backup)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
@ -106,7 +107,7 @@ (define-module (gnu packages glib)
(define dbus (define dbus
(package (package
(name "dbus") (name "dbus")
(version "1.14.0") (version "1.15.8")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -114,12 +115,13 @@ (define dbus
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1m7bibavml4gx9d67j403l0kzd1a4z8lhrpxb2as3q4nfpiwrmyc")) "016j3rqc8m62bg0h7z4rpvbvm5bg0hbjrld733f0aby8drz5kz44"))
(patches (search-patches "dbus-helper-search-path.patch")))) (patches (search-patches "dbus-helper-search-path.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:configure-flags
(list (list
#:configure-flags
#~(list
;; Install the system bus socket under /var. ;; Install the system bus socket under /var.
"--localstatedir=/var" "--localstatedir=/var"
@ -139,7 +141,7 @@ (define dbus
;; see <https://bugs.freedesktop.org/show_bug.cgi?id=92458>. ;; see <https://bugs.freedesktop.org/show_bug.cgi?id=92458>.
"--sysconfdir=/etc") "--sysconfdir=/etc")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'install (replace 'install
(lambda _ (lambda _
;; Don't try to create /var and /etc. ;; Don't try to create /var and /etc.
@ -148,15 +150,22 @@ (define dbus
"sysconfdir=/tmp/dummy" "sysconfdir=/tmp/dummy"
"install")))))) "install"))))))
(native-inputs (native-inputs
(list pkg-config ;; Some dependencies are required to generate the documentation. Also,
;; Dependencies to generate the doc. ;; quoting NEWS for 1.15.8: “Autotools-generated files are no longer
;; included in the tarball release.”
(list autoconf
autoconf-archive
automake
docbook-xml-4.4 docbook-xml-4.4
docbook-xsl docbook-xsl
doxygen doxygen
xmlto libtool
libxml2 ;for XML_CATALOG_FILES libxml2 ;for XML_CATALOG_FILES
libxslt libxslt
yelp-tools)) which
xmlto
yelp-tools
pkg-config))
(inputs (inputs
(list expat (list expat
;; Add a dependency on libx11 so that 'dbus-launch' has support for ;; Add a dependency on libx11 so that 'dbus-launch' has support for