BuildingOnLinux.wiki
changeset 1687 425eb8f784a9
parent 1529 7513dca7de74
child 1688 9440b5791248
equal deleted inserted replaced
1686:ad2641650d35 1687:425eb8f784a9
    22 
    22 
    23 === Resolving dependencies under Debian and Debian-based systems (e.g. Mint, Ubuntu) ===
    23 === Resolving dependencies under Debian and Debian-based systems (e.g. Mint, Ubuntu) ===
    24 These line contain `apt-get` lines you can simply paste into your shell and execute. Please remember to copy the _entire_ `apt-get` lines!
    24 These line contain `apt-get` lines you can simply paste into your shell and execute. Please remember to copy the _entire_ `apt-get` lines!
    25 
    25 
    26 {{{
    26 {{{
    27 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
    27 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
    28 }}}
    28 }}}
       
    29 
       
    30 If you are on debian stable as of 2018-12-14, you may have to install the backport of physfs.
    29 
    31 
    30 If you want PNG screenshots (instead of BMP screenshots), add:
    32 If you want PNG screenshots (instead of BMP screenshots), add:
    31 {{{
    33 {{{
    32 sudo apt-get install libpng12-dev
    34 sudo apt-get install libpng12-dev
    33 }}}
    35 }}}
    35 {{{
    37 {{{
    36 sudo apt-get install libavcodec-dev libavformat-dev freeglut3-dev
    38 sudo apt-get install libavcodec-dev libavformat-dev freeglut3-dev
    37 }}}
    39 }}}
    38 If you want to try building the server as well (requires at least libghc base 4.3 now) try these too:
    40 If you want to try building the server as well (requires at least libghc base 4.3 now) try these too:
    39 
    41 
    40 (for Hedgewars versions after 0.9.22)
       
    41 {{{
    42 {{{
    42 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
    43 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
    43 }}}
    44 }}}
    44 (for Hedgewars version 0.9.22 or earlier)
    45 
    45 {{{
    46 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.
    46 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
       
    47 }}}
       
    48 
    47 
    49 == Fetching the source code ==
    48 == Fetching the source code ==
    50 
    49 
    51 Below you find instructions for downloading the Hedgewars source code from the development repository.
    50 Below you find instructions for downloading the Hedgewars source code from the development repository.
    52 
    51