Date: Thu, 21 Dec 2017 21:41:45 +0800 From: blubee blubeeme <gurenchan@gmail.com> To: Sid <sid@bsdmail.com> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: Canberra Message-ID: <CALM2mEndL9dpyrhOr-Shk2%2Bd-uvY8nUhW9UaAWfbFHkYrqj3sw@mail.gmail.com> In-Reply-To: <trinity-19cdafb9-5fe9-4ab6-a8f7-b8fc711b5779-1513816638248@3c-app-mailcom-lxa12> 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> <trinity-19cdafb9-5fe9-4ab6-a8f7-b8fc711b5779-1513816638248@3c-app-mailcom-lxa12>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 21, 2017 at 8:37 AM, Sid <sid@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEndL9dpyrhOr-Shk2%2Bd-uvY8nUhW9UaAWfbFHkYrqj3sw>