<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Thu, 2010-04-22 at 00:11 -0300, Fernando Carrijo wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi Jeff,
Jeff Carr <<A HREF="mailto:basilarchia@gmail.com">basilarchia@gmail.com</A>> wrote:
> I'm having trouble finding accurate git clone and build instructions
> on the wiki. When trying to run autoconf.sh in the xserver tree it
> complained of "error: must install xorg-macros". Is the best way to
> just go through and clone these one by one until the dependencies are
> met? I suspected it's just the beginning of a long chain of hairy
> dependences that might be worthy of emailing the list first.
>
> Is there a tool like the android "repo" or perhaps a method to pull
> down the various git trees via git submodule? Or just README that
> contains the recommended order of building and installing?
When it comes to X building, this is what people are referred to:
<A HREF="http://wiki.x.org/wiki/ModularDevelopersGuide">http://wiki.x.org/wiki/ModularDevelopersGuide</A>
I hope it helps!
</PRE>
</BLOCKQUOTE>
<BR>
In there, this is a simple method that works. It builds more than you want, but it will take more time to trim it then it takes to build it. <BR>
Starting with nothing, you get everything. The build.sh script is up-to-date.<BR>
Also not that you must have the correct tool chain to build. This wiki will give you a good idea of what is needed:<BR>
<A HREF="http://wiki.x.org/wiki/RequiredPackages">http://wiki.x.org/wiki/RequiredPackages</A><BR>
<BR>
<BR>
<B><FONT SIZE="4">From the Git repository</FONT></B><BR>
<B>Note:</B> X.Org has moved all currently maintained modules to the Git repository. See the <A HREF="http://wiki.x.org/wiki/GitPage">GitPage</A> for more information and <A HREF="http://www.freedesktop.org/wiki/UsingGit">UsingGit</A> on how to use Git. <BR>
<BR>
The build.sh script is provided in the xorg/util/modular repository. It provides a --clone flag to get the modules required. To get the initial checkout of all modules, run: <BR>
<BR>
<PRE>
$> cd /tmp/src
$> git clone git://anongit.freedesktop.org/git/xorg/util/modular util/modular
$> ./util/modular/build.sh --clone -a -n /tmp/modular
</PRE>
<BR>
This will clone all modules into the right directory structure. The -a flags tells the script to skip automake and hence the build will fail. The -n flag tells the script to continue regardless. Both flags together will result in a clean checkout of every module. <BR>
<BR>
Alternatively, run the above command without the -a and -n flags and the script will build everything into the prefix provided. <BR>
<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
<A HREF="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</A>: X.Org support
Archives: <A HREF="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</A>
Info: <A HREF="http://lists.freedesktop.org/mailman/listinfo/xorg">http://lists.freedesktop.org/mailman/listinfo/xorg</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>