* 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: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 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
* 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: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