Removing hard dependencies on PulseAudio and splitting ports

grahamperrin

Daemon

Reaction score: 650
Messages: 2,092

which FreeBSD ports require it …

<https://www.freshports.org/audio/pulseaudio/#dependencies> ▶ … required by

Alternatively:

pkg rquery -r FreeBSD '%ro' pulseaudio | sort

Without a lock pkg would just re-install the package on next run because of the changed options.

Possibly, depending on how things are configured.

My comment about locking was more general, in response to the comment about desktop environments and browsers (not PulseAudio in particular).
 

malavon

Well-Known Member

Reaction score: 170
Messages: 265

Thanks for the list etc, but I worded it badly. I actually meant (leaf) ports that won't have sound when they're compiled without Pulseaudio support (if any that is). I remember testing OBS and I'm pretty sure that I didn't have any issues playing back sound.
 

Menelkir

Well-Known Member

Reaction score: 330
Messages: 268

I just realized that telegram-desktop now have pulseaudio as a build requirement, sigh.
 

Jose

Daemon

Reaction score: 965
Messages: 1,169

Definitely.


I'd be interested in an list. I know there are some but haven't met many of them.

Quoting FreshPorts:

... that's not that much.
And how many are optional? We know it should be optional for alsa-plugins, how many others? I have yet to run into absolutely having to have Pulseaudio. I did have to use apulse on Linux when I ran Steam on it.
 

astyle

Daemon

Reaction score: 457
Messages: 1,066

Just based on this thread, un-setting PulseAudio in make.conf can make sense for those who can be bothered. I don't care, it doesn't get in my way. :p
 

Vull

Aspiring Daemon

Reaction score: 432
Messages: 726

And how many are optional? We know it should be optional for alsa-plugins, how many others? I have yet to run into absolutely having to have Pulseaudio. I did have to use apulse on Linux when I ran Steam on it.
Since upgrading to the 3rd quarter's quarterly upgrades, I now have pulseaudio as a requirement for the speech-dispatcher pre-compiled binary package on my kde5 and plasma5-plasma systems. This wasn't true for the 2nd quarter's versions, and still isn't true for my Mate desktop system.
Code:
root@kde5:~ # pkg info -r pulseaudio
pulseaudio-14.2:
        alsa-plugins-1.2.2
        speech-dispatcher-0.10.2
This may yet inspire me to attempt building these two components from ports, and yes, mixing ports and packages, in my oh-so-precious free time, but I ain't quite there yet. I'm still able to keep it from running by setting autospawn = off in /usr/local/etc/pulse/client.conf and, in any case, I'm not really dependent on the plasma5 desktop environment-- I just happen to like playing around with it. Mate is enough to fullfil my requirements.
 

Tieks

Well-Known Member

Reaction score: 116
Messages: 281

Jose said:
And how many are optional?

Code:
# grep -R OPTIONS_DEFINE= /usr/ports/* | grep -i PULSEAUDIO | sed -E 's/\/Makefile.*//'
/usr/ports/accessibility/speech-dispatcher
/usr/ports/audio/libcanberra
/usr/ports/audio/drumstick
/usr/ports/audio/xmp
/usr/ports/audio/csound
/usr/ports/audio/openal-soft
/usr/ports/audio/lmms
/usr/ports/audio/ncspot
/usr/ports/audio/deadbeef
/usr/ports/audio/shairport-sync
/usr/ports/audio/noson-app
/usr/ports/audio/libmatemixer
/usr/ports/audio/fasttracker2
/usr/ports/audio/darkice
/usr/ports/audio/alsa-plugins
/usr/ports/audio/linux-c7-alsa-plugins-pulseaudio
/usr/ports/audio/pulseaudio
/usr/ports/audio/cava
/usr/ports/audio/forked-daapd
/usr/ports/audio/aqualung
/usr/ports/audio/mumble
/usr/ports/audio/gsequencer
/usr/ports/audio/lollypop
/usr/ports/audio/linux-c7-pulseaudio-libs
/usr/ports/audio/fluidsynth
/usr/ports/audio/libopenmpt
/usr/ports/audio/musescore
/usr/ports/audio/sonic-visualiser
/usr/ports/audio/libao
/usr/ports/audio/kmix
/usr/ports/audio/rtaudio
/usr/ports/audio/xfce4-pulseaudio-plugin
/usr/ports/audio/bambootracker
/usr/ports/audio/spotifyd
/usr/ports/comms/fldigi
/usr/ports/comms/multimon-ng
/usr/ports/devel/efl
/usr/ports/devel/allegro5
/usr/ports/devel/allegro-devel
/usr/ports/devel/ptlib
/usr/ports/emulators/fmsx
/usr/ports/emulators/citra
/usr/ports/emulators/rpcs3
/usr/ports/emulators/vice
/usr/ports/emulators/virtualbox-ose-legacy
/usr/ports/emulators/virtualbox-ose
/usr/ports/emulators/yuzu
/usr/ports/games/retroarch
/usr/ports/graphics/libprojectm
/usr/ports/multimedia/mythtv
/usr/ports/multimedia/wf-recorder
/usr/ports/multimedia/phonon
/usr/ports/multimedia/QtAV
/usr/ports/multimedia/gnome-mplayer
/usr/ports/multimedia/gmtk
/usr/ports/multimedia/avidemux
/usr/ports/multimedia/quodlibet
/usr/ports/multimedia/pipewire
/usr/ports/net/gtk-vnc
/usr/ports/sysutils/mate-settings-daemon
/usr/ports/x11/waybar
/usr/ports/x11/polybar
/usr/ports/x11/wf-shell
/usr/ports/x11/plasma5-plasma

This gives 64 ports where Pulseaudio is an option.
 
Top