From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1323777-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A8F9158012 for <garchives@archives.gentoo.org>; Thu, 23 Sep 2021 23:04:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C68FFE08C4; Thu, 23 Sep 2021 23:04:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AA3A1E08C4 for <gentoo-commits@lists.gentoo.org>; Thu, 23 Sep 2021 23:04:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5C30342CD8 for <gentoo-commits@lists.gentoo.org>; Thu, 23 Sep 2021 23:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 289E0D0 for <gentoo-commits@lists.gentoo.org>; Thu, 23 Sep 2021 23:04:50 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1632438142.ff521b5b8ddc11fe0fe516cf3764f1b93592ad2f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/pipewire/pipewire-9999.ebuild X-VCS-Directories: media-video/pipewire/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ff521b5b8ddc11fe0fe516cf3764f1b93592ad2f X-VCS-Branch: master Date: Thu, 23 Sep 2021 23:04:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0ae6755c-65da-4a1d-a850-53f3f9b8d294 X-Archives-Hash: 217f2c0a358e9eaa7539f126dee47dc9 Message-ID: <20210923230450.Vi3L9pX6e9Qc2Ponou1urypr3LN393qZLbH1tKOhgfs@z> commit: ff521b5b8ddc11fe0fe516cf3764f1b93592ad2f Author: Niklāvs Koļesņikovs <89q1r14hd <AT> relay <DOT> firefox <DOT> com> AuthorDate: Thu Sep 23 22:10:26 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Sep 23 23:02:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff521b5b media-video/pipewire: instruct users to disable oFono Upstream has changed the logic to no longer automatically use oFono if it's found running. This is because other Linux distributions had it running by default but not properly configured, which would also break PipeWire's Bluetooth support. Unfortunately, this means that now a running oFono is at risk of conflicting with the native backend, which is the new default behavior. Since most use cases are expected to work with the native backend, the easiest solution is to advise users to disable oFono service, and that is what this PR does. Thanks-to: Jannik Glückert <jannik.glueckert <AT> gmail.com> (systemd inst.) Thanks-to: Sam James <sam <AT> gentoo.org> (OpenRC instructions) Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd <AT> relay.firefox.com> Closes: https://github.com/gentoo/gentoo/pull/22380 Signed-off-by: Sam James <sam <AT> gentoo.org> media-video/pipewire/pipewire-9999.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/media-video/pipewire/pipewire-9999.ebuild b/media-video/pipewire/pipewire-9999.ebuild index c601ceab253..7725dfa300f 100644 --- a/media-video/pipewire/pipewire-9999.ebuild +++ b/media-video/pipewire/pipewire-9999.ebuild @@ -5,7 +5,7 @@ EAPI="7" PYTHON_COMPAT=( python3_{8..10} ) -inherit meson-multilib optfeature python-any-r1 udev +inherit meson-multilib optfeature python-any-r1 systemd udev if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git" @@ -273,9 +273,13 @@ pkg_postinst() { optfeature_header "The following can be installed for optional runtime features:" optfeature "restricted realtime capabilities via D-Bus" sys-auth/rtkit - # Once hsphfpd lands in tree, both it and ofono will need to be checked for presence here! - if use bluetooth; then - optfeature "better BT headset support (daemon startup required)" net-misc/ofono - #optfeature "an oFono alternative (not packaged)" foo-bar/hsphfpd + 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" + else + ewarn "rc-update delete ofono" + fi + ewarn fi }