howto/en/subversion
From Wormux
Contents |
[edit]
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 Wormux dependencies : libsdl1.2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libxml++2.6-dev libcurl3-dev
svn co http://svn.gna.org/svn/wormux/trunk wormux cd wormux ./autogen.sh ./configure --enable-debug make sudo make install
If you want to run wormux from the source directory (without running make install), add (in ~/.bashrc) :
export WORMUX_DATADIR=~/<path-to-wormux-checkout>/data/ export WORMUX_LOCALEDIR=~/<path-to-wormux-checkout>/po/ export WORMUX_FONT_PATH=~/<path-to-wormux-checkout>/data/font/DejaVuSans.ttf
Or simply run from the wormux directory
make run
Or (if you want to run in gdb)
make debug
[edit]
Subversion 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!
[edit]
Wormux repository
- trunk: Last version of Wormux
- debian: Tools to prepare Debian packages (based on trunk)
- tags: Each release of Wormux should have it's copy here
- branches: Other versions of Wormux
- branches/wormux-0.7: Version 0.7 of Wormux (not stable yet, yet=2005-02-18)
[edit]
See also
[edit]
Internal link
[edit]








