public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New global USE flag: modplug
@ 2007-11-01 21:32 Samuli Suominen
  2007-11-01 23:18 ` Drake Wyrm
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Samuli Suominen @ 2007-11-01 21:32 UTC (permalink / raw
  To: gentoo-dev

I'd like to add USE modplug to use.desc. I'll do it tomorrow,
unless someone objects.

-- snip --

local use flags (searching: modplug)
************************************************************
[-    ] modplug (gnustep-apps/cynthiune):
Build with modplug support

[-    ] modplug (media-libs/xine-lib):
Build with modplug support

[-    ] modplug (media-plugins/audacious-plugins):
Build with modplug support

[-    ] modplug (media-sound/audacious):
Build with modplug support

[-    ] modplug (media-sound/bmpx):
Build with modplug support

[-    ] modplug (media-sound/cmus):
Build with modplug support

[-    ] modplug (media-sound/herrie):
Build with modplug support

[-    ] modplug (media-sound/moc):
Add support for modplug

-- snip --
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-01 21:32 [gentoo-dev] New global USE flag: modplug Samuli Suominen
@ 2007-11-01 23:18 ` Drake Wyrm
  2007-11-02 12:08   ` [gentoo-dev] " Duncan
  2007-11-02  5:11 ` [gentoo-dev] " Josh Saddler
  2007-11-02 12:28 ` Jeroen Roovers
  2 siblings, 1 reply; 10+ messages in thread
From: Drake Wyrm @ 2007-11-01 23:18 UTC (permalink / raw
  To: gentoo-dev

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

Samuli Suominen <drac@gentoo.org> wrote:
> I'd like to add USE modplug to use.desc. I'll do it tomorrow,
> unless someone objects.
> 
-- snip packages --

Do those packages use the modplug flag to enable libmodplug support in
lieu of (or in addition to) some other means of playing MOD files, or does
the use flag enable/disable reading of MOD files entirely? If the latter
is the case, maybe just "mod" might be a better flag.

-- 
Each night Father fills me with dread
When he sits on the foot of my bed.
        I'd not mind that he speaks; In gibbers and squeaks,
But for the seventeen years he's been dead.  --  Edward Gorey

[-- Attachment #2: Type: application/pgp-signature, Size: 206 bytes --]

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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-01 21:32 [gentoo-dev] New global USE flag: modplug Samuli Suominen
  2007-11-01 23:18 ` Drake Wyrm
@ 2007-11-02  5:11 ` Josh Saddler
  2007-11-02 12:28 ` Jeroen Roovers
  2 siblings, 0 replies; 10+ messages in thread
From: Josh Saddler @ 2007-11-02  5:11 UTC (permalink / raw
  To: gentoo-dev

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

Samuli Suominen wrote:
> I'd like to add USE modplug to use.desc. I'll do it tomorrow,
> unless someone objects.
> 
> -- snip --
> 
> local use flags (searching: modplug)
> ************************************************************
> [-    ] modplug (gnustep-apps/cynthiune):
> Build with modplug support
> 
> [-    ] modplug (media-libs/xine-lib):
> Build with modplug support
> 
> [-    ] modplug (media-plugins/audacious-plugins):
> Build with modplug support
> 
> [-    ] modplug (media-sound/audacious):
> Build with modplug support
> 
> [-    ] modplug (media-sound/bmpx):
> Build with modplug support
> 
> [-    ] modplug (media-sound/cmus):
> Build with modplug support
> 
> [-    ] modplug (media-sound/herrie):
> Build with modplug support
> 
> [-    ] modplug (media-sound/moc):
> Add support for modplug
> 
> -- snip --

spooky; i was just looking at this particular USE flag today when i
recompiled audacious to get support for the .MODs i'm starting to
compose. i like the idea of modplug as a global flag. :)


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

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

* [gentoo-dev]  Re: New global USE flag: modplug
  2007-11-01 23:18 ` Drake Wyrm
@ 2007-11-02 12:08   ` Duncan
  0 siblings, 0 replies; 10+ messages in thread
