Difference between revisions of "HowTo:Checkout SVN (Ubuntu Linux)"

From VsWiki
Jump to: navigation, search
Line 3: Line 3:
 
Notice: This process was
 
Notice: This process was
  
== Tutorial to download, compile, setup and run Vega Strike ==
+
= Tutorial to Download, Compile, Setup and Run Vega Strike =
 +
== Downloading Vega Strike ==
 
=== Installing SVN ===
 
=== Installing SVN ===
 
The first step is to install Subversion. In Ubuntu (and Debian, I guess) it is easy to install Subversion just by using the Synaptic Package Manager. Goto System>Administration>Synaptic Package Manager. In the quick search box, type "subversion" without quotation marks. Select the first option and mark for installation. Every step involving the command "svn", will be using subversion.
 
The first step is to install Subversion. In Ubuntu (and Debian, I guess) it is easy to install Subversion just by using the Synaptic Package Manager. Goto System>Administration>Synaptic Package Manager. In the quick search box, type "subversion" without quotation marks. Select the first option and mark for installation. Every step involving the command "svn", will be using subversion.
Line 30: Line 31:
 
<pre>svn update vegastrike/boost/1_35</pre>
 
<pre>svn update vegastrike/boost/1_35</pre>
 
Configuring this boost revision is easy, but it will be explained in the configure section, so don't worry for now.
 
Configuring this boost revision is easy, but it will be explained in the configure section, so don't worry for now.
 +
 +
== Building/Compiling ==
 +
You might not understand what compiling is, but it is not that important. What ''is'' important is that you do it. Its really not that complicated, so here it goes.
 +
* First of all, we have to make sure we have certain minimun requirements. I could list you a dozen ''l33t'' terms, but you don't certainly need to know them. We'll just make sure to have them all by inserting this into Terminal (copy and paste entire code into Terminal).
 +
<pre>sudo apt-get install libpng12-0 libpng12-dev python2.5-dev libexpat1-dev    \
 +
        libjpeg62-dev glutg3-dev libopenal-dev libgtk2.0-dev libogg-dev libvorbis-dev \
 +
        build-essential libgl1-mesa-dev automake autoconf
 +
</pre>
 +
 +
=== Compiling ===

Revision as of 17:30, 31 January 2009

This is a newb friendly guide to help people who do not want to learn deep specifics and terms. Most of this guide will show you copy-paste lines to paste in Terminal, omitting most technical issues. However, you might want to take a look at what SVN is to have a general understanding of this version. If you follow steps correctly, VS should be able to run. If you have problems compiling in Ubuntu, post a new thread in the VS Forums (click here [1]). Someone will be able to help you. Note: This process was done in Ubuntu 8.10 (Intrepid). Notice: This process was

Tutorial to Download, Compile, Setup and Run Vega Strike

Downloading Vega Strike

Installing SVN

The first step is to install Subversion. In Ubuntu (and Debian, I guess) it is easy to install Subversion just by using the Synaptic Package Manager. Goto System>Administration>Synaptic Package Manager. In the quick search box, type "subversion" without quotation marks. Select the first option and mark for installation. Every step involving the command "svn", will be using subversion.

Preparing Vega Strike

First of all, you must understand some basic knowledge. The first thing to do is to download the most important modules, which are the basic structure of VS. Basically, this is the game. You must download these in order to play VS. The modules are the data and vegastrike modules.

  • First create a directory where you would like your copy of the Vega Strike development version to live in. For tutorial purposes, we will create a directory called VegaStrike in our user's home-directory.
User@UserMachine:~$ mkdir VegaStrike
  • Change into this newly created directory. In our case:
User@UserMachine:~$ cd VegaStrike

Note for newbs: The directory is case sensitive. If you type: cd vegastrike or Vegastrike, it won't find the directory. Also, do not copy and paste "User@UserMachine:~$".

Downloading Vega Strike

Now we can start downloading the packages from the SVN repository. If you download them directly into your Vega Strike directory they will be just in the right place.

  • Download (check-out) the source code package vegastrike, and the content package data package.
User@UserMachine:~/VegaStrike$ svn co https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike
  • After the first one finishes downloading (User@UserMachine:~/VegaStrike$ will reappear), insert the next. Be warned, you need a descent download speed to download the next package with this method.
User@UserMachine:~/VegaStrike$ svn co https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/data

This leaves you with two new directories inside your Vega Strike directory called as the packages are.

Boost Revisions

I must confess not even I understand this, but it must be done.

  • Just paste this code to update to revision 1.35.
svn update vegastrike/boost/1_35

Configuring this boost revision is easy, but it will be explained in the configure section, so don't worry for now.

Building/Compiling

You might not understand what compiling is, but it is not that important. What is important is that you do it. Its really not that complicated, so here it goes.

  • First of all, we have to make sure we have certain minimun requirements. I could list you a dozen l33t terms, but you don't certainly need to know them. We'll just make sure to have them all by inserting this into Terminal (copy and paste entire code into Terminal).
sudo apt-get install libpng12-0 libpng12-dev python2.5-dev libexpat1-dev     \
        libjpeg62-dev glutg3-dev libopenal-dev libgtk2.0-dev libogg-dev libvorbis-dev \
        build-essential libgl1-mesa-dev automake autoconf

Compiling