Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137991 - xorg-server: allow compiling Xvfb server only
Summary: xorg-server: allow compiling Xvfb server only
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Lowest enhancement
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 138981 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-25 17:16 UTC by Ed Catmur
Modified: 2006-07-03 10:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg-server-minimal.patch (xorg-server-minimal.patch,903 bytes, patch)
2006-06-26 16:17 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2006-06-25 17:16:17 UTC
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.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-26 08:57:31 UTC
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.
Comment 2 Ed Catmur 2006-06-26 16:17:03 UTC
Created attachment 90219 [details, diff]
xorg-server-minimal.patch

Like this?
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-26 16:33:32 UTC
(In reply to comment #2)
> Created an attachment (id=90219) [edit]
> xorg-server-minimal.patch
> 
> Like this?

Hmm... yeah, I like that.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-06-26 19:43:53 UTC
Nice work, thanks.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-07-03 10:58:14 UTC
*** Bug 138981 has been marked as a duplicate of this bug. ***