I have a server in a datacenter thousands of miles away. It will never have a monitor connected to it. I want to be able to run X (esp. GTK+) clients on the server for display on my local X server. GTK+ (and some other libs/clients) requires Xvfb for building. I don't want dmx, kdrive or xorg. I don't want any INPUT_DEVICES or VIDEO_CARDS. All I want is Xvfb. I managed to hack the xorg-server ebuild into building Xvfb only: * add "xvfb" to IUSE_SERVERS * add --enable-xvfb to configure * add xf86-video-dummy and xf86-input-void to package.provided * emerge xorg-server with USE="-* minimal xvfb" INPUT_DEVICES="void" VIDEO_CARDS="dummy" Result: xorg-server installs 5 files (Xvfb, the man page, README, ChangeLog and aclocal) using 1.37 MiB. This gets GTK+ building just fine. I would attach a patch, but I'm not sure how the interaction with "minimal" and INPUT_DEVICES/VIDEO_CARDS should go.
Josh, could you fix things up so that USE="minimal -xorg -dmx -kdrive -xprint" will just build Xnest and Xvfb again? This case is more important than not breaking people who do USE="-*" and are foolish enough to not read the description of new, disabled flags.
Created attachment 90219 [details, diff] xorg-server-minimal.patch Like this?
(In reply to comment #2) > Created an attachment (id=90219) [edit] > xorg-server-minimal.patch > > Like this? Hmm... yeah, I like that.
Nice work, thanks.
*** Bug 138981 has been marked as a duplicate of this bug. ***