SHA256
1
0
forked from pool/wireplumber
Commit Graph

34 Commits

Author SHA256 Message Date
9fa960a074 Accepting request 964074 from home:alarrosa:branches:multimedia:libs
- 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

OBS-URL: https://build.opensuse.org/request/show/964074
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=35
2022-03-22 18:53:03 +00:00
79a19a2d78 Accepting request 960946 from home:XRevan86
- Add two patches from upstream:
  * 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch
  * 0003-si-audio-adapter-relax-format-parsing.patch

OBS-URL: https://build.opensuse.org/request/show/960946
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=33
2022-03-11 07:05:15 +00:00
3a42ff293f Accepting request 953377 from home:alarrosa:branches:multimedia:libs
- 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

OBS-URL: https://build.opensuse.org/request/show/953377
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=32
2022-02-11 08:22:20 +00:00
8474834434 Accepting request 952240 from home:alarrosa:branches:multimedia:libs
- Drop patch which is already upstream:
  * 0001-default-nodes-handle-nodes-without-Routes.patch

OBS-URL: https://build.opensuse.org/request/show/952240
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=31
2022-02-07 20:04:43 +00:00
cde9ee6089 Accepting request 952225 from home:alarrosa:branches:multimedia:libs
- 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

OBS-URL: https://build.opensuse.org/request/show/952225
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=30
2022-02-07 17:43:50 +00:00
dbddcdfce8 Accepting request 950275 from home:gmbr3:Active
- Use the default lua instead of hardcoding 5.3

OBS-URL: https://build.opensuse.org/request/show/950275
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=29
2022-01-31 18:23:59 +00:00
eea94cc462 Accepting request 949043 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to fix selection of Pro Audio nodes
  as default nodes:
  * 0001-default-nodes-handle-nodes-without-Routes.patch

OBS-URL: https://build.opensuse.org/request/show/949043
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=28
2022-01-25 15:14:05 +00:00
a1ca724012 Accepting request 948987 from home:alarrosa:branches:multimedia:libs
- Add two patches from upstream:
  * 0012-device-activation-show-device-name-in-logs.patch
  * 0013-scripts-fallback-to-empty-config-table-if-args-were-.patch

OBS-URL: https://build.opensuse.org/request/show/948987
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=27
2022-01-25 10:36:07 +00:00
b0d3a20766 Accepting request 948949 from home:alarrosa:branches:multimedia:libs
- Add another patch from upstream:
  * 0011-default-nodes-add-more-logs.patch

OBS-URL: https://build.opensuse.org/request/show/948949
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=26
2022-01-25 08:39:39 +00:00
0026b12345 Accepting request 948465 from home:alarrosa:branches:multimedia:libs
- So far it passed openQA, so let's try adding two more patches:
  * 0009-default-nodes-check-if-default-node-has-available-ro.patch
  * 0010-added-support-for-disabling-nodes-and-devices-throug.patch

OBS-URL: https://build.opensuse.org/request/show/948465
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=25
2022-01-24 18:42:52 +00:00
23c5d9eadf Accepting request 948445 from home:alarrosa:branches:multimedia:libs
- Back to version 0.4.6, and add patches incrementally
  to bisect it and find the issue
  * 0001-policy-node-fix-typo-when-finding-best-target.patch
  * 0002-policy-node-schedule-a-rescan-without-timeout-if-def.patch
  * 0003-policy-node-find-best-linkable-if-default-one-cannot.patch
  * 0004-spa-pod-fix-different-architecture-errors-for-boolea.patch
  * 0005-config-update-the-endpoints-config.patch
  * 0006-policy-endpoint-client.lua-fix-record-with-endpoints.patch
  * 0007-default-nodes-check-if-the-ports-exist-in-rescan_om.patch
  * 0008-scripts-monitors-log-warning-if-spa-devices-were-not.patch
- Remove revert from previous change:
  * 0001-reversed-default-nodes-check-if-default-node-has-available-ro.patch

