GNU bug report logs -
#46322
[staging 0/2] Update pulseaudio to 14.2 and move to meson build system
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46322 in the body.
You can then email your comments to 46322 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Fri, 05 Feb 2021 07:56:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Brice Waegeneire <brice <at> waegenei.re>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 05 Feb 2021 07:56:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Autotools build system is deprecated since 14.0, it will be removed in 15.0,
hence the switch to meson. I tried building it with gtk3+ as suggested by the
TODO but it generated a package four time larger, which seems huge. so I
removed that TODO.
Brice Waegeneire (2):
gnu: pulseaudio: Update to 14.2.
gnu: pulseaudio: Use meson build system.
gnu/packages/pulseaudio.scm | 32 +++++++++++++++++++-------------
1 file changed, 19 insertions(+), 13 deletions(-)
--
2.29.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Fri, 05 Feb 2021 08:01:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/pulseaudio.scm (pulseaudio): Update to 14.2.
---
gnu/packages/pulseaudio.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index ea61dd807c..0589d86529 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
;;; Copyright © 2020 Pierre Neidhardt <mail <at> ambrevar.xyz>
;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
+;;; Copyright © 2021 Brice Waegeneire <brice <at> waegenei.re>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -180,7 +181,7 @@ rates.")
(define-public pulseaudio
(package
(name "pulseaudio")
- (version "14.0")
+ (version "14.2")
(source (origin
(method url-fetch)
(uri (string-append
@@ -188,7 +189,7 @@ rates.")
name "-" version ".tar.xz"))
(sha256
(base32
- "0qf20rgg0ysrnvg3359j56ndls07qmfn5rsy9r85bc42jdfpfd58"))
+ "1wb6zyln49ca93rl9id8r873b2sb8l79122ck824kr0s5isgglvm"))
(modules '((guix build utils)))
(snippet
;; Disable console-kit support by default since it's deprecated
--
2.29.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Fri, 05 Feb 2021 08:01:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/pulseaudio.scm (pulseaudio)[build-system]: Switch from
gnu to meson.
[arguments]: Migrate configure flags for meson.
[propagated-inputs]: Replace 'gdbm' with 'tdb', upstream default.
---
gnu/packages/pulseaudio.scm | 27 ++++++++++++++++-----------
1 file changed, 16 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 0589d86529..b636e23d24 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -50,7 +50,7 @@
#:use-module (gnu packages avahi)
#:use-module (gnu packages boost)
#:use-module (gnu packages check)
- #:use-module (gnu packages dbm)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages glib)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
@@ -202,14 +202,20 @@ rates.")
(patches (search-patches
"pulseaudio-fix-mult-test.patch"
"pulseaudio-longer-test-timeout.patch"))))
- (build-system gnu-build-system)
+ (build-system meson-build-system)
(arguments
- `(#:configure-flags (list "--localstatedir=/var" ;"--sysconfdir=/etc"
- "--disable-oss-output"
- "--enable-bluez5"
- (string-append "--with-udev-rules-dir="
- (assoc-ref %outputs "out")
- "/lib/udev/rules.d"))
+ `(#:configure-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list "-Doss-output=disable"
+ "-Dbluez5=true"
+ "-Dlocalstatedir=/var"
+ (string-append "-Dudevrulesdir="
+ out "/lib/udev/rules.d")
+ ;; Ensure the RUNPATH contains all installed library locations.
+ (string-append "-Dc_link_args=-Wl,-rpath="
+ out "/lib/pulseaudio:"
+ out "/lib:"
+ out "/lib/pulse-14.2/modules")))
#:phases (modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
@@ -221,7 +227,6 @@ rates.")
(setenv "CK_DEFAULT_TIMEOUT" "120")
#t)))))
(inputs
- ;; TODO: Add optional inputs (GTK+?).
`(("alsa-lib" ,alsa-lib)
("bluez" ,bluez)
("sbc" ,sbc)
@@ -250,9 +255,9 @@ rates.")
("perl-xml-parser" ,perl-xml-parser)
("pkg-config" ,pkg-config)))
(propagated-inputs
- ;; 'libpulse*.la' contain `-lgdbm' and `-lcap', so propagate them.
+ ;; 'libpulse*.la' contain `-ltdb' and `-lcap', so propagate them.
`(("libcap" ,libcap)
- ("gdbm" ,gdbm)))
+ ("tdb" ,tdb)))
(home-page "http://www.pulseaudio.org/")
(synopsis "Sound server")
(description
--
2.29.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Sun, 14 Feb 2021 20:32:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 46322 <at> debbugs.gnu.org (full text, mbox):
On Fri, Feb 05, 2021 at 08:55:19AM +0100, Brice Waegeneire wrote:
> Autotools build system is deprecated since 14.0, it will be removed in 15.0,
> hence the switch to meson. I tried building it with gtk3+ as suggested by the
> TODO but it generated a package four time larger, which seems huge. so I
> removed that TODO.
>
> Brice Waegeneire (2):
> gnu: pulseaudio: Update to 14.2.
> gnu: pulseaudio: Use meson build system.
Thanks for working on this! Changes to Pulseaudio should go to the
staging branch.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Sun, 14 Feb 2021 20:32:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 46322 <at> debbugs.gnu.org (full text, mbox):
On Fri, Feb 05, 2021 at 09:00:28AM +0100, Brice Waegeneire wrote:
> * gnu/packages/pulseaudio.scm (pulseaudio): Update to 14.2.
LGTM for staging
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Sun, 14 Feb 2021 20:35:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 46322 <at> debbugs.gnu.org (full text, mbox):
On Fri, Feb 05, 2021 at 09:00:29AM +0100, Brice Waegeneire wrote:
> * gnu/packages/pulseaudio.scm (pulseaudio)[build-system]: Switch from
> gnu to meson.
> [arguments]: Migrate configure flags for meson.
> [propagated-inputs]: Replace 'gdbm' with 'tdb', upstream default.
> + `(#:configure-flags
> + (let ((out (assoc-ref %outputs "out")))
> + (list "-Doss-output=disable"
> + "-Dbluez5=true"
> + "-Dlocalstatedir=/var"
> + (string-append "-Dudevrulesdir="
> + out "/lib/udev/rules.d")
> + ;; Ensure the RUNPATH contains all installed library locations.
> + (string-append "-Dc_link_args=-Wl,-rpath="
> + out "/lib/pulseaudio:"
> + out "/lib:"
> + out "/lib/pulse-14.2/modules")))
We should avoid hard-coding the version string with something like
"/lib/pulse-" ,version "/modules"
Overall LGTM for staging. Maybe you already did this but I recommend
comparing the built outputs of the old and new versions to make sure we
don't accidentally lose any components by using the new build system.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Tue, 16 Feb 2021 08:02:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 46322 <at> debbugs.gnu.org (full text, mbox):
Hello Leo,
Leo Famulari <leo <at> famulari.name> writes:
> On Fri, Feb 05, 2021 at 09:00:29AM +0100, Brice Waegeneire wrote:
>> * gnu/packages/pulseaudio.scm (pulseaudio)[build-system]: Switch from
>> gnu to meson.
>> [arguments]: Migrate configure flags for meson.
>> [propagated-inputs]: Replace 'gdbm' with 'tdb', upstream default.
>
>> + `(#:configure-flags
>> + (let ((out (assoc-ref %outputs "out")))
>> + (list "-Doss-output=disable"
>> + "-Dbluez5=true"
>> + "-Dlocalstatedir=/var"
>> + (string-append "-Dudevrulesdir="
>> + out "/lib/udev/rules.d")
>> + ;; Ensure the RUNPATH contains all installed library locations.
>> + (string-append "-Dc_link_args=-Wl,-rpath="
>> + out "/lib/pulseaudio:"
>> + out "/lib:"
>> + out "/lib/pulse-14.2/modules")))
>
> We should avoid hard-coding the version string with something like
> "/lib/pulse-" ,version "/modules"
Done.
> Overall LGTM for staging. Maybe you already did this but I recommend
> comparing the built outputs of the old and new versions to make sure we
> don't accidentally lose any components by using the new build system.
No, I hadn't so thank you for the heads up. Esound support isn't
availaible with the new build system but that software isn't maintained
anymore and pulseaudio devs are looking to drop support for it¹.
Pushed as 0c25529c6c4d1da7483db3db8bdc4a10b580c85b.
¹ https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/b1f599dcd992e61c5ce2ed870bd913a43bb32deb/NEWS#L73
Cheers,
- Brice
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Tue, 16 Feb 2021 08:02:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 46322 <at> debbugs.gnu.org (full text, mbox):
Hello Leo,
Leo Famulari <leo <at> famulari.name> writes:
> On Fri, Feb 05, 2021 at 09:00:29AM +0100, Brice Waegeneire wrote:
>> * gnu/packages/pulseaudio.scm (pulseaudio)[build-system]: Switch from
>> gnu to meson.
>> [arguments]: Migrate configure flags for meson.
>> [propagated-inputs]: Replace 'gdbm' with 'tdb', upstream default.
>
>> + `(#:configure-flags
>> + (let ((out (assoc-ref %outputs "out")))
>> + (list "-Doss-output=disable"
>> + "-Dbluez5=true"
>> + "-Dlocalstatedir=/var"
>> + (string-append "-Dudevrulesdir="
>> + out "/lib/udev/rules.d")
>> + ;; Ensure the RUNPATH contains all installed library locations.
>> + (string-append "-Dc_link_args=-Wl,-rpath="
>> + out "/lib/pulseaudio:"
>> + out "/lib:"
>> + out "/lib/pulse-14.2/modules")))
>
> We should avoid hard-coding the version string with something like
> "/lib/pulse-" ,version "/modules"
Done.
> Overall LGTM for staging. Maybe you already did this but I recommend
> comparing the built outputs of the old and new versions to make sure we
> don't accidentally lose any components by using the new build system.
No, I hadn't so thank you for the heads up. Esound support isn't
availaible with the new build system but that software isn't maintained
anymore and pulseaudio devs are looking to drop support for it¹.
Pushed as 0c25529c6c4d1da7483db3db8bdc4a10b580c85b.
¹ https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/b1f599dcd992e61c5ce2ed870bd913a43bb32deb/NEWS#L73
Cheers,
- Brice
bug closed, send any further explanations to
46322 <at> debbugs.gnu.org and Brice Waegeneire <brice <at> waegenei.re>
Request was from
Brice Waegeneire <brice <at> waegenei.re>
to
control <at> debbugs.gnu.org
.
(Tue, 16 Feb 2021 12:16:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#46322
; Package
guix-patches
.
(Tue, 16 Feb 2021 18:00:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 46322 <at> debbugs.gnu.org (full text, mbox):
On Tue, Feb 16, 2021 at 09:01:52AM +0100, Brice Waegeneire wrote:
> No, I hadn't so thank you for the heads up. Esound support isn't
> availaible with the new build system but that software isn't maintained
> anymore and pulseaudio devs are looking to drop support for it¹.
Alright, thanks for finding that and letting us know.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 17 Mar 2021 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.