Gentoo Archives: gentoo-user

From: Fredrik Tolf <fredrik@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Too many X modules pulled in
Date: Tue, 22 Aug 2006 02:45:45
Message-Id: 1156214493.28040.43.camel@pc7.dolda2000.com
In Reply to: Re: [gentoo-user] Too many X modules pulled in by Fredrik Tolf
1 On Mon, 2006-08-21 at 21:18 +0200, Fredrik Tolf wrote:
2 > On Sun, 2006-08-20 at 11:56 -0700, Donnie Berkholz wrote:
3 > > Fredrik Tolf wrote:
4 > > > I'm not an expert with portage, but the fact that xorg-server is
5 > > > indented one space from gtk+ means that gtk+ depends on it directly,
6 > > > doesn't it? If so, whence does that dependency come from (it's obviously
7 > > > not on the DEPEND or RDEPEND variables)?
8 >
9 > > It's because it inherits the virtualx.eclass -- gtk+ requires an X
10 > > server (Xvfb) to build. What you can do is set USE="minimal -dmx -xorg
11 > > -xprint" in your package.use for xorg-server to minimize this. Also try
12 > > VIDEO_CARDS="" and INPUT_DEVICES="" in make.conf.
13 > >
14 > > However, this only works well on xorg-server-1.1, so you will also need
15 > > to add it to package.keywords.
16 >
17 > I see... how troublesome. Well, I guess there's no choice, but would
18 > anyone happen to know the reason why gtk+ requires Xvfb?
19
20 Actually, it seems that it doesn't require Xvfb, or any other X server,
21 after all. I just tried emerge gtk+ with USE=-X, and it works perfectly.
22 It didn't emerge any X server, and it works just fine with all the
23 programs I've tried so far.
24
25 Does that mean that the virtualx eclass is unnecessary, and that I
26 should file a bug report to have it removed?
27
28 Fredrik Tolf
29
30
31 --
32 gentoo-user@g.o mailing list