Bug 278831

Summary: multimedia/pipewire: Add AVAHI option to reduce PULSEAUDIO dependency on avahi-app
Product: Ports & Packages Reporter: Harald Schmalzbauer <bugzilla.freebsd>
Component: Individual Port(s)Assignee: Gleb Popov <arrowd>
Status: Closed FIXED    
Severity: Affects Some People Flags: arrowd: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add AVAHI option for PULSEAUDIO none

Description Harald Schmalzbauer 2024-05-07 09:45:17 UTC
Created attachment 250506 [details]
Add AVAHI option for PULSEAUDIO

I actually know nothing about pipewire, but it's a dependency for some must-have desktop applications.
I prefer not to have unused applications installed - especially network related.
But I do use pulseaudio - not because preferred over jack, which I know nothing about too, but because it's the best overlapping option for my xfce-based desktop environment.
With this option, I can reduce the avahi-app dependency, otherwise ungoogled-chromium (depending on pipiewire) would install this completely unused application.

The attached patch also changes defaults: PULSEAUDIO (_without_ module-pulse-zeroconf) instead of JACK - this might be not generally beneficial... In my case it is, but whoever decided JACK is the one to use by default should decide if this is still the best choice.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-05-09 18:48:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=abbf0b8912aa8eccf12778400eefcf44358c7043

commit abbf0b8912aa8eccf12778400eefcf44358c7043
Author:     Harald Schmalzbauer <bugzilla.freebsd@omnilan.de>
AuthorDate: 2024-05-09 18:46:39 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-05-09 18:47:13 +0000

    multimedia/pipewire: Decouple avahi dependency into its own option

    PR:             278831

 multimedia/pipewire/Makefile  | 20 ++++++++++++--------
 multimedia/pipewire/pkg-plist |  6 +++---
 2 files changed, 15 insertions(+), 11 deletions(-)
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2024-05-09 18:49:50 UTC
Pushed with few adjustments, thank you!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-05-09 19:14:06 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0585ea719fbfedb4ae4e14dcbb428313cb75a854

commit 0585ea719fbfedb4ae4e14dcbb428313cb75a854
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-05-09 19:13:02 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-05-09 19:13:43 +0000

    multimedia/pipewire: Default to JACK again

    Reported by:    mat

    PR:             278831

 multimedia/pipewire/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)