From: Duncan @ 2007-11-02 12:08 UTC (permalink / raw
  To: gentoo-dev

Drake Wyrm <wyrm@haell.com> posted
20071101231812.GA24142@phaenix.haell.com, excerpted below, on  Thu, 01 Nov
2007 16:18:12 -0700:

> Samuli Suominen <drac@gentoo.org> wrote:
>> I'd like to add USE modplug to use.desc. I'll do it tomorrow, unless
>> someone objects.
>> 
> -- snip packages --
> 
> Do those packages use the modplug flag to enable libmodplug support in
> lieu of (or in addition to) some other means of playing MOD files, or
> does the use flag enable/disable reading of MOD files entirely? If the
> latter is the case, maybe just "mod" might be a better flag.

++

If the flag enables mod support, it should be "mod" with the description 
saying that it enables mod support, the "how" of it probably doesn't 
particularly matter to the user reading about it.  If there's support for 
mod other than modplug, then "modplug" it should remain, and the 
description should mention that.  (See the recent discussion over 
USE=lame, vs. simply mp3, also a USE flag.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-01 21:32 [gentoo-dev] New global USE flag: modplug Samuli Suominen
  2007-11-01 23:18 ` Drake Wyrm
  2007-11-02  5:11 ` [gentoo-dev] " Josh Saddler
@ 2007-11-02 12:28 ` Jeroen Roovers
  2007-11-02 12:40   ` Marijn Schouten (hkBst)
                     ` (2 more replies)
  2 siblings, 3 replies; 10+ messages in thread
From: Jeroen Roovers @ 2007-11-02 12:28 UTC (permalink / raw
  To: gentoo-dev

On Thu, 1 Nov 2007 23:32:34 +0200
Samuli Suominen <drac@gentoo.org> wrote:

> I'd like to add USE modplug to use.desc. I'll do it tomorrow,
> unless someone objects.

Remember that tomorrow is always too soon in projects like Gentoo. :)

$ euses -s mod fmod modplug
media-video/vlc:mod - Enables Mod demux support.
games-strategy/dark-oberon:fmod - Add sound support (fmod)
media-libs/panda3d:fmod - Enables support for using mod files for audio
support gnustep-apps/cynthiune:modplug - Build with modplug support
media-libs/xine-lib:modplug - Build with modplug support
media-plugins/audacious-plugins:modplug - Build with modplug support
media-sound/audacious:modplug - Build with modplug support
media-sound/bmpx:modplug - Build with modplug support
media-sound/cmus:modplug - Build with modplug support
media-sound/herrie:modplug - Build with modplug support
media-sound/moc:modplug - Add support for modplug

That's three USE flags describing the same support for (playing) mod
files, but ebuilds depend on either media-libs/{fmod,libmodplug} and
the former has its own USE flag.

media-video/vlc has a libmodplug dependency and should probably be
changed to use IUSE=modplug instead of IUSE=mod, if USE=modplug goes
global.


Kind regards,
     KeR
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-02 12:28 ` Jeroen Roovers
@ 2007-11-02 12:40   ` Marijn Schouten (hkBst)
  2007-11-02 13:01     ` Jeroen Roovers
  2007-11-02 12:42   ` Marijn Schouten (hkBst)
  2007-11-02 13:59   ` Samuli Suominen
  2 siblings, 1 reply; 10+ messages in thread
From: Marijn Schouten (hkBst) @ 2007-11-02 12:40 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeroen Roovers wrote:
> On Thu, 1 Nov 2007 23:32:34 +0200
> Samuli Suominen <drac@gentoo.org> wrote:
> 
>> I'd like to add USE modplug to use.desc. I'll do it tomorrow,
>> unless someone objects.
> 
> Remember that tomorrow is always too soon in projects like Gentoo. :)
> 
> $ euses -s mod fmod modplug
> media-video/vlc:mod - Enables Mod demux support.
> games-strategy/dark-oberon:fmod - Add sound support (fmod)
> media-libs/panda3d:fmod - Enables support for using mod files for audio
> support gnustep-apps/cynthiune:modplug - Build with modplug support
> media-libs/xine-lib:modplug - Build with modplug support
> media-plugins/audacious-plugins:modplug - Build with modplug support
> media-sound/audacious:modplug - Build with modplug support
> media-sound/bmpx:modplug - Build with modplug support
> media-sound/cmus:modplug - Build with modplug support
> media-sound/herrie:modplug - Build with modplug support
> media-sound/moc:modplug - Add support for modplug
> 
> That's three USE flags describing the same support for (playing) mod
> files, but ebuilds depend on either media-libs/{fmod,libmodplug} and
> the former has its own USE flag.
> 
> media-video/vlc has a libmodplug dependency and should probably be
> changed to use IUSE=modplug instead of IUSE=mod, if USE=modplug goes
> global.

Another prime example for use flags with more than two values:

mod=off
mod=fmod
mod=libmodplug

the first for disabling mod support, the second for enabling it and preferring
fmod implementation, the third for enabling it and preferring libmodplug
implementation.

Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKxrHp/VmCx0OL2wRApqiAJ9gDyyqH4JdJu4p8MzmcWOGuBVzHwCfXR1/
WHIaIUtpJqfM0SW+GMdEl9A=
=fQgi
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-02 12:28 ` Jeroen Roovers
  2007-11-02 12:40   ` Marijn Schouten (hkBst)
@ 2007-11-02 12:42   ` Marijn Schouten (hkBst)
  2007-11-02 13:59   ` Samuli Suominen
  2 siblings, 0 replies; 10+ messages in thread
From: Marijn Schouten (hkBst) @ 2007-11-02 12:42 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeroen Roovers wrote:
> On Thu, 1 Nov 2007 23:32:34 +0200
> Samuli Suominen <drac@gentoo.org> wrote:
> 
>> I'd like to add USE modplug to use.desc. I'll do it tomorrow,
>> unless someone objects.
> 
> Remember that tomorrow is always too soon in projects like Gentoo. :)
> 
> $ euses -s mod fmod modplug
> media-video/vlc:mod - Enables Mod demux support.
> games-strategy/dark-oberon:fmod - Add sound support (fmod)
> media-libs/panda3d:fmod - Enables support for using mod files for audio
> support gnustep-apps/cynthiune:modplug - Build with modplug support
> media-libs/xine-lib:modplug - Build with modplug support
> media-plugins/audacious-plugins:modplug - Build with modplug support
> media-sound/audacious:modplug - Build with modplug support
> media-sound/bmpx:modplug - Build with modplug support
> media-sound/cmus:modplug - Build with modplug support
> media-sound/herrie:modplug - Build with modplug support
> media-sound/moc:modplug - Add support for modplug
> 
> That's three USE flags describing the same support for (playing) mod
> files, but ebuilds depend on either media-libs/{fmod,libmodplug} and
> the former has its own USE flag.
> 
> media-video/vlc has a libmodplug dependency and should probably be
> changed to use IUSE=modplug instead of IUSE=mod, if USE=modplug goes
> global.

