1 |
On Sun, Aug 30, 2009 at 10:36 PM, Mounir Lamouri<volkmar@g.o> wrote: |
2 |
> I think this new feature should help everyones life. We can also imagine |
3 |
> great features like a minimal USE-flag that will be something like: |
4 |
> USE_REQUIREMENTS="minimal? ( foo bar )" to set a list of USE flags to |
5 |
> disable if minimal USE flag is enabled. Combined to EAPI-1 auto-enabled |
6 |
> USE flags, it could help disabling all auto-enabled USE flags for some |
7 |
> uses... That's just an idea. |
8 |
> |
9 |
|
10 |
There's also bug 251179[1], which is ugly at first glance, but shows |
11 |
that we don't really need an extra variable to control dependencies |
12 |
between USE-flags (it *is* after all a dependency). |
13 |
|
14 |
So, we can either use |
15 |
|
16 |
use1? ( =${CATEGORY}/${PVR}[use2,use3,use4] ) |
17 |
|
18 |
which will probably require less changes to portage's resolver; or |
19 |
something else like |
20 |
|
21 |
use1? ( use2 use3 use4 ) |
22 |
|
23 |
The latter is unambiguous because it's not a package atom (no / ). |
24 |
Either of these will work great when portage gets automatic |
25 |
USE-dependency enabling. |
26 |
|
27 |
1. http://bugs.gentoo.org/show_bug.cgi?id=251179 |
28 |
-- |
29 |
~Nirbheek Chauhan |
30 |
|
31 |
GNOME+Mozilla Team, Gentoo |