Free and Open Source real time strategy game with a new take on micro-management

Difference between revisions of "Building the .deb file"

From Globulation2

Jump to: navigation, search
m (category:en)
(Updated)
Line 1: Line 1:
#Install building tool:
{{OutDated|No longer using configure|We have switched to scons for Globulations main compiling tools and checkinstall (the program used below) currently only works with configure/make. This guide needs to be update with new instructions.}}
#:<pre>sudo apt-get install dpkg-dev</pre>

#Install glob2 building dependencies:
== Prerequisites ==
#:sudo apt-get install debhelper quilt scons libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libglu1-mesa-dev libvorbis-dev libspeex-dev libfreetype6-dev libboost-dev libboost-thread-dev libboost-date-time-dev libfribidi-dev portaudio19-dev libboost-math-dev
#A PC running Debian
#Get glob2 sources as it is suggested here [[Compiling#Sources_from_Mercurial]]
#All the data including
#Build a package:
#*sources ([[Mercurial]] or .tar.gz)
#:<pre>cd glob2-new</pre>
#*grafix and sounds (syncdata)
#:<pre>dpkg-buildpackage -I.hg</pre>
#*maps (syncmaps)
#*all that's necessary to build glob2 (make, libs, ...)
#*checkinstall (the piece of software that will actually make the .deb file

== Procedure ==
procede like you wanted to install glob2 on the system:
cd DirectoryYouDownloadedAndUnpackedGlob2
scons
and now instead of ''sudo scons install'' do a
sudo checkinstall scons install
Follow the instructions and please don't ignore lines like "can't find file ..." even as it might report to have finished successfully as this might imply you missed to do syncdata or thelike 9if you downloaded source from mercurial).
Now if it finished well you will find a .deb suitable to be installed on systems like yours.


[[Category:en]]
[[Category:en]]

Revision as of 14:54, 12 March 2010

  1. Install building tool:
    sudo apt-get install dpkg-dev
  2. Install glob2 building dependencies:
    sudo apt-get install debhelper quilt scons libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libglu1-mesa-dev libvorbis-dev libspeex-dev libfreetype6-dev libboost-dev libboost-thread-dev libboost-date-time-dev libfribidi-dev portaudio19-dev libboost-math-dev
  3. Get glob2 sources as it is suggested here Compiling#Sources_from_Mercurial
  4. Build a package:
    cd glob2-new
    dpkg-buildpackage -I.hg
Misc