diff -r 25011ebab5ec -r 300f6d2615ce BuildingOnLinux.wiki --- a/BuildingOnLinux.wiki Sun Dec 14 18:29:29 2014 +0000 +++ b/BuildingOnLinux.wiki Sun Dec 14 18:34:32 2014 +0000 @@ -1,17 +1,18 @@ -#summary Instructions for building the development version of Hedgewars on Linux (debian focus) +#summary Instructions for building the development version of Hedgewars on GNU/Linux (Debian focus) #labels Phase-Implementation,Phase-Deploy,Phase-Support -= Introduction = - -This page contains Copy and Paste instructions for a Hedgewars development build. -They should work on Debian and the like (Ubuntu, Mint). -Required Packages for other distros should have similar names. += Building on GNU/Linux = +== Introduction == -Please remember to copy the *entire* apt-get lines! +This page contains copy-and-paste instructions for a Hedgewars development build. +They should work on Debian and derivates (Ubuntu, Mint). +Required packages for other distros should have similar names. -Also, see http://hedgewars.org/download.html if you are just looking to play latest stable - there's a good chance it exists for your distro. +Please remember to copy the _entire_ `apt-get` lines! -= Prerequisites = +Also, see http://hedgewars.org/download.html if you are just looking to play latest stable—there’s a good chance it exists for your distro. + +== Prerequisites == {{{ sudo apt-get install mercurial cmake g++ qt4-qmake libqt4-dev libsdl1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev liblua5.1-dev fpc libphysfs-dev fonts-dejavu-core ttf-wqy-zenhei @@ -29,7 +30,7 @@ sudo apt-get install ghc libghc-binary-dev libghc-bytestring-show-dev libghc-dataenc-dev libghc-deepseq-dev libghc-hslogger-dev libghc-mtl-dev libghc-network-dev libghc-parsec3-dev libghc-utf8-string-dev libghc-vector-dev libghc-random-dev libghc-zlib-dev libghc-sha-dev libghc-entropy-dev }}} -= Fetching the source code = +== Fetching the source code == Below you find instructions for downloading the Hedgewars source code from the development repository. @@ -42,7 +43,7 @@ hg clone -v https://hedgewars.googlecode.com/hg/ trunk }}} -The initial clone of the repository will take a while, is about 628MiB or so, due to all the multimedia revisions. +The initial clone of the repository will take a while, is about 628 MiB or so, due to all the multimedia revisions. After that switch to the trunk folder: {{{ @@ -53,12 +54,12 @@ {{{ hg update 0.9.20 }}} -Note. Do *NOT* run the command above if you want to play the latest development code (currently 0.9.21-dev). +Note. Do *not* run the command above if you want to play the latest development code (currently 0.9.21-dev). -= Building process = +== Building process == -Now let's configure and build! +Now let’s configure and build! If you want to install Hedgewars *just for your user account* run {{{ @@ -72,21 +73,21 @@ sudo make install }}} -IMPORTANT: If you decided against png-screenshots or video-recording support, please append `-DNOPNG=1` and/or `-DNOVIDEOREC=1` to the cmake command line respectively! +*Important*: If you decided against png-screenshots or video-recording support, please append `-DNOPNG=1` and/or `-DNOVIDEOREC=1` to the cmake command line respectively! -if you want to build the server as well, change `-DNOSERVER=1` to `-DNOSERVER=0` +If you want to build the server as well, change `-DNOSERVER=1` to `-DNOSERVER=0` -then wait for the build to complete, then run ... +then wait for the build to complete, then run … {{{ ~/games/bin/hedgewars }}} or just {{{hedgewars}}} if you did a system-wide install. -You can also create a launcher for it on your desktop or on applications menu if you wish, using the ~/games/bin/hedgewars path +You can also create a launcher for it on your desktop or on applications menu if you wish, using the `$HOME/games/bin/hedgewars` path -== Build latest development code repository updates === +== Build latest development code repository updates == If you have built from your repository clone before and now you want to download more recent updates and rebuild Hedgewars with them, then run