Package Release Info

wireplumber-0.5.15-160100.2.1

Update Info: Base Release
Available in Package Hub : 16.1

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

wireplumber-devel
wireplumber-video-only-profile

Change Logs

* Fri Jun 19 2026 alarrosa@suse.com
- Update to version 0.5.15:
  * Additions & Enhancements:
  - Added new WpPermissionManager API that centralizes access
    control for clients, with support for attaching permission
    managers to clients from Lua scripts; the client access
    scripts have been completely refactored to use the new API
    with a select-access event and a priority fallback
    mechanism: configuration, flatpak, snap, portal, and default
    (!797 (merged), !822 (merged), !825 (merged))
  - Added new WpStateMetadata class that mirrors the persistent
    state into a PipeWire metadata object, allowing users to
    clear or change saved device profiles at runtime using
    pw-metadata (!818 (merged))
  - Added set_param(), enum_params_sync() and params-changed
    signal to WpSpaDevice, and an event signal for SPA device
    events, allowing monitors to directly interact with SPA
    devices and react to profile changes without going through
    the global WpDevice object (!835 (merged), !842 (merged))
  - Added list subcommand to wpctl for displaying PipeWire
    objects in a script-friendly format, with bash completions
    (!805 (merged), !823 (merged))
  - Added reset command to wpctl to reset the state of
    WirePlumber and PipeWire to installation defaults
    (!848 (merged), !849 (merged))
  - Enhanced wpctl to connect to the manager socket when
    available, giving the tool unrestricted access to the
    PipeWire graph (!814 (merged))
  - Added new bluetooth.profile-preference setting to
    find-preferred-profile for selecting quality or latency A2DP
    profiles (!819 (merged))
  - Added a cache for camera permission checks in the portal
    access module to avoid frequent D-Bus calls; also added a
    3-second timeout and fixed the Set create parameter in
    portal-permissionstore (!820 (merged), !821 (merged))
  * Fixes:
  - Fixed wpctl set-volume by PID to apply the same volume level
    to all matching nodes (#944 (closed); !829 (merged))
  - Fixed portal clients to be un-gated immediately after
    permission setup, preventing them from remaining blocked
    (#941 (closed); !826 (merged))
  - Fixed ALSA monitor to set the device profile to Off and
    restore it when a node enters an error state, forcing a
    close/reopen of the device to recover from broken ALSA device
    states (!837 (merged))
  - Fixed voice call profile selection to not skip profiles with
    unknown availability (!834 (merged))
  - Fixed memory leak in Lua scripting by only holding a strong
    reference of the Lua state when a script is activated,
    preventing leaked proxy warning messages on core disconnect
    (!844 (merged))
  - Fixed state-stream to only use the media.role key when its
    value is Notification when forming the stream state lookup
    key (!845 (merged))
  - Fixed pw-obj-mixin to apply the active filter when
    enumerating cached params and to deduplicate subscribed param
    IDs (!839 (merged), !840 (merged))
  - Fixed m-lua-scripting to validate Bool values in
    Pod.Choice.Enum (!841 (merged))
  - Fixed shutdown sequence to properly deactivate all objects
    and plugins before teardown (#881; !833 (merged))
  - Fixed Bluetooth to not set bluez5.autoswitch-routes on BT
    devices (!811 (merged))
  - Fixed null pointer dereference in permission-manager
    (!812 (merged))
  - Fixed module destructor ordering to call the parent
    destructor before finalizing internal state (!813 (merged))
  - Fixed nil value when logging in state-profile (!815 (merged))
  - Fixed gobject-introspection issue on spa-pod to correctly
    generate Python bindings (!828 (merged))
  - Updated translations: Chinese, Serbian, Serbian Latin
* Wed Mar 25 2026 alarrosa@suse.com
- Update to version 0.5.14:
  * Additions & Enhancements:
  - Added per-device default volume configuration via the
    device.routes.default-{source,sink}-volume property, allowing
    device-specific volume defaults (e.g. a comfortable default
    for internal speakers or no attenuation for HDMI)
  - Added Lua 5.5 support; the bundled Lua subproject wrap has
    also been updated to 5.5.0
  - Enhanced libcamera monitor to load camera nodes locally
    within the WirePlumber process instead of the PipeWire
    daemon, eliminating race conditions that could occur during
    initial enumeration and hotplug events
  - Enhanced Bluetooth loopback nodes to always be created when
    a device supports both A2DP and HSP/HFP profiles, simplifying
    the logic and making the BT profile autoswitch setting take
    effect immediately without requiring device reconnection
  - Enhanced Bluetooth loopback nodes to use target.object
    property instead of smart filters, fixing issues that
    prevented users from setting them as default nodes and also
    allowing smart filters to be used with them
  - Enhanced Bluetooth profile autoswitch logic with further
    robustness improvements, including better headset profile
    detection using profile name patterns and resolving race
    conditions by running profile switching after
    device/apply-profile in a dedicated event hook
  - Enhanced wpctl set-default command to accept virtual nodes
    (e.g. Audio/Source/Virtual) in addition to regular device
    nodes
  - Improved stream linking to make the full graph rescan
    optional when linkable items change, saving CPU on low-end
    systems and reducing audio startup latency when connecting
    multiple streams in quick succession (!800 (merged))
  - Allowed installation of systemd service units without
    libsystemd being present, useful for distributions like
    Alpine Linux that allow systemd service subpackages
  - Allowed the mincore syscall in the WirePlumber systemd
    sandbox, required for Mesa/EGL (e.g. for the libcamera
    GPUISP pipeline)
  - Allowed passing WIREPLUMBER_CONFIG_DIR via the
    wp-uninstalled script, useful for passing additional
    configuration paths in an uninstalled environment
  * Fixes:
  - Removed Bluetooth sink loopback node, which was causing
    issues with KDE and GNOME
  - Fixed default audio source selection to never automatically
    use Audio/Sink nodes as the default source unless explicitly
    selected by the user
  - Fixed crash in state-stream when the Format parameter has a
    Choice for the number of channels
  - Fixed BAP Bluetooth device set channel properties, where
    audio.position was incorrectly serialized as a pointer
    address instead of the channel array
  - Fixed memory leaks in
    wp_interest_event_hook_get_matching_event_types and in the
    Lua LocalModule() implementation
  - Fixed HFP HF stream media class being incorrectly assigned
    due to api.bluez5.internal=true being set on HFP HF streams
  - Fixed Lua 5.4 compatibility in state-stream script
  - Updated translations: Bulgarian, Georgian, Kazakh, Swedish
- Rebase patch:
  * set-profile-in-service.patch
- Drop patches already included in this version:
  * 0001-monitors-bluez-request-device-ports-take-loopback-no.patch
  * 0002-autoswitch-bluetooth-profile-Fix-attempt-to-index-a-.patch
  * 0003-default-nodes-Never-consider-Audio_Sink-nodes-as-best-for.patch
  * 0004-event-hook-fix-interest-hook-event-type-memory-leak.patch
  * 0005-state-stream-fix-crash-in-case-the-Format-has-a-Choice-for.patch
  * 0006-state-stream-fix-Lua-5.4-compatibility.patch
* Mon Mar 02 2026 alarrosa@suse.com
- Backport more upstream fixes:
  * 0003-default-nodes-Never-consider-Audio_Sink-nodes-as-best-for.patch
  * 0004-event-hook-fix-interest-hook-event-type-memory-leak.patch
  * 0005-state-stream-fix-crash-in-case-the-Format-has-a-Choice-for.patch
  * 0006-state-stream-fix-Lua-5.4-compatibility.patch
* Sun Jan 18 2026 tiwai@suse.com
- Backport upstream fixes:
  0001-monitors-bluez-request-device-ports-take-loopback-no.patch
  0002-autoswitch-bluetooth-profile-Fix-attempt-to-index-a-.patch
* Mon Jan 12 2026 alarrosa@suse.com
- Update to version 0.5.13:
  * Additions & Enhancements:
  - Added internal filter graph support for audio nodes, allowing
    users to create audio preprocessing and postprocessing chains
    without exposing filters to applications, useful for software
    DSP (!743 (merged))
  - Added new Lua Properties API that significantly improves
    performance by avoiding constant serialization between
    WpProperties and Lua tables, resulting in approximately 40%
    faster node linking (!757 (merged))
  - Added WpIterator Lua API for more efficient parameter
    enumeration (!746 (merged))
  - Added bash completions for wpctl command (!762 (merged))
  - Added script to find suitable volume control when using
    role-based policy, allowing volume sliders to automatically
    adjust the volume of the currently active role (e.g.,
    ringing, call, media) (!711 (merged))
  - Added experimental HDMI channel detection setting to use HDMI
    ELD information for channel configuration (!749 (merged))
  - Enhanced role-based policy to allow setting preferred target
    sinks for media role loopbacks via
    policy.role-based.preferred-target (!754 (merged))
  - Enhanced Bluetooth profile autoswitch logic to be more robust
    and handle saved profiles correctly, including support for
    loopback sink nodes (!739 (merged))
  - Enhanced ALSA monitor to include alsa.* device properties on
    nodes for rule matching (!761 (merged))
  - Optimized stream node linking for common cases to reduce
    latency when new audio/video streams are added (!760)
  - Improved event dispatcher performance by using hash table
    registration for event hooks, eliminating performance
    degradation as more hooks are registered (!765 (merged))
  - Increased audio headroom for VMware and VirtualBox virtual
    machines (!756 (merged))
  - Added setting to prevent restoring "Off" profiles via
    session.dont-restore-off-profile property (!753 (merged))
  - Added support for 128 audio channels when compiled with a
    recent version of PipeWire (pipewire#4995 (closed))
  * Fixes:
  - Fixed memory leaks and issues in the modem manager module
    (!770 (merged), !764 (merged))
  - Fixed MPRIS module incorrectly treating GHashTable as
    GObject (!759 (merged))
  - Fixed warning messages when process files in /proc/<pid>/*
    don't exist, particularly when processes are removed quickly
    (#816 (closed), !717 (merged))
  - Fixed MONO audio configuration to only apply to device sink
    nodes, allowing multi-channel mixing in the graph (!769)
  - Fixed event dispatcher hook registration and removal to avoid
    spurious errors (!747 (merged))
  - Improved logging for standard-link activation failures (!744)
  - Simplified event-hook interest matching for better
    performance (!758 (merged))
- Remove patch already included by upstream:
  * 0001-automute-alsa-routes.lua-Dont-register_remove-hooks-if.patch
* Thu Oct 16 2025 alarrosa@suse.com
- Update to version 0.5.12:
  * Additions & Enhancements:
  - Added mono audio configuration support via
    node.features.audio.mono setting that can be changed at
    runtime with wpctl (!721)
  - Added automatic muting of ALSA devices when a running node
    is removed, helping prevent loud audio on speakers when
    headsets are unplugged (!734)
  - Added notifications API module for sending system
    notifications (!734)
  - Added comprehensive wpctl man page and documentation
    (!735, #825)
  - Enhanced object interest handling for PipeWire properties
    on session items (!738)
  * Fixes:
  - Fixed race condition during shutdown in the permissions
    portal module that could cause crashes in GDBus signal
    handling (!748).
  - Added device validity check in state-routes handling to
    prevent issues when devices are removed during async
    operations (!737, #844)
  - Fixed Log.critical undefined function error in
    device-info-cache (!733)
  - Improved device hook documentation and configuration (!736)
- Add patch from upstream to avoid dispatcher errors in the log
  when registering/removing hooks that were already
  registered/removed before:
  * 0001-automute-alsa-routes.lua-Dont-register_remove-hooks-if.patch
* Tue Sep 02 2025 alarrosa@suse.com
- Update to version 0.5.11:
  * Additions & Enhancements:
  - Added modem manager module for tracking voice call status and
    voice call device profile selection hooks to improve phone
    call audio routing on mobile devices (!722, !729, #819)
  - Added MPRIS media player pause functionality that
    automatically pauses media playback when the audio target
    (e.g. headphones) is removed (!699, #764)
  - Added support for human-readable names and localization of
    settings in wireplumber.conf with wpctl displaying localized
    setting descriptions (!712)
  - Improved default node selection logic to use both session and
    route priorities when nodes have equal session priorities
    (!720)
  - Increased USB device priority in the ALSA monitor (!719)
  * Fixes:
  - Fixed multiple Lua runtime issues including type confusion
    bugs, stack overflow prevention, and SPA POD array/choice
    builders (!723, !728)
  - Fixed proxy object lifecycle management by properly clearing
    the OWNED_BY_PROXY flag when proxies are destroyed to prevent
    dangling pointers (!732)
  - Fixed state-routes handling to prevent saving unavailable
    routes and eliminate race conditions during profile switching
    (!730, #762)
  - Fixed some memory leaks in the script tester and the settings
    iterator (!727, !726)
  - Fixed a potential crash caused by module-loopback destroying
    itself when the pipewire connection is closed (#812)
  - Fixed profile saving behavior in wpctl set-profile command
    (#808)
  - Fixed GObject introspection closure annotation
Version: 0.5.10-160000.2.2
* Wed May 21 2025 alarrosa@suse.com
- Update to version 0.5.10:
  * Fixed a critical crash in linking-utils.haveAvailableRoutes
    that was introduced accidentally in 0.5.9 and caused loss of
    audio output on affected systems (#797, #799, #800, !713)
* Mon May 19 2025 alarrosa@suse.com
- Update to version 0.5.9:
  * Additions & Enhancements:
  - Added a new audio node grouping functionality using an
    external command line tool (!646)
  - The libcamera monitor now supports devices that are not
    associated with device ids (!701)
  - The wireplumber user systemd service is now associated with
    dbus.service to avoid strange warnings when dbus exits (!702)
  - Added "SYSLOG_IDENTIFIER", "SYSLOG_FACILITY", "SYSLOG_PID"
    and "TID" to log messages that are sent to the journal (!709)
  * Fixes:
  - Fixed a crash of wpctl set-default on 32-bit architectures
    (#773)
  - Fixed a crash when a configuration component had no
    'provides' field (#771)
  - Reduced the log level of some messages that didn't need
    to be as high (!695)
  - Fixed another nil reference issue in the alsa.lua monitor
    script (!704)
  - Fixed name deduplication of v4l2 and libcamera devices (!705)
  - Fixed an issue with wpctl not being able to save settings
    sometimes (!708, #749)
- Drop patches that are already included in this version:
  * 0001-internal-comp-loader-generate-a-provides-for-components.patch
  * 0002-wpctl-fix-default-device-name-leak.patch
  * 0003-wpctl-fix-types-in-variadic-arguments.patch
  * 0004-monitor-utils-Support-devices-without-any-device-ids.patch
  * 0005-v4l2_monitor-scripts-fix-for-deduplicate-devices-with-the.patch
  * 0006-monitors_libcamera-fix-deduplicating-devices-with-the-same.patch
  * 0007-monitors_alsa-fix-nil-table-indexing.patch
* Wed May 14 2025 alarrosa@suse.com
- Use Supplements: pulseaudio in wireplumber-video-only-profile
  to get it automatically installed in systems using pulseaudio.
* Tue May 13 2025 alarrosa@suse.com
- Add patch and rework how we enable/disable audio support in
  pipewire/wireplumber to use upstream provided profiles instead
  of custom config files modifications. We now support audio with
  the default wireplumber package and only when the
  wireplumber-video-only-profile package is installed, wireplumber
  will not use audio (allowing to use pulseaudio instead). This
  means we now set the profile using an environment variable in
  the wireplumber user service that has a default value of "main"
  and is set in /usr/etc/wireplumber.conf to "video-only" by the
  mentioned package . A user can override the value in
  /etc/wireplumber.conf.
  * set-profile-in-service.patch
* Mon May 05 2025 alarrosa@suse.com
- Add patches from upstream to fix various issues.
  * 0001-internal-comp-loader-generate-a-provides-for-components.patch
  * 0002-wpctl-fix-default-device-name-leak.patch
  * 0003-wpctl-fix-types-in-variadic-arguments.patch
  * 0004-monitor-utils-Support-devices-without-any-device-ids.patch
  * 0005-v4l2_monitor-scripts-fix-for-deduplicate-devices-with-the.patch
  * 0006-monitors_libcamera-fix-deduplicating-devices-with-the-same.patch
  * 0007-monitors_alsa-fix-nil-table-indexing.patch
* Mon Feb 10 2025 alarrosa@suse.com
- Update to version 0.5.8:
  * Additions & Enhancements:
  - Added support for handling UCM SplitPCM nodes in the ALSA
    monitor, which allows native PipeWire channel remapping using
    loopbacks for devices that use this feature (!685)
  - Introduced new functions to mark WpSpaDevice child objects as
    pending. This allows properly associating asynchronously
    created loopback nodes with their parent WpSpaDevice without
    losing ObjectConfig events (!687, !689)
  - Improved the node name deduplication logic in the ALSA
    monitor to prevent node names with .2, .3, etc appended to
    them in some more cases (!688)
  - Added a new script to populate session.services. This is a
    step towards implementing detection of features that PipeWire
    can service (!686)
  * Fixes:
  - Fixed an issue that was causing duplicate Bluetooth SCO
    (HSP/HFP) source nodes to be shown in UIs (#701, !683)
  - In the BlueZ monitor, marked the source loopback node as
    non-virtual, addressing how it appears on UIs (#729)
  - Disabled stream-restore for device loopback nodes to
    prevent unwanted property changes (!691)
  - Fixed wp_lua_log_topic_copy() to correctly copy topic names
    (#757)
  - Updated script tests to handle differences in object
    identifiers (object.serial vs node.id), ensuring proper test
    behavior (#761)
* Wed Dec 04 2024 alarrosa@suse.com
- Update to version 0.5.7:
  * Highlights:
  - Fixed an issue that would cause random profile switching when
    an application was trying to capture from non-Bluetooth
    devices (#715, #634, !669)
  - Fixed an issue that would cause strange profile selection
    issues [choices not being remembered or unavailable routes
    being selected] (#734)
  - Added a timer that delays switching Bluetooth headsets to the
    HSP/HFP profile, avoiding needless rapid switching when an
    application is trying to probe device capabilities instead of
    actually capturing audio (!664)
  - Improved libcamera/v4l2 device deduplication logic to work
    with more complex devices (!674, !675, #689, #708)
  * Fixes:
  - Fixed two memory leaks in module-mixer-api and
    module-dbus-connection (!672, !673)
  - Fixed a crash that could occur in module-reserve-device
    (!680, #742)
  - Fixed an issue that would cause the warning
    "[string "alsa.lua"]:182: attempt to concatenate a nil value
    (local 'node_name')" to appear in the logs when an ALSA
    device was busy, breaking node name deduplication (!681)
  - Fixed an issue that could make find-preferred-profile.lua
    crash instead of properly applying profile priority rules
    (#751)
- Remove patches that are already included in 0.5.7:
  * 0001-autoswitch-bluetooth-profile-switch-only-Bluetooth-devices.patch
  * 0002-autoswitch-bluetooth-profile-Switch-to-HSP_HFP-on-timeout.patch
  * 0003-m-mixer-api-Fix-memory-in-leak-wp_mixer_api_set_volume.patch
  * 0004-module-dbus-connection-fix-GCancellable-leak.patch
* Mon Oct 21 2024 alarrosa@suse.com
- Add patch from upstream to fix switching automatically the
  profile of non-bluetooth devices (boo#1231815):
  * 0001-autoswitch-bluetooth-profile-switch-only-Bluetooth-devices.patch
- Add patch from upstream to fix switching automatically the
  profile when starting some apps and then switching to the
  previous profile:
  * 0002-autoswitch-bluetooth-profile-Switch-to-HSP_HFP-on-timeout.patch
- Add patches from upstream to fix a couple of memory leaks:
  * 0003-m-mixer-api-Fix-memory-in-leak-wp_mixer_api_set_volume.patch
  * 0004-module-dbus-connection-fix-GCancellable-leak.patch
* Mon Sep 09 2024 fcrozat@suse.com
- Update to version 0.5.6:
  * Additions:
  - Implemented before/after dependencies for components, to
    ensure correct load order in custom configurations (#600)
  - Implemented profile inheritance in the configuration file.
    This allows profiles to inherit all the feature specifications
    of other profiles, which is useful to avoid copying long lists
    of features just to make small changes
  - Added multi-instance configuration profiles, tested and
    documented them
  - Added a ``main-systemwide`` profile, which is now the default
    for instances started via the system-wide systemd service and
    disables features that depend on the user session (#608)
  - Added a ``wp_core_connect_fd`` method, which allows making a
    connection to PipeWire via an existing open socket (useful
    for portal-based connections)
  * Fixes:
  - The Bluetooth auto-switch script now uses the common event
    source object managers, which should improve its
    stability (!663)
  - Fix an issue where switching between Bluetooth profiles
    would temporarily link active audio streams to the internal
    speakers (!655)
* Tue Jul 02 2024 alarrosa@suse.com
- 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)
Version: 0.4.9-150400.3.3.2
* Tue Aug 02 2022 alarrosa@suse.com
- Work around 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 current installations (boo#1202008).
* Wed Mar 30 2022 alarrosa@suse.com
- 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 2022 alarrosa@suse.com
- 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
* Fri Mar 25 2022 alarrosa@suse.com
- Make the wireplumber-audio noarch as it just contains a lua
  config file.
* Tue Mar 22 2022 alarrosa@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
* Thu Mar 10 2022 sor.alexei@meowr.ru
- Add patch from upstream to fix a crash on tty switch
  (glfo#pipewire/wireplumber#193):
  * 0002-policy-bluetooth-fix-string.find-crash-with-nil-string.patch
- Add patch from upstream to fix issues with PulseAudio support with
  PipeWire 0.3.48+ (glfo#pipewire/pipewire#2189):
  * 0003-si-audio-adapter-relax-format-parsing.patch
- Some spec clean-up.
* Fri Feb 11 2022 alarrosa@suse.com
- 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
* Mon Feb 07 2022 alarrosa@suse.com
- 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
* Mon Jan 31 2022 gmbr3@opensuse.org
- Use the default lua instead of hardcoding 5.3
* Tue Jan 25 2022 alarrosa@suse.com
- 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
* Mon Jan 10 2022 alarrosa@suse.com
- Reformat .changes file to limit lines to 67 chars when possible.
* Sat Jan 08 2022 sor.alexei@meowr.ru
- 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
* Wed Dec 15 2021 alarrosa@suse.com
- Remove many build dependencies which aren't really needed
* Sat Dec 11 2021 fabian@ritter-vogt.de
- Use %autosetup, apply patches unconditionally
- Hard depend on wireplumber-audio if pipewire-pulseaudio is installed
* Thu Dec 09 2021 alarrosa@suse.com
- Supplements: (pipewire-pulseaudio and wireplumber) so everyone
  having those two packages already installed automatically get
  wireplumber-audio pulled in.
* Thu Dec 09 2021 bjorn.lie@gmail.com
- Quiet setup of sources, no need to see the package untared.
- Disable tests for ppc64 for now like we do for i586.
* Fri Dec 03 2021 alarrosa@suse.com
- 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).
* Wed Nov 24 2021 alarrosa@suse.com
- 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
* Thu Nov 11 2021 alarrosa@suse.com
- 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
- Remove patches already included by upstream:
  * 0001-si-standard-link-fix-crash-after-returning-a-link-error.patch
  * 0002-policy-node-enforce-the-direction-of-the-target-when-linking-by-node-name.patch
  * 0001-add-missing-break-in-best-route-selection-logic.patch
* Wed Nov 03 2021 alarrosa@suse.com
- 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
Version: 0.4.13-150500.3.2.1
* Fri Jan 13 2023 alarrosa@suse.com
- 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 2023 alarrosa@suse.com
- 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
* Tue Dec 13 2022 sor.alexei@meowr.ru
- 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
* Tue Nov 15 2022 alarrosa@suse.com
- 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
* Tue Oct 04 2022 sor.alexei@meowr.ru
- 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
* Fri Aug 05 2022 badshah400@gmail.com
- Add 398.patch -- policy-node: fix potential rescan loop to
  prevent high cpu usage (glfo#pipewire/wireplumber#152); patch
  taken from upstream merge request.
* Thu Jul 14 2022 fvogt@suse.com
- Add patch to fix crash on session end:
  * 0001-dbus-fix-crash-when-trying-to-reconnect.patch
* Fri Jul 08 2022 fvogt@suse.com
- Add patch to fix alsa device creation:
  * fix-alsa.patch
* Tue Jul 05 2022 sor.alexei@meowr.ru
- 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
* Tue May 10 2022 sor.alexei@meowr.ru
- 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