Another prime example for use flags with more than two values:

mod=off
mod=fmod
mod=libmodplug

the first for disabling mod support, the second for enabling it and preferring
fmod implementation, the third for enabling it and preferring libmodplug
implementation.

Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKxrHp/VmCx0OL2wRApqiAJ9gDyyqH4JdJu4p8MzmcWOGuBVzHwCfXR1/
WHIaIUtpJqfM0SW+GMdEl9A=
=fQgi
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-02 12:40   ` Marijn Schouten (hkBst)
@ 2007-11-02 13:01     ` Jeroen Roovers
  2007-11-02 14:15       ` Marijn Schouten (hkBst)
  0 siblings, 1 reply; 10+ messages in thread
From: Jeroen Roovers @ 2007-11-02 13:01 UTC (permalink / raw
  To: gentoo-dev

On Fri, 02 Nov 2007 13:40:40 +0100
"Marijn Schouten (hkBst)" <hkBst@gentoo.org> wrote:

> Another prime example for use flags with more than two values:
> 
> mod=off
> mod=fmod
> mod=libmodplug
> 
> the first for disabling mod support, the second for enabling it and
> preferring fmod implementation, the third for enabling it and
> preferring libmodplug implementation.

I don't think you've actually argued the case why one USE flag with
three, perhaps four modes (off, fmod, libmodplug, and perhaps default)
is preferable to two USE flags with two modes each (fmod and modplug,
both refering to the libs a package links to, either on or off).

Besides, could you explain why are you trying to hijack a short and
simple thread about globalising one or two USE flags?


Kind regards,
     JeR
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-02 12:28 ` Jeroen Roovers
  2007-11-02 12:40   ` Marijn Schouten (hkBst)
  2007-11-02 12:42   ` Marijn Schouten (hkBst)
