Gentoo Archives: gentoo-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Virtuals - required?
Date: Sat, 19 Jun 2004 16:20:10
Message-Id: 200406200117.44825.jstubbs@gentoo.org
In Reply to: Re: [gentoo-dev] Virtuals - required? by Ciaran McCreesh
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Sunday 20 June 2004 00:04, Ciaran McCreesh wrote:
5 > On Sat, 19 Jun 2004 20:51:49 +0900 Jason Stubbs <jstubbs@g.o>
6 > wrote:
7 > | What I'm proposing here is to drop virtuals altogether. Instead, I
8 > | propose using meta-packages similar to kde and gnome. To give a give a
9 > | cut down example:
10 > |
11 > | virtual/x11-1.ebuild:
12 > | RDEPEND="x86? ( || ( x11-base/xfree x11-base/xorg-x11 ) )
13 > | sparc? ( || ( x11-base/xorg-x11 x11-base/xfree ) )"
14 >
15 > For this to work, you'd have to do at least two things:
16 >
17 > 1) Hack portage to display virtuals stuff differently. Otherwise we'd
18 > end up with reaaaaallyy really messy qpkg / equery / emerge output.
19
20 This is not so much of a problem,
21
22 > 2) Make RDEPEND work. Example::
23 >
24 > emerge fluxbox
25 > (watch xorg-x11 get pulled in)
26 > emerge unmerge xorg-x11
27 > (virtual/x11 is still installed)
28 > emerge kde
29 > (watch stuff explode since there're no x libs)
30
31 but this means that proper support is a fair way down the track - if possible
32 at all. Even if portage prevented (by default) uninstalling packages that had
33 others depending on it, an override would still be necessary or else a move
34 such as the one from xfree to xorg-x11 would really be hell. ;)
35
36 Well, I'll shelve that idea for the present.
37
38 Regards,
39 Jason Stubbs
40 -----BEGIN PGP SIGNATURE-----
41 Version: GnuPG v1.2.4 (GNU/Linux)
42
43 iQCVAwUBQNRnJ1oikN4/5jfsAQJ7MwP+OWtztVpnwkgTtQCcENNWKzBbjZ6PCwcj
44 989mkUjAIG9W6BsAyQKAfWouOv6g5BeDQsvQwfx3AuEHszd7b+RNYNwpsjxza5lP
45 rOM7bHaFXoDF8oQ+ANxKj6enht+y7ODcWmorWURkOBB9+OIxoF6ZoIP7+3gqjuvW
46 UPVL3DAtif8=
47 =gxlX
48 -----END PGP SIGNATURE-----
49
50 --
51 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Virtuals - required? Jason Stubbs <jstubbs@g.o>