Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138623 - no xorg.conf.example with modular xorg
Summary: no xorg.conf.example with modular xorg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: Highest trivial (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-06-30 13:14 UTC by Christopher Covington
Modified: 2006-10-11 19:54 UTC (History)
0 users

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


Attachments
xorg-conf-example.patch (xorg-conf-example.patch,2.32 KB, patch)
2006-09-29 18:54 UTC, Joshua Baergen (RETIRED)
Details | Diff
xorg-server.patch (xorg-server.patch,1.17 KB, patch)
2006-09-29 18:55 UTC, Joshua Baergen (RETIRED)
Details | Diff
xorg.conf.example (xorg.conf.example,17.83 KB, text/plain)
2006-09-29 18:55 UTC, Joshua Baergen (RETIRED)
Details
xorg-conf-example.patch (xorg-conf-example.patch,1.87 KB, patch)
2006-09-29 19:57 UTC, Joshua Baergen (RETIRED)
Details | Diff
xorg-conf-example.patch (xorg-conf-example.patch,1.88 KB, patch)
2006-10-10 20:29 UTC, Joshua Baergen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Covington 2006-06-30 13:14:27 UTC
I really like the well-commented xorg.conf.example that used to get emerged with X. I don't know if it got lost in the shuffle of modularization or it's actually around and I just can't find it and am wasting your time (I hope not, I've looked pretty hard and asked around on #gentoo) but perhaps the configuration file could be grabbed as part of xorg-x11.

If the file isn't included for strong reasons then please file this as a documentation bug. According to the xorg configuration guide:

3. Configuring Xorg

The xorg.conf File

The configuration file of Xorg is called xorg.conf and it resides in /etc/X11. The Xorg-X11 package provides an example configuration as /etc/X11/xorg.conf.example which you can use to create your own configuration. It is heavily commented, but if you are in need of more documentation regarding the syntax, don't hesitate to read the man page...
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-30 13:27:31 UTC
Yes it would be nice to install this. The unprocessed form is still distributed in xorg-server as hw/xfree86/xorgconf.cpp but it appears there's no rule to generate the final example file.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-24 01:06:29 UTC
Josh, would you like to take a look at this?
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2006-09-24 09:58:22 UTC
Sure, I'll try to get a patch together today.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-09-29 18:54:27 UTC
Created attachment 98419 [details, diff]
xorg-conf-example.patch

Patch was slightly more involved than I anticipated.  This will cause xorg.conf.example to be built under the hw/xfree86 directory.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-09-29 18:55:09 UTC
Created attachment 98420 [details, diff]
xorg-server.patch

Patch to xorg-server-1.1.1-r1.ebuild required to properly build and install xorg.conf.example.
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2006-09-29 18:55:46 UTC
Created attachment 98421 [details]
xorg.conf.example

Example xorg.conf.example output for reference.
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2006-09-29 19:57:46 UTC
Created attachment 98424 [details, diff]
xorg-conf-example.patch

Updated patch.  Implements Donnie's suggestion of using cpprules.in to save some
code duplication.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-10 19:34:31 UTC
Josh, would you like to commit this to 1.1.1-r1?
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2006-10-10 20:29:35 UTC
Created attachment 99337 [details, diff]
xorg-conf-example.patch

Removed speedo fonts per Donnie's request.  This will be the version committed unless other problems arise.
Comment 10 Joshua Baergen (RETIRED) gentoo-dev 2006-10-11 19:54:52 UTC
Fixed in CVS.