Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 15:30:40 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Sid <sid@bsdmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Canberra
Message-ID:  <CALM2mEmcJPbGR93=8SkqOLZWVNmV9QY4ZAjkXRp4zepJ8F=fuw@mail.gmail.com>
In-Reply-To: <trinity-c56f90aa-5e22-497a-9574-d73cb24d73bd-1513668261752@3c-app-mailcom-lxa03>
References:  <trinity-c56f90aa-5e22-497a-9574-d73cb24d73bd-1513668261752@3c-app-mailcom-lxa03>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 19, 2017 at 3:24 PM, Sid <sid@bsdmail.com> wrote:

> > blubee blubeeme
> > I am porting py-canberra which isn't required but an
> > optional dependency for another port that I am working on.
>
> > I wonder should I leave it as is or make a dependency from this thing
> you're working on instead?
>
> > blubee blubeeme
> > py-canberra is just a python wrapper for libcanberra
>
> Perhaps audio/libcanberra should be a dependency of devel/pycanberra.
> audio/libcanberra-gtk3 looks like it has options and requests for
> unnecessary dependencies.
>
> > Sid
> > Canberra is an audio application for playing simple sounds like "DING!".
> > For playing sound, I am convinced that graphical dependencies for
> audio/libcanberra and audio/libcanberra-gtk3 aren't needed:
> x11-toolkits/gtk30, x11-toolkits/gtk20, accessibility/atk.
> > According to Freshports, both libcanberra and libcanberra-gtk3 refer to
> the file libcanberra-0.30.tar.xz of the same SHA256 and size.
> > The difference between these two is one pulls in gtk3 as well.
>
> libcanberra-gtk3 also has options for pulseaudio, and gstreamer.
>
> > Pango is for left to right text, perhaps for displaying audio
> information to the user.
> > Its description is its "code is platform- and toolkit-independent."
> > For it to display a simple banner or visual it shouldn't require heavy
> graphical dependencies.
> > Also, Pango should be made into an option for Canberra, so it can
> definitely be compiled without atk, gtk30 or gtk20.
> > Pango doesn't require these three graphical dependencies, so Canberra
> especially shouldn't.
>
> > The port audio/freedesktop-sound-theme just has sound files, and no
> libraries.
>
> pango and freedesktop-sound-themes should be options for libcanberra.
>
> I'm convinced that gtk30, gtk20, atk, pulseaudio, and gstreamer shouldn't
> be options or required in libcanberra or libcanberra-gtk3. (pango and atk
> are not in the Makefiles, but Freshports shows them.)
> libcanberra-gtk3 should be merged back into libcanberra. I've only tested
> removing all of these options for one port that asked for both canberra
> libraries, and it compiled and played sound.
>
>
> Thank you.
>
That's good to know and I should most likely be able to implement the same
in py-canberra or leave it off all together.
It's mostly used for python bindings into the gnome DE which might not be
running, definitely not running in my use case.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEmcJPbGR93=8SkqOLZWVNmV9QY4ZAjkXRp4zepJ8F=fuw>