Bug 10511

Summary: A Build System For X.Org
Product: xorg Reporter: Egbert Eich <eich>
Component: Build/ModularAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: esigra, mat, matthieu.herrb, sndirsch
Version: 7.2 (2007.02)Keywords: NEEDINFO
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Tarball (see description above) none

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.