Solve the problem that clicking the volume icon, the unmute function does not take effect.
(cherry picked from commit c84f092e9fd5cdd75be4f89a40c7b726af20727e)
This commit is contained in:
parent
d5ab037f27
commit
8ee00941d6
@ -0,0 +1,25 @@
|
|||||||
|
From 5f945b8da1bf6834ad619c2a9920f3b589ab1fe4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: xiewenhao <xiewenhao@kylinos.com.cn>
|
||||||
|
Date: Wed, 30 Mar 2022 18:21:46 +0800
|
||||||
|
Subject: [PATCH 2/2] Fix-the-problem-that-the-muted-function-in-mate-volu
|
||||||
|
|
||||||
|
---
|
||||||
|
src/daemon/systemd/user/pulseaudio.service.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/daemon/systemd/user/pulseaudio.service.in b/src/daemon/systemd/user/pulseaudio.service.in
|
||||||
|
index bf0f481..a84a978 100644
|
||||||
|
--- a/src/daemon/systemd/user/pulseaudio.service.in
|
||||||
|
+++ b/src/daemon/systemd/user/pulseaudio.service.in
|
||||||
|
@@ -14,7 +14,7 @@ Description=Sound Service
|
||||||
|
# After=pulseaudio.socket is not needed, as it is already implicit in the
|
||||||
|
# socket-service relationship, see systemd.socket(5).
|
||||||
|
Requires=pulseaudio.socket
|
||||||
|
-ConditionUser=!root
|
||||||
|
+#ConditionUser=!root
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=@PA_BINARY@ --daemonize=no --log-target=journal
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
23
0002-fix-mate-volume-control-status-icon-doesn-t-work.patch
Normal file
23
0002-fix-mate-volume-control-status-icon-doesn-t-work.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
From 02f3bde2031dfb6c8a6bb4458282f93ad563035a Mon Sep 17 00:00:00 2001
|
||||||
|
From: xiewenhao <xiewenhao@kylinos.com.cn>
|
||||||
|
Date: Wed, 30 Mar 2022 18:25:36 +0800
|
||||||
|
Subject: [PATCH 2/2] fix-mate-volume-control-status-icon-doesn-t-work
|
||||||
|
|
||||||
|
---
|
||||||
|
src/daemon/systemd/user/pulseaudio.socket | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/daemon/systemd/user/pulseaudio.socket b/src/daemon/systemd/user/pulseaudio.socket
|
||||||
|
index 98c1002..95247c1 100644
|
||||||
|
--- a/src/daemon/systemd/user/pulseaudio.socket
|
||||||
|
+++ b/src/daemon/systemd/user/pulseaudio.socket
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Sound System
|
||||||
|
-ConditionUser=!root
|
||||||
|
+#ConditionUser=!root
|
||||||
|
|
||||||
|
[Socket]
|
||||||
|
Priority=6
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
@ -6,7 +6,7 @@
|
|||||||
Name: pulseaudio
|
Name: pulseaudio
|
||||||
Summary: Improved Linux Sound Server
|
Summary: Improved Linux Sound Server
|
||||||
Version: 15.0
|
Version: 15.0
|
||||||
Release: 6
|
Release: 7
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
|
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
|
||||||
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
|
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
|
||||||
@ -15,6 +15,8 @@ Source5: default.pa-for-gdm
|
|||||||
|
|
||||||
Patch201: pulseaudio-autostart.patch
|
Patch201: pulseaudio-autostart.patch
|
||||||
Patch202: 0001-fix-translation-error-of-pulseaudio.patch
|
Patch202: 0001-fix-translation-error-of-pulseaudio.patch
|
||||||
|
Patch203: 0002-fix-mate-volume-control-status-icon-doesn-t-work.patch
|
||||||
|
Patch204: 0002-Fix-the-problem-that-the-muted-function-in-mate-volu.patch
|
||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: automake libtool gcc-c++ bash-completion
|
BuildRequires: automake libtool gcc-c++ bash-completion
|
||||||
@ -154,6 +156,14 @@ exit 0
|
|||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_user_post pulseaudio.service
|
||||||
|
%systemd_user_post pulseaudio.socket
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%systemd_user_preun pulseaudio.service
|
||||||
|
%systemd_user_preun pulseaudio.socket
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%license LICENSE GPL LGPL
|
%license LICENSE GPL LGPL
|
||||||
@ -234,6 +244,11 @@ exit 0
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 02 2022 ouyangminxiang <ouyangminxiang@kylinsec.com.cn> - 15.0-7
|
||||||
|
- Fix mate-volume-control-status-icon doesn't work
|
||||||
|
- Fix the problem that the muted function in mate-volume-control-status-icon doesn't work when the system is boot
|
||||||
|
- Recompile systemd post scripts for pulseaudio
|
||||||
|
|
||||||
* Fri Jul 29 2022 Wei, Qiang <qiang.wei@suse.com> - 15.0-6
|
* Fri Jul 29 2022 Wei, Qiang <qiang.wei@suse.com> - 15.0-6
|
||||||
- Fix gsettings-helper crash
|
- Fix gsettings-helper crash
|
||||||
- Issue: https://gitee.com/src-openeuler/pulseaudio/issues/I4WAEZ
|
- Issue: https://gitee.com/src-openeuler/pulseaudio/issues/I4WAEZ
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user