Difference between revisions of "Build from SVN"

From X-Moto
Jump to: navigation, search
Line 1: Line 1:
[[Ca:Compilacio CVS|Català]] - [[Es:Compilacion CVS|Español]] - [[No:Kompilere_fra_CVS|Norsk]]
+
[[Ca:Compilacio SVN|Català]] - [[Es:Compilacion SVN|Español]] - [[No:Kompilere_fra_SVN|Norsk]]
  
== CVS ? ==
+
== SVN ? ==
  
X-Moto uses CVS to develop the game. With CVS files, you have access to new features and... new bugs.
+
X-Moto uses SVN to develop the game. With SVN files, you have access to new features and... new bugs.
 
Use them only if you know what you do.
 
Use them only if you know what you do.
  
You must know that sources downloaded from CVS should not be compiled sometimes !
+
You must know that sources downloaded from SVN should not be compiled sometimes !
  
[http://en.wikipedia.org/wiki/Concurrent_Versions_System Wikipedia - CVS]
+
[http://en.wikipedia.org/wiki/Subversion_%28software%29]
[http://sourceforge.net/cvs/?group_id=139914 Sourceforge - X-Moto - CVS]
 
  
=== Download latest files with CVS ===
+
=== Download latest files with SVN ===
  
 
For the first time, download all the files under "xmoto/" :
 
For the first time, download all the files under "xmoto/" :
  
# cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto co -P xmoto
+
svn co svn://svn.tuxfamily.org/svnroot/xmoto/xmoto/trunk xmoto
 +
 
 +
Note that there are a lot of graphical client to use svn if you're afraid by command line
  
 
=== Update our files ===
 
=== Update our files ===
Line 21: Line 22:
 
When you already download all we need, you can update with this command :
 
When you already download all we need, you can update with this command :
  
  # cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto -q update -d
+
  # svn update
 +
 
 +
=== Web access ===
 +
http://viewvc.tuxfamily.org/svn_xmoto_xmoto
 +
 
 +
=== Notification via rss ===
 +
http://svnweb.tuxfamily.org/rss.php?repname=xmoto+%28xmoto%29&path=%2F&rev=0&sc=0&isdir=1
  
 
== Build ==
 
== Build ==
Line 66: Line 73:
 
=== Doesn't work ? ===
 
=== Doesn't work ? ===
  
Try to see where is the error and try to answer by yourself : the files on the CVS aren't supported by the development team.
+
Join us on IRC
 
 
== TODO ==
 
 
 
The page is for linux, make it for other OS too.
 
More explanations maybe ?
 

Revision as of 20:49, 6 February 2007

Català - Español - Norsk

SVN ?

X-Moto uses SVN to develop the game. With SVN files, you have access to new features and... new bugs. Use them only if you know what you do.

You must know that sources downloaded from SVN should not be compiled sometimes !

[1]

Download latest files with SVN

For the first time, download all the files under "xmoto/" :

svn co svn://svn.tuxfamily.org/svnroot/xmoto/xmoto/trunk xmoto

Note that there are a lot of graphical client to use svn if you're afraid by command line

Update our files

When you already download all we need, you can update with this command :

# svn update

Web access

http://viewvc.tuxfamily.org/svn_xmoto_xmoto

Notification via rss

http://svnweb.tuxfamily.org/rss.php?repname=xmoto+%28xmoto%29&path=%2F&rev=0&sc=0&isdir=1

Build

Dependencies

X-Moto must have the following to compile :

  • Latest gcc and g++
  • SDL development libraries and headers
  • OpenGL development libraries and headers
  • SDL_mixer with headers
  • libjpeg with headers
  • libpng with headers
  • zlib with headers
  • libbzip2 with headers
  • liblua50 with headers
  • liblualib50 with headers
  • libode0 with headers
  • libcurl3 with headers
  • automake >= 1.9

But with the new features, new dependencies can be asked.

Ok, I can build it !

$ cd xmoto
$ sh ./bootstrap
$ ./configure
$ make
# make install

Right now, you can start xmoto with "./xmoto". If you didn't do the # make install step, you can launch the game with $ (cd bin; ../xmoto)

If sh ./bootstrap failed, you have to edit the ./bootstrap file manually:

aclocal -I config $ACLOCAL_FLAGS\
&& automake --gnu --add-missing --copy \

so it looks like that:

aclocal-1.9 -I config $ACLOCAL_FLAGS\
&& automake-1.9 --gnu --add-missing --copy \

Doesn't work ?

Join us on IRC