Bug 10511 - A Build System For X.Org
Summary: A Build System For X.Org
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Modular (show other bugs)
Version: 7.2 (2007.02)
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2007-04-02 14:40 UTC by Egbert Eich
Modified: 2009-09-07 15:01 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:

Tarball (see description above) (70.00 KB, application/x-gzip)
2007-04-02 14:42 UTC, Egbert Eich
no flags Details

Description Egbert Eich 2007-04-02 14:40:29 UTC
Attached is a build system for X.Org. It allows to build individual
modules and their dependencies.
It consists of 2 parts:
- A 'Maintainer' stage where the dependency information is obtained from
  the tree. This should be done in the SCM whenever a dependency of a module
  changes or new modules are added.
- A 'Builder' stage. Here the actual build takes place.
  The build stage can optionally pull or update modules from the SCM,
  build and install the modules. It supports lndir and sourcedir builds
  as well as a build PREFIX and the DESTDIR variable.
  It also supports cross compiling.

This is work in progress. Two items are presently on my TODO list:
1. Support for tarball download and build.
2. Support for version dependencies.

A more detailed description is included in the tarball.
I would propose to put these files into xorg/util/modular where other
tools for the modular tree already live.
Comment 1 Egbert Eich 2007-04-02 14:42:41 UTC
Created attachment 9464 [details]
Tarball (see description above)

The files are in a tarball for now.
Once there is an agreement on the location I will add them to the SCM.
Comment 2 Stefan Dirsch 2007-04-02 18:25:42 UTC
Thanks. What's the meaning of SCM?
Comment 3 Matthias Hopf 2007-04-03 02:20:25 UTC
Source Control Management. Read: git
Comment 4 Alex Deucher 2007-04-03 06:08:39 UTC
If anyone is interested, I have a little perl script I use to build X.
Comment 5 Benjamin Close 2008-01-30 06:51:40 UTC
Hi Egbert,
  With the recent discussion about a build system on the Xorg list, is this bug still valid?
Comment 6 Peter Hutterer 2009-09-07 15:01:42 UTC
I'm going to be bold and close this one as WORKSFORME. The build.sh script is quite powerful these days and can be used to simply clone everything, pull and build or just build everything. It supports continuation after errors and resuming builds which should hopefully cover all cases.

If not, please suggest a feature that needs to be added to it.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.