Accepting request 981554 from home:XRevan86

- Update to version 0.3.52.

OBS-URL: https://build.opensuse.org/request/show/981554
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=59
This commit is contained in:
Antonio Larrosa 2022-06-13 09:09:40 +00:00 committed by Git OBS Bridge
parent ce3d2a2b35
commit 7ffa5fcda3
7 changed files with 190 additions and 70 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://gitlab.freedesktop.org/pipewire/pipewire.git</param>
<param name="revision">refs/tags/0.3.51</param>
<param name="revision">refs/tags/0.3.52</param>
<param name="versionformat">@PARENT_TAG@</param>
<!-- <param name="revision">master</param>
<param name="versionformat">@PARENT_TAG@+git%cd.%h</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1bc0485cb0ef416172dd826b481230200e16dc73646cadd842494733ec9b32f
size 10658317

3
pipewire-0.3.52.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:051ec624abc4215190f307db9fee0629a36ed69a21e7d4c81ccb3a23fb21b364
size 10771981

View File

@ -1,3 +1,113 @@
-------------------------------------------------------------------
Thu Jun 9 15:02:18 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>
- Update to version 0.3.52:
* Highlights
- Add 44.1KHz to allowed samplerates. The server can now switch
by default between 48KHz and 44.1KHz.
- Streams now allocate less resources.
- Fix some bugs that could make the server crash.
- Bluetooth now supports the LC3plus vendor codec.
- Many bugfixes and improvements.
* PipeWire
- Add 44.1KHz to allowed samplerates.
- Avoid setting the locale.
- Avoid use-after-free when destroying a node from
spa-node-factory.
- Avoid using reallocarray when not available.
- Set port alias is not otherwise set.
* Modules
- Improve filter-chain parsing and error reporting. Handle
empty nodes.
- Handle destroy of globals and factory in most modules.
- Add refcounts to client and resources to handle destroy of
the protocol.
- Handle global node.name in filter-chain and loopback again,
use it to construct unique stream names.
- Avoid a wrapped pw-node in the adapter. This reduces
resources allocated for streams.
- Fix a crash when module-x11-bell was unloaded.
- Add a new module-pipe-tunnel that can write/read data from a
UNIX pipe.
* Tools
- Fix DSD playback again in pw-cat.
- Add -n option to pw-loopback to set node names.
- Add -P option to pw-cat to pass properties to the stream.
- Support stdin/stdout in pw-cat.
- pw-dump now also dumps object removal when monitoring
* SPA
- Avoid duplicate param results in pw-dump for ports.
- Avoid endless loops in audioconvert for badly behaving
clients.
- Scale max-error in alsa based on quantum and avoid logging a
warning when starting.
- Improve debug of failed format conversion.
- Handle offset in the audio dsp mixer inputs and clamp to the
maximum buffer size.
- Add option to disable locale support for JSON number
conversion.
- Add support for Astro A20 Gen2.
- Fix some of the test sources, the flags were not set
correctly.
- Add camera location as property in libcamera and let the
session manager generate a localised description.
- Fix some crashes due to wrong vargar types in v4l2 controls.
- Improve ALSA resync behaviour.
- Add support for Komplete Audio 6 MK2.
- Improve loop cancel while iterating.
- Try not to mix surround channels and AUX channels. Make card
with many ports look better when not using the Pro Audio
profile.
- Vulkan filters were added.
* Bluetooth
- Add LC3plus vendor codec.
- Handle unsupported indicators better.
- Ensure multiple devices on an adapter use different codecs
because one endpoint can only be used by one device at a time.
- Fix bitpool control as a follower.
- Handle bluetooth errors better.
- Speed up bluetooth connection by only waiting for the profiles
supported by the adapter.
- The dummy AVRCP player is disabled by default because it seems
to break more devices than it fixes.
* pulse-server
- Add initial stream latency property so that devices can be
started with a resonably accurate latency.
- Fix ringbuffer underrun case.
- module-native-protocol-tcp now has a auth-anonymous option to
give full access to the clients.
- Report a node as being moved when it is still moving. This
improves compatibility with pasystray.
- Avoid overallocating message memory.
- Don't export NETWORK nodes in zeroconf.
- Fix stride for TrueHD and DTSHD passthrough.
- Make sure we don't send too small audio fragments. Fixes
capture from multiple tabs in Chromium.
- Rework module handling some more.
- Use the new native module-pipe-tunnel for pipe-sink and
pipe-source.
- Implement the STREAM_MOVED message when a stream got moved.
- Fix a potential segfault when stopping the server and a TCP
module as still loaded.
* ALSA
- Add support for updating sw_params at runtime, mostly the
min-avail param.
- Capture and playback nodes are now assumed to use a different
clock and will activate the adaptive resampler when linked.
This assumption is removed in Pro Audio mode. This provide a
better experience out of the box with most devices.
* JACK
- Fix setting properties with PIPEWIRE_PROPS again.
- Don't use 64 bits atomic operations for sync_timeout.
- Cleanup in error cases was improved, avoiding some crashes.
* GStreamer
- Fix pipewiresink in mode=provide.
- Share memory into a new buffer in pipewiresrc to avoid buffer
corruption.
- Fixes to the source and fd use.
- It is now possible to set client properties as well.
- Rebase reduce-meson-dependency.patch.
-------------------------------------------------------------------
Thu Apr 28 23:13:59 UTC 2022 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@ -1,4 +1,4 @@
name: pipewire
version: 0.3.51
mtime: 1651082361
commit: ebc775674a0cf254cebd6d4694944006405807e3
version: 0.3.52
mtime: 1654763724
commit: 31bf63105749893e5e2c6ae7784e7f27aa0345ad

