From 1eacc99d60f35313849faf5eac4abc952a17b29f Mon Sep 17 00:00:00 2001 From: luoqing Date: Mon, 15 Aug 2022 14:09:23 +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 f9b1dcf..3375e06 100644 --- a/pulseaudio.spec +++ b/pulseaudio.spec @@ -6,7 +6,7 @@ Name: pulseaudio Summary: Improved Linux Sound Server Version: 15.0 -Release: 8 +Release: 9 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 - 15.0-9 +- fix the problem that autostart failed + * Tue Aug 04 2022 Qingqing Li - 15.0-8 - rebuild package -- Gitee