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)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#Install building tool:
== Prerequesits ==
#:<pre>sudo apt-get install dpkg-dev</pre>

#Install glob2 building dependencies:
#A PC running Debian
#: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
#All the data including
#Get glob2 sources as it is suggested here [[Compiling#Sources_from_Mercurial]]
#*sources ([[Mercurial]] or .tar.gz)
#Build a package:
#*grafix and sounds (syncdata)
#:<pre>cd glob2</pre>
#*maps (syncmaps)
#:<pre>dpkg-buildpackage -I.hg</pre>
#*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
./bootstrap
./configure
./syncdata
./syncmaps
make
and now instead of ''sudo make 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.
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