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.
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.
Thanks. What's the meaning of SCM?
Source Control Management. Read: git
If anyone is interested, I have a little perl script I use to build X.
Hi Egbert, With the recent discussion about a build system on the Xorg list, is this bug still valid?
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.