Subversion
Table of contents
Compile the development version from the source
The first thing to do is to install subversion, gettext-dev, g++ and autoconf-1.9
Then you can install WarMUX dependencies : libsdl1.2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libcurl3-dev
In Ubuntu and Debian dependecies can be easily installed with
Code BASH :
sudo apt-get build-dep warmux
or alternatively
Code BASH :
sudo apt-get build-dep wormux
Once all those packages are installed, you can download the sources and compile WarMUX with these commands.
Code BASH :
svn co http://svn.gna.org/svn/warmux/trunk warmux cd warmux ./autogen.sh ./configure --enable-debug make sudo make install
If you want to run WarMUX from the source directory (without running make install), add (in ~/.bashrc) :
Code TEXT :
export WARMUX_DATADIR=~/<path-to-WarMUX-checkout>/data/ export WARMUX_LOCALEDIR=~/<path-to-WarMUX-checkout>/po/ export WARMUX_FONT_PATH=~/<path-to-WarMUX-checkout>/data/font/DejaVuSans.ttf
Or simply run from the WarMUX directory
Code BASH :
make runOr (if you want to run in gdb)
Code BASH :
make debugSubversion commands
Usual commands for developers:
- svn up: Upgrade local repository
- svn diff file.cpp: Show differences on a file since last commit
- svn diff -r 100 file.cpp: Show differences from version 100 to current version of a file
- svn stat: Show changed files, files not in repository, etc.
Other commands:
- svn rm file: Remove file
- svn add file: Add file
- svn revert file: Revert file
- svn log file: Show each changes on a file
- svn blame file: Comment a file with the author of each line!
WarMUX repository
- trunk: Last development trunk of WarMUX
- tags: Each release of WarMUX should have it's copy here
- branches: Additional development branches
- data-src: Source-files (eg. xcf or svg) for graphics used in the game
- extramaps: directory containg our extramaps-package
- uml: UML-diagrams of WarMUX' classes.
External links
* Browse WarMUX source code
* subversion
This page has been seen 31438 times
Tools
Contribute