1 |
On Thursday 07 April 2005 23:26, Ciaran McCreesh wrote: |
2 |
> On Thu, 7 Apr 2005 22:20:43 +0900 Jason Stubbs <jstubbs@g.o> |
3 |
> wrote: |
4 |
> | Back in my quest to rid the tree of the evil virtuals and their plot |
5 |
> | to destroy my mind. I think I've covered all bases with this one - |
6 |
> | perhaps even enough to satisfy TGL. Take your best shot! |
7 |
> |
8 |
> 1) You need an explicit example of what virtual/jdk/jdk-1.4.ebuild looks |
9 |
> like. |
10 |
|
11 |
Will add. |
12 |
|
13 |
> 2) For the consistency section, I'm not sure how you're going to |
14 |
> implement this. The example I tend to use is this (versions simplified |
15 |
> slightly for clarity): |
16 |
> |
17 |
> * User emerges vim-6.3, gvim-6.3. ~vim-core-6.3 is in as an RDEPEND. |
18 |
> * User upgrades to vim-7.0. ~vim-7.0 is in as an RDEPEND. |
19 |
> * User still has gvim-6.3 installed. gvim-6.3 has an RDEPEND upon |
20 |
> ~vim-6.3, which is no longer installed. gvim is now broken. |
21 |
> |
22 |
> An example of exactly how portage would 'solve' this would be |
23 |
> helpful. Would it ask for an unmerge of gvim-6.3 or would it include an |
24 |
> upgrade of gvim-6.3 as part of the "emerge ~vim-7"? |
25 |
|
26 |
Yep something like that. The specifics of what to do in various cases such as |
27 |
that one have not been worked out but are irrelevant to the glep anyway. The |
28 |
glep only need require that it is handled. |
29 |
|
30 |
> 3) We don't specify every virtual in every profile thanks to cascades. |
31 |
|
32 |
And...? I guess you are referring to "profiles must provide a default ..." but |
33 |
that _is_ a correct statement. If somebody wants to create a new profile that |
34 |
doesn't derive from base, they must specify defaults for all the virtuals. |
35 |
|
36 |
> 4) Backwards compatibility -- all virtuals ebuilds should include |
37 |
> DEPEND=">=portage-2.whatever" as well as the "|| ( foo bar )" stuff. |
38 |
|
39 |
Why? The virtuals would be no different to regular packages. |
40 |
|
41 |
|
42 |
Regards, |
43 |
Jason Stubbs |
44 |
-- |
45 |
gentoo-dev@g.o mailing list |