From 8e00ac63e44b7c3d70cdd10170ce47540d3ae37d Mon Sep 17 00:00:00 2001 From: luoqing Date: Mon, 15 Aug 2022 14:02:33 +0800 Subject: [PATCH] fix the problem that autostart failed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复自启动失败的问题 --- pulseaudio-autostart.patch | 2 +- pulseaudio.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pulseaudio-autostart.patch b/pulseaudio-autostart.patch index 33535d7..903791a 100644 --- a/pulseaudio-autostart.patch +++ b/pulseaudio-autostart.patch @@ -13,7 +13,7 @@ index 722a639..7cdf14e 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 diff --git a/pulseaudio.spec b/pulseaudio.spec index 3ce224b..ccdfff4 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -6,7 +6,7 @@ Name: pulseaudio Summary: Improved Linux Sound Server Version: 16.1 -Release: 1 +Release: 2 License: LGPLv2+ URL: https://www.freedesktop.org/wiki/Software/PulseAudio Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz @@ -232,6 +232,9 @@ exit 0 %{_mandir}/man*/* %changelog +* Mon Aug 15 2022 luoqing - 16.1-2 +- fix the problem that autostart failed + * Thu Aug 04 2022 Qingqing Li - 16.1-1 - upgrade to 16.1 -- Gitee