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
(https://bitbucket.org/giszmo/glob2 again)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#Install building tool:
== Prerequisites ==
#:<pre>sudo apt-get install dpkg-dev</pre>
#A PC running Debian
#Install glob2 building dependencies:
#All the data including
#: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
#*sources ([[Mercurial]] or .tar.gz)
#Get glob2 sources as it is suggested here [[Compiling#Sources_from_Mercurial]]
#*grafix and sounds (syncdata)
#Build a package:
#*maps (syncmaps)
#:<pre>cd glob2</pre>
#*all that's necessary to build glob2 (make, libs, ...)
#:<pre>dpkg-buildpackage -I.hg</pre>
#*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 -D
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:Developer Resources]]
[[Category:Developer Resources]]

Latest revision as of 19:51, 4 October 2012

  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
    dpkg-buildpackage -I.hg
Misc