Re: Correct git clone and build instructions?

2010-06-15 Thread Jeff Carr
On Thu, Apr 22, 2010 at 10:14, Pat Kane pekan...@gmail.com wrote:
    I'm having trouble finding accurate git clone and build instructions

 I have had good luck using Peter's instructions at:
   http://lists.x.org/archives/xorg-devel/2009-August/001826.html

  # Quickstart for those that do not use jhbuild:
   export PREFIX=/opt/xorg
   export LD_LIBRARY_PATH=$PREFIX/lib
   export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
   export PATH=$PREFIX/bin:$PATH
   export ACLOCAL=aclocal -I $PREFIX/share/aclocal
   git clone git://anongit.freedesktop.org/git/xorg/util/modular/ util/modular
   echo util/macros  built.modules
   ./util/modular/build.sh --clone -p -f built.modules -r `tail -n 1 
 built.modu\
 les` $PREFIX

  # Re-run the last command until a build succeeds.
  # Cheers,
  #   Peter

 Pat

I wanted to follow up and say that this worked perfectly. Thank you
very much as these were very difficult instructions to find.

If someone has write access to the wiki, having a Build link
directly on the wiki with these instructions would probably be helpful
for many developers that are not as intimately familiar xorg.
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Correct git clone and build instructions?

2010-04-22 Thread Gaetan Nadon
On Thu, 2010-04-22 at 00:11 -0300, Fernando Carrijo wrote:

 Hi Jeff,
 
 Jeff Carr basilarc...@gmail.com 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:
 
   http://wiki.x.org/wiki/ModularDevelopersGuide
 
 I hope it helps!
 


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. 
Starting with nothing, you get everything. The build.sh script is
up-to-date.
Also not that you must have the correct tool chain to build. This wiki
will give you a good idea of what is needed:
http://wiki.x.org/wiki/RequiredPackages


From the Git repository
Note: X.Org has moved all currently maintained modules to the Git
repository. See the GitPage for more information and UsingGit on how to
use Git. 

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: 


$ cd /tmp/src
$ git clone git://anongit.freedesktop.org/git/xorg/util/modular util/modular
$ ./util/modular/build.sh --clone -a -n /tmp/modular


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. 

Alternatively, run the above command without the -a and -n flags and the
script will build everything into the prefix provided. 




 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg


signature.asc
Description: This is a digitally signed message part
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

Re: Correct git clone and build instructions?

2010-04-22 Thread ace102

Using JHBuild -
http://library.gnome.org/devel/jhbuild/stable/getting-started.html.en#getting-started-install
with the current xorg.modules -
http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules - is the
best method I know of. 
You can cut out the apps,drivers,etc you won't need from the xorg.modules.


Jeff Carr-3 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?
 
 


-
Error:Success
-- 
View this message in context: 
http://old.nabble.com/Correct-git-clone-and-build-instructions--tp28323619p28331587.html
Sent from the Free Desktop - xorg mailing list archive at Nabble.com.

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Correct git clone and build instructions?

2010-04-22 Thread Pat Kane
I'm having trouble finding accurate git clone and build instructions

I have had good luck using Peter's instructions at:
   http://lists.x.org/archives/xorg-devel/2009-August/001826.html

  # Quickstart for those that do not use jhbuild:
   export PREFIX=/opt/xorg
   export LD_LIBRARY_PATH=$PREFIX/lib
   export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
   export PATH=$PREFIX/bin:$PATH
   export ACLOCAL=aclocal -I $PREFIX/share/aclocal
   git clone git://anongit.freedesktop.org/git/xorg/util/modular/ util/modular
   echo util/macros  built.modules
   ./util/modular/build.sh --clone -p -f built.modules -r `tail -n 1 built.modu\
les` $PREFIX

  # Re-run the last command until a build succeeds.
  # Cheers,
  #   Peter

Pat
---



On Thu, Apr 22, 2010 at 11:48 AM, ace102 mgav...@juno.com wrote:

 Using JHBuild -
 http://library.gnome.org/devel/jhbuild/stable/getting-started.html.en#getting-started-install
 with the current xorg.modules -
 http://cgit.freedesktop.org/xorg/util/modular/tree/xorg.modules - is the
 best method I know of.
 You can cut out the apps,drivers,etc you won't need from the xorg.modules.


 Jeff Carr-3 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?




 -
 Error:Success
 --
 View this message in context: 
 http://old.nabble.com/Correct-git-clone-and-build-instructions--tp28323619p28331587.html
 Sent from the Free Desktop - xorg mailing list archive at Nabble.com.

 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Correct git clone and build instructions?

2010-04-22 Thread Peter Hutterer
On Thu, Apr 22, 2010 at 12:14:03PM -0500, Pat Kane wrote:
 I'm having trouble finding accurate git clone and build instructions
 
 I have had good luck using Peter's instructions at:
http://lists.x.org/archives/xorg-devel/2009-August/001826.html
 
   # Quickstart for those that do not use jhbuild:
export PREFIX=/opt/xorg
export LD_LIBRARY_PATH=$PREFIX/lib
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
export PATH=$PREFIX/bin:$PATH
export ACLOCAL=aclocal -I $PREFIX/share/aclocal

i looked at the build script a while ago, the above aren't even necessary as
it fills them in automatically (provided they're unset in the environment).

so it really comes down to clone, echo and build.sh.

Cheers,
  Peter

git clone git://anongit.freedesktop.org/git/xorg/util/modular/ util/modular
echo util/macros  built.modules
./util/modular/build.sh --clone -p -f built.modules -r `tail -n 1 
 built.modu\
 les` $PREFIX
 
   # Re-run the last command until a build succeeds.
   # Cheers,
   #   Peter
 
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg


Correct git clone and build instructions?

2010-04-21 Thread Jeff Carr
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?
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Correct git clone and build instructions?

2010-04-21 Thread Fernando Carrijo
Hi Jeff,

Jeff Carr basilarc...@gmail.com 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:

  http://wiki.x.org/wiki/ModularDevelopersGuide

I hope it helps!

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg