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 15:15:24
Message-Id: 48F75A84.2010704@gentoo.org
In Reply to: Re: [gentoo-dev] Re: virtualx eclass by Doug Goldstein
1 Doug Goldstein wrote:
2 > Diego 'Flameeyes' Pettenò wrote:
3 >
4 >> Doug Goldstein <cardoe@g.o> writes:
5 >>
6 >>
7 >>
8 >>> It'd be a lot more consistent if ebuilds provided a USE flag or directly
9 >>> depended on the xorg-server and then used the functions in the eclass.
10 >>> So in summary, those are the changes I plan on making very shortly. If
11 >>> someone's got some input, please speak up.
12 >>>
13 >>>
14 >> Kinda like good ol' kde.eclass:
15 >>
16 >> VIRTUALX_ONLY_TEST="yes"
17 >>
18 >> inherit virtualx
19 >>
20 >> and instead of using IUSE=X for that, IUSE=test.
21 >>
22 >>
23 >>
24 > That leaves a conditional that must be evaluated in the global scope
25 > every time the depends are looked at.
26 >
27 > And if that isn't set then making xorg-server always required in DEPEND?
28 >
29 > What about packages that rely on virtualx to depend on xorg-server for
30 > them (i.e. a RDEPEND)?
31 >
32 >
33 For the third line item, those packages are broken in general and need
34 to be fixed so that's out of the scope of this.