Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wireplumber for openSUSE:Factory checked in at 2022-03-12 17:14:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wireplumber (Old) and /work/SRC/openSUSE:Factory/.wireplumber.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wireplumber" Sat Mar 12 17:14:32 2022 rev:8 rq:961011 version:0.4.8 Changes: -------- --- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes 2022-02-11 23:07:08.826562119 +0100 +++ /work/SRC/openSUSE:Factory/.wireplumber.new.25692/wireplumber.changes 2022-03-12 17:14:33.394241702 +0100 @@ -1,0 +2,11 @@ +Thu Mar 10 12:14:13 UTC 2022 - Alexei Sorokin <sor.ale...@meowr.ru> + +- Add patch from upstream to fix a crash on tty switch + (glfo#pipewire/wireplumber#193): + * 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch +- Add patch from upstream to fix issues with PulseAudio support with + PipeWire 0.3.48+ (glfo#pipewire/pipewire#2189): + * 0003-si-audio-adapter-relax-format-parsing.patch +- Some spec clean-up. + +------------------------------------------------------------------- New: ---- 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch 0003-si-audio-adapter-relax-format-parsing.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wireplumber.spec ++++++ --- /var/tmp/diff_new_pack.o24XBT/_old 2022-03-12 17:14:33.974242374 +0100 +++ /var/tmp/diff_new_pack.o24XBT/_new 2022-03-12 17:14:33.978242377 +0100 @@ -32,17 +32,18 @@ Source1: split-config-file.py Patch0: 0001-spa-json-fix-va_list-APIs-for-different-architectures.patch Patch1: 0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch +Patch2: 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch +Patch3: 0003-si-audio-adapter-relax-format-parsing.patch +# PATCH-FIX-OPENSUSE reduce-meson-dependency.patch Patch100: reduce-meson-required-version.patch # docs BuildRequires: doxygen BuildRequires: graphviz -BuildRequires: python3-lxml # /docs BuildRequires: cmake BuildRequires: fdupes BuildRequires: meson >= 0.54.0 BuildRequires: pipewire >= %{pipewire_minimum_version} -#!BuildIgnore: pipewire-session-manager BuildRequires: pipewire-spa-plugins-0_2 >= %{pipewire_minimum_version} BuildRequires: pkgconfig BuildRequires: python3-base @@ -58,16 +59,17 @@ BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(systemd) +#!BuildIgnore: pipewire-session-manager +# Setup ALSA devices if pipewire handles pulseaudio connections. +Requires: (%{name}-audio if pipewire-pulseaudio) Requires: pipewire >= %{pipewire_minimum_version} +Provides: pipewire-session-manager %if 0%{?suse_version} <= 1500 BuildRequires: gcc9 BuildRequires: gcc9-c++ %else BuildRequires: gcc-c++ %endif -Provides: pipewire-session-manager -# Setup ALSA devices if pipewire handles pulseaudio connections. -Requires: (%{name}-audio if pipewire-pulseaudio) %description WirePlumber is a modular session / policy manager for PipeWire and @@ -80,8 +82,8 @@ Group: Development/Libraries/C and C++ Requires: %{libwireplumber} = %{version} Requires: %{name} = %{version} -Conflicts: pulseaudio Recommends: pipewire-pulseaudio +Conflicts: pulseaudio %description audio WirePlumber is a modular session / policy manager for PipeWire and ++++++ 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch ++++++ >From c4c5ca8e2215e5fc295b39af4504c43ed3fe176f Mon Sep 17 00:00:00 2001 From: George Kiagiadakis <george.kiagiada...@collabora.com> Date: Mon, 14 Feb 2022 10:38:51 +0200 Subject: [PATCH] policy-bluetooth: fix string.find crash with nil string Fixes #193 --- src/scripts/policy-bluetooth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/policy-bluetooth.lua b/src/scripts/policy-bluetooth.lua index 24fbffbb..f8f69a14 100644 --- a/src/scripts/policy-bluetooth.lua +++ b/src/scripts/policy-bluetooth.lua @@ -118,7 +118,7 @@ local function isSwitched(device) end local function isBluez5AudioSink(sink_name) - if string.find(sink_name, "bluez_output.") ~= nil then + if sink_name and string.find(sink_name, "bluez_output.") ~= nil then return true end return false -- GitLab ++++++ 0003-si-audio-adapter-relax-format-parsing.patch ++++++ >From afbc0ce57aac7aee8dc1651de4620f15c73dbace Mon Sep 17 00:00:00 2001 From: Wim Taymans <wtaym...@redhat.com> Date: Mon, 21 Feb 2022 15:21:36 +0100 Subject: [PATCH] si-audio-adapter: relax format parsing Some nodes can omit the format/rate/channels to indicate that they can deal with all possibilities and adapt to what they are linked to. See pipewire#876 --- modules/module-si-audio-adapter.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/module-si-audio-adapter.c b/modules/module-si-audio-adapter.c index f1f6218..84e393f 100644 --- a/modules/module-si-audio-adapter.c +++ b/modules/module-si-audio-adapter.c @@ -158,19 +158,12 @@ si_audio_adapter_find_format (WpSiAudioAdapter * self, WpNode * node) struct spa_pod *position = NULL; wp_spa_pod_fixate (pod); - /* defaults */ spa_zero(raw_format); - raw_format.format = SPA_AUDIO_FORMAT_F32; - raw_format.rate = si_audio_adapter_get_default_clock_rate (self); - raw_format.channels = 2; - raw_format.position[0] = SPA_AUDIO_CHANNEL_FL; - raw_format.position[1] = SPA_AUDIO_CHANNEL_FR; - if (spa_pod_parse_object(wp_spa_pod_get_spa_pod (pod), SPA_TYPE_OBJECT_Format, NULL, - SPA_FORMAT_AUDIO_format, SPA_POD_Id(&raw_format.format), + SPA_FORMAT_AUDIO_format, SPA_POD_OPT_Id(&raw_format.format), SPA_FORMAT_AUDIO_rate, SPA_POD_OPT_Int(&raw_format.rate), - SPA_FORMAT_AUDIO_channels, SPA_POD_Int(&raw_format.channels), + SPA_FORMAT_AUDIO_channels, SPA_POD_OPT_Int(&raw_format.channels), SPA_FORMAT_AUDIO_position, SPA_POD_OPT_Pod(&position)) < 0) continue; -- GitLab