Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-05-01 Thread Jeremy Olexa
On Sat, Apr 4, 2009 at 2:47 PM, Fabian Groffen grob...@gentoo.org wrote: On 04-04-2009 20:41:34 +0100, Ciaran McCreesh wrote: The two aren't mutually contradictory. Quite the contrary. For EAPI 3, we're aiming to make it illegal to do anything with a flag unless it's either explicitly listed

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Petteri Räty
However, we have toyed with other ideas. One of which is to introduce IUSE=prefix in prefix.eclass similar to the USE=multilib approach. I don't really like this idea because it exposes the use flag and we don't want it exposed to the users. If you don't want it exposed to users, then use

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Fabian Groffen
On 04-04-2009 13:23:24 +0300, Petteri Räty wrote: However, we have toyed with other ideas. One of which is to introduce IUSE=prefix in prefix.eclass similar to the USE=multilib approach. I don't really like this idea because it exposes the use flag and we don't want it exposed to the

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Petteri Räty
Fabian Groffen wrote: On 04-04-2009 13:23:24 +0300, Petteri Räty wrote: However, we have toyed with other ideas. One of which is to introduce IUSE=prefix in prefix.eclass similar to the USE=multilib approach. I don't really like this idea because it exposes the use flag and we don't want it

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Petteri Räty
Fabian Groffen wrote: On 04-04-2009 14:31:20 +0300, Petteri Räty wrote: If prefix is in USERLAND then you have a userland_prefix use flag to use that can be hidden. It is not. But can be added. Regards, Petteri signature.asc Description: OpenPGP digital signature

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Fabian Groffen
On 04-04-2009 14:54:20 +0300, Petteri Räty wrote: Fabian Groffen wrote: On 04-04-2009 14:31:20 +0300, Petteri Räty wrote: If prefix is in USERLAND then you have a userland_prefix use flag to use that can be hidden. It is not. But can be added. I think we talk about different things

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Petteri Räty
Fabian Groffen wrote: On 04-04-2009 14:54:20 +0300, Petteri Räty wrote: Fabian Groffen wrote: On 04-04-2009 14:31:20 +0300, Petteri Räty wrote: If prefix is in USERLAND then you have a userland_prefix use flag to use that can be hidden. It is not. But can be added. I think we talk about

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Rémi Cardona
Le 03/04/2009 16:47, Jeremy Olexa a écrit : However, we have toyed with other ideas. One of which is to introduce IUSE=prefix in prefix.eclass similar to the USE=multilib approach. I don't really like this idea because it exposes the use flag and we don't want it exposed to the users. Just of

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Fabian Groffen
On 04-04-2009 14:31:20 +0300, Petteri Räty wrote: If prefix is in USERLAND then you have a userland_prefix use flag to use that can be hidden. It is not. -- Fabian Groffen Gentoo on a different level

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Fabian Groffen
On 04-04-2009 15:21:23 +0300, Petteri Räty wrote: You can set USERLAND=GNU PREFIX Prefix is not a userland, please understand that. It's like pizza not being an elibc, or beer not being a kernel. -- Fabian Groffen Gentoo on a different level

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Fabian Groffen
On 04-04-2009 14:22:09 +0200, Rémi Cardona wrote: Le 03/04/2009 16:47, Jeremy Olexa a écrit : However, we have toyed with other ideas. One of which is to introduce IUSE=prefix in prefix.eclass similar to the USE=multilib approach. I don't really like this idea because it exposes the use

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zac Medico wrote: Jeremy Olexa wrote: So, my recommendation is to: 1) mask the prefix USE flag in base/use.mask because no one except the prefix profiles should use this flag. 2) unmask and force the USE flag in prefix profile. 3) add entry to

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Ciaran McCreesh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 04 Apr 2009 12:20:09 -0700 Zac Medico zmed...@gentoo.org wrote: Actually, after further inspection of PMS, it seems that the IUSE_IMPLICIT is more appropriate for the 'prefix' flag since it doesn't seem to fit into the USE_EXPAND paradigm.

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Petteri Räty wrote: Fabian Groffen wrote: On 04-04-2009 15:21:23 +0300, Petteri Räty wrote: You can set USERLAND=GNU PREFIX Prefix is not a userland, please understand that. It's like pizza not being an elibc, or beer not being a kernel. Sure

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Petteri Räty
Zac Medico wrote: Petteri Räty wrote: Fabian Groffen wrote: On 04-04-2009 15:21:23 +0300, Petteri Räty wrote: You can set USERLAND=GNU PREFIX Prefix is not a userland, please understand that. It's like pizza not being an elibc, or beer not being a kernel. Sure it's not a user land like GNU

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ciaran McCreesh wrote: On Sat, 04 Apr 2009 12:20:09 -0700 Zac Medico zmed...@gentoo.org wrote: Actually, after further inspection of PMS, it seems that the IUSE_IMPLICIT is more appropriate for the 'prefix' flag since it doesn't seem to fit into

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-04 Thread Fabian Groffen
On 04-04-2009 20:41:34 +0100, Ciaran McCreesh wrote: The two aren't mutually contradictory. Quite the contrary. For EAPI 3, we're aiming to make it illegal to do anything with a flag unless it's either explicitly listed in IUSE or handled via a number of special magic profile variables, so

[gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-03 Thread Jeremy Olexa
Hello all, In the Gentoo Prefix project we have a special USE flag: 'prefix', kind of like $ARCH USE flags. I am writing here to ask of the best way to introduce a global implicit USE flag to gentoo-x86. There has been some interest from other devs to kill diffs in ebuilds between gentoo-x86 and

Re: [gentoo-dev] RFC: best way to introduce USE=prefix

2009-04-03 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Olexa wrote: So, my recommendation is to: 1) mask the prefix USE flag in base/use.mask because no one except the prefix profiles should use this flag. 2) unmask and force the USE flag in prefix profile. 3) add entry to use.desc. addendum)