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)
 
(3 intermediate revisions by 3 users not shown)
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</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 -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