Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pipewire for openSUSE:Factory checked in at 2021-03-21 23:19:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pipewire (Old) and /work/SRC/openSUSE:Factory/.pipewire.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pipewire" Sun Mar 21 23:19:34 2021 rev:25 rq:880162 version:0.3.24 Changes: -------- --- /work/SRC/openSUSE:Factory/pipewire/pipewire.changes 2021-03-15 10:53:47.897116272 +0100 +++ /work/SRC/openSUSE:Factory/.pipewire.new.2401/pipewire.changes 2021-03-21 23:19:47.628727368 +0100 @@ -1,0 +2,105 @@ +Fri Mar 19 17:43:41 UTC 2021 - Antonio Larrosa <alarr...@suse.com> + +- Enable or disable the ldac codec depending if ldacBT is available + or not to fix build in s390x (where it's not available) +- Add some more information and fix indentation on previous + changelog entries. + +------------------------------------------------------------------- +Fri Mar 19 12:02:35 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Update to 0.3.24: + + This is a bugfix release that is API and ABI compatible with + previous 0.3.x releases. + + Highlights + - Many JACK midi improvements and device support. + - Fixes in gnome-control-center default sink/source handling. + - Many small performance improvements in alsa device handling + and latency. There should also be less cracks/pops and xruns + now. + - More bluetooth compatibility improvements. + + PipeWire improvements + - Implement simple upmixing + - Disable the resampler when not used. This improves latency + and CPU usage. + - Handle max-quantum on devices and try to not make the quantum + larger than the device buffer size. + - improvements to how nodes and links are activated. It should + now result in less xruns and cracks/pops. + - meson uses the feature options everywhere now + - Handle volume remap in the channelmixer. This fixes the + channels on multichannel devices. + - Try to escape invalid JSON string characters + - Keep better track of changed parameters in audioconvert. + - Improve config files, make arrays where needed. + - Respect NO_COLOR where possible + - Support in-place config file parsing to avoid allocations and + improve startup performance. + - There is no a config option to enable non-power-of-two + quantums. + - Preliminary support for upmixing and generating LFE channels. + + Session-manager + - default nodes are not stored as JSON in the metadata. This + is more readable and introspectable. + - More default-nodes and default-routes improvements. port + switching should work better now. + - Wait until all devices are scanned before linking clients. + - Fixes some crashes + - Sinks (monitors) can now be set as default sources. + + Device support + - Fix startup timers for alsa devices. + - Improve timers in alsa when quantum changes. It should cause + less xruns and cracks. + - Fix UCM setup of capture devices. + - Only disable IRQ in alsa when not batch. For batch devices + the hw pointers are updated each IRQ so we need to keep them + enabled. This massively improves latency on USB batch devices + to the same level as JACK (with small enough period size). + + Bluetooth + - Improvements to profile switches. + - Improvements to volume handling. + - Fixes for A2DP sources + - Add support for battery status when available. + - Many other small improvements. + + PulseAudio server + - handle NULL in set_default_sink/source to clear the default + - Implement a workaround for gnome-control-center when setting + the default sink/source. It also sets the target in + stream-restore to the new default. This fixes moving streams + in gnome-control-center. + - Fix some races by replying to some requests after the + operation completed. + - Prefer formats of the extended format API. + - Create a pid file on startup to improve compatibility with + apps that look for it. + - Capture streams can now be moved to monitors with pavucontrol + - Fixes for crashes + + JACK + - jack clients can now connect to the 'default' server + - Move midi ports back to the midi client + - Only mark midi hardware ports as terminal/physical + - Use the same midi names as a2jmidid + - match system ports in get_ports. + - Improve compatibility with some apps that require a + fixed latency. + - Beginnings of the libjackserver implementation. +- Switch off libopenaptx and fdk-aac (because they are + patent-encumbered) and libcamera (problems in building). + +------------------------------------------------------------------- +Wed Mar 17 17:15:02 UTC 2021 - Antonio Larrosa <alarr...@suse.com> + +- systemd-rpm-macros doesn't have a consistent versioning between + distributions, so better assume it's updated enough to support + %systemd_user_pre + +------------------------------------------------------------------- +Tue Mar 16 11:21:02 UTC 2021 - Antonio Larrosa <alarr...@suse.com> + +- Add systemd rpm macros for pipewire.service as well as + pipewire.socket . +- Use the new %systemd_user_pre macro on %pre to be able to + recognize when a service was installed for the first time and + enable it on %systemd_user_post (boo#1183012) + +------------------------------------------------------------------- @@ -5,3 +110,3 @@ - * Highlights - + Fixes for some critical bugs in last release. - + Fix bug where audio was not drained properly at the end of + + Highlights + - Fixes for some critical bugs in last release. + - Fix bug where audio was not drained properly at the end of @@ -9 +114 @@ - + Profile and route switching was improved and should mimic + - Profile and route switching was improved and should mimic @@ -11,2 +116,2 @@ - + Various fixes for xruns in capture and playback. - + Bluetooth now supports delay adjustment and various other + - Various fixes for xruns in capture and playback. + - Bluetooth now supports delay adjustment and various other @@ -14 +119 @@ - + The pulseaudio server now correctly identifies AC3 and DTS + - The pulseaudio server now correctly identifies AC3 and DTS @@ -17 +122 @@ - + Multichannel support was improved in the alsa plugin and + - Multichannel support was improved in the alsa plugin and @@ -20,3 +125,3 @@ - * PipeWire improvements - + Small fixes and improvements in JSON parsing and encoding. - + Improvements to param handling in audioconverter. It would + + PipeWire improvements + - Small fixes and improvements in JSON parsing and encoding. + - Improvements to param handling in audioconverter. It would @@ -24 +129 @@ - + Avoid updating some properties that we use internally such + - Avoid updating some properties that we use internally such @@ -26,2 +131,2 @@ - + log.level in the config files is now actually used. - + the PIPEWIRE_LATENCY env variable should always override + - log.level in the config files is now actually used. + - the PIPEWIRE_LATENCY env variable should always override @@ -29 +134 @@ - + The config file can now contain filer and stream properties + - The config file can now contain filer and stream properties @@ -31,4 +136,4 @@ - + Add sandboxing to the systemd services - + Various FreeBSD fixes. - + Improve draining and a way to exit the drain state as well. - + Many multichannel fixes. Channel remapping should now be + - Add sandboxing to the systemd services + - Various FreeBSD fixes. + - Improve draining and a way to exit the drain state as well. + - Many multichannel fixes. Channel remapping should now be @@ -36 +141 @@ - + Fix bug with repeating audio at the end of playback because + - Fix bug with repeating audio at the end of playback because @@ -38 +143 @@ - + RTKit default rt.prio has been increased to 88. This will + - RTKit default rt.prio has been increased to 88. This will @@ -41,2 +146,2 @@ - * Session-manager - + Don't try to switch to Pro Audio profile, this should be + + Session-manager + - Don't try to switch to Pro Audio profile, this should be @@ -44 +149 @@ - + Don't crash when metadata was disabled such as when not + - Don't crash when metadata was disabled such as when not @@ -46,3 +151,3 @@ - + Rework the profile and route handling. - + Add systemd unit files for the media-session - + Device names should now also have sane names so that tab + - Rework the profile and route handling. + - Add systemd unit files for the media-session + - Device names should now also have sane names so that tab @@ -50,2 +155,2 @@ - * Device support - + Fix ALSA format enumeration in more cases. Use the channels + + Device support + - Fix ALSA format enumeration in more cases. Use the channels @@ -53 +158 @@ - + Make sure the graph doesn't ever use buffers larger than + - Make sure the graph doesn't ever use buffers larger than @@ -55 +160 @@ - + Tuning of the alsa device timeout handling and dynamic + - Tuning of the alsa device timeout handling and dynamic @@ -58 +163 @@ - + Fix bug in alsa device when reassigning to a new driver, + - Fix bug in alsa device when reassigning to a new driver, @@ -61 +166 @@ - + Fixes in quantum changes for ALSA capture and how the + - Fixes in quantum changes for ALSA capture and how the @@ -63,2 +168,2 @@ - * Bluetooth - + Delay adjustment has been implemented now. Bluetooth + + Bluetooth + - Delay adjustment has been implemented now. Bluetooth @@ -68,4 +173,4 @@ ++++ 1131 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/pipewire/pipewire.changes ++++ and /work/SRC/openSUSE:Factory/.pipewire.new.2401/pipewire.changes Old: ---- pipewire-0.3.23.obscpio New: ---- pipewire-0.3.24.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pipewire.spec ++++++ --- /var/tmp/diff_new_pack.hFKMII/_old 2021-03-21 23:19:48.084727525 +0100 +++ /var/tmp/diff_new_pack.hFKMII/_new 2021-03-21 23:19:48.092727527 +0100 @@ -34,8 +34,14 @@ %define with_vulkan 0 %endif +%ifnarch s390 s390x ppc64 +%define with_ldacBT 1 +%else +%define with_ldacBT 0 +%endif + Name: pipewire -Version: 0.3.23 +Version: 0.3.24 Release: 0 Summary: A Multimedia Framework designed to be an audio and video server and more License: MIT @@ -53,6 +59,7 @@ BuildRequires: graphviz BuildRequires: meson BuildRequires: pkgconfig +BuildRequires: systemd-rpm-macros BuildRequires: xmltoman BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(bluez) @@ -68,7 +75,7 @@ BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gstreamer-video-1.0) BuildRequires: pkgconfig(jack) >= 1.9.10 -%ifnarch s390 s390x ppc64 +%if %{with_ldacBT} BuildRequires: pkgconfig(ldacBT-abr) BuildRequires: pkgconfig(ldacBT-enc) %endif @@ -125,7 +132,7 @@ Summary: PipeWire libjack replacement libraries Group: Development/Libraries/C and C++ Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %description libjack-%{apiver_str} PipeWire is a server and user space API to deal with multimedia pipelines. @@ -140,7 +147,6 @@ This package provides the PipeWire replacement libraries for libjack. - %package -n gstreamer-plugin-pipewire Summary: Gstreamer Plugin for PipeWire Group: System/Libraries @@ -258,18 +264,26 @@ export CC=gcc-9 %endif %meson \ - -Ddocs=true \ - -Dman=true \ - -Dgstreamer=true \ - -Dffmpeg=true \ - -Dsystemd=true \ + -Ddocs=enabled \ + -Dman=enabled \ + -Dgstreamer=enabled \ + -Dffmpeg=enabled \ + -Dsystemd=enabled \ %if %{with_vulkan} - -Dvulkan=true \ + -Dvulkan=enabled \ +%else + -Dvulkan=disabled \ +%endif + -Dtest=enabled \ + -Daudiotestsrc=enabled \ + -Dbluez5-codec-aac=disabled \ + -Dbluez5-codec-aptx=disabled \ + -Dlibcamera=disabled \ +%if %{with_ldacBT} + -Dbluez5-codec-ldac=enabled \ %else - -Dvulkan=false \ + -Dbluez5-codec-ldac=disabled \ %endif - -Dtest=true \ - -Daudiotestsrc=true \ %{nil} %meson_build @@ -302,32 +316,33 @@ %check %meson_test +%pre +%systemd_user_pre pipewire.service pipewire.socket pipewire-media-session.service + %post -if [ ! -f /etc/systemd/user/sockets.target.wants/%{name}.socket ]; then +# Check if the systemd_user_pre macro generated the file +# for systemd_user_post to enable the user socket. +if [ -f /run/systemd/rpm/needs-user-preset/pipewire.socket ]; then echo "Switching Pipewire activation using systemd user socket." echo "Please log out from all sessions once to make it effective." fi -%systemd_user_post pipewire.socket pipewire-media-session.service -# FIXME: workaround to make sure the user socket symlink creation (related to bsc#1083473) -if [ ! -f /etc/systemd/user/sockets.target.wants/%{name}.socket ]; then - # below should work once when preset is defined properly: - # /usr/bin/systemctl --no-reload --global preset pipewire.socket - mkdir -p /etc/systemd/user/sockets.target.wants - ln -s %{_userunitdir}/%{name}.socket /etc/systemd/user/sockets.target.wants/%{name}.socket -fi +%systemd_user_post pipewire.service pipewire.socket pipewire-media-session.service %preun -%systemd_user_preun pipewire.socket pipewire-media-session.service +%systemd_user_preun pipewire.service pipewire.socket pipewire-media-session.service %postun -%systemd_user_postun pipewire.socket pipewire-media-session.service +%systemd_user_postun pipewire.service pipewire.socket pipewire-media-session.service -%preun pulseaudio -%systemd_user_preun pipewire-pulse.service pipewire-pulse.socket +%pre pulseaudio +%systemd_user_pre pipewire-pulse.service pipewire-pulse.socket %post pulseaudio %systemd_user_post pipewire-pulse.service pipewire-pulse.socket +%preun pulseaudio +%systemd_user_preun pipewire-pulse.service pipewire-pulse.socket + %postun pulseaudio %systemd_user_postun pipewire-pulse.service pipewire-pulse.socket @@ -455,6 +470,8 @@ %endif %{_libdir}/spa-%{spa_ver}/audiotestsrc/libspa-audiotestsrc.so %{_libdir}/spa-%{spa_ver}/test/libspa-test.so +%{_libdir}/spa-%{spa_ver}/videotestsrc/libspa-videotestsrc.so +%{_libdir}/spa-%{spa_ver}/volume/libspa-volume.so %dir %{_libdir}/spa-%{spa_ver} %dir %{_libdir}/spa-%{spa_ver}/alsa @@ -462,6 +479,7 @@ %dir %{_libdir}/spa-%{spa_ver}/audiomixer %dir %{_libdir}/spa-%{spa_ver}/bluez5 %dir %{_libdir}/spa-%{spa_ver}/control +%dir %{_libdir}/spa-%{spa_ver}/volume %dir %{_libdir}/spa-%{spa_ver}/ffmpeg %dir %{_libdir}/spa-%{spa_ver}/jack %dir %{_libdir}/spa-%{spa_ver}/support @@ -471,6 +489,7 @@ %dir %{_libdir}/spa-%{spa_ver}/vulkan %endif %dir %{_libdir}/spa-%{spa_ver}/audiotestsrc +%dir %{_libdir}/spa-%{spa_ver}/videotestsrc %dir %{_libdir}/spa-%{spa_ver}/test %files devel ++++++ _service ++++++ --- /var/tmp/diff_new_pack.hFKMII/_old 2021-03-21 23:19:48.124727538 +0100 +++ /var/tmp/diff_new_pack.hFKMII/_new 2021-03-21 23:19:48.124727538 +0100 @@ -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">0.3.23</param> + <param name="revision">0.3.24</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionrewrite-pattern">(.*)\+0</param> <param name="versionrewrite-replacement">\1</param> ++++++ pipewire-0.3.23.obscpio -> pipewire-0.3.24.obscpio ++++++ /work/SRC/openSUSE:Factory/pipewire/pipewire-0.3.23.obscpio /work/SRC/openSUSE:Factory/.pipewire.new.2401/pipewire-0.3.24.obscpio differ: char 49, line 1 ++++++ pipewire.obsinfo ++++++ --- /var/tmp/diff_new_pack.hFKMII/_old 2021-03-21 23:19:48.208727568 +0100 +++ /var/tmp/diff_new_pack.hFKMII/_new 2021-03-21 23:19:48.208727568 +0100 @@ -1,5 +1,5 @@ name: pipewire -version: 0.3.23 -mtime: 1614871281 -commit: 68f6c75caed047af32320ab4de0c06457457be54 +version: 0.3.24 +mtime: 1616075404 +commit: c81d44e8a9497899d01bcc3054b6aa845e7a066e