fix autostart.patch (#2001664)

Though I'm not sure this patch should be carried any longer, it
was only ever a stop-gap measure when initial autospawn behavior
was new (and sometimes quirky/unreliable).
This commit is contained in:
Rex Dieter 2021-09-10 13:59:48 -05:00
parent bbac85583a
commit 9958c33691
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ index 722a639c0..7cdf14e4d 100755
set -e
+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+@PACTL_BINARY@ info > /dev/null 2>&1 || /usr/bin/pulseaudio --start "$@"
+
if [ -n "$1" ] ; then
case $1 in

View File

@ -36,7 +36,7 @@
Name: pulseaudio
Summary: Improved Linux Sound Server
Version: %{pa_major}%{?pa_minor:.%{pa_minor}}
Release: 2%{?snap:.%{snap}git%{shortcommit}}%{?dist}
Release: 3%{?snap:.%{snap}git%{shortcommit}}%{?dist}
License: LGPLv2+
URL: http://www.freedesktop.org/wiki/Software/PulseAudio
%if 0%{?gitrel}
@ -610,6 +610,9 @@ systemctl --no-reload preset --global pulseaudio.socket >/dev/null 2>&1 || :
%changelog
* Fri Sep 10 2021 Rex Dieter <rdieter@fedoraproject.org> - 15.0-3
- fix autostart.patch (#2001664)
* Wed Sep 08 2021 Wim Taymans <wtaymans@redhat.com> - 15.0-2
- Obsoletes: pulseaudio-esound-compat and pulseaudio-module-gconf
- Resolves: #2001334