# HG changeset patch # User nemo # Date 1544797361 18000 # Node ID 425eb8f784a9ea9c933910c8357c25c3222dd1f3 # Parent ad2641650d35c9cdacb622019e595e4bc152c4e5 Drop 0.9.22 reference to tidy up. - not much point in building anything that old anymore - if anyone wants ancient builds of server, eh, the wiki is versioned. Remove SDL 1.2 from dep list for similar reason. diff -r ad2641650d35 -r 425eb8f784a9 BuildingOnLinux.wiki --- a/BuildingOnLinux.wiki Fri Dec 14 01:43:02 2018 +0000 +++ b/BuildingOnLinux.wiki Fri Dec 14 09:22:41 2018 -0500 @@ -24,9 +24,11 @@ These line contain `apt-get` lines you can simply paste into your shell and execute. Please remember to copy the _entire_ `apt-get` lines! {{{ -sudo apt-get install mercurial cmake g++ qtbase5-dev qtbase5-private-dev qttools5-dev-tools qttools5-dev qt5-style-plugins libsdl1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl2-dev libsdl2-net-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev liblua5.1-dev fpc libphysfs-dev fonts-dejavu-core ttf-wqy-zenhei +sudo apt-get install mercurial cmake g++ qtbase5-dev qtbase5-private-dev qttools5-dev-tools qttools5-dev qt5-style-plugins libsdl-ttf2.0-dev libsdl2-dev libsdl2-net-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev liblua5.1-dev fpc libphysfs-dev fonts-dejavu-core ttf-wqy-zenhei }}} +If you are on debian stable as of 2018-12-14, you may have to install the backport of physfs. + If you want PNG screenshots (instead of BMP screenshots), add: {{{ sudo apt-get install libpng12-dev @@ -37,14 +39,11 @@ }}} If you want to try building the server as well (requires at least libghc base 4.3 now) try these too: -(for Hedgewars versions after 0.9.22) {{{ sudo apt-get install ghc libghc-binary-dev libghc-bytestring-show-dev libghc-sandi-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 libghc-regex-tdfa-dev libghc-aeson-dev libghc-yaml-dev libghc-text-dev }}} -(for Hedgewars version 0.9.22 or earlier) -{{{ -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 -}}} + +Note that Haskell is also required to build Hedgewars 0.9.25 on 32 bit linux due to a FreePascal alignment bug triggered by an undisableable SDL2 CPU feature detection. 0.9.24 and 0.9.23 have same bug, so will not function properly on 32 bit Linux. == Fetching the source code ==