@ 2007-11-02 13:59   ` Samuli Suominen
  2 siblings, 0 replies; 10+ messages in thread
From: Samuli Suominen @ 2007-11-02 13:59 UTC (permalink / raw
  To: gentoo-dev

On Fri, 2 Nov 2007 13:28:23 +0100
Jeroen Roovers <jer@gentoo.org> wrote:

> On Thu, 1 Nov 2007 23:32:34 +0200
> Samuli Suominen <drac@gentoo.org> wrote:
> 
> > I'd like to add USE modplug to use.desc. I'll do it tomorrow,
> > unless someone objects.
> 
> Remember that tomorrow is always too soon in projects like Gentoo. :)
> 
> $ euses -s mod fmod modplug
> media-video/vlc:mod - Enables Mod demux support.
> games-strategy/dark-oberon:fmod - Add sound support (fmod)
> media-libs/panda3d:fmod - Enables support for using mod files for
> audio support gnustep-apps/cynthiune:modplug - Build with modplug
> support media-libs/xine-lib:modplug - Build with modplug support
> media-plugins/audacious-plugins:modplug - Build with modplug support
> media-sound/audacious:modplug - Build with modplug support
> media-sound/bmpx:modplug - Build with modplug support
> media-sound/cmus:modplug - Build with modplug support
> media-sound/herrie:modplug - Build with modplug support
> media-sound/moc:modplug - Add support for modplug
> 
> That's three USE flags describing the same support for (playing) mod
> files, but ebuilds depend on either media-libs/{fmod,libmodplug} and
> the former has its own USE flag.

I'd rather not pull fmod and modplug into same flag mod because
fmod is a propietary junk (if you just look at the fmod ebuilds you'll
know..)

> 
> media-video/vlc has a libmodplug dependency and should probably be
> changed to use IUSE=modplug instead of IUSE=mod, if USE=modplug goes
> global.

Agreed, nice catch

> 
> 
> Kind regards,
>      KeR

- Samuli
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] New global USE flag: modplug
  2007-11-02 13:01     ` Jeroen Roovers
@ 2007-11-02 14:15       ` Marijn Schouten (hkBst)
  0 siblings, 0 replies; 10+ messages in thread
From: Marijn Schouten (hkBst) @ 2007-11-02 14:15 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeroen Roovers wrote:
> On Fri, 02 Nov 2007 13:40:40 +0100
> "Marijn Schouten (hkBst)" <hkBst@gentoo.org> wrote:
> 
>> Another prime example for use flags with more than two values:
>>
>> mod=off
>> mod=fmod
>> mod=libmodplug
>>
>> the first for disabling mod support, the second for enabling it and
>> preferring fmod implementation, the third for enabling it and
>> preferring libmodplug implementation.
> 
> I don't think you've actually argued the case why one USE flag with
> three, perhaps four modes (off, fmod, libmodplug, and perhaps default)
> is preferable to two USE flags with two modes each (fmod and modplug,
> both refering to the libs a package links to, either on or off).

I tried to explain this before. See
<http://article.gmane.org/gmane.linux.gentoo.devel/52316/match=use+options>.

Having an ordinary use flag for each library may work well enough when there
are less than three libraries that provide a certain functionality, although
with 2 old-style use flags you already have one bogus fourth option. Default
should not be an option of its own; one of the three options should be the
default.

> Besides, could you explain why are you trying to hijack a short and
> simple thread about globalising one or two USE flags?

I'm not trying to hijack this thread. I'm just injecting one message pointing
this out as something I think could benefit from my proposal.

A few real examples may go a long way to explaining something.

Marijn

- --
Marijn Schouten (hkBst), Gentoo Lisp project
<http://www.gentoo.org/proj/en/lisp/>, #gentoo-lisp on FreeNode
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKzDup/VmCx0OL2wRAo5vAJ0VLX8BSFLFTY2K1wLADtS35jZHnwCfS8Vd
IgDXBRNrzWbiLfuZadHIzj8=
=MHt+
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2007-11-02 14:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01 21:32 [gentoo-dev] New global USE flag: modplug Samuli Suominen
2007-11-01 23:18 ` Drake Wyrm
2007-11-02 12:08   ` [gentoo-dev] " Duncan
2007-11-02  5:11 ` [gentoo-dev] " Josh Saddler
2007-11-02 12:28 ` Jeroen Roovers
2007-11-02 12:40   ` Marijn Schouten (hkBst)
2007-11-02 13:01     ` Jeroen Roovers
2007-11-02 14:15       ` Marijn Schouten (hkBst)
2007-11-02 12:42   ` Marijn Schouten (hkBst)
2007-11-02 13:59   ` Samuli Suominen

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