Gentoo Archives: gentoo-dev

From: Doug Goldstein <cardoe@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: virtualx eclass
Date: Thu, 16 Oct 2008 14:32:13
Message-Id: 48F75067.6080305@gentoo.org
In Reply to: [gentoo-dev] Re: virtualx eclass by flameeyes@gmail.com (Diego 'Flameeyes' =?utf-8?Q?Petten=C3=B2?=)
1 Diego 'Flameeyes' Pettenò wrote:
2 > Doug Goldstein <cardoe@g.o> writes:
3 >
4 >
5 >> It'd be a lot more consistent if ebuilds provided a USE flag or directly
6 >> depended on the xorg-server and then used the functions in the eclass.
7 >> So in summary, those are the changes I plan on making very shortly. If
8 >> someone's got some input, please speak up.
9 >>
10 >
11 > Kinda like good ol' kde.eclass:
12 >
13 > VIRTUALX_ONLY_TEST="yes"
14 >
15 > inherit virtualx
16 >
17 > and instead of using IUSE=X for that, IUSE=test.
18 >
19 >
20 That leaves a conditional that must be evaluated in the global scope
21 every time the depends are looked at.
22
23 And if that isn't set then making xorg-server always required in DEPEND?
24
25 What about packages that rely on virtualx to depend on xorg-server for
26 them (i.e. a RDEPEND)?

Replies

Subject Author
Re: [gentoo-dev] Re: virtualx eclass Doug Goldstein <cardoe@g.o>