diff -r b0bc67eefc73 -r 283791011d7c BuildingOnLinux.wiki --- a/BuildingOnLinux.wiki Tue Dec 16 10:51:11 2014 +0000 +++ b/BuildingOnLinux.wiki Tue Dec 16 11:01:51 2014 +0000 @@ -14,75 +14,13 @@ The first section contains dependency lists, the second section contain copy-and-paste instructions for Debian and derivates (Ubuntu, Linux Mint, etc.). === Required packages === -This section contains lists of required packages to build Hedgewars. In most Linux distributions, you should find readily available packages. - -Please note that for libraries, you need to have the *entire* library installed, including the headers. Some distributions (most notably Debian and Debian derivates) provide seperate packages for the headers. - -==== Build dependencies === -You need these packages to build Hedgewars, but not afterwards: - -|| *Name* || *Version* || *Homepage* || -|| Mercurial || || [http://mercurial.selenic.com/] || -|| CMake || || [http://www.cmake.org/] || -|| QMake || || [http://www.qt.io/] || - -==== Core dependencies === -You need these softwares no matter what: +For a full list see [Dependencies Dependencies] -|| *Name* || *Version* || *Homepage* || -|| Qt || 4 || [http://www.qt.io/] || -|| SDL || 1.2 || [http://libsdl.org/] || -|| SDL_net || 1.2 || [http://libsdl.org/] || -|| SDL_mixer || 1.2 || [http://libsdl.org/] || -|| SDL_image || 1.2 || [http://libsdl.org/] || -|| SDL_TTF || 2.0 || [http://libsdl.org/] || -|| Lua || 5.1 || [http://www.lua.org/] || -|| FPC || ??? || [http://freepascal.org/] || -|| PhysFS || ??? || [https://icculus.org/physfs/] || - -You also need the following fonts: -|| *Name* || *Homepage* || *Comment* || -|| !DejaVu Sans Bold || [http://dejavu-fonts.org/] || — || -|| Zen Hei || [http://wenq.org/] || From the !WenQuanYi project. Font is internally known as “wgy-zenhei” || - -==== Optional packages ==== -You don’t need to install these packages to build Hedgewars, but if you don’t, some features will be missing. +In most Linux distributions, you should find readily available packages. -For PNG screenshots: -|| *Name* || *Version* || *Homepage* || -|| libpng || 1.2 || [http://www.libpng.org/pub/png/libpng.html] || - -For video recording: -|| *Name* || *Version* || *Homepage* || -|| libavcodec || ??? || [http://ffmpeg.org/libavcodec.html] || -|| libavformat || ??? || [http://ffmpeg.org/libavformat.html] || -|| FreeGLUT || 3.0 || [http://freeglut.sourceforge.net/] || - -*Note*: See also VideoRecorder for detailed instructions to build the video recorder. - -If you want to build the server you need a couple of Haskell-related packages. First you need GHC: -|| *Name* || *Version* || *Homepage* || -|| GHC || || [https://www.haskell.org/ghc/] || +Please note that for libraries, you also need their development headers. Some distributions (most notably Debian and Debian derivatives) provide separate packages for the headers. -Then you need a couple of Haskell software. Note that package names for Haskell software varies wildly between Linux distributions. When in doubt, check your distribution’s documentation about any naming conventions they may have about Haskell packages. -|| *Haskell library name* || *Version* || *Hackage link* || -|| bytestring || || http://hackage.haskell.org/package/bytestring || -|| bytestring-show || || http://hackage.haskell.org/package/bytestring-show || -|| dataenc || || http://hackage.haskell.org/package/dataenc || -|| deepseq || || http://hackage.haskell.org/package/deepseq || -|| hslogger || || http://hackage.haskell.org/package/hslogger || -|| mtl || || http://hackage.haskell.org/package/mtl || -|| network || || http://hackage.haskell.org/package/network || -|| parsec3 || || http://hackage.haskell.org/package/parsec3 || -|| utf8-string || || http://hackage.haskell.org/package/utf8-string || -|| vector || || http://hackage.haskell.org/package/vector || -|| random || || http://hackage.haskell.org/package/random || -|| zlib || || http://hackage.haskell.org/package/zlib || -|| SHA || || http://hackage.haskell.org/package/SHA || -|| entropy || || http://hackage.haskell.org/package/entropy || - - -=== Resolving dependencies under Debian and Debian-like systems === +=== Resolving dependencies under Debian and Debian-based systems (e.g. Mint, Ubuntu) === These line contain `apt-get` lines you can simply paste into your shell and execute. Please remember to copy the _entire_ `apt-get` lines! {{{