Solved Compiling a package without pulseaudio

My "problem": I would like to get rid of pulseaudio, I don't use it and therefore I don't need it on my system. There's only one package on my installation that depends on it, it's x11/sfwbar and it needs it just to enable a volume plugin that I don't use.

So I updated my ports collection, entered the port directory, issued a make config, disabled the alsa and pulseaudio options, recompiled and installed. All went flawlessly but when I try to remove pulseaudio from my system it still wants me to get rid of sfwbar too.

So I'm definitely doing something wrong but what?
 
ok, not specific to BSD but I thought firefox dropped direct support for ALSA/OSS and 'requires' pulseaudio. I'd dump pulse in a second if I could but too much depends on it these days...that is is 'broken by design' doesn't help.
 
ok, not specific to BSD but I thought firefox dropped direct support for ALSA/OSS and 'requires' pulseaudio. I'd dump pulse in a second if I could but too much depends on it these days...that is is 'broken by design' doesn't help.
I use www/librewolf as my default browser without either audio/pulseaudio or multimedia/pipewire and it works perfectly with basic OSS without changing any single default parameter and www/librewolf is basically a www/firefox fork, so...

BTW, I used to run www/ungoogled-chromium before, same setup and same perfectly working browser.
 
Why does the sound work everywhere without a "pulse"?
# pkg query -e "%a=1" "%n" | grep pulse
# pkg prime-list | grep pulse
Don't you believe me?
Code:
[09:03][fmc000@tu45b-freebsd ~] $ pkg query -e "%a=1" "%n" | grep pulse
[10:03][fmc000@tu45b-freebsd ~] $ pkg prime-list | grep pulse
[10:03][fmc000@tu45b-freebsd ~] $
 
fmc000
One thing to note, if you have let us say a port which has pulse, pipewire, jack, etc, as a hard dependency, you can edit the Makefile accordingly, deleting these hard dependencies, and try to build without them.
 
# pkg info -l 'firefox*' | grep pulse
# pkg info -l firefox-esr | grep pulse
There is nothing. There is sound. Where to dig? Firefox from binary.
 
Back
Top