From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08948158086 for ; Wed, 17 Nov 2021 06:59:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26AB3E05C1; Wed, 17 Nov 2021 06:59:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5F21E05C1 for ; Wed, 17 Nov 2021 06:59:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 24792342C72 for ; Wed, 17 Nov 2021 06:59:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B89CD143 for ; Wed, 17 Nov 2021 06:59:17 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1637132346.30127522ee8b23f3bb8f8079cc39f875ef27213a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/pipewire/pipewire-0.3.40-r1.ebuild media-video/pipewire/pipewire-9999.ebuild X-VCS-Directories: media-video/pipewire/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 30127522ee8b23f3bb8f8079cc39f875ef27213a X-VCS-Branch: master Date: Wed, 17 Nov 2021 06:59:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b3c87cb3-1f6f-401f-a3ea-e276f8fa27e5 X-Archives-Hash: 6d9b05c9a5d59845e0c9dc7377812ae7 commit: 30127522ee8b23f3bb8f8079cc39f875ef27213a Author: Niklāvs Koļesņikovs <89q1r14hd relay firefox com> AuthorDate: Tue Nov 16 23:19:42 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Nov 17 06:59:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30127522 media-video/pipewire: update elog to use --force and not omit --now Using --now is a dangerous action when software versions are updated, unless the user is instructed to also restart the daemons. It's safer to reconfigure things for the next bootup but leave the current session as it is. Because of the annoying pipewire-session-manager.service alias which may exist if enable was done on certain previous PipeWire version(s), it's best to do WirePlumber enablement with --force flag to allow it to overwrite the alias symlink with a new one pointing to itself. Closes: https://bugs.gentoo.org/823104 Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd relay.firefox.com> Closes: https://github.com/gentoo/gentoo/pull/22977 Signed-off-by: Joonas Niilola gentoo.org> media-video/pipewire/pipewire-0.3.40-r1.ebuild | 20 ++++++++++++-------- media-video/pipewire/pipewire-9999.ebuild | 20 ++++++++++++-------- 2 files changed, 24 insertions(+), 16 deletions(-) diff --git a/media-video/pipewire/pipewire-0.3.40-r1.ebuild b/media-video/pipewire/pipewire-0.3.40-r1.ebuild index 60d1d5d9bcd1..93882727fc56 100644 --- a/media-video/pipewire/pipewire-0.3.40-r1.ebuild +++ b/media-video/pipewire/pipewire-0.3.40-r1.ebuild @@ -224,23 +224,26 @@ pkg_postinst() { fi if use systemd; then - elog "To use PipeWire for audio, the user units must be manually enabled" - elog "by running this command as each user you use for desktop activities:" + elog "When switching from PulseAudio, you may need to disable PulseAudio:" elog - elog " systemctl --user enable --now pipewire.socket pipewire-pulse.socket" + elog " systemctl --user disable pulseaudio.service pulseaudio.socket" elog - elog "When switching from PulseAudio, do not forget to disable PulseAudio likewise:" + elog "To use PipeWire, the user units must be manually enabled" + elog "by running this command as each user you use for desktop activities:" elog - elog " systemctl --user disable --now pulseaudio.service pulseaudio.socket" + elog " systemctl --user enable pipewire.socket pipewire-pulse.socket" elog elog "A reboot is recommended to avoid interferences from still running" elog "PulseAudio daemon." elog - elog "Both, new users and those upgrading, need to enable WirePlumber" + elog "Both new users and those upgrading need to enable WirePlumber" elog "for relevant users:" elog - elog " systemctl --user enable --now wireplumber.service" + elog " systemctl --user disable pipewire-media-session.service" + elog " systemctl --user --force enable wireplumber.service" elog + elog "Root user may replace --user with --global to change system default" + elog "configuration for all of the above commands." else ewarn "PipeWire daemon startup has been moved to a launcher script!" ewarn "Make sure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist or no" @@ -273,6 +276,7 @@ pkg_postinst() { elog "its config, please start by copying default config from ${EROOT}/usr/share/pipewire" elog "and just override the sections you want to change." fi + elog elog "For latest tips and tricks, troubleshooting information and documentation" elog "in general, please refer to https://wiki.gentoo.org/wiki/PipeWire" @@ -284,7 +288,7 @@ pkg_postinst() { if has_version 'net-misc/ofono' ; then ewarn "Native backend has become default. Please disable oFono via:" if systemd_is_booted ; then - ewarn "systemctl disable --now ofono" + ewarn "systemctl disable ofono" else ewarn "rc-update delete ofono" fi diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild index 60d1d5d9bcd1..93882727fc56 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-9999.ebuild @@ -224,23 +224,26 @@ pkg_postinst() { fi if use systemd; then - elog "To use PipeWire for audio, the user units must be manually enabled" - elog "by running this command as each user you use for desktop activities:" + elog "When switching from PulseAudio, you may need to disable PulseAudio:" elog - elog " systemctl --user enable --now pipewire.socket pipewire-pulse.socket" + elog " systemctl --user disable pulseaudio.service pulseaudio.socket" elog - elog "When switching from PulseAudio, do not forget to disable PulseAudio likewise:" + elog "To use PipeWire, the user units must be manually enabled" + elog "by running this command as each user you use for desktop activities:" elog - elog " systemctl --user disable --now pulseaudio.service pulseaudio.socket" + elog " systemctl --user enable pipewire.socket pipewire-pulse.socket" elog elog "A reboot is recommended to avoid interferences from still running" elog "PulseAudio daemon." elog - elog "Both, new users and those upgrading, need to enable WirePlumber" + elog "Both new users and those upgrading need to enable WirePlumber" elog "for relevant users:" elog - elog " systemctl --user enable --now wireplumber.service" + elog " systemctl --user disable pipewire-media-session.service" + elog " systemctl --user --force enable wireplumber.service" elog + elog "Root user may replace --user with --global to change system default" + elog "configuration for all of the above commands." else ewarn "PipeWire daemon startup has been moved to a launcher script!" ewarn "Make sure that ${EROOT}/etc/pipewire/pipewire.conf either does not exist or no" @@ -273,6 +276,7 @@ pkg_postinst() { elog "its config, please start by copying default config from ${EROOT}/usr/share/pipewire" elog "and just override the sections you want to change." fi + elog elog "For latest tips and tricks, troubleshooting information and documentation" elog "in general, please refer to https://wiki.gentoo.org/wiki/PipeWire" @@ -284,7 +288,7 @@ pkg_postinst() { if has_version 'net-misc/ofono' ; then ewarn "Native backend has become default. Please disable oFono via:" if systemd_is_booted ; then - ewarn "systemctl disable --now ofono" + ewarn "systemctl disable ofono" else ewarn "rc-update delete ofono" fi