Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio-daemon/
Date: Fri, 13 May 2022 20:04:19
Message-Id: 1652472226.d2605605514f62edb6983ece30cfae3efc4c62b9.sam@gentoo
1 commit: d2605605514f62edb6983ece30cfae3efc4c62b9
2 Author: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
3 AuthorDate: Tue May 10 07:05:17 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri May 13 20:03:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2605605
7
8 media-sound/pulseaudio-daemon: Clarify enabling systemd units for all
9
10 Bug: https://bugs.gentoo.org/843449
11 Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild | 9 +++++++++
15 1 file changed, 9 insertions(+)
16
17 diff --git a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
18 index 61a9f133cb5f..9c86c92b0d78 100644
19 --- a/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
20 +++ b/media-sound/pulseaudio-daemon/pulseaudio-daemon-15.99.1-r2.ebuild
21 @@ -318,10 +318,19 @@ pkg_postinst() {
22 fi
23
24 if use systemd; then
25 + elog "Pulseaudio autospawn by client library is no longer enabled when systemd is available."
26 elog "It's recommended to start pulseaudio via its systemd user units:"
27 elog ""
28 elog " systemctl --user enable pulseaudio.service pulseaudio.socket"
29 elog ""
30 + elog "Root user can change system default configuration for all users:"
31 + elog ""
32 + elog " systemctl --global enable pulseaudio.service pulseaudio.socket"
33 + elog ""
34 + elog "If you would like to enable autospawn by client library, edit autospawn flag in /etc/pulse/client.conf like this:"
35 + elog ""
36 + elog " autospawn = yes"
37 + elog ""
38 elog "The change from autospawn to user units will take effect after restarting."
39 elog ""
40 fi