commit wireplumber for openSUSE:Factory

2024-07-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2024-07-02 18:15:31

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.18349 (New)


Package is "wireplumber"

Tue Jul  2 18:15:31 2024 rev:41 rq:1184890 version:0.5.5

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2024-06-29 
15:16:42.114641370 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.18349/wireplumber.changes   
2024-07-02 18:15:34.817510180 +0200
@@ -1,0 +2,13 @@
+Tue Jul  2 08:14:44 UTC 2024 - Antonio Larrosa 
+
+- Update to version 0.5.5:
+  * Highlights:
+- Hotfix release to address crashes in the Bluetooth HSP/HFP
+  autoswitch functionality that were side-effects of some
+  changes that were part of the role-based linking policy
+  (#682)
+  * Improvements:
+- wpctl will now properly show a '*' in front of sink filters
+  when they are selected as the default sink (!660) 
+
+---

Old:

  wireplumber-0.5.4+git2.96dc045.obscpio

New:

  wireplumber-0.5.5.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.gIY8c1/_old  2024-07-02 18:15:35.557537260 +0200
+++ /var/tmp/diff_new_pack.gIY8c1/_new  2024-07-02 18:15:35.561537406 +0200
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.5.4+git2.96dc045
+Version:0.5.5
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -150,6 +150,7 @@
 Requires:   %{name} = %{version}
 Requires:   zsh
 Supplements:(wireplumber and zsh)
+BuildArch:  noarch
 
 %description zsh-completion
 Optional dependency offering zsh completion for various wpctl parameters.

++ _service ++
--- /var/tmp/diff_new_pack.gIY8c1/_old  2024-07-02 18:15:35.585538284 +0200
+++ /var/tmp/diff_new_pack.gIY8c1/_new  2024-07-02 18:15:35.589538431 +0200
@@ -3,13 +3,13 @@
   
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
-
+
 

commit wireplumber for openSUSE:Factory

2024-06-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2024-06-29 15:16:32

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.18349 (New)


Package is "wireplumber"

Sat Jun 29 15:16:32 2024 rev:40 rq:1183792 version:0.5.4+git2.96dc045

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2024-06-27 
15:58:13.967418004 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.18349/wireplumber.changes   
2024-06-29 15:16:42.114641370 +0200
@@ -1,0 +2,42 @@
+Fri Jun 28 06:01:56 UTC 2024 - alarr...@suse.com
+
+- Update to version 0.5.4+git2.96dc045:
+  * l/find-best-target: Allow regular filters to be best targets
+  * linking-utils: fallback to role priority 0 if none is defined
+
+---
+Fri Jun 28 05:56:38 UTC 2024 - Antonio Larrosa 
+
+- Update to version 0.5.4:
+  * Highlights:
+- Refactored the role-based linking policy (previously known
+  also as "endpoints" or "virtual items" policy) to blend in
+  with the standard desktop policy. It is now possible use
+  role-based sinks alongside standard desktop audio operations
+  and they will only be used for streams that have a
+  "media.role" defined. It is also possible to force streams to
+  have a media.role, using a setting. Other features include:
+  blending with smart filters in the graph and allowing
+  hardware DSP nodes to be also used easily instead of
+  requiring software loopbacks for all roles. (#610, !649)
+  * Improvements:
+- Filters that are not declared as smart will now behave again
+  as normal application streams, instead of being treated
+  sometimes differently (!657)
+  * Fixes:
+- Fixed an issue that would cause WirePlumber to crash at
+  startup if an empty configuration file was present in one of
+  the search paths (#671)
+- Fixed Bluetooth profile auto-switching when a filter is
+  permanently linked to the Bluetooth source (!650)
+- Fixed an issue in the software-dsp script that would cause
+  DSP filters to stay around and cause issues after their
+  device node was destroyed (!651)
+- Fixed an issue in the autoswitch-bluetooth-profile script
+  that could cause an infinite loop of switching between
+  profiles (!652, #617)
+- Fixed a rare issue that could cause WirePlumber to crash when
+  dealing with a device object that didn't have the
+  "device.name" property set (#674)
+
+---

Old:

  wireplumber-0.5.3+git11.4868b3c.obscpio

New:

  wireplumber-0.5.4+git2.96dc045.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.vNKiK0/_old  2024-06-29 15:16:43.310684891 +0200
+++ /var/tmp/diff_new_pack.vNKiK0/_new  2024-06-29 15:16:43.314685038 +0200
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.5.3+git11.4868b3c
+Version:0.5.4+git2.96dc045
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -236,22 +236,18 @@
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-reserve-device.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-settings.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-audio-adapter.so
-%{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-audio-virtual.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-node.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-standard-link.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-standard-event-source.so
 
 %{_userunitdir}/wireplumber.service
 %{_userunitdir}/wireplumber@.service
-%{_datadir}/wireplumber
 %dir %{_datadir}/doc/wireplumber
 %dir %{_datadir}/doc/wireplumber/examples
 %{_datadir}/doc/wireplumber/examples/wireplumber.conf.d
-%{_datadir}/wireplumber/wireplumber.conf
-%dir %{_datadir}/wireplumber/wireplumber.conf.d
+%{_datadir}/wireplumber
 %exclude %{_datadir}/wireplumber/wireplumber.conf.d/00-device-monitors.conf
 %exclude 
%{_datadir}/wireplumber/wireplumber.conf.d/01-require-audio-in-main-profile.conf
-%{_datadir}/wireplumber/wireplumber.conf.d/alsa-vm.conf
 
 %files lang -f %{name}.lang
 

++ _service ++
--- /var/tmp/diff_new_pack.vNKiK0/_old  2024-06-29 15:16:43.338685910 +0200
+++ /var/tmp/diff_new_pack.vNKiK0/_new  2024-06-29 15:16:43.342686057 +0200
@@ -4,7 +4,7 @@
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
 
 

commit wireplumber for openSUSE:Factory

2024-06-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2024-06-11 18:27:14

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.19518 (New)


Package is "wireplumber"

Tue Jun 11 18:27:14 2024 rev:38 rq:1179668 version:0.5.3

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2024-06-04 
12:50:49.075144649 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.19518/wireplumber.changes   
2024-06-11 18:27:29.196912604 +0200
@@ -1,0 +2,56 @@
+Tue Jun  4 22:08:54 UTC 2024 - Alexei Sorokin 
+
+- Update to version 0.5.3:
+  * Fixes:
+- Fix a long standing issue that would cause many device nodes
+  to have inconsistent naming, with a '.N' suffix (where N is
+  a number >= 2) being appended at seemingly random times.
+- Fix an issue that would cause unavailable device profiles to
+  be selected if they were previously stored in the state file,
+  sometimes requiring users to manually remove the state file
+  to get things working again.
+- Fix an occasional crash that could sometimes be triggered by
+  hovering the volume icon on the KDE taskbar, and possibly
+  other similar actions.
+- Fix camera device deduplication logic when the same device
+  is available through both V4L2 and libcamera, and the
+  libcamera one groups multiple V4L2 devices together.
+- Fix applying the default volume on streams that have no
+  volume previously stored in the state file.
+- Fix an issue that would prevent some camera nodes,
+  in some cases, from being destroyed when the camera device
+  is removed.
+- Fix an issue that would cause video stream nodes to be
+  linked with audio smart filters, if smart audio filters were
+  configured.
+- Fix an issue that would cause WP to re-activate device
+  profiles even though they were already active.
+- Configuration files in standard JSON format (starting with a
+  '{', among other things) are now correctly parsed.
+- Fix overriding non-container values when merging JSON
+  objects.
+- Functions marked with WP_PRIVATE_API are now also marked as
+  non-introspectable in the gobject-introspection metadata.
+  * Improvements:
+- Logging on the systemd journal now includes the log topic
+  and also the log level and location directly on the message
+  string when the log level is high enough, which is useful
+  for gathering additional context in logs submitted by users.
+- Add a video-only profile in wireplumber.conf, for systems
+  where only camera & screensharing are to be used.
+- Improve seat state monitoring so that Bluetooth devices are
+  only enabled when the user is active on a local seat,
+  instead of allowing remote users as well.
+- Improve how main filter nodes are detected for the smart
+  filters.
+- Add Lua method to merge JSON containers.
+- Remove patch already included upstream:
+  * 0001-lua-json-fix-error-ouput.patch
+  * 0002-lua-json-add-method-to-merge-json-containers.patch
+  * 0003-json-utils-fix-overriding-of-non-container-values-when.patch
+  * 0004-transition-fix-memleak-when-error-set.patch
+  * 0005-transition-ensure-single-completion-and-finish.patch
+  * 0006-linking-return-after-aborting-transition.patch
+  * 0007-state-stream-fix-using-default-volume.patch
+
+---

Old:

  0001-lua-json-fix-error-ouput.patch
  0002-lua-json-add-method-to-merge-json-containers.patch
  0003-json-utils-fix-overriding-of-non-container-values-when.patch
  0004-transition-fix-memleak-when-error-set.patch
  0005-transition-ensure-single-completion-and-finish.patch
  0006-linking-return-after-aborting-transition.patch
  0007-state-stream-fix-using-default-volume.patch
  wireplumber-0.5.2.obscpio

New:

  wireplumber-0.5.3.obscpio

BETA DEBUG BEGIN:
  Old:- Remove patch already included upstream:
  * 0001-lua-json-fix-error-ouput.patch
  * 0002-lua-json-add-method-to-merge-json-containers.patch
  Old:  * 0001-lua-json-fix-error-ouput.patch
  * 0002-lua-json-add-method-to-merge-json-containers.patch
  * 0003-json-utils-fix-overriding-of-non-container-values-when.patch
  Old:  * 0002-lua-json-add-method-to-merge-json-containers.patch
  * 0003-json-utils-fix-overriding-of-non-container-values-when.patch
  * 0004-transition-fix-memleak-when-error-set.patch
  Old:  * 0003-json-utils-fix-overriding-of-non-container-values-when.patch
  * 0004-transition-fix-memleak-when-error-set.patch
  * 0005-transition-ensure-single-completion-and-finish.patch
  Old:  * 0004-transition-fix-memleak-when-error-set.patch
  * 

commit wireplumber for openSUSE:Factory

2024-04-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2024-04-18 22:10:39

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.26366 (New)


Package is "wireplumber"

Thu Apr 18 22:10:39 2024 rev:34 rq:1168471 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2024-04-02 
16:38:31.416632396 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.26366/wireplumber.changes   
2024-04-18 22:11:21.506730234 +0200
@@ -1,0 +2,11 @@
+Mon Apr 15 07:54:54 UTC 2024 - Antonio Larrosa 
+
+- Add patch from upstream to silence a warning on pipewire
+  (since 1.0.5):
+  * 0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch
+- Add patch from upstream to fix a dangling reference to a device:
+  * 0002-monitor-utils-clear-cam-data-after-creating-nodes.patch
+- Add patch from upstream to fix BAP node naming:
+  * 0003-monitors_bluez-fix-BAP-device-set-node-naming.patch
+
+---

New:

  0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch
  0002-monitor-utils-clear-cam-data-after-creating-nodes.patch
  0003-monitors_bluez-fix-BAP-device-set-node-naming.patch

BETA DEBUG BEGIN:
  New:  (since 1.0.5):
  * 0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch
- Add patch from upstream to fix a dangling reference to a device:
  New:- Add patch from upstream to fix a dangling reference to a device:
  * 0002-monitor-utils-clear-cam-data-after-creating-nodes.patch
- Add patch from upstream to fix BAP node naming:
  New:- Add patch from upstream to fix BAP node naming:
  * 0003-monitors_bluez-fix-BAP-device-set-node-naming.patch
BETA DEBUG END:



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.ritfeW/_old  2024-04-18 22:11:22.130753166 +0200
+++ /var/tmp/diff_new_pack.ritfeW/_new  2024-04-18 22:11:22.134753313 +0200
@@ -30,6 +30,9 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
+Patch0: 
0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch
+Patch1: 0002-monitor-utils-clear-cam-data-after-creating-nodes.patch
+Patch2: 0003-monitors_bluez-fix-BAP-device-set-node-naming.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz

++ 0001-core-set-context.modules.allow-empty-to-silence-warning-in.patch 
++
>From 7856124df0ebd28e259ce5b84b186cc4c859acd7 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis 
Date: Wed, 3 Apr 2024 11:52:18 +0300
Subject: [PATCH] core: set context.modules.allow-empty to silence warning in
 pw_context

See 
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/cddea858d9e8894d777b1830d76db18e57791e29

Closes: #620
---
 lib/wp/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/wp/core.c b/lib/wp/core.c
index 9de0e69b..7e59447a 100644
--- a/lib/wp/core.c
+++ b/lib/wp/core.c
@@ -330,6 +330,7 @@ wp_core_constructed (GObject *object)
 
   /* disable loading of a configuration file in pw_context */
   wp_properties_set (self->properties, PW_KEY_CONFIG_NAME, "null");
+  wp_properties_set (self->properties, "context.modules.allow-empty", 
"true");
 }
 
 /* properties are fully stored in the pw_context, no need to keep a copy */
-- 
GitLab


++ 0002-monitor-utils-clear-cam-data-after-creating-nodes.patch ++
>From 8ee351838dac5ac25224ca2a22bb1a55eace0291 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis 
Date: Wed, 3 Apr 2024 11:32:35 +0300
Subject: [PATCH] monitor-utils: clear cam data after creating nodes

The cam_data structure stores a reference to the "parent" WpSpaDevice
and doesn't allow it to be destroyed when the monitor detects that
the device is no longer present. Clear it right after pushing the event
to make sure there's no dangling reference left around

Fixes: #627
---
 src/scripts/lib/monitor-utils.lua | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/src/scripts/lib/monitor-utils.lua 
b/src/scripts/lib/monitor-utils.lua
index 5c58cd68..c23ec1cd 100644
--- a/src/scripts/lib/monitor-utils.lua
+++ b/src/scripts/lib/monitor-utils.lua
@@ -40,6 +40,15 @@ function mutils.get_cam_data (self, dev_string)
   return self.cam_data[dev_num], dev_num
 end
 
+function mutils.clear_cam_data (self, dev_string)
+  local dev_num = tonumber (dev_string)
+  if not dev_num then
+return
+  end
+
+  self.cam_data[dev_num] = nil
+end
+
 function mutils.create_cam_node (self, dev_num)
   local api = nil
   local cam_data = 

commit wireplumber for openSUSE:Factory

2024-04-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2024-04-02 16:38:10

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1905 (New)


Package is "wireplumber"

Tue Apr  2 16:38:10 2024 rev:33 rq:1163928 version:0.5.1

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2024-03-26 
19:24:59.159912992 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1905/wireplumber.changes
2024-04-02 16:38:31.416632396 +0200
@@ -1,0 +2,39 @@
+Mon Apr  1 07:53:59 UTC 2024 - Antonio Larrosa 
+
+- Update to version 0.5.1:
+  * Highlights:
+- Added a guide documenting how to migrate configuration from
+  0.4 to 0.5, also available online at:
+  
https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/migration.html
+  If you are packaging WirePlumber for a distribution, please
+  consider informing users about this. Installing the
+  wireplumber-doc subpackage, this file can be read by running:
+  xdg-open 
/usr/share/doc/wireplumber/html/daemon/configuration/migration.html
+  * Fixes:
+- Fixed an odd issue where microphones would stop being usable
+  when a Bluetooth headset was connected in the HSP/HFP profile
+  (#598, !620)
+- Fixed an issue where it was not possible to store the
+  volume/mute state of system notifications (#604)
+- Fixed a rare crash that could occur when a node was destroyed
+  while the 'select-target' event was still being processed
+  (!621)
+- Fixed deleting all the persistent settings via
+  wpctl --delete (!622)
+- Fixed using Bluetooth autoswitch with A2DP profiles that have
+  an input route (!624)
+- Fixed sending an error to clients when linking fails due to a
+  format mismatch (!625)
+  * Additions:
+- Added a check that prints a verbose warning when old-style
+  0.4.x Lua configuration files are found in the system. (#611)
+- The "policy-dsp" script, used in Asahi Linux to provide a
+  software DSP for Apple Sillicon devices, has now been ported
+  to 0.5 properly and documented (#619, !627)
+- Remove patch already included upstream:
+  * 0001-filter-utils-fix-handling-of-targetless-smart-filters.patch
+- Enable documentation generation and create new doc subpackage
+  including the documentation that can be read by running:
+  xdg-open /usr/share/doc/wireplumber/html/index.html
+
+---

Old:

  0001-filter-utils-fix-handling-of-targetless-smart-filters.patch
  wireplumber-0.5.0.obscpio

New:

  wireplumber-0.5.1.obscpio

BETA DEBUG BEGIN:
  Old:- Remove patch already included upstream:
  * 0001-filter-utils-fix-handling-of-targetless-smart-filters.patch
- Enable documentation generation and create new doc subpackage
BETA DEBUG END:



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.YzTPKE/_old  2024-04-02 16:38:31.896650086 +0200
+++ /var/tmp/diff_new_pack.YzTPKE/_new  2024-04-02 16:38:31.900650233 +0200
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.5.0
+Version:0.5.1
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -30,8 +30,6 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
-# PATCH-FIX-UPSTREAM 
0001-filter-utils-fix-handling-of-targetless-smart-filters.patch 
alarr...@suse.com -- Fix any mic only working when bluetooth is set to HSF/HFP 
profile
-Patch0: 
0001-filter-utils-fix-handling-of-targetless-smart-filters.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -55,6 +53,9 @@
 BuildRequires:  pkgconfig(libsystemd)
 BuildRequires:  pkgconfig(lua)
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinx_rtd_theme
+BuildRequires:  python3-breathe
 #!BuildIgnore:  pipewire-session-manager
 # Setup ALSA devices if PipeWire handles PulseAudio or JACK connections.
 Requires:   (%{name}-audio if (pipewire-pulseaudio or pipewire-jack))
@@ -77,8 +78,17 @@
 
 %lang_package
 
+%package doc
+Summary:Wireplumber Session / policy manager documentation
+Group:  Development/Libraries/C and C++
+BuildArch:  noarch
+
+%description doc
+This package contains documentation for the WirePlumber
+session/policy manager for PipeWire.
+
 %package audio
-Summary:Session / policy manager 

commit wireplumber for openSUSE:Factory

2024-03-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2024-03-20 21:09:42

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1905 (New)


Package is "wireplumber"

Wed Mar 20 21:09:42 2024 rev:31 rq:1159100 version:0.5.0

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2024-03-13 
22:17:54.594795862 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1905/wireplumber.changes
2024-03-20 21:09:51.788067457 +0100
@@ -1,0 +2,35 @@
+Mon Mar 18 16:34:10 UTC 2024 - Antonio Larrosa 
+
+- Update to version 0.5.0:
+  * Changes:
+- Bumped the minimum required version of PipeWire to 1.0.2,
+  because we make use of the 'api.bluez5.internal' property of
+  the BlueZ monitor (!613)
+- Improved the naming of Bluetooth nodes when the
+  auto-switching loopback node is present (!614)
+- Updated the documentation on "settings", the Bluetooth
+  monitor, the Access configuration, the file search locations
+  and added a document on how to modify the configuration file
+  (#595, !616)
+  * Fixes:
+- Fixed checking for available routes when selecting the
+  default node (!609)
+- Fixed an issue that was causing an infinite loop storing
+  routes in the state file (!610)
+- Fixed the interpretation of boolean values in the alsa
+  monitor rules (#586, !611)
+- Fixes a Lua crash when we have 2 smart filters, one with a
+  target and one without (!612)
+- Fixed an issue where the default nodes would not be updated
+  when the currently selected default node became unavailable
+  (#588, !615)
+- Fixed an issue that would cause the Props (volume, mute, etc)
+  of loopbacks and other filter nodes to not be restored at
+  startup (#577, !617)
+- Fixed how some constants were represented in the
+  gobject-introspection file, mostly by converting them from
+  defines to enums (#540, #591)
+- Fixed an issue using WirePlumber headers in other projects
+  due to redefinition of G_LOG_DOMAIN (#571)
+
+---

Old:

  wireplumber-0.4.90+git25.95cfa9e.obscpio

New:

  wireplumber-0.5.0.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.DlkDVZ/_old  2024-03-20 21:09:52.524094503 +0100
+++ /var/tmp/diff_new_pack.DlkDVZ/_new  2024-03-20 21:09:52.528094650 +0100
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.90+git25.95cfa9e
+Version:0.5.0
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT

++ _service ++
--- /var/tmp/diff_new_pack.DlkDVZ/_old  2024-03-20 21:09:52.556095679 +0100
+++ /var/tmp/diff_new_pack.DlkDVZ/_new  2024-03-20 21:09:52.556095679 +0100
@@ -3,9 +3,13 @@
   
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
+0.5.0
+@PARENT_TAG@
+
 

commit wireplumber for openSUSE:Factory

2023-11-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2023-11-01 22:09:35

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.17445 (New)


Package is "wireplumber"

Wed Nov  1 22:09:35 2023 rev:25 rq:1121413 version:0.4.15

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2023-10-13 
23:14:10.917950880 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.17445/wireplumber.changes   
2023-11-01 22:10:01.923782059 +0100
@@ -1,0 +2,14 @@
+Tue Oct 31 08:30:21 UTC 2023 - Antonio Larrosa 
+
+- Add patch from upstream that fixes too many matches for property
+  interest:
+  * 0001-object-manager-reduce-the-amount-of-globals-that-initially.patch
+- Add patch from upstream that fixes an odd failure of a test after
+  applying the previous patch:
+  * 0002-object-manager-use-an-idle-callback-to-expose-tmp-globals.patch
+- Add patch from upstream that adds ability to hide parent nodes,
+  which is useful to prevent hardware misuse or damage by poorly
+  behaved/configured clients:
+  * 0001-policy-dsp-add-ability-to-hide-parent-nodes.patch
+
+---

New:

  0001-object-manager-reduce-the-amount-of-globals-that-initially.patch
  0001-policy-dsp-add-ability-to-hide-parent-nodes.patch
  0002-object-manager-use-an-idle-callback-to-expose-tmp-globals.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.jW9FGV/_old  2023-11-01 22:10:02.475802509 +0100
+++ /var/tmp/diff_new_pack.jW9FGV/_new  2023-11-01 22:10:02.479802656 +0100
@@ -30,6 +30,12 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
+# PATCH-FIX-UPSTREAM
+Patch0: 
0001-object-manager-reduce-the-amount-of-globals-that-initially.patch
+# PATCH-FIX-UPSTREAM
+Patch1: 
0002-object-manager-use-an-idle-callback-to-expose-tmp-globals.patch
+# PATCH-FIX-UPSTREAM
+Patch2: 0001-policy-dsp-add-ability-to-hide-parent-nodes.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz

++ 0001-object-manager-reduce-the-amount-of-globals-that-initially.patch 
++
>From 5fc7e68d109b646c550e3fdeddebadc5047137a2 Mon Sep 17 00:00:00 2001
From: George Kiagiadakis 
Date: Mon, 23 Oct 2023 23:04:02 +0300
Subject: [PATCH] object-manager: reduce the amount of globals that initially
 match the interest

With the previous check, any global matching either the type or the global
properties of the interest would be considered for inclusion in the object
manager and would be prepared only to fail the same check later.

The correct way to check is (variable & (X|Y) == (X|Y)), which is what
SPA_FLAG_IS_SET() expands to.

Fixes #517
---
 lib/wp/object-manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/wp/object-manager.c b/lib/wp/object-manager.c
index 6f58653ba..dea7857e1 100644
--- a/lib/wp/object-manager.c
+++ b/lib/wp/object-manager.c
@@ -638,8 +638,8 @@ wp_object_manager_is_interested_in_global (WpObjectManager 
* self,
 /* and consider the manager interested if the type and the globals match...
if pw_properties / g_properties fail, that's ok because they are not
known yet (the proxy is likely NULL and properties not yet retrieved) */
-if (match & (WP_INTEREST_MATCH_GTYPE |
- WP_INTEREST_MATCH_PW_GLOBAL_PROPERTIES)) {
+if (SPA_FLAG_IS_SET (match, (WP_INTEREST_MATCH_GTYPE |
+ WP_INTEREST_MATCH_PW_GLOBAL_PROPERTIES))) {
   gpointer ft = g_hash_table_lookup (self->features,
   GSIZE_TO_POINTER (global->type));
   *wanted_features = (WpObjectFeatures) GPOINTER_TO_UINT (ft);
-- 
GitLab


++ 0001-policy-dsp-add-ability-to-hide-parent-nodes.patch ++
>From 7a65d76a57a5a656a5d9385b0144d15b376ddc7d Mon Sep 17 00:00:00 2001
From: James Calligeros 
Date: Sun, 29 Oct 2023 11:03:36 +1000
Subject: [PATCH] policy-dsp: add ability to hide parent nodes

some hardware devices are never supposed to be accessed directly by
clients, and are designed under the assumption that they will be
front-loaded by some sort of DSP. add a hide_parent property
to policy-dsp and revoke all permissions to the bound node of a DSP
graph where this is set to prevent hardware misuse or damage by poorly
behaved/configured clients.

Signed-off-by: James Calligeros 
---
 src/scripts/policy-dsp.lua | 25 +
 1 file changed, 25 insertions(+)

diff --git a/src/scripts/policy-dsp.lua b/src/scripts/policy-dsp.lua
index 

commit wireplumber for openSUSE:Factory

2023-10-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2023-10-13 23:13:54

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.20540 (New)


Package is "wireplumber"

Fri Oct 13 23:13:54 2023 rev:24 rq:1117593 version:0.4.15

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2023-05-30 
22:01:17.986606239 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.20540/wireplumber.changes   
2023-10-13 23:14:10.917950880 +0200
@@ -1,0 +2,45 @@
+Fri Oct 13 07:17:56 UTC 2023 - Antonio Larrosa 
+
+- Update to version 0.4.15:
+  * Additions:
+- A new "DSP policy" module has been added; its purpose is to
+  automatically load a filter-chain when a certain hardware
+  device is present, so that audio always goes through this
+  software DSP before reaching the device. This is mainly to
+  support Apple M1/M2 devices, which require a software DSP
+  to be always present
+- WpImplModule now supports loading module arguments directly
+  from a SPA-JSON config file; this is mainly to support DSP
+  configuration for Apple M1/M2 and will likely be reworked
+  for 0.5
+- Added support for automatically combining Bluetooth LE Audio
+  device sets (e.g. pairs of earbuds) (!500)
+- Added command line options in wpctl to display device/node
+  names and nicknames instead of descriptions
+- Added zsh completions file for wpctl
+- The device profile selection policy now respects the
+  device.profile property if it is set on the device; this is
+  useful to hand-pick a profile based on static configuration
+  rules (alsa_monitor.rules)
+  * Changes/Fixes:
+- Linking policy now sends an error to the client before
+  destroying the node, if it determines that the node cannot be
+  linked to any target; this fixes error reporting on the
+  client side
+- Fixed a crash in suspend-node that could happen when
+  destroying virtual sinks that were loaded from another
+  process such as pw-loopback
+- Virtual machine default period size has been bumped to 1024
+- Updated bluez5 default configuration, using bluez5.roles
+  instead of bluez5.headset-roles now (!498)
+- Disabled Bluetooth autoconnect by default (!514)
+- Removed RestrictNamespaces option from the systemd services
+  in order to allow libcamera to load sandboxed IPA modules
+- Fixed a JSON encoding bug with empty strings
+- Lua code can now parse strings without quotes from SPA-JSON
+- Added some missing \since annotations and made them show up
+  in the generated gobject-introspection file, to help bindings
+  generators
+- Add zsh-completion subpackage
+
+---

Old:

  wireplumber-0.4.14.obscpio

New:

  wireplumber-0.4.15.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.2v65mz/_old  2023-10-13 23:14:11.605975835 +0200
+++ /var/tmp/diff_new_pack.2v65mz/_new  2023-10-13 23:14:11.609975980 +0200
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.14
+Version:0.4.15
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -132,6 +132,16 @@
 This package provides the GObject Introspection bindings for
 the wireplumber shared library.
 
+%package zsh-completion
+Summary:Wireplumber zsh completion
+Group:  System/Shells
+Requires:   %{name} = %{version}
+Requires:   zsh
+Supplements:(wireplumber and zsh)
+
+%description zsh-completion
+Optional dependency offering zsh completion for various wpctl parameters.
+
 %prep
 %autosetup -p1
 
@@ -241,3 +251,8 @@
 %{_libdir}/libwireplumber-%{apiver}.so.%{sover}
 %{_libdir}/libwireplumber-%{apiver}.so.%{sover}.*
 
+%files zsh-completion
+%dir %{_datarootdir}/zsh
+%dir %{_datarootdir}/zsh/site-functions/
+%{_datarootdir}/zsh/site-functions/_wpctl
+

++ _service ++
--- /var/tmp/diff_new_pack.2v65mz/_old  2023-10-13 23:14:11.629976705 +0200
+++ /var/tmp/diff_new_pack.2v65mz/_new  2023-10-13 23:14:11.633976850 +0200
@@ -3,7 +3,7 @@
   
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
-refs/tags/0.4.14
+refs/tags/0.4.15
 @PARENT_TAG@
 

commit wireplumber for openSUSE:Factory

2023-05-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2023-05-30 22:01:10

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1533 (New)


Package is "wireplumber"

Tue May 30 22:01:10 2023 rev:23 rq:1089544 version:0.4.14

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2023-04-06 
15:55:40.796207084 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1533/wireplumber.changes
2023-05-30 22:01:17.986606239 +0200
@@ -1,0 +2,6 @@
+Fri May 19 17:26:12 UTC 2023 - Alexei Sorokin 
+
+- Require wireplumber-audio if pipewire-jack is installed.
+- Recommend pipewire-jack in wireplumber-audio.
+
+---



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.mCebjO/_old  2023-05-30 22:01:18.494609232 +0200
+++ /var/tmp/diff_new_pack.mCebjO/_new  2023-05-30 22:01:18.498609256 +0200
@@ -54,8 +54,8 @@
 BuildRequires:  pkgconfig(lua)
 BuildRequires:  pkgconfig(systemd)
 #!BuildIgnore:  pipewire-session-manager
-# Setup ALSA devices if pipewire handles pulseaudio connections.
-Requires:   (%{name}-audio if pipewire-pulseaudio)
+# Setup ALSA devices if PipeWire handles PulseAudio or JACK connections.
+Requires:   (%{name}-audio if (pipewire-pulseaudio or pipewire-jack))
 Requires:   pipewire >= %{pipewire_minimum_version}
 Provides:   pipewire-session-manager
 %if 0%{?suse_version} <= 1500
@@ -80,6 +80,7 @@
 Group:  Development/Libraries/C and C++
 Requires:   %{libwireplumber} = %{version}
 Requires:   %{name} = %{version}
+Recommends: pipewire-jack
 Recommends: pipewire-pulseaudio
 Conflicts:  pulseaudio
 BuildArch:  noarch


commit wireplumber for openSUSE:Factory

2023-04-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2023-04-06 15:55:40

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.19717 (New)


Package is "wireplumber"

Thu Apr  6 15:55:40 2023 rev:22 rq:1077110 version:0.4.14

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2023-01-14 
00:02:11.393351677 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.19717/wireplumber.changes   
2023-04-06 15:55:40.796207084 +0200
@@ -1,0 +2,29 @@
+Fri Mar 10 23:20:12 UTC 2023 - Alexei Sorokin 
+
+- Update to version 0.4.14:
+  * Additions
+- Add support for managing Bluetooth-MIDI, complementing the
+  parts that were merged in PipeWire recently.
+- Add a default volume configuration option for streams whose
+  volume has never been saved before; that allows starting new
+  streams at a lower volume than 100% by default, if desired.
+- Add support for managing link errors and propagating them to
+  the client(s) involved. This allows better error handling on
+  the application side in case a format cannot be negotiated -
+  useful in video streams.
+- snd_aloop devices are now described as being "Loopback"
+  devices.
+- ALSA nodes in the pro audio profile now get increased graph
+  priority, so that they are more likely to become the driver
+  in the graph.
+- Add support for disabling libcamera nodes & devices with
+  node.disabled and device.disabled, like it works for ALSA
+  and V4L2.
+- Drop reduce-meson-required-version.patch: openSUSE Leap 15.3 is
+  no longer supported.
+- Drop patches already included upstream:
+  * 0001-alsa-monitor-handle-snd_aloop-devices-better.patch
+  * 0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
+  * 
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
+
+---

Old:

  0001-alsa-monitor-handle-snd_aloop-devices-better.patch
  
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
  0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
  reduce-meson-required-version.patch
  wireplumber-0.4.13.obscpio

New:

  wireplumber-0.4.14.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.AdpzsZ/_old  2023-04-06 15:55:41.392210450 +0200
+++ /var/tmp/diff_new_pack.AdpzsZ/_new  2023-04-06 15:55:41.396210473 +0200
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.13
+Version:0.4.14
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -30,26 +30,13 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
-# PATCH-FIX-OPENSUSE reduce-meson-required-version.patch
-Patch0: reduce-meson-required-version.patch
-# PATCH-FIX-UPSTREAM 0001-alsa-monitor-handle-snd_aloop-devices-better.patch
-Patch1: 0001-alsa-monitor-handle-snd_aloop-devices-better.patch
-# PATCH-FIX-UPSTREAM 
0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
-Patch2: 0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
-# PATCH-FIX-UPSTREAM 
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
-Patch3: 
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
-
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
 # /docs
 BuildRequires:  cmake
 BuildRequires:  fdupes
-%if 0%{?sle_version} <= 150300
-BuildRequires:  meson >= 0.54.0
-%else
 BuildRequires:  meson >= 0.59.0
-%endif
 BuildRequires:  pipewire >= %{pipewire_minimum_version}
 BuildRequires:  pipewire-spa-plugins-0_2 >= %{pipewire_minimum_version}
 BuildRequires:  pkgconfig
@@ -145,13 +132,7 @@
 the wireplumber shared library.
 
 %prep
-%autosetup -N
-%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300
-%patch0 -p1
-%endif
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}
@@ -161,6 +142,7 @@
 %build
 %if %{pkg_vcmp gcc < 8}
 export CC=gcc-9
+export CXX=g++-9
 %endif
 %meson -Ddoc=disabled \
-Dsystem-lua=true \

++ _service ++
--- /var/tmp/diff_new_pack.AdpzsZ/_old  2023-04-06 15:55:41.424210631 +0200
+++ /var/tmp/diff_new_pack.AdpzsZ/_new  2023-04-06 15:55:41.428210653 +0200
@@ -1,9 +1,9 @@
 
 
-  

commit wireplumber for openSUSE:Factory

2023-01-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2023-01-14 00:02:09

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.32243 (New)


Package is "wireplumber"

Sat Jan 14 00:02:09 2023 rev:21 rq:1058203 version:0.4.13

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-12-14 
14:11:10.935550031 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.32243/wireplumber.changes   
2023-01-14 00:02:11.393351677 +0100
@@ -1,0 +2,21 @@
+Fri Jan 13 10:51:07 UTC 2023 - Antonio Larrosa 
+
+- Backport the workaround from SLE/Leap for the bug in systemd
+  scripts that didn't set the default enable state for the
+  wireplumber user service when installing wireplumber. The bug
+  (boo#1200485) was fixed but that's only for new installations
+  while this workaround will fix old installations (boo#1202008).
+  This is used to automatically fix installations of
+  SLE 15 SP4/Leap 15.4 that were not updated during it's lifetime
+  and upgrade directly to SP5/15.5 .
+
+---
+Wed Jan 11 12:41:28 UTC 2023 - Antonio Larrosa 
+
+- Add upstream patches to fix glfo#pipewire/pipewire#2214 and to
+  handle better non-null terminated strings: 
+  * 0001-alsa-monitor-handle-snd_aloop-devices-better.patch
+  * 0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
+  * 
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
+
+---

New:

  0001-alsa-monitor-handle-snd_aloop-devices-better.patch
  
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
  0001-spa-json-make-sure-we-only-add-encoded-string-data.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.qwmpVE/_old  2023-01-14 00:02:13.245362465 +0100
+++ /var/tmp/diff_new_pack.qwmpVE/_new  2023-01-14 00:02:13.249362488 +0100
@@ -32,6 +32,13 @@
 Source1:split-config-file.py
 # PATCH-FIX-OPENSUSE reduce-meson-required-version.patch
 Patch0: reduce-meson-required-version.patch
+# PATCH-FIX-UPSTREAM 0001-alsa-monitor-handle-snd_aloop-devices-better.patch
+Patch1: 0001-alsa-monitor-handle-snd_aloop-devices-better.patch
+# PATCH-FIX-UPSTREAM 
0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
+Patch2: 0001-spa-json-make-sure-we-only-add-encoded-string-data.patch
+# PATCH-FIX-UPSTREAM 
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
+Patch3: 
0001-m-lua-scripting-ignore-string-integer-table-keys-when-constructing-a-JSON-Array-Object.patch
+
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -70,6 +77,8 @@
 %else
 BuildRequires:  gcc-c++
 %endif
+%{?systemd_ordering}
+
 
 %description
 WirePlumber is a modular session / policy manager for PipeWire and
@@ -140,6 +149,9 @@
 %if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300
 %patch0 -p1
 %endif
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}
@@ -172,6 +184,29 @@
 %post
 %systemd_user_post wireplumber.service
 
+%if 0%{?suse_version} <= 1500
+# If the pipewire.socket user unit is not enabled and the workaround
+# for boo#1186561 has never been executed, we need to execute it now
+if [ ! -L 
%{_sysconfdir}/systemd/user/pipewire.service.wants/wireplumber.service \
+-a ! -f %{_localstatedir}/lib/pipewire/wireplumber_post_workaround \
+-a -x %{_bindir}/systemctl ]; then
+for service in wireplumber.service ; do
+%{_bindir}/systemctl --global preset "$service" || :
+done
+
+mkdir -p %{_localstatedir}/lib/pipewire
+cat << EOF > %{_localstatedir}/lib/pipewire/wireplumber_post_workaround
+# The existence of this file means that the wireplumber user services were
+# enabled at least once. Please don't remove this file as that would
+# make the services to be enabled again in the next package update.
+#
+# Check the following bugs for more information:
+# https://bugzilla.opensuse.org/show_bug.cgi?id=1200485
+EOF
+fi
+%endif
+
+
 %preun
 %systemd_user_preun wireplumber.service
 

++ 0001-alsa-monitor-handle-snd_aloop-devices-better.patch ++
>From f6dc1b3347967948cf876c62fa597b803052cb3b Mon Sep 17 00:00:00 2001
From: Wim Taymans 
Date: Tue, 13 Dec 2022 15:19:06 +0100
Subject: [PATCH] alsa-monitor: handle snd_aloop devices better

Place Loopback as the device description for snd_aloop devices.

Fixes pipewire#2214
---
 src/scripts/monitors/alsa.lua | 5 -
 1 file 

commit wireplumber for openSUSE:Factory

2022-12-14 Thread Source-Sync
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-12-14 14:10:56

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1835 (New)


Package is "wireplumber"

Wed Dec 14 14:10:56 2022 rev:20 rq:1042743 version:0.4.13

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-11-16 
15:42:21.403592705 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1835/wireplumber.changes
2022-12-14 14:11:10.935550031 +0100
@@ -1,0 +2,43 @@
+Tue Dec 13 14:43:46 UTC 2022 - Alexei Sorokin 
+
+- Update to version 0.4.13:
+  * Additions
+- Add bluetooth SCO (HSP/HFP) hardware offload support,
+  together with an example script that enables this
+  functionality on the PinePhone.
+- Encoded audio (mp3, aac, etc...) can now be passed through,
+  if this mode is supported by both the application and the
+  device.
+- The v4l2 monitor now also respects the ``node.disabled`` and
+  ``device.disabled`` properties inside rules.
+- Add "Firefox Developer Edition" to the list of applications
+  that are allowed to trigger a bluetooth profile auto-switch.
+- Add support in the portal access script to allow newly
+  plugged cameras to be immediately visible to the portal
+  applications.
+  * Fixes
+- Work around an issue that would prevent streams from properly
+  linking when using effects software like EasyEffects and
+  JamesDSP.
+- Fix destroying pavucontrol-qt monitor streams after the node
+  that was being monitored is destroyed.
+- Fix a crash in the alsa.lua monitor that could happen when a
+  disabled device was removed and re-added.
+- Fix a rare crash in the metadata object.
+- Fix a bug where a restored node target would override the
+  node target set by the application on the node's properties.
+  * Packaging
+- Add build options to compile wireplumber's library, daemon
+  and tools independently.
+- Add a build option to disable unit tests that require the
+  dbus daemon.
+- Stop using fakesink/fakesrc in the unit tests to be able to
+  run them on default pipewire installations. Compiling the spa
+  ``test`` plugin is no longer necessary.
+- Add pkg-config and header information in the gir file.
+- Rebase reduce-meson-required-version.patch
+- Drop patches already upstream:
+  * 0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch
+  * 0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch
+
+---

Old:

  0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch
  0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch
  wireplumber-0.4.12.obscpio

New:

  wireplumber-0.4.13.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.NUgeUr/_old  2022-12-14 14:11:11.603553467 +0100
+++ /var/tmp/diff_new_pack.NUgeUr/_new  2022-12-14 14:11:11.607553488 +0100
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.12
+Version:0.4.13
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -32,10 +32,6 @@
 Source1:split-config-file.py
 # PATCH-FIX-OPENSUSE reduce-meson-required-version.patch
 Patch0: reduce-meson-required-version.patch
-# PATCH-FIX-UPSTREAM
-Patch1: 
0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch
-# PATCH-FIX-UPSTREAM
-Patch2: 
0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -141,11 +137,9 @@
 
 %prep
 %autosetup -N
-%if 0%{?sle_version} <= 150300
+%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300
 %patch0 -p1
 %endif
-%patch1 -p1
-%patch2 -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}

++ _service ++
--- /var/tmp/diff_new_pack.NUgeUr/_old  2022-12-14 14:11:11.631553611 +0100
+++ /var/tmp/diff_new_pack.NUgeUr/_new  2022-12-14 14:11:11.635553632 +0100
@@ -3,7 +3,7 @@
   
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
-0.4.12
+0.4.13
 @PARENT_TAG@
 

commit wireplumber for openSUSE:Factory

2022-11-16 Thread Source-Sync
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-11-16 15:42:18

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1597 (New)


Package is "wireplumber"

Wed Nov 16 15:42:18 2022 rev:19 rq:1035774 version:0.4.12

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-10-11 
18:04:04.057941045 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1597/wireplumber.changes
2022-11-16 15:42:21.403592705 +0100
@@ -1,0 +2,11 @@
+Tue Nov 15 08:21:15 UTC 2022 - Antonio Larrosa 
+
+- Add patch from upstream to work around a problem when a link is
+  not activated:
+  * 0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch
+
+- Add patch from upstream to fix handling null devices which result
+  in lua exceptions:
+  * 0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch
+
+---

New:

  0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch
  0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.sR2Ele/_old  2022-11-16 15:42:21.927595409 +0100
+++ /var/tmp/diff_new_pack.sR2Ele/_new  2022-11-16 15:42:21.931595429 +0100
@@ -32,6 +32,10 @@
 Source1:split-config-file.py
 # PATCH-FIX-OPENSUSE reduce-meson-required-version.patch
 Patch0: reduce-meson-required-version.patch
+# PATCH-FIX-UPSTREAM
+Patch1: 
0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch
+# PATCH-FIX-UPSTREAM
+Patch2: 
0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -140,6 +144,8 @@
 %if 0%{?sle_version} <= 150300
 %patch0 -p1
 %endif
+%patch1 -p1
+%patch2 -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}

++ 0001-alsa.lua-remove-the-disabled-entities-from-the-names-table.patch 
++
>From e77ad8c0c024529deb4de5ebd69009a0cec11a78 Mon Sep 17 00:00:00 2001
From: Ashok Sidipotu 
Date: Tue, 8 Nov 2022 04:20:21 +0530
Subject: [PATCH] alsa.lua: remove the disabled entities from the names table

entities here are the device cards and the device nodes.

sometimes null device objects are reported by monitor, this results in lua
exceptions handle this use case.

Fixes #361
---
 src/scripts/monitors/alsa.lua | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/src/scripts/monitors/alsa.lua b/src/scripts/monitors/alsa.lua
index 660c47c0..195c0916 100644
--- a/src/scripts/monitors/alsa.lua
+++ b/src/scripts/monitors/alsa.lua
@@ -175,6 +175,7 @@ function createNode(parent, id, obj_type, factory, 
properties)
   -- apply properties from config.rules
   rulesApplyProperties(properties)
   if properties["node.disabled"] then
+node_names_table [properties ["node.name"]] = nil
 return
   end
 
@@ -190,6 +191,10 @@ function createDevice(parent, id, factory, properties)
 device:connect("create-object", createNode)
 device:connect("object-removed", function (parent, id)
   local node = parent:get_managed_object(id)
+  if not node then
+return
+  end
+
   node_names_table[node.properties["node.name"]] = nil
 end)
 device:activate(Feature.SpaDevice.ENABLED | Feature.Proxy.BOUND)
@@ -269,6 +274,7 @@ function prepareDevice(parent, id, obj_type, factory, 
properties)
   -- apply properties from config.rules
   rulesApplyProperties(properties)
   if properties["device.disabled"] then
+device_names_table [properties ["device.name"]] = nil
 return
   end
 
@@ -346,6 +352,10 @@ function createMonitor ()
   -- handle object-removed to destroy device reservations and recycle device 
name
   m:connect("object-removed", function (parent, id)
 local device = parent:get_managed_object(id)
+if not device then
+  return
+end
+
 if rd_plugin then
   local rd_name = device.properties["api.dbus.ReserveDevice1"]
   if rd_name then
-- 
GitLab


++ 0001-policy-node-wait-for-unactivated-links-instead-of-removing.patch 
++
>From f79a330849ebf320c42d03c123f48fec6b9ad3a8 Mon Sep 17 00:00:00 2001
From: Pauli Virtanen 
Date: Thu, 3 Nov 2022 19:22:20 +0200
Subject: [PATCH] scripts: policy-node: wait for unactivated links instead of
 removing

If a link is not activated, don't remove it. Instead, schedule a rescan
when a link activates, so that we'll handle it once it does.

This is a workaround for some problems, see
https://github.com/Audio4Linux/JDSP4Linux/issues/74
However, the underlying cause is not understood.
---
 

commit wireplumber for openSUSE:Factory

2022-10-11 Thread Source-Sync
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-10-11 18:01:41

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.2275 (New)


Package is "wireplumber"

Tue Oct 11 18:01:41 2022 rev:18 rq:1007947 version:0.4.12

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-08-10 
17:13:40.737767340 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.2275/wireplumber.changes
2022-10-11 18:04:04.057941045 +0200
@@ -1,0 +2,45 @@
+Tue Oct  4 13:01:17 UTC 2022 - Alexei Sorokin 
+
+- Update to version 0.4.12:
+  * Changes
+- WirePlumber now maintains a stack of previously configured
+  default nodes and prioritises to one of those when the
+  actively configured default node becomes unavailable, before
+  calculating the next default using priorities.
+- Updated bluetooth scripts to support the name changes that
+  happened in PipeWire 0.3.59 and also support the experimental
+  Bluetooth LE functionality.
+- Changed the naming of bluetooth nodes to not include the
+  profile in it; this allows maintaining existing links when
+  switching between a2dp and hfp.
+- The default volume for new outputs has changed to be 40% in
+  cubic scale (= -24 dB) instead of linear
+  (= 74% cubic / -8 dB) that it was before.
+- The default volume for new inputs has changed to be 100%
+  rather than following the default for outputs.
+- Added ``--version`` flag on the wireplumber executable.
+- Added ``--limit`` flag on ``wpctl set-volume`` to limit the
+  higher volume that can be set (useful when incrementing
+  volume with a keyboard shortcut that calls into wpctl).
+- The properties of the alsa midi node can now be set in the
+  config files.
+  * Fixes
+- Fixed a crash in lua code that would happen when running in a
+  VM.
+- Fixed a crash that would happen when re-connecting to D-Bus.
+- Fixed a mistake in the code that would cause device
+  reservation not to work properly.
+- Fixed ``wpctl clear-default`` to accept 0 as a valid setting ID.
+- Fixed the logic of choosing the best profile after the active
+  profile of a device becomes unavailable
+- Fixed a regression that would cause PulseAudio "corked"
+  streams to not properly link and cause busy loops.
+- Fixed an issue parsing spa-json objects that have a nested
+  object as the value of their last property.
+- Rebase reduce-meson-required-version.patch
+- Drop patches already upstream:
+  * fix-alsa.patch
+  * 0001-dbus-fix-crash-when-trying-to-reconnect.patch
+  * 398.patch
+
+---

Old:

  0001-dbus-fix-crash-when-trying-to-reconnect.patch
  398.patch
  _servicedata
  fix-alsa.patch
  wireplumber-0.4.11.obscpio

New:

  wireplumber-0.4.12.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.kTQ3O7/_old  2022-10-11 18:04:04.629941970 +0200
+++ /var/tmp/diff_new_pack.kTQ3O7/_new  2022-10-11 18:04:04.633941976 +0200
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.11
+Version:0.4.12
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -32,17 +32,13 @@
 Source1:split-config-file.py
 # PATCH-FIX-OPENSUSE reduce-meson-required-version.patch
 Patch0: reduce-meson-required-version.patch
-# PATCH-FIX-UPSTREAM
-Patch1: fix-alsa.patch
-Patch2: 0001-dbus-fix-crash-when-trying-to-reconnect.patch
-Patch3: 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/398.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
 # /docs
 BuildRequires:  cmake
 BuildRequires:  fdupes
-%if 0%{?sle_version} == 150300
+%if 0%{?sle_version} <= 150300
 BuildRequires:  meson >= 0.54.0
 %else
 BuildRequires:  meson >= 0.59.0
@@ -141,12 +137,9 @@
 
 %prep
 %autosetup -N
-%if 0%{?sle_version} == 150300
+%if 0%{?sle_version} <= 150300
 %patch0 -p1
 %endif
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}

++ _service ++
--- /var/tmp/diff_new_pack.kTQ3O7/_old  2022-10-11 18:04:04.665942028 +0200
+++ /var/tmp/diff_new_pack.kTQ3O7/_new  2022-10-11 18:04:04.669942034 +0200
@@ -3,7 +3,7 @@
   
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
-0.4.11
+0.4.12
 @PARENT_TAG@
 

commit wireplumber for openSUSE:Factory

2022-08-10 Thread Source-Sync
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-08-10 17:13:06

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1521 (New)


Package is "wireplumber"

Wed Aug 10 17:13:06 2022 rev:17 rq:994137 version:0.4.11

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-07-18 
18:32:59.565676871 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1521/wireplumber.changes
2022-08-10 17:13:40.737767340 +0200
@@ -1,0 +2,7 @@
+Fri Aug  5 21:07:13 UTC 2022 - Atri Bhattacharya 
+
+- Add 398.patch -- policy-node: fix potential rescan loop to
+  prevent high cpu usage (glfo#pipewire/wireplumber#152); patch
+  taken from upstream merge request.
+
+---

New:

  398.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.ZocZYb/_old  2022-08-10 17:13:41.353768948 +0200
+++ /var/tmp/diff_new_pack.ZocZYb/_new  2022-08-10 17:13:41.357768959 +0200
@@ -35,6 +35,7 @@
 # PATCH-FIX-UPSTREAM
 Patch1: fix-alsa.patch
 Patch2: 0001-dbus-fix-crash-when-trying-to-reconnect.patch
+Patch3: 
https://gitlab.freedesktop.org/pipewire/wireplumber/-/merge_requests/398.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -145,6 +146,7 @@
 %endif
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}

++ 398.patch ++
>From ba10c7d8c68db7b79cfa9f0e42432b63a76c415a Mon Sep 17 00:00:00 2001
From: Pauli Virtanen 
Date: Tue, 19 Jul 2022 20:39:06 +0300
Subject: [PATCH 1/2] policy-node: fix potential rescan loop

SiLink activation might be delayed indefinitely under some error
conditions. Currently, policy-node schedules a rescan when it sees a
non-activated link on a stream to be moved, which produces busy loop if
the si-link doesn't activate.

Instead of rescheduling on non-active si-links, just remove and emit a
warning. The si-link then gets removed once it gets activated.

Reproducer:

1. Play audio from Rhythmbox and pause.
2. Switch default output with pactl between two different outputs
3. Links from the paused stream stay at "init"
---
 src/scripts/policy-node.lua | 17 -
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/src/scripts/policy-node.lua b/src/scripts/policy-node.lua
index e6816723..43df701c 100644
--- a/src/scripts/policy-node.lua
+++ b/src/scripts/policy-node.lua
@@ -694,16 +694,15 @@ function handleLinkable (si)
 local link = lookupLink (si_id, si_flags[si_id].peer_id)
 if reconnect then
   if link ~= nil then
--- remove old link if active, otherwise schedule rescan
-if ((link:get_active_features() & Feature.SessionItem.ACTIVE) ~= 0) 
then
-  si_flags[si_id].peer_id = nil
-  link:remove ()
-  Log.info (si, "... moving to new target")
-else
-  scheduleRescan()
-  Log.info (si, "... scheduled rescan")
-  return
+-- remove old link
+if ((link:get_active_features() & Feature.SessionItem.ACTIVE) == 0) 
then
+  -- remove also not yet activated links: they might never become 
active,
+  -- and we should not loop waiting for them
+  Log.warning (link, "Link was not activated before removing")
 end
+si_flags[si_id].peer_id = nil
+link:remove ()
+Log.info (si, "... moving to new target")
   end
 else
   if link ~= nil then
-- 
GitLab


>From dd017b43fa1077200ae5e00f697334908ef1b9b2 Mon Sep 17 00:00:00 2001
From: Pauli Virtanen 
Date: Tue, 19 Jul 2022 20:01:10 +0300
Subject: [PATCH 2/2] m-si-link: don't wait for establish before activation +
 cleanup links

SiLink should not wait for WpLinks becoming ESTABLISHED, before
activation. That flag shows whether a link has moved away from the
"init" state, however, links to e.g. Pulseaudio corked streams can stay
in "init" state until uncorking.  This causes trouble for policies,
which needlessly wait for such links to establish.

The WpLink objects may also be kept alive by other referents, and
just unrefing them does not necessarily destroy the PW objects.

Activate SiLink even if the WpLink is still in "init" state. It's enough
that the link otherwise successfully establishes.

At dispose time, explicitly request destroying the WpLinks that were
created by the SiLink, to ensure they are removed even if there's
something else referring to them.
---
 modules/module-si-standard-link.c | 32 ++-
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git 

commit wireplumber for openSUSE:Factory

2022-07-18 Thread Source-Sync
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-07-18 18:32:53

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1523 (New)


Package is "wireplumber"

Mon Jul 18 18:32:53 2022 rev:16 rq:989117 version:0.4.11

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-07-09 
16:59:13.920453648 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1523/wireplumber.changes
2022-07-18 18:32:59.565676871 +0200
@@ -1,0 +2,6 @@
+Thu Jul 14 08:35:10 UTC 2022 - Fabian Vogt 
+
+- Add patch to fix crash on session end:
+  * 0001-dbus-fix-crash-when-trying-to-reconnect.patch
+
+---

New:

  0001-dbus-fix-crash-when-trying-to-reconnect.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.Msf98G/_old  2022-07-18 18:33:00.449678129 +0200
+++ /var/tmp/diff_new_pack.Msf98G/_new  2022-07-18 18:33:00.453678134 +0200
@@ -34,6 +34,7 @@
 Patch0: reduce-meson-required-version.patch
 # PATCH-FIX-UPSTREAM
 Patch1: fix-alsa.patch
+Patch2: 0001-dbus-fix-crash-when-trying-to-reconnect.patch
 # docs
 BuildRequires:  doxygen
 BuildRequires:  graphviz
@@ -143,6 +144,7 @@
 %patch0 -p1
 %endif
 %patch1 -p1
+%patch2 -p1
 
 pushd src/config/main.lua.d
 python3 %{SOURCE1}

++ 0001-dbus-fix-crash-when-trying-to-reconnect.patch ++
>From eb406bdb2cbbcd49c55c71285f8f2eddb624d24b Mon Sep 17 00:00:00 2001
From: George Kiagiadakis 
Date: Wed, 13 Jul 2022 13:38:14 +0300
Subject: [PATCH] dbus: fix crash when trying to reconnect

When coming from on_sync_reconnect, data points to the WpDBus object
instead of the activation transition.

Fixes: #305
---
 lib/wp/dbus.c | 20 
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/lib/wp/dbus.c b/lib/wp/dbus.c
index 01a3b21..7c2d023 100644
--- a/lib/wp/dbus.c
+++ b/lib/wp/dbus.c
@@ -58,14 +58,26 @@ wp_dbus_set_state (WpDbus *self, WpDBusState new_state)
 static void
 on_got_bus (GObject * obj, GAsyncResult * res, gpointer data)
 {
-  WpTransition *transition = WP_TRANSITION (data);
-  WpDbus *self = wp_transition_get_source_object (transition);
+  WpTransition *transition;
+  WpDbus *self;
   g_autoptr (GError) error = NULL;
 
+  if (WP_IS_TRANSITION (data)) {
+// coming from wp_dbus_enable
+transition = WP_TRANSITION (data);
+self = wp_transition_get_source_object (transition);
+  } else {
+// coming from on_sync_reconnect
+transition = NULL;
+self = WP_DBUS (data);
+  }
+
   self->connection = g_dbus_connection_new_for_address_finish (res, );
   if (!self->connection) {
-g_prefix_error (, "Failed to connect to bus: ");
-wp_transition_return_error (transition, g_steal_pointer ());
+if (transition) {
+  g_prefix_error (, "Failed to connect to bus: ");
+  wp_transition_return_error (transition, g_steal_pointer ());
+}
 return;
   }
 
-- 
2.36.1


commit wireplumber for openSUSE:Factory

2022-07-09 Thread Source-Sync
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-07-09 16:59:08

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1523 (New)


Package is "wireplumber"

Sat Jul  9 16:59:08 2022 rev:15 rq:987913 version:0.4.11

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-07-08 
14:02:44.926504216 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1523/wireplumber.changes
2022-07-09 16:59:13.920453648 +0200
@@ -1,0 +2,76 @@
+Fri Jul  8 11:02:44 UTC 2022 - Fabian Vogt 
+
+- Add patch to fix alsa device creation:
+  * fix-alsa.patch
+
+---
+Tue Jul  5 15:13:07 UTC 2022 - Alexei Sorokin 
+
+- Update to version 0.4.11:
+  * Changes
+- The libcamera monitor is now enabled by default, so if the
+  libcamera source is enabled in PipeWire, cameras discovered
+  with the libcamera API will be  available out of the box.
+  This is safe to use alongside V4L2, as long as the user does
+  not try to use the same camera over different APIs at the
+  same time.
+- Libcamera and V4L2 nodes now get assigned a
+  `priority.session` number; V4L2 nodes get a higher priority
+  by default, so the default camera is going to be /dev/video0
+  over V4L2, unless changed with `wpctl`.
+- Libcamera nodes now get a user-friendly description based on
+  their location (e.g. built-in front camera). Additionally,
+  V4L2 nodes now have a "(V4L2)" string appended to their
+  description in order to be distinguished from the libcamera
+  ones.
+- 50-alsa-config.lua now has a section where you can set
+  properties that will only be applied if WirePlumber is
+  running in a virtual machine. By default it now sets
+  `api.alsa.period-size = 256` and `api.alsa.headroom = 8192`.
+  * Fixes
+- The "enabled" properties in the config files are now "true"
+  by default when they are not defined. This fixes backwards
+  compatibility with older configuration files.
+- Fixed device name deduplication in the alsa monitor, when
+  device reservation is enabled.
+- Reverted a previous fix that makes it possible again to get
+  a glitch when changing default nodes while also changing the
+  profile (GNOME Settings).
+  The fix was causing other problems and the issue will be
+  addressed differently in the future.
+- Fixed an issue that would prevent applications from being
+  moved to a recently plugged USB headset.
+- Fixed an issue where wireplumber would automatically link
+  control ports, if they are enabled, to audio ports,
+  effectively breaking audio.
+- The policy now always considers the profile of a device that
+  was previously selected by the user, if it is available, when
+  deciding which profile to activate.
+- A few documentation fixes.
+  * Tools
+- wpctl now has a `get-volume` command for easier scripting of
+  volume controls.
+- wpctl now supports relative steps and percentage-based steps
+  in `set-volume`.
+- wpctl now also prints link states.
+- wpctl can now `inspect` metadata objects without showing
+  critical warnings.
+  * Library
+- A new WpDBus API was added to maintain a single D-Bus
+  connection among modules that need one.
+- WpCore now has a method to get the virtual machine type, if
+  WirePlumber is running in a virtual machine.
+- WpSpaDevice now has a
+  `wp_spa_device_new_managed_object_iterator()` method.
+- WpSpaJson now has a `wp_spa_json_to_string()` method that
+  returns a newly allocated string with the correct size of the string 
token.
+- WpLink now has a `WP_LINK_FEATURE_ESTABLISHED` that allows
+  the caller to wait until the link is in the PAUSED or ACTIVE
+  state. This transparently now enables watching links for
+  negotiation or allocation errors and failing gracefully
+  instead of keeping dead link objects around.
+  * Misc
+- The Lua subproject was bumped to version 5.4.4.
+- Rebase reduce-meson-required-version.patch
+
+---

Old:

  wireplumber-0.4.10.obscpio

New:

  fix-alsa.patch
  wireplumber-0.4.11.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.WCMTNf/_old  2022-07-09 16:59:14.364454316 +0200
+++ /var/tmp/diff_new_pack.WCMTNf/_new  2022-07-09 16:59:14.368454321 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define pipewire_minimum_version 0.3.48
+%define 

commit wireplumber for openSUSE:Factory

2022-07-08 Thread Source-Sync
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-07-08 14:02:09

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1523 (New)


Package is "wireplumber"

Fri Jul  8 14:02:09 2022 rev:14 rq:987881 version:0.4.10

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-07-07 
12:56:48.967274308 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1523/wireplumber.changes
2022-07-08 14:02:44.926504216 +0200
@@ -2,70 +1,0 @@
-Tue Jul  5 15:13:07 UTC 2022 - Alexei Sorokin 
-
-- Update to version 0.4.11:
-  * Changes
-- The libcamera monitor is now enabled by default, so if the
-  libcamera source is enabled in PipeWire, cameras discovered
-  with the libcamera API will be  available out of the box.
-  This is safe to use alongside V4L2, as long as the user does
-  not try to use the same camera over different APIs at the
-  same time.
-- Libcamera and V4L2 nodes now get assigned a
-  `priority.session` number; V4L2 nodes get a higher priority
-  by default, so the default camera is going to be /dev/video0
-  over V4L2, unless changed with `wpctl`.
-- Libcamera nodes now get a user-friendly description based on
-  their location (e.g. built-in front camera). Additionally,
-  V4L2 nodes now have a "(V4L2)" string appended to their
-  description in order to be distinguished from the libcamera
-  ones.
-- 50-alsa-config.lua now has a section where you can set
-  properties that will only be applied if WirePlumber is
-  running in a virtual machine. By default it now sets
-  `api.alsa.period-size = 256` and `api.alsa.headroom = 8192`.
-  * Fixes
-- The "enabled" properties in the config files are now "true"
-  by default when they are not defined. This fixes backwards
-  compatibility with older configuration files.
-- Fixed device name deduplication in the alsa monitor, when
-  device reservation is enabled.
-- Reverted a previous fix that makes it possible again to get
-  a glitch when changing default nodes while also changing the
-  profile (GNOME Settings).
-  The fix was causing other problems and the issue will be
-  addressed differently in the future.
-- Fixed an issue that would prevent applications from being
-  moved to a recently plugged USB headset.
-- Fixed an issue where wireplumber would automatically link
-  control ports, if they are enabled, to audio ports,
-  effectively breaking audio.
-- The policy now always considers the profile of a device that
-  was previously selected by the user, if it is available, when
-  deciding which profile to activate.
-- A few documentation fixes.
-  * Tools
-- wpctl now has a `get-volume` command for easier scripting of
-  volume controls.
-- wpctl now supports relative steps and percentage-based steps
-  in `set-volume`.
-- wpctl now also prints link states.
-- wpctl can now `inspect` metadata objects without showing
-  critical warnings.
-  * Library
-- A new WpDBus API was added to maintain a single D-Bus
-  connection among modules that need one.
-- WpCore now has a method to get the virtual machine type, if
-  WirePlumber is running in a virtual machine.
-- WpSpaDevice now has a
-  `wp_spa_device_new_managed_object_iterator()` method.
-- WpSpaJson now has a `wp_spa_json_to_string()` method that
-  returns a newly allocated string with the correct size of the string 
token.
-- WpLink now has a `WP_LINK_FEATURE_ESTABLISHED` that allows
-  the caller to wait until the link is in the PAUSED or ACTIVE
-  state. This transparently now enables watching links for
-  negotiation or allocation errors and failing gracefully
-  instead of keeping dead link objects around.
-  * Misc
-- The Lua subproject was bumped to version 5.4.4.
-- Rebase reduce-meson-required-version.patch
-


Old:

  wireplumber-0.4.11.obscpio

New:

  wireplumber-0.4.10.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.drAlVE/_old  2022-07-08 14:02:45.346504716 +0200
+++ /var/tmp/diff_new_pack.drAlVE/_new  2022-07-08 14:02:45.350504721 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define pipewire_minimum_version 0.3.52
+%define pipewire_minimum_version 0.3.48
 %define apiver 0.4
 %define apiver_str 0_4
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.11

commit wireplumber for openSUSE:Factory

2022-07-07 Thread Source-Sync
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-07-07 12:56:34

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1523 (New)


Package is "wireplumber"

Thu Jul  7 12:56:34 2022 rev:13 rq:987251 version:0.4.11

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-05-14 
22:54:36.603174468 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1523/wireplumber.changes
2022-07-07 12:56:48.967274308 +0200
@@ -1,0 +2,70 @@
+Tue Jul  5 15:13:07 UTC 2022 - Alexei Sorokin 
+
+- Update to version 0.4.11:
+  * Changes
+- The libcamera monitor is now enabled by default, so if the
+  libcamera source is enabled in PipeWire, cameras discovered
+  with the libcamera API will be  available out of the box.
+  This is safe to use alongside V4L2, as long as the user does
+  not try to use the same camera over different APIs at the
+  same time.
+- Libcamera and V4L2 nodes now get assigned a
+  `priority.session` number; V4L2 nodes get a higher priority
+  by default, so the default camera is going to be /dev/video0
+  over V4L2, unless changed with `wpctl`.
+- Libcamera nodes now get a user-friendly description based on
+  their location (e.g. built-in front camera). Additionally,
+  V4L2 nodes now have a "(V4L2)" string appended to their
+  description in order to be distinguished from the libcamera
+  ones.
+- 50-alsa-config.lua now has a section where you can set
+  properties that will only be applied if WirePlumber is
+  running in a virtual machine. By default it now sets
+  `api.alsa.period-size = 256` and `api.alsa.headroom = 8192`.
+  * Fixes
+- The "enabled" properties in the config files are now "true"
+  by default when they are not defined. This fixes backwards
+  compatibility with older configuration files.
+- Fixed device name deduplication in the alsa monitor, when
+  device reservation is enabled.
+- Reverted a previous fix that makes it possible again to get
+  a glitch when changing default nodes while also changing the
+  profile (GNOME Settings).
+  The fix was causing other problems and the issue will be
+  addressed differently in the future.
+- Fixed an issue that would prevent applications from being
+  moved to a recently plugged USB headset.
+- Fixed an issue where wireplumber would automatically link
+  control ports, if they are enabled, to audio ports,
+  effectively breaking audio.
+- The policy now always considers the profile of a device that
+  was previously selected by the user, if it is available, when
+  deciding which profile to activate.
+- A few documentation fixes.
+  * Tools
+- wpctl now has a `get-volume` command for easier scripting of
+  volume controls.
+- wpctl now supports relative steps and percentage-based steps
+  in `set-volume`.
+- wpctl now also prints link states.
+- wpctl can now `inspect` metadata objects without showing
+  critical warnings.
+  * Library
+- A new WpDBus API was added to maintain a single D-Bus
+  connection among modules that need one.
+- WpCore now has a method to get the virtual machine type, if
+  WirePlumber is running in a virtual machine.
+- WpSpaDevice now has a
+  `wp_spa_device_new_managed_object_iterator()` method.
+- WpSpaJson now has a `wp_spa_json_to_string()` method that
+  returns a newly allocated string with the correct size of the string 
token.
+- WpLink now has a `WP_LINK_FEATURE_ESTABLISHED` that allows
+  the caller to wait until the link is in the PAUSED or ACTIVE
+  state. This transparently now enables watching links for
+  negotiation or allocation errors and failing gracefully
+  instead of keeping dead link objects around.
+  * Misc
+- The Lua subproject was bumped to version 5.4.4.
+- Rebase reduce-meson-required-version.patch
+
+---

Old:

  wireplumber-0.4.10.obscpio

New:

  wireplumber-0.4.11.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.btKNTk/_old  2022-07-07 12:56:50.095275988 +0200
+++ /var/tmp/diff_new_pack.btKNTk/_new  2022-07-07 12:56:50.099275994 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define pipewire_minimum_version 0.3.48
+%define pipewire_minimum_version 0.3.52
 %define apiver 0.4
 %define apiver_str 0_4
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.10

commit wireplumber for openSUSE:Factory

2022-05-14 Thread Source-Sync
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-05-14 22:54:35

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1538 (New)


Package is "wireplumber"

Sat May 14 22:54:35 2022 rev:12 rq:976983 version:0.4.10

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-04-02 
18:20:52.230052881 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1538/wireplumber.changes
2022-05-14 22:54:36.603174468 +0200
@@ -1,0 +2,66 @@
+Tue May 10 14:39:24 UTC 2022 - Alexei Sorokin 
+
+- Update to version 0.4.10:
+  * Changes
+- Add i18n support to be able to translate some user-visible
+  strings.
+- wpctl now supports using
+  @DEFAULT_{AUDIO_,VIDEO_,}{SINK,SOURCE}@ as ID, almost like
+  pactl. Additionally, it supports a --pid flag for changing
+  volume and mute state by specifying a process ID, applying
+  the state to all nodes of a specific client process.
+- The Lua engine now supports loading Lua libraries. These can
+  be placed either in the standard Lua libraries path or in
+  the "lib" subdirectory of WirePlumber's "scripts" directory
+  and can be loaded with ``require()``
+- The Lua engine's sandbox has been relaxed to allow more
+  functionality in scripts (the debug & coroutine libraries
+  and some other previously disabled functions)
+- Lua scripts are now wrapped in special WpPlugin objects,
+  allowing them to load asynchronously and declare when they
+  have finished their loading
+- Add a new script that provides the same functionality as
+  module-fallback-sink from PipeWire, but also takes endpoints
+  into account and can be customised more easily. Disabled by
+  default for now to avoid conflicts.
+  * Policy
+- Add an optional experimental feature that allows filter-like
+  streams (like echo-cancel or filter-node) to match the
+  channel layout of the device they connect to, on both sides
+  of the filter; that means that if, for instance, a sink has
+  6 channels and the echo-cancel's source stream is linked to
+  that sink, then the virtual sink presented by echo-cancel
+  will also be configured to the same 6 channels layout. This
+  feature needs to be explicitly enabled in the configuration
+  ("filter.forward-format")
+- filter-like streams (filter-chain and such) no longer follow
+  the default sink when it changes, like in PulseAudio.
+  * Fixes
+- The suspend-node script now also suspends nodes that go into
+  the "error" state, allowing them to recover from errors
+  without having to restart WirePlumber.
+- Fix a crash in mixer-api when setting volume with
+  channelVolumes.
+- logind module now watches only for user state changes,
+  avoiding errors when machined is not running.
+  * Misc
+- The configuration files now have comments mentioning which
+  options need to be disabled in order to run WirePlumber
+  without D-Bus.
+- The configuration files now have properties to
+  enable/disable the monitors and other sections, so that it
+  is possible to disable them by dropping in a file that just
+  sets the relevant property to false.
+- setlocale() is now called directly instead of relying on
+  pw_init().
+- WpSpaJson received some fixes and is now used internally to
+  parse configuration files.
+- More applications were added to the bluetooth auto-switch
+  applications whitelist.
+- Add a new wireplumber-lang package.
+- Drop patches already upstream:
+  * 0001-scripts-policy-device-profile-clear-tables-when-devices-removed.patch
+  * 0001-src-setlocale-in-main-for-tools-and-the-daemon.patch
+- Rebase reduce-meson-required-version.patch
+
+---

Old:

  0001-scripts-policy-device-profile-clear-tables-when-devices-removed.patch
  0001-src-setlocale-in-main-for-tools-and-the-daemon.patch
  wireplumber-0.4.9.obscpio

New:

  wireplumber-0.4.10.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.mDSIR6/_old  2022-05-14 22:54:37.219175238 +0200
+++ /var/tmp/diff_new_pack.mDSIR6/_new  2022-05-14 22:54:37.235175258 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define pipewire_minimum_version 0.3.43
+%define pipewire_minimum_version 0.3.48
 %define apiver 0.4
 %define apiver_str 0_4
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.9
+Version:0.4.10
 Release:0
 

commit wireplumber for openSUSE:Factory

2022-04-02 Thread Source-Sync
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-04-02 18:20:39

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1900 (New)


Package is "wireplumber"

Sat Apr  2 18:20:39 2022 rev:11 rq:966061 version:0.4.9

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-03-28 
17:00:47.816988592 +0200
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1900/wireplumber.changes
2022-04-02 18:20:52.230052881 +0200
@@ -1,0 +2,14 @@
+Wed Mar 30 16:12:03 UTC 2022 - Antonio Larrosa 
+
+- Add patch from upstream to fix no sound on reconnection of
+  bluetooth device (glfo#pipewire/wireplumber#234):
+  * 0001-scripts-policy-device-profile-clear-tables-when-devices-removed.patch
+
+---
+Tue Mar 29 12:04:24 UTC 2022 - Antonio Larrosa 
+
+- Add patch from upstream to set locale in apps now that pw_init
+  doesn't call it by itself anymore in pipewire 0.3.49:
+  * 0001-src-setlocale-in-main-for-tools-and-the-daemon.patch
+
+---

New:

  0001-scripts-policy-device-profile-clear-tables-when-devices-removed.patch
  0001-src-setlocale-in-main-for-tools-and-the-daemon.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.zfGOQ3/_old  2022-04-02 18:20:52.766046865 +0200
+++ /var/tmp/diff_new_pack.zfGOQ3/_new  2022-04-02 18:20:52.770046820 +0200
@@ -30,6 +30,10 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-src-setlocale-in-main-for-tools-and-the-daemon.patch
+# PATCH-FIX-UPSTREAM
+Patch1: 
0001-scripts-policy-device-profile-clear-tables-when-devices-removed.patch
 # PATCH-FIX-OPENSUSE reduce-meson-dependency.patch
 Patch100:   reduce-meson-required-version.patch
 # docs

++ 
0001-scripts-policy-device-profile-clear-tables-when-devices-removed.patch 
++
>From 82856f8643402d56b62d62b0eea4debfae1cd16e Mon Sep 17 00:00:00 2001
From: Pauli Virtanen 
Date: Mon, 28 Mar 2022 20:16:52 +0300
Subject: [PATCH] scripts: policy-device-profile: clear tables when devices
 removed

When device ids are invalidated, clear all local tables about them,
because the id may be reused by different object, or the same object
reappearing.
---
 src/scripts/policy-device-profile.lua | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/scripts/policy-device-profile.lua 
b/src/scripts/policy-device-profile.lua
index d0aa2696..9daeafaa 100644
--- a/src/scripts/policy-device-profile.lua
+++ b/src/scripts/policy-device-profile.lua
@@ -229,4 +229,10 @@ self.om:connect("object-added", function (_, device)
   handleProfiles (device, true)
 end)
 
+self.om:connect("object-removed", function (_, device)
+  local dev_id = device["bound-id"]
+  self.active_profiles[dev_id] = nil
+  self.best_profiles[dev_id] = nil
+end)
+
 self.om:activate()
-- 
GitLab


++ 0001-src-setlocale-in-main-for-tools-and-the-daemon.patch ++
>From 7e6e0e9ba044ca95365f6ceb9f8ae301aac994ae Mon Sep 17 00:00:00 2001
From: Pauli Virtanen 
Date: Tue, 22 Mar 2022 20:51:02 +0200
Subject: [PATCH] src: setlocale in main() for tools and the daemon

Previously, pw_init calls setlocale(), but this will change in future.
Setting the locale should be done by the main application, and is needed
in wireplumber for e.g. for translated UI elements.

Set the locale in main() for wireplumber daemon and tools, to have the
locale set also with the new pw_init behavior.

Set also LC_NUMERIC to C, to match old pw_init behavior.
---
 src/main.c | 3 +++
 src/tools/wpctl.c  | 3 +++
 src/tools/wpexec.c | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/src/main.c b/src/main.c
index 3bfaf98e..7e12d29e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,6 +10,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #define WP_DOMAIN_DAEMON (wp_domain_daemon_quark ())
 static G_DEFINE_QUARK (wireplumber-daemon, wp_domain_daemon);
@@ -402,6 +403,8 @@ main (gint argc, gchar **argv)
   g_autoptr (WpProperties) properties = NULL;
   g_autofree gchar *config_file_path = NULL;
 
+  setlocale (LC_ALL, "");
+  setlocale (LC_NUMERIC, "C");
   wp_init (WP_INIT_ALL);
 
   context = g_option_context_new ("- PipeWire Session/Policy Manager");
diff --git a/src/tools/wpctl.c b/src/tools/wpctl.c
index 8b0fe0aa..81aa936f 100644
--- a/src/tools/wpctl.c
+++ b/src/tools/wpctl.c
@@ -8,6 +8,7 @@
 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ 

commit wireplumber for openSUSE:Factory

2022-03-28 Thread Source-Sync
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-28 17:00:07

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1900 (New)


Package is "wireplumber"

Mon Mar 28 17:00:07 2022 rev:10 rq:964784 version:0.4.9

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-03-24 
22:57:18.352210197 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1900/wireplumber.changes
2022-03-28 17:00:47.816988592 +0200
@@ -1,0 +2,6 @@
+Fri Mar 25 07:47:09 UTC 2022 - Antonio Larrosa 
+
+- Make the wireplumber-audio noarch as it just contains a lua
+  config file.
+
+---



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.lkozOp/_old  2022-03-28 17:00:48.368989342 +0200
+++ /var/tmp/diff_new_pack.lkozOp/_new  2022-03-28 17:00:48.372989348 +0200
@@ -80,6 +80,7 @@
 Requires:   %{name} = %{version}
 Recommends: pipewire-pulseaudio
 Conflicts:  pulseaudio
+BuildArch:  noarch
 
 %description audio
 WirePlumber is a modular session / policy manager for PipeWire and


commit wireplumber for openSUSE:Factory

2022-03-24 Thread Source-Sync
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-24 22:57:05

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1900 (New)


Package is "wireplumber"

Thu Mar 24 22:57:05 2022 rev:9 rq:964075 version:0.4.9

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-03-12 
17:14:33.394241702 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1900/wireplumber.changes
2022-03-24 22:57:18.352210197 +0100
@@ -1,0 +2,42 @@
+Tue Mar 22 18:36:13 UTC 2022 - alarr...@suse.com
+
+- Update to version 0.4.9:
+  * Fixes:
+- restore-stream no longer crashes if properties for it are not
+  present in the config (#190)
+- spa-json no longer crashes on non-x86 architectures
+- Fixed a potential crash in the bluetooth auto-switch module
+  (#193)
+- Fixed a race condition that would cause Zoom desktop audio
+  sharing to fail (#197)
+- Surround sound in some games is now exposed properly
+  (pipewire#876)
+- Fixed a race condition that would cause the default source &
+  sink to not be set at startup
+- policy-node now supports the 'target.object' key on streams
+  and metadata
+- Multiple fixes in policy-node that make the logic in some
+  cases behave more like PulseAudio (regarding nodes with the
+  dont-reconnect property and regarding following the default
+  source/sink)
+- Fixed a bug with parsing unquoted strings in spa-json
+  * Misc:
+- The policy now supports configuring "persistent" device
+  profiles. If a device is manually set to one of these
+  profiles, then it will not be auto-switched to another
+  profile automatically under any circumstances (#138, #204)
+- The device-activation module was re-written in lua
+- Brave, Edge, Vivaldi and Telegram were added in the bluetooth
+  auto-switch applications list
+- ALSA nodes now use the PCM name to populate node.nick, which
+  is useful at least on HDA cards using UCM, where all outputs
+  (analog, hdmi, etc) are exposesd as nodes on a single profile
+- An icon name is now set on the properties of bluetooth devices
+- Drop patches already upstream:
+  * 0001-spa-json-fix-va_list-APIs-for-different-architectures.patch
+  * 0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch
+  * 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch
+  * 0003-si-audio-adapter-relax-format-parsing.patch
+- Update split-config-file.py script
+
+---

Old:

  0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch
  0001-spa-json-fix-va_list-APIs-for-different-architectures.patch
  0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch
  0003-si-audio-adapter-relax-format-parsing.patch
  wireplumber-0.4.8.obscpio

New:

  wireplumber-0.4.9.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.do4A8x/_old  2022-03-24 22:57:20.240212055 +0100
+++ /var/tmp/diff_new_pack.do4A8x/_new  2022-03-24 22:57:20.244212059 +0100
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.8
+Version:0.4.9
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -30,10 +30,6 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 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
@@ -182,7 +178,6 @@
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-default-nodes-api.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-default-nodes.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-default-profile.so
-%{_libdir}/wireplumber-%{apiver}/libwireplumber-module-device-activation.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-file-monitor-api.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-logind.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-lua-scripting.so

++ _service ++
--- /var/tmp/diff_new_pack.do4A8x/_old  2022-03-24 

commit wireplumber for openSUSE:Factory

2022-03-12 Thread Source-Sync
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 
+
+- 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 
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 
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 

commit wireplumber for openSUSE:Factory

2022-02-11 Thread Source-Sync
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-02-11 23:06:43

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1956 (New)


Package is "wireplumber"

Fri Feb 11 23:06:43 2022 rev:7 rq:953378 version:0.4.8

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-02-09 
20:39:19.362393575 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1956/wireplumber.changes
2022-02-11 23:07:08.826562119 +0100
@@ -1,0 +2,10 @@
+Fri Feb 11 08:09:05 UTC 2022 - Antonio Larrosa 
+
+- Add patch from upstream to fix va_list APIs for ppc64le and
+  aarch64, where va_list is not a pointer (boo#1195818):
+  * 0001-spa-json-fix-va_list-APIs-for-different-architectures.patch
+- Add patch from upstream to fix a crash if config.properties is
+  nil:
+  * 0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch
+
+---

New:

  0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch
  0001-spa-json-fix-va_list-APIs-for-different-architectures.patch



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.UEuZ9I/_old  2022-02-11 23:07:09.402563718 +0100
+++ /var/tmp/diff_new_pack.UEuZ9I/_new  2022-02-11 23:07:09.410563741 +0100
@@ -30,7 +30,8 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 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
 Patch100:   reduce-meson-required-version.patch
 # docs
 BuildRequires:  doxygen

++ 0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch ++
>From 5f96f69218273573e625475846269b3914cfcecf Mon Sep 17 00:00:00 2001
From: George Kiagiadakis 
Date: Wed, 9 Feb 2022 13:35:13 +0200
Subject: [PATCH] restore-stream: do not crash if config.properties is nil

Fixes #190
---
 src/scripts/restore-stream.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/scripts/restore-stream.lua b/src/scripts/restore-stream.lua
index 404eede5..0c17bdd7 100644
--- a/src/scripts/restore-stream.lua
+++ b/src/scripts/restore-stream.lua
@@ -10,6 +10,7 @@
 
 -- Receive script arguments from config.lua
 local config = ... or {}
+config.properties = config.properties or {}
 config_restore_props = config.properties["restore-props"] or false
 config_restore_target = config.properties["restore-target"] or false
 
-- 
GitLab


++ 0001-spa-json-fix-va_list-APIs-for-different-architectures.patch ++
>From e429db7e8c266045aee25e153fb2308bd61fe233 Mon Sep 17 00:00:00 2001
From: Julian Bouzas 
Date: Wed, 9 Feb 2022 07:59:59 -0500
Subject: [PATCH] spa-json: fix va_list APIs for different architectures

The va_list type might not always be a pointer in some architectures, so we
cannot guarantee it will be modified after using it for a second time in another
function. This fixes the issue by using macros so args does not get copied, and
always gets modified when using it more than once.
---
 lib/wp/spa-json.c | 156 --
 1 file changed, 80 insertions(+), 76 deletions(-)

diff --git a/lib/wp/spa-json.c b/lib/wp/spa-json.c
index f14f395d..c5e59a3e 100644
--- a/lib/wp/spa-json.c
+++ b/lib/wp/spa-json.c
@@ -363,33 +363,33 @@ wp_spa_json_new_string (const gchar *value)
   wp_spa_json_builder_new_formatted ("\"%s\"", value));
 }
 
-static void
-wp_spa_json_builder_add_value (WpSpaJsonBuilder *self, const gchar *fmt,
-va_list args)
-{
-  switch (*fmt) {
-case 'n':
-  wp_spa_json_builder_add_null (self);
-  break;
-case 'b':
-  wp_spa_json_builder_add_boolean (self, va_arg(args, gboolean));
-  break;
-case 'i':
-  wp_spa_json_builder_add_int (self, va_arg(args, gint));
-  break;
-case 'f':
-  wp_spa_json_builder_add_float (self, (float)va_arg(args, double));
-  break;
-case 's':
-  wp_spa_json_builder_add_string (self, va_arg(args, const gchar *));
-  break;
-case 'J':
-  wp_spa_json_builder_add_json (self, va_arg(args, WpSpaJson *));
-  break;
-default:
-  return;
-  }
-}
+/* Args is not a pointer in some architectures, so this needs to be a macro to
+ * avoid args being copied */
+#define wp_spa_json_builder_add_value(self,fmt,args)   
\
+do {   
\
+  switch (*fmt) { 

commit wireplumber for openSUSE:Factory

2022-02-09 Thread Source-Sync
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-02-09 20:38:38

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1898 (New)


Package is "wireplumber"

Wed Feb  9 20:38:38 2022 rev:6 rq:952241 version:0.4.8

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-02-03 
23:17:19.260270981 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1898/wireplumber.changes
2022-02-09 20:39:19.362393575 +0100
@@ -1,0 +2,44 @@
+Mon Feb  7 17:31:11 UTC 2022 - Antonio Larrosa 
+
+- Update to version 0.4.8:
+  * Highlights:
+- Added bluetooth profile auto-switching support. Bluetooth
+  headsets will now automatically switch to the HSP/HFP profile
+  when making a call and go back to the A2DP profile after the
+  call ends (#90)
+- Added an option (enabled by default) to auto-switch to
+  echo-cancel virtual device nodes when the echo-cancel module
+  is loaded in pipewire-pulse, if there is no other configured
+  default node
+  * Fixes:
+- Fixed a regression that prevented nodes from being selected
+  as default when using the pro-audio profile (#163)
+- Fixed a regression that caused encoded audio streams to stall
+  (#178)
+- Fixed restoring bluetooth device profiles
+  * Library:
+- A new WpSpaJson API was added as a front-end to spa-json.
+  This is also exposed to Lua, so that Lua scripts can natively
+  parse and write data in the spa-json format
+  * Misc:
+- wpctl can now list the configured default sources and sinks
+  and has a new command that allows clearing those configured
+  defaults, so that wireplumber goes back to choosing the
+  default nodes based on node priorities
+- The restore-stream script now has its own configuration file
+  in main.lua.d/40-stream-defaults.lua and has independent
+  options for restoring properties and target nodes
+- The restore-stream script now supports rule-based
+  configuration to disable restoring volume properties and/or
+  target nodes for specific streams, useful for applications
+  that misbehave when we restore those (see #169)
+- policy-endpoint now assigns the "Default" role to any stream
+  that does not have a role, so that it can be linked to a
+  pre-configured endpoint
+- The route-settings-api module was dropped in favor of dealing
+  with json natively in Lua, now that the API exists
+- Drop patch which is already upstream:
+  * 0001-default-nodes-handle-nodes-without-Routes.patch
+- Update split-config-file.py script
+
+---

Old:

  0001-default-nodes-handle-nodes-without-Routes.patch
  wireplumber-0.4.7.obscpio

New:

  wireplumber-0.4.8.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.Ftuzqk/_old  2022-02-09 20:39:19.902394867 +0100
+++ /var/tmp/diff_new_pack.Ftuzqk/_new  2022-02-09 20:39:19.906394876 +0100
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.7
+Version:0.4.8
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -30,7 +30,6 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
-Patch0: 0001-default-nodes-handle-nodes-without-Routes.patch
 
 Patch100:   reduce-meson-required-version.patch
 # docs
@@ -188,7 +187,6 @@
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-mixer-api.so
 
%{_libdir}/wireplumber-%{apiver}/libwireplumber-module-portal-permissionstore.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-reserve-device.so
-%{_libdir}/wireplumber-%{apiver}/libwireplumber-module-route-settings-api.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-audio-adapter.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-audio-endpoint.so
 %{_libdir}/wireplumber-%{apiver}/libwireplumber-module-si-node.so

++ _service ++
--- /var/tmp/diff_new_pack.Ftuzqk/_old  2022-02-09 20:39:19.938394953 +0100
+++ /var/tmp/diff_new_pack.Ftuzqk/_new  2022-02-09 20:39:19.938394953 +0100
@@ -4,7 +4,7 @@
 git
 https://gitlab.freedesktop.org/pipewire/wireplumber.git
 enable
-0.4.7
+0.4.8
 @PARENT_TAG@
 

commit wireplumber for openSUSE:Factory

2022-02-03 Thread Source-Sync
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-02-03 23:16:29

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1898 (New)


Package is "wireplumber"

Thu Feb  3 23:16:29 2022 rev:5 rq:950277 version:0.4.7

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-01-27 
23:16:34.339141730 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1898/wireplumber.changes
2022-02-03 23:17:19.260270981 +0100
@@ -1,0 +2,5 @@
+Mon Jan 31 17:45:11 UTC 2022 - Callum Farmer 
+
+- Use the default lua instead of hardcoding 5.3
+
+---



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.o3xDer/_old  2022-02-03 23:17:19.840267022 +0100
+++ /var/tmp/diff_new_pack.o3xDer/_new  2022-02-03 23:17:19.844266995 +0100
@@ -56,7 +56,7 @@
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
 BuildRequires:  pkgconfig(libpipewire-0.3) >= %{pipewire_minimum_version}
 BuildRequires:  pkgconfig(libsystemd)
-BuildRequires:  pkgconfig(lua5.3)
+BuildRequires:  pkgconfig(lua)
 BuildRequires:  pkgconfig(systemd)
 Requires:   pipewire >= %{pipewire_minimum_version}
 %if 0%{?suse_version} <= 1500


commit wireplumber for openSUSE:Factory

2022-01-27 Thread Source-Sync
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-01-27 23:16:21

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1898 (New)


Package is "wireplumber"

Thu Jan 27 23:16:21 2022 rev:4 rq:949044 version:0.4.7

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2022-01-11 
00:01:48.693236023 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1898/wireplumber.changes
2022-01-27 23:16:34.339141730 +0100
@@ -1,0 +2,27 @@
+Tue Jan 25 15:08:59 UTC 2022 - Antonio Larrosa 
+
+- Update to version 0.4.7:
+  * Fixed a regression in 0.4.6 that caused the selection of the
+default audio sources and sinks to be delayed until some event,
+which effectively caused losing audio output in many
+circumstances (glfo#pipewire/wireplumber#148,
+glfo#pipewire/wireplumber#150, glfo#pipewire/wireplumber#151,
+glfo#pipewire/wireplumber#153)
+  * Fixed a regression in 0.4.6 that caused the echo-cancellation
+pipewire module (and possibly others) to not work
+  * A default sink or source is now not selected if there is no
+available route for it (glfo#pipewire/wireplumber#145)
+  * Fixed an issue where some clients would wait for a bit while
+seeking (glfo#pipewire/wireplumber#146)
+  * Fixed audio capture in the endpoints-based policy
+  * Fixed an issue that would cause certain lua scripts to error
+out with older configuration files
+(glfo#pipewire/wireplumber#158)
+- Drop patches already included upstream:
+  * 
0001-policy-node-schedule-rescan-without-timeout-if-defined-target-is-not-found.patch
+  * 0002-policy-node-find-best-linkable-if-default-one-cannot-be-linked.patch
+- Add patch from upstream to fix selection of Pro Audio nodes
+  as default nodes:
+  * 0001-default-nodes-handle-nodes-without-Routes.patch
+
+---

Old:

  
0001-policy-node-schedule-rescan-without-timeout-if-defined-target-is-not-found.patch
  0002-policy-node-find-best-linkable-if-default-one-cannot-be-linked.patch
  wireplumber-0.4.6.obscpio

New:

  0001-default-nodes-handle-nodes-without-Routes.patch
  wireplumber-0.4.7.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.aaXLkt/_old  2022-01-27 23:16:34.963137419 +0100
+++ /var/tmp/diff_new_pack.aaXLkt/_new  2022-01-27 23:16:34.967137392 +0100
@@ -22,7 +22,7 @@
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.6
+Version:0.4.7
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -30,8 +30,8 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
-Patch0: 
0001-policy-node-schedule-rescan-without-timeout-if-defined-target-is-not-found.patch
-Patch1: 
0002-policy-node-find-best-linkable-if-default-one-cannot-be-linked.patch
+Patch0: 0001-default-nodes-handle-nodes-without-Routes.patch
+
 Patch100:   reduce-meson-required-version.patch
 # docs
 BuildRequires:  doxygen

++ 0001-default-nodes-handle-nodes-without-Routes.patch ++
>From 211f1e6b6cd4898121e4c2b821fae4dea6cc3317 Mon Sep 17 00:00:00 2001
From: Wim Taymans 
Date: Fri, 14 Jan 2022 16:28:48 +0100
Subject: [PATCH] default-nodes: handle nodes without Routes

When a node has not part of any EnumRoute, we must assume it is
available.

Fixes selection of Pro Audio nodes as default nodes.
---
 modules/module-default-nodes.c | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/modules/module-default-nodes.c b/modules/module-default-nodes.c
index 32b2725b..15aadeaa 100644
--- a/modules/module-default-nodes.c
+++ b/modules/module-default-nodes.c
@@ -108,6 +108,7 @@ node_has_available_routes (WpDefaultNodes * self, WpNode 
*node)
   gint dev_id = dev_id_str ? atoi (dev_id_str) : -1;
   gint cpd = cpd_str ? atoi (cpd_str) : -1;
   g_autoptr (WpDevice) device = NULL;
+  gint found = 0;
 
   if (dev_id == -1 || cpd == -1)
 return TRUE;
@@ -168,6 +169,7 @@ node_has_available_routes (WpDefaultNodes * self, WpNode 
*node)
 for (; wp_iterator_next (it, ); g_value_unset ()) {
   gint32 *d = (gint32 *)g_value_get_pointer ();
   if (d && *d == cpd) {
+found++;
 if (route_avail != SPA_PARAM_AVAILABILITY_no)
   return TRUE;
   }
@@ -175,6 +177,10 @@ node_has_available_routes (WpDefaultNodes * self, WpNode 
*node)
   }
 }
   }
+  /* 

commit wireplumber for openSUSE:Factory

2022-01-10 Thread Source-Sync
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-01-11 00:01:38

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.1892 (New)


Package is "wireplumber"

Tue Jan 11 00:01:38 2022 rev:3 rq:945250 version:0.4.6

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2021-12-18 
20:29:55.718231968 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.1892/wireplumber.changes
2022-01-11 00:01:48.693236023 +0100
@@ -1,0 +2,44 @@
+Mon Jan 10 09:50:15 UTC 2022 - Antonio Larrosa 
+
+- Reformat .changes file to limit lines to 67 chars when possible.
+
+---
+Sat Jan  8 16:12:57 UTC 2022 - Alexei Sorokin 
+
+- Update to version 0.4.6:
+  * Fix a lot of race condition bugs that would cause strange
+crashes or many log messages being printed when streaming
+clients would connect and disconnect very fast.
+  * Improve the logic for selecting a default target device.
+  * Fix switching to headphones when the wired headphones are
+plugged in.
+  * Fix an issue where "udevadm trigger" would break wireplumber.
+  * Fix an issue where switching profiles of a device could kill
+client nodes.
+  * Fix briefly switching output to a secondary device when
+switching device profiles (#85)
+  * Fix "wpctl status" showing default device selections when
+dealing with module-loopback virtual sinks and sources.
+  * WirePlumber now ignores hidden files from the config directory.
+  * Fix an interoperability issue with jackdbus.
+  * Fix an issue where pulseaudio tcp clients would not have
+permissions to connect to PipeWire.
+  * Fix a crash in the journald logger with NULL debug messages.
+  * Enable real-time priority for the bluetooth nodes to run in RT.
+  * Make the default stream volume configurable.
+  * Scripts are now also looked up in
+$XDG_CONFIG_HOME/wireplumber/scripts
+  * Update documentation on configuring WirePlumber and fixed some
+more documentation issues.
+  * Add support for using strings as log level selectors in
+WIREPLUMBER_DEBUG.
+- Drop patches merged upstream:
+  * 0001-m-reserve-device-replace-the-hash-table-key-on-new-insert.patch
+  * 0002-policy-node-wait-for-nodes-when-we-become-unlinked.patch
+- Add patch from upstream to fix a pulse client hanging issue:
+  * 
0001-policy-node-schedule-rescan-without-timeout-if-defined-target-is-not-found.patch
+- Add patch from upstream to fix an issue with
+  libpipewire-module-echo-cancel:
+  * 0002-policy-node-find-best-linkable-if-default-one-cannot-be-linked.patch
+
+---

Old:

  0001-m-reserve-device-replace-the-hash-table-key-on-new-insert.patch
  0002-policy-node-wait-for-nodes-when-we-become-unlinked.patch
  wireplumber-0.4.5.obscpio

New:

  
0001-policy-node-schedule-rescan-without-timeout-if-defined-target-is-not-found.patch
  0002-policy-node-find-best-linkable-if-default-one-cannot-be-linked.patch
  wireplumber-0.4.6.obscpio



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.AbzVFU/_old  2022-01-11 00:01:49.393236636 +0100
+++ /var/tmp/diff_new_pack.AbzVFU/_new  2022-01-11 00:01:49.397236640 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package wireplumber
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,13 @@
 #
 
 
-%define pipewire_minimum_version 0.3.32
+%define pipewire_minimum_version 0.3.43
 %define apiver 0.4
 %define apiver_str 0_4
 %define sover 0
 %define libwireplumber libwireplumber-%{apiver_str}-%{sover}
 Name:   wireplumber
-Version:0.4.5
+Version:0.4.6
 Release:0
 Summary:Session / policy manager implementation for PipeWire
 License:MIT
@@ -30,8 +30,8 @@
 URL:https://gitlab.freedesktop.org/pipewire/wireplumber
 Source0:wireplumber-%{version}.tar.xz
 Source1:split-config-file.py
-Patch0: 
0001-m-reserve-device-replace-the-hash-table-key-on-new-insert.patch
-Patch1: 0002-policy-node-wait-for-nodes-when-we-become-unlinked.patch
+Patch0: 
0001-policy-node-schedule-rescan-without-timeout-if-defined-target-is-not-found.patch
+Patch1: 
0002-policy-node-find-best-linkable-if-default-one-cannot-be-linked.patch
 Patch100:   reduce-meson-required-version.patch
 # docs
 BuildRequires:  doxygen
@@ -54,7 +54,7 @@
 BuildRequires:  

commit wireplumber for openSUSE:Factory

2021-12-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package wireplumber for openSUSE:Factory 
checked in at 2021-12-18 20:29:35

Comparing /work/SRC/openSUSE:Factory/wireplumber (Old)
 and  /work/SRC/openSUSE:Factory/.wireplumber.new.2520 (New)


Package is "wireplumber"

Sat Dec 18 20:29:35 2021 rev:2 rq:940773 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/wireplumber/wireplumber.changes  2021-12-12 
21:27:50.976350076 +0100
+++ /work/SRC/openSUSE:Factory/.wireplumber.new.2520/wireplumber.changes
2021-12-18 20:29:55.718231968 +0100
@@ -1,0 +2,11 @@
+Wed Dec 15 13:48:27 UTC 2021 - Antonio Larrosa 
+
+- Remove many build dependencies which aren't really needed
+
+---
+Sat Dec 11 16:54:56 UTC 2021 - Fabian Vogt 
+
+- Use %autosetup, apply patches unconditionally
+- Hard depend on wireplumber-audio if pipewire-pulseaudio is installed
+
+---



Other differences:
--
++ wireplumber.spec ++
--- /var/tmp/diff_new_pack.NZz9E5/_old  2021-12-18 20:29:56.386232339 +0100
+++ /var/tmp/diff_new_pack.NZz9E5/_new  2021-12-18 20:29:56.390232341 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package wireplumber
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
 #
 
 
+%define pipewire_minimum_version 0.3.32
 %define apiver 0.4
 %define apiver_str 0_4
 %define sover 0
@@ -32,49 +33,32 @@
 Patch0: 
0001-m-reserve-device-replace-the-hash-table-key-on-new-insert.patch
 Patch1: 0002-policy-node-wait-for-nodes-when-we-become-unlinked.patch
 Patch100:   reduce-meson-required-version.patch
-BuildRequires:  cmake
+# docs
 BuildRequires:  doxygen
-BuildRequires:  fdupes
 BuildRequires:  graphviz
+BuildRequires:  python3-lxml
+# /docs
+BuildRequires:  cmake
+BuildRequires:  fdupes
 BuildRequires:  meson >= 0.54.0
-BuildRequires:  pipewire >= 0.3.32
+BuildRequires:  pipewire >= %{pipewire_minimum_version}
 #!BuildIgnore:pipewire-session-manager
-BuildRequires:  pipewire-spa-plugins-0_2
+BuildRequires:  pipewire-spa-plugins-0_2 >= %{pipewire_minimum_version}
 BuildRequires:  pkgconfig
+BuildRequires:  python3-base
+BuildRequires:  python3-lxml
 BuildRequires:  xmltoman
-BuildRequires:  pkgconfig(lua5.3)
-BuildRequires:  pkgconfig(alsa)
-BuildRequires:  pkgconfig(bluez)
 BuildRequires:  pkgconfig(dbus-1)
-BuildRequires:  pkgconfig(gio-2.0)
 BuildRequires:  pkgconfig(gio-unix-2.0)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.62.0
 BuildRequires:  pkgconfig(gmodule-2.0)
 BuildRequires:  pkgconfig(gobject-2.0) >= 2.62
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
-BuildRequires:  pkgconfig(gstreamer-1.0)
-BuildRequires:  pkgconfig(gstreamer-allocators-1.0)
-BuildRequires:  pkgconfig(gstreamer-audio-1.0)
-BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
-BuildRequires:  pkgconfig(gstreamer-video-1.0)
-BuildRequires:  pkgconfig(jack) >= 1.9.10
-BuildRequires:  pkgconfig(libavcodec)
-BuildRequires:  pkgconfig(libavfilter)
-BuildRequires:  pkgconfig(libavformat)
 BuildRequires:  pkgconfig(libpipewire-0.3) >= 0.3.32
-BuildRequires:  pkgconfig(libpulse)
 BuildRequires:  pkgconfig(libsystemd)
-BuildRequires:  pkgconfig(libudev)
-BuildRequires:  pkgconfig(libva)
-BuildRequires:  pkgconfig(sbc)
-BuildRequires:  pkgconfig(sdl2)
-BuildRequires:  pkgconfig(sndfile)
+BuildRequires:  pkgconfig(lua5.3)
 BuildRequires:  pkgconfig(systemd)
-BuildRequires:  pkgconfig(vulkan)
-BuildRequires:  pkgconfig(x11)
-BuildRequires:  python3-base
-BuildRequires:  python3-lxml
-Requires:   pipewire >= 0.3.32
+Requires:   pipewire >= %{pipewire_minimum_version}
 %if 0%{?suse_version} <= 1500
 BuildRequires:  gcc9
 BuildRequires:  gcc9-c++
@@ -82,6 +66,8 @@
 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
@@ -92,11 +78,10 @@
 %package audio
 Summary:Session / policy manager implementation for PipeWire (audio 
support)
 Group:  Development/Libraries/C and C++
-Requires:   %{name} = %{version}
 Requires:   %{libwireplumber} = %{version}
+Requires:   %{name} = %{version}
 Conflicts:  pulseaudio
 Recommends: pipewire-pulseaudio
-Supplements:(pipewire-pulseaudio and wireplumber)
 
 %description audio
 WirePlumber is a modular session / policy manager for