View File

@ -54,7 +54,7 @@
%bcond_with aptx
Name: pipewire
Version: 0.3.51
Version: 0.3.52
Release: 0
Summary: A Multimedia Framework designed to be an audio and video server and more
License: MIT
@ -371,6 +371,7 @@ export CXX=g++-9
%else
-Dbluez5-codec-ldac=disabled \
%endif
-Dbluez5-codec-lc3plus=disabled \
%if %{with libcamera}
-Dlibcamera=enabled \
%else

View File

@ -1,10 +1,10 @@
Index: pipewire-0.3.51/meson.build
Index: pipewire-0.3.52/meson.build
===================================================================
--- pipewire-0.3.51.orig/meson.build
+++ pipewire-0.3.51/meson.build
--- pipewire-0.3.52.orig/meson.build
+++ pipewire-0.3.52/meson.build
@@ -1,7 +1,7 @@
project('pipewire', ['c' ],
version : '0.3.51',
version : '0.3.52',
license : [ 'MIT', 'LGPL-2.1-or-later', 'GPL-2.0-only' ],
- meson_version : '>= 0.59.0',
+ meson_version : '>= 0.54.0',
@ -31,7 +31,7 @@ Index: pipewire-0.3.51/meson.build
webrtc_dep = dependency('webrtc-audio-processing',
version : ['>= 0.2', '< 1.0'],
@@ -389,10 +389,10 @@ endforeach
@@ -390,10 +390,10 @@ endforeach
installed_tests_metadir = pipewire_datadir / 'installed-tests' / pipewire_name
installed_tests_execdir = pipewire_libexecdir / 'installed-tests' / pipewire_name
@ -44,7 +44,7 @@ Index: pipewire-0.3.51/meson.build
gstack = find_program('gstack', required : false)
cdata.set('HAVE_GSTACK', gstack.found())
endif
@@ -401,17 +401,17 @@ subdir('po')
@@ -402,17 +402,17 @@ subdir('po')
subdir('spa')
subdir('src')
@ -65,7 +65,7 @@ Index: pipewire-0.3.51/meson.build
subdir('pipewire-v4l2')
endif
@@ -422,7 +422,7 @@ if alsa_dep.found()
@@ -423,7 +423,7 @@ if alsa_dep.found()
endif
generate_manpages = false
@ -74,7 +74,7 @@ Index: pipewire-0.3.51/meson.build
rst2man = find_program('rst2man', required: false)
if not rst2man.found()
rst2man = find_program('rst2man.py', required: get_option('man'))
@@ -443,20 +443,20 @@ endif
@@ -444,20 +444,20 @@ endif
setenv = find_program('pw-uninstalled.sh')
run_target('pw-uninstalled',
command : [setenv,
@ -102,7 +102,7 @@ Index: pipewire-0.3.51/meson.build
devenv.set('GST_PLUGIN_PATH', builddir / 'src'/ 'gst')
@@ -468,4 +468,6 @@ devenv.set('LD_LIBRARY_PATH', builddir /
@@ -469,4 +469,6 @@ devenv.set('LD_LIBRARY_PATH', builddir /
devenv.set('PW_UNINSTALLED', '1')
@ -110,10 +110,10 @@ Index: pipewire-0.3.51/meson.build
+if meson.version().version_compare('>=0.58.0')
+ meson.add_devenv(devenv)
+endif
Index: pipewire-0.3.51/spa/plugins/audioconvert/meson.build
Index: pipewire-0.3.52/spa/plugins/audioconvert/meson.build
===================================================================
--- pipewire-0.3.51.orig/spa/plugins/audioconvert/meson.build
+++ pipewire-0.3.51/spa/plugins/audioconvert/meson.build
--- pipewire-0.3.52.orig/spa/plugins/audioconvert/meson.build
+++ pipewire-0.3.52/spa/plugins/audioconvert/meson.build
@@ -140,7 +140,7 @@ foreach a : test_apps
install : installed_tests_enabled,
install_dir : installed_tests_execdir / 'audioconvert'),
@ -132,10 +132,10 @@ Index: pipewire-0.3.51/spa/plugins/audioconvert/meson.build
])
if installed_tests_enabled
Index: pipewire-0.3.51/spa/tests/meson.build
Index: pipewire-0.3.52/spa/tests/meson.build
===================================================================
--- pipewire-0.3.51.orig/spa/tests/meson.build
+++ pipewire-0.3.51/spa/tests/meson.build
--- pipewire-0.3.52.orig/spa/tests/meson.build
+++ pipewire-0.3.52/spa/tests/meson.build
@@ -5,7 +5,7 @@ find = find_program('find', required: fa
summary({'find (for header testing)': find.found()}, bool_yn: true, section: 'Optional programs')
if find.found()
@ -154,10 +154,10 @@ Index: pipewire-0.3.51/spa/tests/meson.build
]
)
Index: pipewire-0.3.51/src/daemon/meson.build
Index: pipewire-0.3.52/src/daemon/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/daemon/meson.build
+++ pipewire-0.3.51/src/daemon/meson.build
--- pipewire-0.3.52.orig/src/daemon/meson.build
+++ pipewire-0.3.52/src/daemon/meson.build
@@ -18,9 +18,9 @@ conf_config.set('pulse_comment', '#')
conf_config_uninstalled = conf_config
@ -179,21 +179,21 @@ Index: pipewire-0.3.51/src/daemon/meson.build
)
#desktop_file = i18n.merge_file(
Index: pipewire-0.3.51/src/daemon/systemd/user/meson.build
Index: pipewire-0.3.52/src/daemon/systemd/user/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/daemon/systemd/user/meson.build
+++ pipewire-0.3.51/src/daemon/systemd/user/meson.build
--- pipewire-0.3.52.orig/src/daemon/systemd/user/meson.build
+++ pipewire-0.3.52/src/daemon/systemd/user/meson.build
@@ -1,4 +1,4 @@
-systemd_user_services_dir = systemd.get_variable('systemduserunitdir', pkgconfig_define : [ 'prefix', prefix])
+#systemd_user_services_dir = systemd.get_variable('systemduserunitdir', pkgconfig_define : [ 'prefix', prefix])
if get_option('systemd-user-unit-dir') != ''
systemd_user_services_dir = get_option('systemd-user-unit-dir')
endif
Index: pipewire-0.3.51/src/modules/meson.build
Index: pipewire-0.3.52/src/modules/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/modules/meson.build
+++ pipewire-0.3.51/src/modules/meson.build
@@ -366,9 +366,9 @@ test('pw-test-protocol-native',
--- pipewire-0.3.52.orig/src/modules/meson.build
+++ pipewire-0.3.52/src/modules/meson.build
@@ -376,9 +376,9 @@ test('pw-test-protocol-native',
install_dir : installed_tests_execdir,
),
env : [
@ -206,10 +206,10 @@ Index: pipewire-0.3.51/src/modules/meson.build
]
)
Index: pipewire-0.3.51/src/tests/meson.build
Index: pipewire-0.3.52/src/tests/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/tests/meson.build
+++ pipewire-0.3.51/src/tests/meson.build
--- pipewire-0.3.52.orig/src/tests/meson.build
+++ pipewire-0.3.52/src/tests/meson.build
@@ -13,9 +13,9 @@ foreach a : test_apps
install : installed_tests_enabled,
install_dir : installed_tests_execdir),
@ -223,10 +223,10 @@ Index: pipewire-0.3.51/src/tests/meson.build
])
if installed_tests_enabled
Index: pipewire-0.3.51/test/meson.build
Index: pipewire-0.3.52/test/meson.build
===================================================================
--- pipewire-0.3.51.orig/test/meson.build
+++ pipewire-0.3.51/test/meson.build
--- pipewire-0.3.52.orig/test/meson.build
+++ pipewire-0.3.52/test/meson.build
@@ -14,8 +14,8 @@ pwtest_deps = [
]
@ -238,10 +238,10 @@ Index: pipewire-0.3.51/test/meson.build
]
pwtest_inc = [
Index: pipewire-0.3.51/doc/meson.build
Index: pipewire-0.3.52/doc/meson.build
===================================================================
--- pipewire-0.3.51.orig/doc/meson.build
+++ pipewire-0.3.51/doc/meson.build
--- pipewire-0.3.52.orig/doc/meson.build
+++ pipewire-0.3.52/doc/meson.build
@@ -1,8 +1,8 @@
doxyfile_conf = configuration_data()
doxyfile_conf.set('PACKAGE_NAME', meson.project_name())
@ -342,10 +342,10 @@ Index: pipewire-0.3.51/doc/meson.build
doxyfile = configure_file(input: 'Doxyfile.in',
output: 'Doxyfile',
Index: pipewire-0.3.51/spa/meson.build
Index: pipewire-0.3.52/spa/meson.build
===================================================================
--- pipewire-0.3.51.orig/spa/meson.build
+++ pipewire-0.3.51/spa/meson.build
--- pipewire-0.3.52.orig/spa/meson.build
+++ pipewire-0.3.52/spa/meson.build
@@ -31,7 +31,7 @@ pkgconfig.generate(filebase : 'lib@0@'.f
subdir('include')
@ -355,7 +355,7 @@ Index: pipewire-0.3.51/spa/meson.build
udevrulesdir = get_option('udevrulesdir')
if udevrulesdir == ''
# absolute path, otherwise meson prepends the prefix
@@ -74,6 +74,6 @@ endif
@@ -82,6 +82,6 @@ endif
subdir('tools')
subdir('tests')
@ -363,10 +363,10 @@ Index: pipewire-0.3.51/spa/meson.build
+if (get_option('examples').enabled() or get_option('examples').auto())
subdir('examples')
endif
Index: pipewire-0.3.51/man/meson.build
Index: pipewire-0.3.52/man/meson.build
===================================================================
--- pipewire-0.3.51.orig/man/meson.build
+++ pipewire-0.3.51/man/meson.build
--- pipewire-0.3.52.orig/man/meson.build
+++ pipewire-0.3.52/man/meson.build
@@ -21,7 +21,7 @@ manpages = [
'pw-top.1.rst.in',
]
@ -376,10 +376,10 @@ Index: pipewire-0.3.51/man/meson.build
manpages += 'pw-jack.1.rst.in'
endif
Index: pipewire-0.3.51/src/meson.build
Index: pipewire-0.3.52/src/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/meson.build
+++ pipewire-0.3.51/src/meson.build
--- pipewire-0.3.52.orig/src/meson.build
+++ pipewire-0.3.52/src/meson.build
@@ -3,10 +3,10 @@ subdir('pipewire')
subdir('daemon')
subdir('tools')
@ -393,10 +393,10 @@ Index: pipewire-0.3.51/src/meson.build
subdir('tests')
endif
Index: pipewire-0.3.51/spa/plugins/bluez5/meson.build
Index: pipewire-0.3.52/spa/plugins/bluez5/meson.build
===================================================================
--- pipewire-0.3.51.orig/spa/plugins/bluez5/meson.build
+++ pipewire-0.3.51/spa/plugins/bluez5/meson.build
--- pipewire-0.3.52.orig/spa/plugins/bluez5/meson.build
+++ pipewire-0.3.52/spa/plugins/bluez5/meson.build
@@ -6,12 +6,12 @@ foreach dep: bluez5_deps
endforeach
@ -438,10 +438,19 @@ Index: pipewire-0.3.51/spa/plugins/bluez5/meson.build
bluez5_sources += ['backend-hsphfpd.c']
endif
Index: pipewire-0.3.51/spa/plugins/meson.build
@@ -110,7 +110,7 @@ if ldac_dep.found()
install_dir : spa_plugindir / 'bluez5')
endif
-if get_option('bluez5-codec-lc3plus').allowed() and lc3plus_dep.found()
+if (get_option('bluez5-codec-lc3plus').enabled() or get_option('bluez5-codec-lc3plus').auto()) and lc3plus_dep.found()
lc3plus_args = codec_args
lc3plus_dep = [ lc3plus_dep ]
bluez_codec_lc3plus = shared_library('spa-codec-bluez5-lc3plus',
Index: pipewire-0.3.52/spa/plugins/meson.build
===================================================================
--- pipewire-0.3.51.orig/spa/plugins/meson.build
+++ pipewire-0.3.51/spa/plugins/meson.build
--- pipewire-0.3.52.orig/spa/plugins/meson.build
+++ pipewire-0.3.52/spa/plugins/meson.build
@@ -1,16 +1,16 @@
if alsa_dep.found()
subdir('alsa')
@ -495,10 +504,10 @@ Index: pipewire-0.3.51/spa/plugins/meson.build
-subdir('aec')
\ No newline at end of file
+subdir('aec')
Index: pipewire-0.3.51/spa/plugins/support/meson.build
Index: pipewire-0.3.52/spa/plugins/support/meson.build
===================================================================
--- pipewire-0.3.51.orig/spa/plugins/support/meson.build
+++ pipewire-0.3.51/spa/plugins/support/meson.build
--- pipewire-0.3.52.orig/spa/plugins/support/meson.build
+++ pipewire-0.3.52/spa/plugins/support/meson.build
@@ -23,7 +23,7 @@ spa_support_lib = shared_library('spa-su
install_dir : spa_plugindir / 'support')
spa_support_dep = declare_dependency(link_with: spa_support_lib)
@ -508,10 +517,10 @@ Index: pipewire-0.3.51/spa/plugins/support/meson.build
evl_inc = include_directories('/usr/evl/include')
evl_lib = cc.find_library('evl',
dirs: ['/usr/evl/lib/'],
Index: pipewire-0.3.51/src/daemon/systemd/meson.build
Index: pipewire-0.3.52/src/daemon/systemd/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/daemon/systemd/meson.build
+++ pipewire-0.3.51/src/daemon/systemd/meson.build
--- pipewire-0.3.52.orig/src/daemon/systemd/meson.build
+++ pipewire-0.3.52/src/daemon/systemd/meson.build
@@ -1,6 +1,6 @@
-if get_option('systemd-system-service').allowed()
+if (get_option('systemd-system-service').enabled() or get_option('systemd-system-service').auto())
@ -521,10 +530,10 @@ Index: pipewire-0.3.51/src/daemon/systemd/meson.build
+if (get_option('systemd-user-service').enabled() or get_option('systemd-user-service').auto())
subdir('user')
endif
Index: pipewire-0.3.51/src/gst/meson.build
Index: pipewire-0.3.52/src/gst/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/gst/meson.build
+++ pipewire-0.3.51/src/gst/meson.build
--- pipewire-0.3.52.orig/src/gst/meson.build
+++ pipewire-0.3.52/src/gst/meson.build
@@ -8,7 +8,7 @@ pipewire_gst_sources = [
'gstpipewiresrc.c',
]
@ -534,10 +543,10 @@ Index: pipewire-0.3.51/src/gst/meson.build
pipewire_gst_sources += [ 'gstpipewiredeviceprovider.c' ]
endif
Index: pipewire-0.3.51/src/tools/meson.build
Index: pipewire-0.3.52/src/tools/meson.build
===================================================================
--- pipewire-0.3.51.orig/src/tools/meson.build
+++ pipewire-0.3.51/src/tools/meson.build
--- pipewire-0.3.52.orig/src/tools/meson.build
+++ pipewire-0.3.52/src/tools/meson.build
@@ -34,7 +34,7 @@ if ncurses_dep.found()
endif