Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2017 01:37:18 +0100
From:      Sid <sid@bsdmail.com>
To:        "blubee blubeeme" <gurenchan@gmail.com>
Cc:        "FreeBSD Ports" <freebsd-ports@freebsd.org>
Subject:   Re: Canberra
Message-ID:  <trinity-19cdafb9-5fe9-4ab6-a8f7-b8fc711b5779-1513816638248@3c-app-mailcom-lxa12>
In-Reply-To: <CALM2mEnoY7ckajow7ydcBj6OTsauqyxRPxzCOc3wHwkx_QohZg@mail.gmail.com>
References:  <trinity-6848ca10-405f-41ae-a91f-7024aacfaf00-1513753440748@3c-app-mailcom-lxa08> <CALM2mEmfSot7UPPT=VyBKieAoM_1TAcOeRR9%2BZwN%2BQ_2C3cUEw@mail.gmail.com> <trinity-31e68301-3574-4114-83c1-d05b06d4ad56-1513762058927@3c-app-mailcom-lxa14> <CALM2mEnoY7ckajow7ydcBj6OTsauqyxRPxzCOc3wHwkx_QohZg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-19cdafb9-5fe9-4ab6-a8f7-b8fc711b5779-1513816638248>