public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev]  Re: [RFC] PROPERTIES=set for meta-packages that should behave like package sets
  @ 2008-10-01 16:37 99%               ` Zac Medico
  0 siblings, 0 replies; 1+ results
From: Zac Medico @ 2008-10-01 16:37 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ryan Hill wrote:
> On Mon, 29 Sep 2008 22:31:46 -0700
> Zac Medico <zmedico@gentoo.org> wrote:
> 
>>> Can package.use syntax be extended to allow set entries?
>>> @compiz-fusion -gnome kde kde4
>> Perhaps, but we need to clarify how that sort of setting will affect
>> nested sets. For example, if @compiz-fusion contains nested sets,
>> would those USE settings apply to the nested sets as well? Will
>> nested sets be allowed to have independent USE settings from the
>> sets that nest them?
> 
> Maybe a nested set could inherit the USE flag settings of its parent set
> unless it has its own entry in package.use.
> 
> Though what happens if a package is in both sets which have
> conflicting flags in package.use?  I would say that the nested set has
> to have priority.  If not, I can easily imagine people getting confused
> when their USE settings for a set are being applied to all but
> one or two packages.

It seems to me that the most logical approach would be to do some
sort of "incremental" stacking, similar to the way that USE flags
stack in the profiles. Suppose that we have the following settings
in package.use:

 @kde-meta    foo bar
 @kdeedu-meta -foo

If the flags are stacked incrementally, analogously to the way that
they are stacked in profiles, then the above setting would apply the
"foo" and "bar" flags to all of @kde-meta except for the
@kdeedu-meta subset which would only have "bar" applied since "foo"
has been disabled incrementally. Does this approach seem reasonable?
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjjp0QACgkQ/ejvha5XGaNRUQCfcobuk6BFdlZgGrb/jVyAb87P
0goAn1gJp+Q2kdPaGtpmQwn/G5+yKTqU
=TJdF
-----END PGP SIGNATURE-----



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-09-28  0:21     [gentoo-dev] [RFC] PROPERTIES=set for meta-packages that should behave like package sets Zac Medico
2008-09-28 23:02     ` Ciaran McCreesh
2008-09-28 23:37       ` Zac Medico
2008-09-29 15:13         ` Bo Ørsted Andresen
2008-09-29 19:52           ` Zac Medico
2008-09-30  4:47             ` Jorge Manuel B. S. Vicetto
2008-09-30  5:31               ` Zac Medico
2008-10-01  4:35                 ` [gentoo-dev] " Ryan Hill
2008-10-01 16:37 99%               ` Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox