1 |
On Sat, 19 Jun 2004 20:51:49 +0900 Jason Stubbs <jstubbs@g.o> |
2 |
wrote: |
3 |
| What I'm proposing here is to drop virtuals altogether. Instead, I |
4 |
| propose using meta-packages similar to kde and gnome. To give a give a |
5 |
| cut down example: |
6 |
| |
7 |
| virtual/x11-1.ebuild: |
8 |
| RDEPEND="x86? ( || ( x11-base/xfree x11-base/xorg-x11 ) ) |
9 |
| sparc? ( || ( x11-base/xorg-x11 x11-base/xfree ) )" |
10 |
|
11 |
For this to work, you'd have to do at least two things: |
12 |
|
13 |
1) Hack portage to display virtuals stuff differently. Otherwise we'd |
14 |
end up with reaaaaallyy really messy qpkg / equery / emerge output. |
15 |
|
16 |
2) Make RDEPEND work. Example:: |
17 |
|
18 |
emerge fluxbox |
19 |
(watch xorg-x11 get pulled in) |
20 |
emerge unmerge xorg-x11 |
21 |
(virtual/x11 is still installed) |
22 |
emerge kde |
23 |
(watch stuff explode since there're no x libs) |
24 |
|
25 |
-- |
26 |
Ciaran McCreesh : Gentoo Developer (Sparc, MIPS, Vim, Fluxbox) |
27 |
Mail : ciaranm at gentoo.org |
28 |
Web : http://dev.gentoo.org/~ciaranm |