OBS-URL: https://build.opensuse.org/request/show/948445
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=24
2022-01-24 16:17:22 +00:00
d9538f3c4f Accepting request 948381 from home:alarrosa:branches:multimedia:libs
- Since wireplumber keeps failing to run in openQA since 0.4.7,
  let's drop all patches added since then:
  * 0001-core-add-API-to-check-if-running-in-a-virtual-machine.patch
  * 0002-alsa-monitor-set-period-size-and-headroom-props-if-running-in-virtual-machine.patch
  * 0002-default-nodes-handle-nodes-without-Routes.patch
- And revert one of the commits introduced in 0.4.7:
  * 0001-reversed-default-nodes-check-if-default-node-has-available-ro.patch

OBS-URL: https://build.opensuse.org/request/show/948381
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=23
2022-01-24 11:27:30 +00:00
096bf3d9ab Accepting request 947921 from home:alarrosa:branches:multimedia:libs
- Remove patch that was reverted upstream:
  * 0001-default-nodes-increase-priority-if-node-has-available-routes.patch

OBS-URL: https://build.opensuse.org/request/show/947921
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=22
2022-01-21 11:47:07 +00:00
220b575aae Accepting request 947467 from home:alarrosa:branches:multimedia:libs
- Add patches from a MR to fix glfo#pipewire/wireplumber#162 (fix
  audio in virtual machines with pipewire):
  * 0001-core-add-API-to-check-if-running-in-a-virtual-machine.patch
  * 0002-alsa-monitor-set-period-size-and-headroom-props-if-running-in-virtual-machine.patch

OBS-URL: https://build.opensuse.org/request/show/947467
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=21
2022-01-19 17:11:17 +00:00
8fc7b977aa Accepting request 946457 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to fix a problem changing the default
  device:
  * 0001-default-nodes-increase-priority-if-node-has-available-routes.patch
- Add patch from upstream to fix selection of Pro Audio nodes
  as default nodes:
  * 0002-default-nodes-handle-nodes-without-Routes.patch

OBS-URL: https://build.opensuse.org/request/show/946457
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=20
2022-01-14 16:07:09 +00:00
1a9557b2d4 Accepting request 946064 from home:alarrosa:branches:multimedia:libs
- 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

