[Xorg] getconfig.pl

Daniel Stone daniel at freedesktop.org
Sun Jul 4 08:12:47 PDT 2004


On Sun, Jul 04, 2004 at 02:12:36PM +0200, Egbert Eich wrote:
> Erik Harrison writes:
>  > I was frustrated the other day by my seeming inability to learn C. As
>  > I actually speak Perl and was hoping for some distraction, is started
>  > to poke around in getconfig.pl.
>  > 
>  > getconfig has a small list of PCI ID to driver mappings inside the
>  > program itself. Considering that we install a default xorg.cfg file,
>  > is it really sane to keep this information in getconfig? I could move
>  > it out into xorg.cfg if it's the Right Thing.
>  > 
> 
> getconfig.pl was a project done by David Dawes on XFree86. The pieces that
> were under the original (XFree86 1.0) license made it over into the X.Org
> tree.

Last I checked, the whole thing was under the X-Oz licence, which was
the same as XFree86 1.1.

> It is certainly not a good idea to maintain such a list in the program
> itself. I assume it was just ment to be a temporary solution. Such a list
> can be kept in a separate data file, however xorg.conf doesn't seem to
> be the right place as it is used as a custom configuration file. Even
> with automatic configuration around one must be able to create such a
> custom file and that one would then most likely overwrite this data.
> Any other file in /etc/X11 would be fine, I think.

This is what /usr/share is for - static data files.

-- 
Daniel Stone                                            <daniel at freedesktop.org>
freedesktop.org: powering your desktop                http://www.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20040705/19421d78/attachment.pgp>


More information about the xorg mailing list