public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Make "sound" a global USE flag?
@ 2011-02-07  7:36 Ulrich Mueller
  2011-02-07  9:53 ` Gilles Dartiguelongue
  2011-02-07 13:15 ` Samuli Suominen
  0 siblings, 2 replies; 14+ messages in thread
From: Ulrich Mueller @ 2011-02-07  7:36 UTC (permalink / raw
  To: gentoo-dev

It's used by several packages as a local flag, and its meaning seems
to be similar enough.

app-editors/emacs:sound - Enable sound
app-editors/emacs-vcs:sound - Enable sound
app-misc/anki:sound -  Enable support for adding sound to cards 
games-arcade/tuxanci:sound - Enable sound
games-board/pysolfc:sound - Enable sound support usingdev-python/pygame
games-roguelike/angband:sound - Enable and install sounds
games-rpg/eternal-lands-data:sound - Adds in-game sound effects.
games-strategy/freeciv:sound - Add support for sound provided by media-libs/sdl-mixer
gnome-extra/gnome-games:sound - Enable sound using media-libs/libcanberra
media-libs/libcanberra:sound - Install x11-themes/sound-theme-freedesktop to get sounds on Gnome and Xfce.
net-irc/xchat-gnome:sound - Enable sound event support with media-libs/libcanberra
net-p2p/transmission:sound - Enable sound event support with media-libs/libcanberra
xfce-base/xfce4-settings:sound - Enable sound event support with media-libs/libcanberra



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07  7:36 [gentoo-dev] Make "sound" a global USE flag? Ulrich Mueller
@ 2011-02-07  9:53 ` Gilles Dartiguelongue
  2011-02-23 15:34   ` Nirbheek Chauhan
  2011-02-07 13:15 ` Samuli Suominen
  1 sibling, 1 reply; 14+ messages in thread
From: Gilles Dartiguelongue @ 2011-02-07  9:53 UTC (permalink / raw
  To: gentoo-dev

Le lundi 07 février 2011 à 08:36 +0100, Ulrich Mueller a écrit :
> It's used by several packages as a local flag, and its meaning seems
> to be similar enough.
> 
> app-editors/emacs:sound - Enable sound
> app-editors/emacs-vcs:sound - Enable sound
> app-misc/anki:sound -  Enable support for adding sound to cards 
> games-arcade/tuxanci:sound - Enable sound
> games-board/pysolfc:sound - Enable sound support usingdev-python/pygame
> games-roguelike/angband:sound - Enable and install sounds
> games-rpg/eternal-lands-data:sound - Adds in-game sound effects.
> games-strategy/freeciv:sound - Add support for sound provided by media-libs/sdl-mixer
> gnome-extra/gnome-games:sound - Enable sound using media-libs/libcanberra
> media-libs/libcanberra:sound - Install x11-themes/sound-theme-freedesktop to get sounds on Gnome and Xfce.
> net-irc/xchat-gnome:sound - Enable sound event support with media-libs/libcanberra
> net-p2p/transmission:sound - Enable sound event support with media-libs/libcanberra
> xfce-base/xfce4-settings:sound - Enable sound event support with media-libs/libcanberra
> 

any gnome packages listed here is a bug if the only pulled dependency is
libcanberra. The herd has a policy to always depend on libcanberra. It
is a lightweight library that can be build with no sound output for
those who don't like it and it saves needless USE flags.

-- 
Gilles Dartiguelongue <eva@gentoo.org>
Gentoo




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07  7:36 [gentoo-dev] Make "sound" a global USE flag? Ulrich Mueller
  2011-02-07  9:53 ` Gilles Dartiguelongue
@ 2011-02-07 13:15 ` Samuli Suominen
  2011-02-07 17:55   ` Petteri Räty
  2011-02-12  9:10   ` Ulrich Mueller
  1 sibling, 2 replies; 14+ messages in thread
From: Samuli Suominen @ 2011-02-07 13:15 UTC (permalink / raw
  To: gentoo-dev

On 02/07/2011 09:36 AM, Ulrich Mueller wrote:
> It's used by several packages as a local flag, and its meaning seems
> to be similar enough.
> 
> app-editors/emacs:sound - Enable sound
> app-editors/emacs-vcs:sound - Enable sound
> app-misc/anki:sound -  Enable support for adding sound to cards 
> games-arcade/tuxanci:sound - Enable sound
> games-board/pysolfc:sound - Enable sound support usingdev-python/pygame
> games-roguelike/angband:sound - Enable and install sounds
> games-rpg/eternal-lands-data:sound - Adds in-game sound effects.
> games-strategy/freeciv:sound - Add support for sound provided by media-libs/sdl-mixer
> gnome-extra/gnome-games:sound - Enable sound using media-libs/libcanberra
> media-libs/libcanberra:sound - Install x11-themes/sound-theme-freedesktop to get sounds on Gnome and Xfce.
> net-irc/xchat-gnome:sound - Enable sound event support with media-libs/libcanberra
> net-p2p/transmission:sound - Enable sound event support with media-libs/libcanberra
> xfce-base/xfce4-settings:sound - Enable sound event support with media-libs/libcanberra
> 


+1 with exception that those using USE=sound for libcanberra should be
split into it's own USE flag called USE=libcanberra
and USE=sound should be kept for the generic ones

I just added USE=sound to xfce4-settings only because other ebuilds
(gnome ones) already did, wanted to use USE=libcanberra ...



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07 13:15 ` Samuli Suominen
@ 2011-02-07 17:55   ` Petteri Räty
  2011-02-07 18:08     ` Samuli Suominen
  2011-02-12  9:10   ` Ulrich Mueller
  1 sibling, 1 reply; 14+ messages in thread
From: Petteri Räty @ 2011-02-07 17:55 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

On 02/07/2011 03:15 PM, Samuli Suominen wrote:

> 
> 
> +1 with exception that those using USE=sound for libcanberra should be
> split into it's own USE flag called USE=libcanberra
> and USE=sound should be kept for the generic ones
> 

libcanberra describes the means and not the results so we should try to
come up with something else.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07 17:55   ` Petteri Räty
@ 2011-02-07 18:08     ` Samuli Suominen
  2011-02-07 19:48       ` Petteri Räty
  0 siblings, 1 reply; 14+ messages in thread
From: Samuli Suominen @ 2011-02-07 18:08 UTC (permalink / raw
  To: gentoo-dev

On 02/07/2011 07:55 PM, Petteri Räty wrote:
> On 02/07/2011 03:15 PM, Samuli Suominen wrote:
> 
>>
>>
>> +1 with exception that those using USE=sound for libcanberra should be
>> split into it's own USE flag called USE=libcanberra
>> and USE=sound should be kept for the generic ones
>>
> 
> libcanberra describes the means and not the results so we should try to
> come up with something else.
> 
> Regards,
> Petteri
> 

The "means" are commonly used as USE flag names with "result" in USE
flag description.  Think of "gstreamer", or "xine" for example.

But I'm open to suggestions...

Unlike GNOME we have no plans in making libcanberra mandatory for
xfce4-settings as it pulls in too much bloat (like gconfd which Xfce
doesn't use).



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07 18:08     ` Samuli Suominen
@ 2011-02-07 19:48       ` Petteri Räty
  2011-02-25  7:56         ` Arun Raghavan
  0 siblings, 1 reply; 14+ messages in thread
From: Petteri Räty @ 2011-02-07 19:48 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 945 bytes --]

On 02/07/2011 08:08 PM, Samuli Suominen wrote:
> On 02/07/2011 07:55 PM, Petteri Räty wrote:
>> On 02/07/2011 03:15 PM, Samuli Suominen wrote:
>>
>>>
>>>
>>> +1 with exception that those using USE=sound for libcanberra should be
>>> split into it's own USE flag called USE=libcanberra
>>> and USE=sound should be kept for the generic ones
>>>
>>
>> libcanberra describes the means and not the results so we should try to
>> come up with something else.
>>
>> Regards,
>> Petteri
>>
> 
> The "means" are commonly used as USE flag names with "result" in USE
> flag description.  Think of "gstreamer", or "xine" for example.
> 
> But I'm open to suggestions...
> 

How about event-sounds?

"libcanberra is an implementation of the XDG Sound Theme and Name
Specifications, for generating event sounds on free desktops, such as
GNOME."

http://0pointer.de/lennart/projects/libcanberra/#overview

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 900 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07 13:15 ` Samuli Suominen
  2011-02-07 17:55   ` Petteri Räty
@ 2011-02-12  9:10   ` Ulrich Mueller
  2011-02-22 17:10     ` Ulrich Mueller
  1 sibling, 1 reply; 14+ messages in thread
From: Ulrich Mueller @ 2011-02-12  9:10 UTC (permalink / raw
  To: gentoo-dev

>>>>> On Mon, 07 Feb 2011, Samuli Suominen wrote:

> +1 with exception that those using USE=sound for libcanberra should
> be split into it's own USE flag called USE=libcanberra

That would be the following packages, as far as I can see:

   gnome-extra/gnome-games:sound - Enable sound using media-libs/libcanberra
   net-irc/xchat-gnome:sound - Enable sound event support with media-libs/libcanberra
   net-p2p/transmission:sound - Enable sound event support with media-libs/libcanberra
   xfce-base/xfce4-settings:sound - Enable sound event support with media-libs/libcanberra

I've opened bug 354585 for them.

Ulrich



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-12  9:10   ` Ulrich Mueller
@ 2011-02-22 17:10     ` Ulrich Mueller
  2011-02-22 17:18       ` Rich Freeman
  0 siblings, 1 reply; 14+ messages in thread
From: Ulrich Mueller @ 2011-02-22 17:10 UTC (permalink / raw
  To: gentoo-dev

Coming back to this. It has been suggested by ssuominen that the
"audio" flag should be united with "sound". It's used by the following
packages:

   games-rpg/drascula:audio - Install optional audio files
   media-libs/libsdl:audio - Control audio support (disable at your own risk)
   net-libs/opal:audio - Enable audio support
   net-libs/ptlib:audio - Enable audio support

Not sure if sound or audio is the better name.

There's also a "sounds" local flag which generally means "install
optional sound data". Maybe games-rpg/drascula should use this one
instead?

Ulrich



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-22 17:10     ` Ulrich Mueller
@ 2011-02-22 17:18       ` Rich Freeman
  2011-02-23  6:56         ` Ulrich Mueller
  0 siblings, 1 reply; 14+ messages in thread
From: Rich Freeman @ 2011-02-22 17:18 UTC (permalink / raw
  To: gentoo-dev; +Cc: Ulrich Mueller

On Tue, Feb 22, 2011 at 12:10 PM, Ulrich Mueller <ulm@gentoo.org> wrote:
> There's also a "sounds" local flag which generally means "install
> optional sound data". Maybe games-rpg/drascula should use this one
> instead?

I can vouch that eternal-lands-data uses the sound use flag in the
same way - the only difference it makes is whether it fetches and
installs a bunch of files.

Do we really need two different use flags for code-based sound support
vs file-based sound inclusion?



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-22 17:18       ` Rich Freeman
@ 2011-02-23  6:56         ` Ulrich Mueller
  2011-03-06 15:31           ` Ulrich Mueller
  0 siblings, 1 reply; 14+ messages in thread
From: Ulrich Mueller @ 2011-02-23  6:56 UTC (permalink / raw
  To: Rich Freeman; +Cc: gentoo-dev

>>>>> On Tue, 22 Feb 2011, Rich Freeman wrote:

>> There's also a "sounds" local flag which generally means "install
>> optional sound data". Maybe games-rpg/drascula should use this one
>> instead?

> I can vouch that eternal-lands-data uses the sound use flag in the
> same way - the only difference it makes is whether it fetches and
> installs a bunch of files.

> Do we really need two different use flags for code-based sound
> support vs file-based sound inclusion?

Maybe it's similar enough. So, unify both "audio" and "sounds" with
the global "sound" flag?

Ulrich



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07  9:53 ` Gilles Dartiguelongue
@ 2011-02-23 15:34   ` Nirbheek Chauhan
  2011-02-23 16:28     ` Gilles Dartiguelongue
  0 siblings, 1 reply; 14+ messages in thread
From: Nirbheek Chauhan @ 2011-02-23 15:34 UTC (permalink / raw
  To: gentoo-dev

On Mon, Feb 7, 2011 at 3:23 PM, Gilles Dartiguelongue <eva@gentoo.org> wrote:
> Le lundi 07 février 2011 à 08:36 +0100, Ulrich Mueller a écrit :
>> It's used by several packages as a local flag, and its meaning seems
>> to be similar enough.
>>
[snip]
>> gnome-extra/gnome-games:sound - Enable sound using media-libs/libcanberra
[snip]
>
> any gnome packages listed here is a bug if the only pulled dependency is
> libcanberra. The herd has a policy to always depend on libcanberra. It
> is a lightweight library that can be build with no sound output for
> those who don't like it and it saves needless USE flags.
>

Just another datapoint: the GNOME 3 version of gnome-games won't have
USE=sound anymore, I've made it a hard-dependency since almost all the
games use it now.

-- 
~Nirbheek Chauhan

Gentoo GNOME+Mozilla Team



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-23 15:34   ` Nirbheek Chauhan
@ 2011-02-23 16:28     ` Gilles Dartiguelongue
  0 siblings, 0 replies; 14+ messages in thread
From: Gilles Dartiguelongue @ 2011-02-23 16:28 UTC (permalink / raw
  To: gentoo-dev

Le mercredi 23 février 2011 à 21:04 +0530, Nirbheek Chauhan a écrit :
> 
> 
> Just another datapoint: the GNOME 3 version of gnome-games won't have
> USE=sound anymore, I've made it a hard-dependency since almost all the
> games use it now. 

It's ok, I already dropped it in gentoo-x86 ebuilds :)
-- 
Gilles Dartiguelongue <eva@gentoo.org>
Gentoo




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-07 19:48       ` Petteri Räty
@ 2011-02-25  7:56         ` Arun Raghavan
  0 siblings, 0 replies; 14+ messages in thread
From: Arun Raghavan @ 2011-02-25  7:56 UTC (permalink / raw
  To: gentoo-dev

On 8 February 2011 01:18, Petteri Räty <betelgeuse@gentoo.org> wrote:
> On 02/07/2011 08:08 PM, Samuli Suominen wrote:
[...]
>> The "means" are commonly used as USE flag names with "result" in USE
>> flag description.  Think of "gstreamer", or "xine" for example.

Both of these are reasonably well-known, libcanberra is not. Moreover,
when these are available, they might represent a choice of backends,
with maintainers ideally picking one that is preferable, leaving the
picking an alternative choice to users.

>> But I'm open to suggestions...
>>
>
> How about event-sounds?
>
> "libcanberra is an implementation of the XDG Sound Theme and Name
> Specifications, for generating event sounds on free desktops, such as
> GNOME."
>
> http://0pointer.de/lennart/projects/libcanberra/#overview

This sounds reasonable. Did I miss some conversation somewhere,
because it appears that "libcanberra" got finalised [1] on (even
though I believe it's a horribly unintuitive name to foist on users).

[1] https://bugs.gentoo.org/show_bug.cgi?id=354585

Cheers,
-- 
Arun Raghavan
http://arunraghavan.net/
(Ford_Prefect | Gentoo) & (arunsr | GNOME)



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] Make "sound" a global USE flag?
  2011-02-23  6:56         ` Ulrich Mueller
@ 2011-03-06 15:31           ` Ulrich Mueller
  0 siblings, 0 replies; 14+ messages in thread
From: Ulrich Mueller @ 2011-03-06 15:31 UTC (permalink / raw
  To: gentoo-dev; +Cc: Rich Freeman

>>>>> On Wed, 23 Feb 2011, Ulrich Mueller wrote:
>>>>> On Tue, 22 Feb 2011, Rich Freeman wrote:
>> Do we really need two different use flags for code-based sound
>> support vs file-based sound inclusion?

> Maybe it's similar enough. So, unify both "audio" and "sounds" with
> the global "sound" flag?

Bug 357661 now.

Ulrich



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-06 15:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-07  7:36 [gentoo-dev] Make "sound" a global USE flag? Ulrich Mueller
2011-02-07  9:53 ` Gilles Dartiguelongue
2011-02-23 15:34   ` Nirbheek Chauhan
2011-02-23 16:28     ` Gilles Dartiguelongue
2011-02-07 13:15 ` Samuli Suominen
2011-02-07 17:55   ` Petteri Räty
2011-02-07 18:08     ` Samuli Suominen
2011-02-07 19:48       ` Petteri Räty
2011-02-25  7:56         ` Arun Raghavan
2011-02-12  9:10   ` Ulrich Mueller
2011-02-22 17:10     ` Ulrich Mueller
2011-02-22 17:18       ` Rich Freeman
2011-02-23  6:56         ` Ulrich Mueller
2011-03-06 15:31           ` Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox