Canberra

blubee blubeeme gurenchan at gmail.com
Thu Dec 21 13:41:47 UTC 2017


On Thu, Dec 21, 2017 at 8:37 AM, Sid <sid at bsdmail.com> wrote:

> > Blubee blubeeme
> > I'll work on it but let me get the port in the tree first, then I can
> refine it.
> > Just as i've done with my previous ports.
>
> > Sid
> > a simple program that plays simple sounds like "Ding!"
> > The problem with libcanberra is around pulseaudio and gstreamer. It is
> also with how gtk, a Visual Graphical toolkit, is mixed in with an Audio
> application.
>
> I was inspecting libcanberra and libcanberra-gtk3.
>
> audio/libcanberra-gtk3 takes care of canberra plugins for pulseaudio and
> gstreamer. It also takes care of two gtk3 library files, one of which is a
> module. Ports that really need gtk3 are tangled mostly upstream, and
> require --enable-gtk3. Others ports require libcanberra-gtk3 for either
> gtk3, pulseaudio or gstreamer. Some ports have audio/libcanberra-gtk3 as a
> dependency, but don't need it.
>
> audio/libcanberra itself is not so bad. audio/libcanberra also works
> without gtk20 in the test Makefile, which shouldn't be needed at all. So,
> plain libcanberra without libcanberra-gtk3 is not complicated, because it
> doesn't involve gtk3, pulseaudio, and gstreamer; it has gtk2 as a
> dependency, which it doesn't need.
>
>
> Sooner or later, a drop in replacement for libcanberra needs to be made
> for all BSD's. It should use ogg files from audio/freedesktop-sound-theme.
> Perhaps it can include simple pipe to play ogg and other audio files as
> well. After investigating, libcanberra is suitable for the short term, and
> anything that fails without libcanberra-gtk3 is an issue with the upstream
> ports themselves.
>
I'll look at the libcanberra OSS backend and see if I get get the changes
upstream then the libcanberra maintainer can update the port.


More information about the freebsd-ports mailing list