List Info

Thread: Re: IUSE and userland_, elibc_, kernel_, etc.




Re: IUSE and userland_, elibc_, kernel_, etc.
country flaguser name
United States
2007-11-04 17:00:04
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger wrote:
> On Sunday 04 November 2007, Zac Medico wrote:
>> For the USE=arch_$ part, we only have to add
ARCH to
>> USE_EXPAND in the base profile. For generating the
implicit IUSE, we
>> can introduce a new profile variable (rather than
hardcode them).
>> For example, we can define
IUSE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL
>> USERLAND" and that will cause every package to
inherit the
>> corresponding USE_EXPAND flags in it's IUSE.
> 
> i consider profile ones half the solution ... what
about the other USE 
> expanded ones ?  video cards / alsa drivers / etc...
> -mike

Well, for bug 133327 I was thinking that we should add an
IUSE
syntax extension. For example, IUSE="video_cards" would mean that
all the video_cards_* flags are in IUSE. I guess we could
use a
similar approach for the implicit IUSE, and do something
like
IUSE_IMPLICIT="arch elibc kernel userland" in the profile.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHLk7y/ejvha5XGaMRAtwvAKDwuGfybB8kyGCTgj3o4LfJ6BupagCf
TvSO
mOj+WD2TSVu91WYslFAv1uQ=
=mtqq
-----END PGP SIGNATURE-----
-- 
gentoo-portage-devgentoo.org mailing list


Re: IUSE and userland_, elibc_, kernel_, etc.
country flaguser name
Netherlands
2007-11-05 03:01:00
On 04-11-2007 15:00:04 -0800, Zac Medico wrote:
> Mike Frysinger wrote:
> > On Sunday 04 November 2007, Zac Medico wrote:
> >> For the USE=arch_$ part, we only have to
add ARCH to
> >> USE_EXPAND in the base profile. For generating
the implicit IUSE, we
> >> can introduce a new profile variable (rather
than hardcode them).
> >> For example, we can define
IUSE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL
> >> USERLAND" and that will cause every
package to inherit the
> >> corresponding USE_EXPAND flags in it's IUSE.
> > 
> > i consider profile ones half the solution ... what
about the other USE 
> > expanded ones ?  video cards / alsa drivers /
etc...
> > -mike
> 
> Well, for bug 133327 I was thinking that we should add
an IUSE
> syntax extension. For example, IUSE="video_cards" would mean that
> all the video_cards_* flags are in IUSE. I guess we
could use a
> similar approach for the implicit IUSE, and do
something like
> IUSE_IMPLICIT="arch elibc kernel
userland" in the profile.

Sounds good.  If I would be able to stick in
"prefix" there somewhere,
then I could revert my horrible
"add-it-to-arch.list" hack and do it in
a nice way.


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-portage-devgentoo.org mailing list


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )