Gentoo Archives: gentoo-dev

From: Steve Long <slong@××××××××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Re: [RFC] PROPERTIES=set for meta-packages that should behave like package sets
Date: Mon, 29 Sep 2008 20:51:33
Message-Id: gbrf3u$7ps$1@ger.gmane.org
In Reply to: Re: [gentoo-dev] Re: [RFC] PROPERTIES=set for meta-packages that should behave like package sets by Zac Medico
1 Zac Medico wrote:
2
3 > Steve Long wrote:
4 >> Zac Medico wrote:
5 >>> Rémi Cardona wrote:
6 >>>> As one of the maintainers of the gnome-base/gnome meta, I fail to see
7 >>>> the usefulness of such a change. We have yet to ask users to rebuild
8 >>>> "gnome" completely. Do you have any specific use cases (maybe coming
9 >>>> from the KDE herd, since you used the kde meta as an example) ?
10 >>>>
11 >>> Over the course of the discussion I've revised the idea so that it
12 >>> essentially represents a way to define a package set, without any
13 >>> changes to existing behavior. What will change is that we will have
14 >>> a new way to define package sets, based on ebuilds.
15 >>
16 >> Makes sense to me, though not sure you need the mapping file. I'm
17 >> perfectly happy about emerge -uDN @kde-meta say, updating all kde-meta
18 >> packages I might have installed; I take it that after emerge kde-meta to
19 >> install, and then removing some of the packages, the user could continue
20 >> to reference the set for upgrade, without portage reinstalling those?
21 >
22 > That would be a set subtraction operation, so the user would use a
23 > configuration file to configure the set so that certain unwanted
24 > atoms are automatically subtracted out. Alternatively, we could
25 > implement a syntax extension for "optional atoms" that are only
26 > pulled into the dependency graph if they happen to be installed already.
27 >
28 It would be nice to address it; wrt people installing a meta which will
29 define a set, it'd make it easier to maintain (a box) if the set syntax
30 referred to whatever was installed, whereas emerging the package would
31 install all its deps as a standard virtual does (in the default setting.)
32
33 Integrating seems like a good idea, wrt to the USE settings you discussed in
34 the other thread. There is already a framework in place to model all that,
35 and more, so might as well use it. (I'd vote for allowing as much
36 flexibility as the ebuild author wants to specify.)