Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pipewire for openSUSE:Factory checked in at 2023-01-05 15:00:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pipewire (Old) and /work/SRC/openSUSE:Factory/.pipewire.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pipewire" Thu Jan 5 15:00:01 2023 rev:72 rq:1055766 version:0.3.63 Changes: -------- --- /work/SRC/openSUSE:Factory/pipewire/pipewire.changes 2022-12-24 14:52:01.875540483 +0100 +++ /work/SRC/openSUSE:Factory/.pipewire.new.1563/pipewire.changes 2023-01-05 15:00:04.792775802 +0100 @@ -1,0 +2,23 @@ +Wed Jan 4 11:25:48 UTC 2023 - Antonio Larrosa <alarr...@suse.com> + +- Add patch from upstream to fix pulse tunnel getting out of + sync/overruns (glfo#pipewire/pipewire#2891): + * 0001-modules-fix-rate-update.patch +- Add patch from upstream to fix memory leak of properties: + * 0001-alsa-fix-memory-leak-of-properties.patch + +------------------------------------------------------------------- +Fri Dec 30 13:45:32 UTC 2022 - Predrag Ivanović <predi...@mts.rs> + +- Ship only X11 bell module in module-x11 sub-package + +------------------------------------------------------------------- +Tue Dec 27 20:12:09 UTC 2022 - Alexei Sorokin <sor.ale...@meowr.ru> + +- Split the X11 bell implementation into a separate package + (overlaps with implementations in e.g. Marco). +- Add patch from upstream to fix a Bluetooth regression + (glfo#pipewire/pipewire#2898): + * 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch + +------------------------------------------------------------------- New: ---- 0001-alsa-fix-memory-leak-of-properties.patch 0001-modules-fix-rate-update.patch 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pipewire.spec ++++++ --- /var/tmp/diff_new_pack.ZzT2Ub/_old 2023-01-05 15:00:06.764786197 +0100 +++ /var/tmp/diff_new_pack.ZzT2Ub/_new 2023-01-05 15:00:06.772786239 +0100 @@ -1,7 +1,7 @@ # # spec file for package pipewire # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2018 Luciano Santos, luc1...@linuxmail.org. # # All modifications and additions to the file contributed by third parties @@ -68,6 +68,12 @@ Patch1: 0001-pulse-server-add-channel-map-in-echo-cancel-module.patch # PATCH-FIX-UPSTREAM 0001-alsa-dont-set--1-as-node.target.patch Patch2: 0001-alsa-dont-set--1-as-node.target.patch +# PATCH-FIX-UPSTREAM 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch +Patch3: 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch +# PATCH-FIX-UPSTREAM 0001-modules-fix-rate-update.patch +Patch4: 0001-modules-fix-rate-update.patch +# PATCH-FIX-UPSTREAM 0001-alsa-fix-memory-leak-of-properties.patch +Patch5: 0001-alsa-fix-memory-leak-of-properties.patch BuildRequires: docutils BuildRequires: doxygen BuildRequires: fdupes @@ -263,6 +269,25 @@ * A central hub where video can be made available for other applications such as the gnome-shell screencast API. +%package module-x11-%{apiver_str} +Summary: X11 support For PipeWire, A Multimedia Framework +Group: Productivity/Multimedia/Other +Requires: %{libpipewire} >= %{version}-%{release} +Requires: %{name} >= %{version}-%{release} + +%description module-x11-%{apiver_str} +PipeWire is a server and user space API to deal with multimedia pipelines. + +The framework is used to build a modular daemon that can be configured to: + + * Be a low-latency audio server with features like pulseaudio and/or jack; + * A video capture server that can manage hardware video capture devices + and provide access to them; + * A central hub where video can be made available for other applications + such as the gnome-shell screencast API. + +This package contains X11 bell support for PipeWire. + %package spa-plugins-%{spa_ver_str} Summary: Plugins For PipeWire SPA Group: Productivity/Multimedia/Other @@ -341,6 +366,9 @@ %endif %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build %if %{pkg_vcmp gcc < 8} @@ -550,9 +578,9 @@ %files modules-%{apiver_str} %dir %{_libdir}/pipewire-%{apiver} %{_libdir}/pipewire-%{apiver}/libpipewire-module-*.so +%exclude %{_libdir}/pipewire-%{apiver}/libpipewire-module-x11-bell.so %dir %{_libdir}/pipewire-%{apiver}/v4l2/ %{_libdir}/pipewire-%{apiver}/v4l2/libpw-v4l2.so - %dir %{_datadir}/alsa-card-profile/ %dir %{_datadir}/alsa-card-profile/mixer/ %{_datadir}/alsa-card-profile/mixer/* @@ -561,6 +589,9 @@ %{_datadir}/pipewire/client-rt.conf %{_datadir}/pipewire/minimal.conf +%files module-x11-%{apiver_str} +%{_libdir}/pipewire-%{apiver}/libpipewire-module-x11-bell.so + %files spa-plugins-%{spa_ver_str} %dir %{_libdir}/spa-%{spa_ver}/ %{_libdir}/spa-%{spa_ver}/aec/ ++++++ 0001-alsa-fix-memory-leak-of-properties.patch ++++++ >From ed463248721cc03c826f80dac9667b238c844e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= <tho...@t-8ch.de> Date: Sun, 1 Jan 2023 02:00:36 +0000 Subject: [PATCH] alsa: fix memory leak of properties --- pipewire-alsa/alsa-plugins/ctl_pipewire.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pipewire-alsa/alsa-plugins/ctl_pipewire.c b/pipewire-alsa/alsa-plugins/ctl_pipewire.c index 71f02f90e..67bd2f432 100644 --- a/pipewire-alsa/alsa-plugins/ctl_pipewire.c +++ b/pipewire-alsa/alsa-plugins/ctl_pipewire.c @@ -1083,6 +1083,7 @@ static void proxy_destroy(void *data) struct global *g = data; spa_list_remove(&g->link); g->proxy = NULL; + pw_properties_free(g->props); } static const struct pw_proxy_events proxy_events = { -- GitLab ++++++ 0001-modules-fix-rate-update.patch ++++++ >From 860b8fc27ffbfd0a095e3fa4b0cd125d536283d3 Mon Sep 17 00:00:00 2001 From: Wim Taymans <wtaym...@redhat.com> Date: Thu, 29 Dec 2022 12:22:56 +0100 Subject: [PATCH] modules: fix rate update Setting the rate with the PROP_rate would actually result in a rate adjustment of 1.0f / rate, so do the same here. See #2891 --- src/modules/module-pulse-tunnel.c | 2 +- src/modules/module-rtp-source.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/module-pulse-tunnel.c b/src/modules/module-pulse-tunnel.c index 916400d22..be89a51b3 100644 --- a/src/modules/module-pulse-tunnel.c +++ b/src/modules/module-pulse-tunnel.c @@ -270,7 +270,7 @@ static void update_rate(struct impl *impl, bool playback) impl->current_latency, impl->target_latency); SPA_FLAG_SET(impl->rate_match->flags, SPA_IO_RATE_MATCH_FLAG_ACTIVE); - impl->rate_match->rate = corr; + impl->rate_match->rate = 1.0f / corr; } static void playback_stream_process(void *d) diff --git a/src/modules/module-rtp-source.c b/src/modules/module-rtp-source.c index bc25cdc3d..6d1443e6c 100644 --- a/src/modules/module-rtp-source.c +++ b/src/modules/module-rtp-source.c @@ -272,7 +272,7 @@ static void stream_process(void *data) if (sess->rate_match) { SPA_FLAG_SET(sess->rate_match->flags, SPA_IO_RATE_MATCH_FLAG_ACTIVE); - sess->rate_match->rate = corr; + sess->rate_match->rate = 1.0f / corr; } } spa_ringbuffer_read_data(&sess->ring, -- GitLab ++++++ 0003-bluez5-backend-native-fix-missing-brace-in-CIND-reply.patch ++++++ >From c7b3ef0d9ff16a1e69a299870860bebcb628e298 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen <p...@iki.fi> Date: Wed, 21 Dec 2022 12:54:52 +0200 Subject: [PATCH] bluez5: backend-native: fix missing brace in CIND reply It should look like ...,("battchg,(0-5)) not ...,"battchg",(0-5)) --- spa/plugins/bluez5/backend-native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/backend-native.c b/spa/plugins/bluez5/backend-native.c index eed23f66e..ab543a621 100644 --- a/spa/plugins/bluez5/backend-native.c +++ b/spa/plugins/bluez5/backend-native.c @@ -74,7 +74,7 @@ enum { HFP_AG_INITIAL_CODEC_SETUP_WAIT }; -#define CIND_INDICATORS "(\"service\",(0-1)),(\"call\",(0-1)),(\"callsetup\",(0-3)),(\"callheld\",(0-2)),(\"signal\",(0-5)),(\"roam\",(0-1)),\"battchg\",(0-5))" +#define CIND_INDICATORS "(\"service\",(0-1)),(\"call\",(0-1)),(\"callsetup\",(0-3)),(\"callheld\",(0-2)),(\"signal\",(0-5)),(\"roam\",(0-1)),(\"battchg\",(0-5))" enum { CIND_SERVICE = 1, CIND_CALL, -- 2.39.0