From 943564f69d0748e09cdc890ded4c83730a16077374f2abc5a27d76bb0eb3a993 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 19 Nov 2020 10:57:06 +0000 Subject: [PATCH] Accepting request 847256 from GNOME:Factory Push GNOME 3.38 OBS-URL: https://build.opensuse.org/request/show/847256 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pipewire?expand=0&rev=18 --- _service | 2 +- baselibs.conf | 9 +++ pipewire-0.3.13.obscpio | 3 - pipewire-0.3.15.obscpio | 3 + pipewire.changes | 143 ++++++++++++++++++++++++++++++++++++++++ pipewire.obsinfo | 6 +- pipewire.spec | 13 ++-- 7 files changed, 166 insertions(+), 13 deletions(-) create mode 100644 baselibs.conf delete mode 100644 pipewire-0.3.13.obscpio create mode 100644 pipewire-0.3.15.obscpio diff --git a/_service b/_service index 869bc5a..be6e348 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git https://gitlab.freedesktop.org/pipewire/pipewire.git - 0.3.13 + 0.3.15 @PARENT_TAG@+@TAG_OFFSET@ (.*)\+0 \1 diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..98c661c --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,9 @@ +libpipewire-0_3-0 +pipewire-libpulse-0_3 + requires "libpipewire-0_3-0- = " +pipewire-libjack-0_3 + requires "libpipewire-0_3-0- = " +pipewire-modules + requires "libpipewire-0_3-0- = " +pipewire-spa-plugins-0_2 + requires "libpipewire-0_3-0- = " diff --git a/pipewire-0.3.13.obscpio b/pipewire-0.3.13.obscpio deleted file mode 100644 index e21ce6d..0000000 --- a/pipewire-0.3.13.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb06fad3ca886f988dc89d76796ac3f5cefa0ea36b82a9248f5ca30ed83590f4 -size 6778893 diff --git a/pipewire-0.3.15.obscpio b/pipewire-0.3.15.obscpio new file mode 100644 index 0000000..31765ed --- /dev/null +++ b/pipewire-0.3.15.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8057aad48c198f474bd9799f9969c7521f0b96483c9e109d401d751f4d0189e1 +size 7047181 diff --git a/pipewire.changes b/pipewire.changes index ada0ce0..90e5ac8 100644 --- a/pipewire.changes +++ b/pipewire.changes @@ -1,3 +1,146 @@ +------------------------------------------------------------------- +Thu Nov 5 10:37:18 UTC 2020 - Antonio Larrosa + +- Update to version 0.3.15: + * Highlights + + This is a quick update to fix critical issues with the + 0.3.14 update, which broke screen sharing and accidentally + enabled the experimental pulse-server. + + Fix some compatibility issues in pulse-server with + pavucontrol and fix an issue that would block the complete + server. + * PipeWire improvements + + Permission checks for new clients are now done from a + global context, which makes it possible to assign initial + permissions to objects. + + Handle EINTR everywhere + + Fix an issue with the node state changes where a quick + pause/play would hang a client. + * Session manager improvements + + Disable the bluez5 and pulse-bridge modules by default + because they interfere with pulseaudio. These options should + only be enabled if pulseaudio is removed or disabled in the + system. + + Fix an issue where the session manager could end up in + infinite recursion while scanning for things to do. + + The session manager will now always configure nodes to remix + to the channel configuration of the device. This fixes the + case where mono streams would only end up on one channel of a + stereo device. + * Device support + + Initial merge of A2DP extra codec support using the new + bluez5 API. + * pulse-server + + Create the runtime directory when it doesn't exist. + + Don't ever block the server, use non-blocking IO everywhere. + + Fill description of profiles with the name if not otherwise + set, this fixes a crash in pavucontrol. + + the connection debug catergory will now also debug pulse + messages. + + Respect the no_remix flag to make the control panel channel + check work. + * ALSA plugin + + implement pause + +------------------------------------------------------------------- +Tue Nov 3 08:11:46 UTC 2020 - Antonio Larrosa + +- Update to version 0.3.14: + * Highlights + + This release focuses on bugfixes and stability + improvements. + + A new experimental pulse-server module was added. This + module implements the pulseaudio protocol on top of + PipeWire and can be used to make flatpaks work with + PipeWire. It looks like this might be a better way + forward compared to the libpulse.so replacement library. + + A2DP bluetooth was reworked. Playback should work a lot + better now. Support was also added to automatically link + an A2DP source to a playback device, which makes it possible + to use PipeWire as a bluetooth receiver as well. + + Improvements to the routing and volume restore features + of the session manager. + * PipeWire improvements + + The channelmixer does not normalize volumes anymore. Volumes + are only normalized for monitoring streams now. + + Streams can actually start in the inactive state now. + + The channelmixer can now also convert volume updates from one + channel layout to another. This makes saved volumes work + even when streams have different channel layouts. + + Clients are only registered after the properties have been + updated. + + Links now have a new active state. + + Drivers can now also specify a minimum quantum. This makes it + possible for bluetooth devices to specify an optimum quantum + for the given codec settings and MTU. + + The amount of data sent over the socket was reduced by only + sending the data that changed. + + Client objects are now exposed after they uploaded their + properties, which makes the new object more useful. + * Tools improvements + + pw-cat will now add metadata to the PipeWire streams. + * Session manager improvements + + Fix crashes when reading bad data in stored settings. + + volume and routing is improved. Settings are now remembered + per application or media-role. + + The session manager remembers the last device used per stream + + Fix a bug when moving streams where it could sometimes end + up with linking a stream to multiple devices. + + Use RTKit to set realtime priority on the data thread in the + session manager. This improves performance of the pulse-server + and bluetooth devices. + + Add a new property to mark streams that want to capture from + the monitor of the default sink. + + NODE_TARGET can now also contain the node name. This avoids + some lookups in the pulseaudio layer when selecting target + nodes by name. + + the -e and -d options are more usable now and can be used to + add and remove modules from the default list of modules. + * Device support + + v4l2: add some workarounds for buggy drivers. Add Limited + support for droidcam. + + ACP: improve selection of default port and profiles. + + ACP: add support for using the hardware mixer for more than + 8 channel streams. + + ACP: support the new port type and availability group found + in PulseAudio. + + A2DP bluetooth timings were reworked. Automatic linking of + A2DP sources was added to make it possible for PipeWire to + act as a bluetooth receiver. The code was reworked to allow + other codecs such as APTX and LDAC in the future. + + Try harder to recover from ALSA errors. + * GStreamer improvements + + Fix some crashes in the monitor that cause + gnome-initial-setup to crash. + * PulseAudio layer improvements + + Many compatibility improvements. Improved playback in + chrome. Fix a crash in firefox when the daemon is stopped. + + Fix a leak in the formats. + + Fix !ADJUST_LATENCY streams like paplay. + + Make the device option in paplay work. + + Fix volume/mute notifications, this makes plasma volume updates + work again. + + Do the conversion between PulseAudio cubic volumes and PipeWire + linear volumes. Volume levels should behave now like they did + with PulseAudio. + * JACK layer improvements + + Return an error when we run out of midi events. Some application + rely on this behaviour. + * ALSA plugin improvements + + The ALSA plugin now also supports the node name in the + playback_node and capture_node properties. + +------------------------------------------------------------------- +Tue Oct 27 17:32:57 UTC 2020 - Antonio Larrosa + +- Rename 99-pipewire-default.conf to + 99-pipewire-default.conf.example so it's disabled by default and + all ALSA I/O doesn't get redirected to pipewire (which was only + overrided by pulseaudio's configuration in alsa-plugins-pulse + casually). Thanks to Takashi Iwai for noticing (boo#1178104, + boo#1177166 and probably boo#1175584) +- Add baselibs.conf (boo#1177555) + ------------------------------------------------------------------- Thu Oct 8 08:29:36 UTC 2020 - Antonio Larrosa diff --git a/pipewire.obsinfo b/pipewire.obsinfo index e189b8c..07246a6 100644 --- a/pipewire.obsinfo +++ b/pipewire.obsinfo @@ -1,5 +1,5 @@ name: pipewire -version: 0.3.13 -mtime: 1601302090 -commit: d7714f734dcf2a346f939e11e1e3f6a2373c8632 +version: 0.3.15 +mtime: 1604483020 +commit: 16872549e3a2433f49f27c1875dfd432377ca0be diff --git a/pipewire.spec b/pipewire.spec index 8e80af8..16b812a 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -35,7 +35,7 @@ %endif Name: pipewire -Version: 0.3.13 +Version: 0.3.15 Release: 0 Summary: A Multimedia Framework designed to be an audio and video server and more License: MIT @@ -43,6 +43,7 @@ Group: Development/Libraries/C and C++ URL: https://pipewire.org/ Source0: %{name}-%{version}.tar.xz Source1: %{name}-rpmlintrc +Source99: baselibs.conf Patch0: fix-memfd_create-call.patch Patch1: do-not-use-snd_pcm_ioplug_hw_avail.patch Patch2: do-not-install-alsa-config-files.patch @@ -290,10 +291,9 @@ export CC=gcc-9 %meson_install mkdir -p %{buildroot}%{_sysconfdir}/alsa/conf.d/ -for filename in 50-pipewire.conf \ - 99-pipewire-default.conf ; do - cp -a pipewire-alsa/conf/"$filename" %{buildroot}%{_sysconfdir}/alsa/conf.d/ -done +# Copy the alsa configuration but keep 99-pipewire-default.conf disabled by default +cp -a pipewire-alsa/conf/50-pipewire.conf %{buildroot}%{_sysconfdir}/alsa/conf.d/ +cp -a pipewire-alsa/conf/99-pipewire-default.conf %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf.example mkdir -p %{buildroot}%{_sysconfdir}/alternatives for wrapper in pw-pulse pw-jack ; do @@ -372,7 +372,7 @@ fi %dir %{_sysconfdir}/alsa %dir %{_sysconfdir}/alsa/conf.d %config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pipewire.conf -%config(noreplace) %{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf +%{_sysconfdir}/alsa/conf.d/99-pipewire-default.conf.example %files -n %{libpipewire} %license LICENSE COPYING @@ -445,6 +445,7 @@ fi %{_libdir}/pipewire-%{apiver}/libpipewire-module-portal.so %{_libdir}/pipewire-%{apiver}/libpipewire-module-profiler.so %{_libdir}/pipewire-%{apiver}/libpipewire-module-protocol-native.so +%{_libdir}/pipewire-%{apiver}/libpipewire-module-protocol-pulse.so %{_libdir}/pipewire-%{apiver}/libpipewire-module-rtkit.so %{_libdir}/pipewire-%{apiver}/libpipewire-module-session-manager.so %{_libdir}/pipewire-%{apiver}/libpipewire-module-spa-device-factory.so