OBS-URL: https://build.opensuse.org/request/show/946064
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=19
2022-01-13 10:01:56 +00:00
74b9876921 Accepting request 945249 from home:alarrosa:branches:multimedia:libs
- Reformat .changes file to limit lines to 67 chars when possible.

  * Fix briefly switching output to a secondary device when
    switching device profiles (#85)
  * Scripts are now also looked up in
    $XDG_CONFIG_HOME/wireplumber/scripts
  * 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

OBS-URL: https://build.opensuse.org/request/show/945249
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=18
2022-01-10 09:51:25 +00:00
3c7ac99186 Accepting request 945147 from home:XRevan86
- Update to version 0.4.6.

OBS-URL: https://build.opensuse.org/request/show/945147
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=17
2022-01-10 09:47:11 +00:00
d52394b2b8 Accepting request 940772 from home:alarrosa:branches:multimedia:libs
- Remove many build dependencies which aren't really needed

OBS-URL: https://build.opensuse.org/request/show/940772
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=16
2021-12-15 17:46:42 +00:00
ff35319413 Accepting request 940769 from home:alarrosa:branches:multimedia:libs
- Remove many dependencies which aren't really needed

OBS-URL: https://build.opensuse.org/request/show/940769
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=15
2021-12-15 17:45:52 +00:00
837038c3b7 Accepting request 940736 from home:Vogtinator:branches:multimedia:libs
- Use %autosetup, apply patches unconditionally
- Hard depend on wireplumber-audio if pipewire-pulseaudio is installed

OBS-URL: https://build.opensuse.org/request/show/940736
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=14
2021-12-15 13:47:33 +00:00
Dominique Leuenberger
8d89f22991 Accepting request 939142 from multimedia:libs
New package wireplumber, replacing pipewire-media-session

OBS-URL: https://build.opensuse.org/request/show/939142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wireplumber?expand=0&rev=1
2021-12-12 20:27:27 +00:00
e3953d0999 Accepting request 939139 from home:alarrosa:branches:multimedia:libs
- Supplements: (pipewire-pulseaudio and wireplumber) so everyone
  having those two packages already installed automatically get
  wireplumber-audio pulled in.

OBS-URL: https://build.opensuse.org/request/show/939139
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=12
2021-12-10 13:39:51 +00:00
d0599b6438 Accepting request 937742 from home:iznogood:branches:multimedia:libs
- Quiet setup of sources, no need to see the package untared.
- Disable tests for ppc64 for now like we do for i586.

OBS-URL: https://build.opensuse.org/request/show/937742
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=11
2021-12-09 10:41:41 +00:00
9b3a423d50 Accepting request 937412 from home:alarrosa:branches:multimedia:libs
- Split the configuration to separate the audio initialization
  to a new wireplumber-audio subpackage. This way, if that package
  is not installed, pipewire doesn't open the audio devices, thus
  not entering a race-condition with pulseaudio but still allowing
  to manage v4l2 devices and sharing the screen in wayland, for
  example (boo#1188516).

OBS-URL: https://build.opensuse.org/request/show/937412
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=10
2021-12-09 08:47:20 +00:00
16613e5370 Accepting request 933504 from home:alarrosa:branches:multimedia:libs
- Add patches from upstream to fix wireplumber breaking when
  udevadm trigger is run:
  * 0001-m-reserve-device-replace-the-hash-table-key-on-new-insert.patch
- And another patch to fix an issue where there is only 1 sink
  available and the card profile is toggeled between pro and
  stereo:
  * 0002-policy-node-wait-for-nodes-when-we-become-unlinked.patch

OBS-URL: https://build.opensuse.org/request/show/933504
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=9
2021-11-24 16:19:21 +00:00
fadeb6f81e Accepting request 930868 from home:alarrosa:branches:multimedia:libs
- Update to version 0.4.5:
  * Fixes:
    - Fixed a crash that could happen after a node linking error
      (glfo#pipewire/wireplumber#76)
    - Fixed a bug that would cause capture streams to link to
      monitor ports of loopback nodes instead of linking to their
      capture ports
    - Fixed a needless wait that would happen on applications using
      the pipewire ALSA plugin (glfo#pipewire/wireplumber#92)
    - Fixed an issue that would cause endless rescan loops in
      policy-node and could potentially also cause other strange
      behaviors in case pavucontrol or another monitoring utility
      was open while the policy was rescanning
      (glfo#pipewire/wireplumber#77)
    - Fixed the endpoints-based policy that broke in recent
      versions and improved its codebase to share more code and be
      more in-line with policy-node
    - The semicolon character is now escaped properly in state
      files (glfo#pipewire/wireplumber#82)
    - When a player requests encoded audio passthrough, the policy
      now prefers linking to a device that supports that instead of
      trying to link to the default device and potentially failing
      (glfo#pipewire/wireplumber#75)
    - Miscellaneous robustness fixes in policy-node
  * API:
    - Added WpFactory, a binding for pw_factory proxies. This
      allows object managers to query factories that are loaded in
      the pipewire daemon
    - The file-monitor-api plugin can now watch files for changes
      in addition to directories

OBS-URL: https://build.opensuse.org/request/show/930868
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=8
2021-11-11 14:00:57 +00:00
f5cfdfb8e7 Accepting request 929023 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to fix a problem saving the default
  route:
  * 0001-add-missing-break-in-best-route-selection-logic.patch
- Add patch to let wireplumber build in Leap 15.3/SLE-15-SP3
  which only have meson 0.54:
  * reduce-meson-required-version.patch

- Add %post/%pre/... sections to enable the user service
  automatically

OBS-URL: https://build.opensuse.org/request/show/929023
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=7
2021-11-03 13:04:02 +00:00
6691718a40 Accepting request 926454 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to fix selection of capture ports instead
  of monitor ports:
  * 0002-policy-node-enforce-the-direction-of-the-target-when-linking-by-node-name.patch

OBS-URL: https://build.opensuse.org/request/show/926454
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=6
2021-10-20 06:07:16 +00:00
ee9013bfde Accepting request 926162 from home:alarrosa:branches:multimedia:libs
- Add patch from upstream to fix a crash when there's a link error
  (glfo#pipewire/wireplumber#76):
  * 0001-si-standard-link-fix-crash-after-returning-a-link-error.patch

- Update to version 0.4.4:
  * Highlights:
    - Implemented linking nodes in passthrough mode, which enables
      encoded iec958 / dsd audio passthrough
    - Streams are now sent an error if it was not possible to link
      them to a target (#63)
    - When linking nodes where at least one of them has an
      unpositioned channel layout, the other one is not
      reconfigured to match the channel layout; it is instead
      linked with a best effort port matching logic
    - Output route switches automatically to the latest one that
      has become available (#69)
    - Policy now respects the 'node.exclusive' and 'node.passive'
      properties
    - Many other minor policy fixes for a smoother desktop usage
      experience
  * API:
    - Fixed an issue with the LocalModule() constructor not
      accepting nil as well as the properties table properly
    - Added WpClient.send_error(), WpSpaPod.fixate() and
    - WpSpaPod.filter() (both in C and Lua)
  * Misc:
    - Bumped meson version requirement to 0.56 to be able to use
      meson.project_{source,build}_root() and ease integration with
      pipewire's build system as a subproject
    - wireplumber.service is now an alias to

OBS-URL: https://build.opensuse.org/request/show/926162
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=5
2021-10-19 08:38:02 +00:00
dfbdbf6646 Accepting request 906309 from home:alarrosa:branches:multimedia:libs
- Remove the Conflicts: pipewire-session-manager. There's no
  problem in having both installed at the same time, they just
  can't run at the same time.

OBS-URL: https://build.opensuse.org/request/show/906309
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=4
2021-07-14 14:59:08 +00:00
c5282b075e Accepting request 906234 from home:alarrosa:branches:multimedia:libs
- Add `Provides: pipewire-session-manager` so wireplumber is
  recognized as a pipewire session manager implementation.
- Add `Conflicts: pipewire-session-manager` so no other session
  manager is installed at the same time.

OBS-URL: https://build.opensuse.org/request/show/906234
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=3
2021-07-14 06:27:21 +00:00
7c5732c539 Accepting request 906021 from home:alarrosa:branches:multimedia:libs
- Update to version 0.4.1:
  * Highlights:
    + WirePlumber now supports Lua 5.4. You may compile it either
      with Lua 5.3 or 5.4, without any changes in behavior. The
      internal Lua subproject has also been upgraded to Lua 5.4, so
      any builds with -Dsystem-lua=false will use Lua 5.4 by
      default
  * Fixes:
    + Fixed filtering of pw_metadata objects, which broke with
      PipeWire 0.3.31
    + Fixed a potential livelock condition in
      si-audio-adapter/endpoint where the code would wait forever
      for a node's ports to appear in the graph
    + Fixed granting access to camera device nodes in flatpak
      clients connecting through the camera portal
    + Fixed a lot of issues found by the coverity static analyzer
    + Fixed certain race conditions in the wpipc library
    + Fixed compilation with GCC older than v8.1
  * Scripts:
    + Added a policy script that matches nodes to specific devices
      based on the "media.role" of the nodes and the
      "device.intended-roles" of the devices
  * Build system:
    + Bumped GLib requirement to 2.62, as the code was already
      using 2.62 API
    + Added support for building WirePlumber as a PipeWire
      subproject
    + Doxygen version requirement has been relaxed to accept v1.8
    + The CI now also verifies that the build works on
      Ubuntu 20.04 LTS and tries multiple builds with different

OBS-URL: https://build.opensuse.org/request/show/906021
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=2
2021-07-13 06:33:19 +00:00
3e8856205a Accepting request 901727 from home:alarrosa:branches:GNOME:Next
New package, wireplumber 0.4.0

OBS-URL: https://build.opensuse.org/request/show/901727
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=1
2021-06-24 12:17:18 +00:00