1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Ryan Hill wrote: |
5 |
> On Mon, 29 Sep 2008 22:31:46 -0700 |
6 |
> Zac Medico <zmedico@g.o> wrote: |
7 |
> |
8 |
>>> Can package.use syntax be extended to allow set entries? |
9 |
>>> @compiz-fusion -gnome kde kde4 |
10 |
>> Perhaps, but we need to clarify how that sort of setting will affect |
11 |
>> nested sets. For example, if @compiz-fusion contains nested sets, |
12 |
>> would those USE settings apply to the nested sets as well? Will |
13 |
>> nested sets be allowed to have independent USE settings from the |
14 |
>> sets that nest them? |
15 |
> |
16 |
> Maybe a nested set could inherit the USE flag settings of its parent set |
17 |
> unless it has its own entry in package.use. |
18 |
> |
19 |
> Though what happens if a package is in both sets which have |
20 |
> conflicting flags in package.use? I would say that the nested set has |
21 |
> to have priority. If not, I can easily imagine people getting confused |
22 |
> when their USE settings for a set are being applied to all but |
23 |
> one or two packages. |
24 |
|
25 |
It seems to me that the most logical approach would be to do some |
26 |
sort of "incremental" stacking, similar to the way that USE flags |
27 |
stack in the profiles. Suppose that we have the following settings |
28 |
in package.use: |
29 |
|
30 |
@kde-meta foo bar |
31 |
@kdeedu-meta -foo |
32 |
|
33 |
If the flags are stacked incrementally, analogously to the way that |
34 |
they are stacked in profiles, then the above setting would apply the |
35 |
"foo" and "bar" flags to all of @kde-meta except for the |
36 |
@kdeedu-meta subset which would only have "bar" applied since "foo" |
37 |
has been disabled incrementally. Does this approach seem reasonable? |
38 |
- -- |
39 |
Thanks, |
40 |
Zac |
41 |
-----BEGIN PGP SIGNATURE----- |
42 |
Version: GnuPG v2.0.9 (GNU/Linux) |
43 |
|
44 |
iEYEARECAAYFAkjjp0QACgkQ/ejvha5XGaNRUQCfcobuk6BFdlZgGrb/jVyAb87P |
45 |
0goAn1gJp+Q2kdPaGtpmQwn/G5+yKTqU |
46 |
=TJdF |
47 |
-----END PGP SIGNATURE----- |