author | Wuzzy |
Tue, 24 Oct 2017 14:53:30 +0100 | |
changeset 1103 | 72c1d2d3421c |
parent 1102 | 20695a9da988 |
child 1104 | 07b25c5508dd |
permissions | -rw-r--r-- |
1101 | 1 |
#summary List of programs and libraries for building and/or running Hedgewars |
508 | 2 |
|
761 | 3 |
= Dependencies = |
1101 | 4 |
== Dependencies for fetching latest source code == |
5 |
If you want to get the source code from the mercurial repository, you'll need these. |
|
508 | 6 |
|
7 |
|| *Name* || *Homepage* || |
|
8 |
|| Mercurial || [http://mercurial.selenic.com/] || |
|
9 |
||
761 | 10 |
== Build-only dependencies == |
508 | 11 |
You need these packages to build Hedgewars, but not afterwards. |
12 |
||
1100 | 13 |
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* || |
508 | 14 |
|| CMake || 2.6 || 2.6 || [http://www.cmake.org/] || |
15 |
||
761 | 16 |
== Core dependencies == |
1101 | 17 |
You need these programs and libraries to build and run Hedgewars. |
508 | 18 |
Note: You will need the development headers of the libraries for building only. |
19 |
||
1100 | 20 |
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* || |
972 | 21 |
|| Qt || 4.7.0 || 4.7.0 || [http://www.qt.io/] || |
1100 | 22 |
|| SDL || 1.2 || 2.0 || [http://libsdl.org/] || |
23 |
|| SDL_net || 1.2 || 2.0 || [http://libsdl.org/] || |
|
24 |
|| SDL_mixer || 1.2 || 2.0 || [http://libsdl.org/] || |
|
25 |
|| SDL_image || 1.2 || 2.0 || [http://libsdl.org/] || |
|
508 | 26 |
|| SDL_TTF || 2.0 || 2.0 || [http://libsdl.org/] || |
1103 | 27 |
|| FPC (Free Pascal Compiler) || 2.2.4 || 2.2.4 || [http://freepascal.org/] || |
508 | 28 |
|
761 | 29 |
== Bundled dependencies == |
1101 | 30 |
You can build/run Hedgewars using these packages from your system or use those that come with the Hedgewars source: |
508 | 31 |
|
1100 | 32 |
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* || |
33 |
|| Lua || 5.1 (exactly) || 5.1 (exactly) || [http://www.lua.org/] || |
|
1101 | 34 |
|| PhysFS || 2.0.3 || 2.1.0 || [https://icculus.org/physfs/] || |
508 | 35 |
|
36 |
Bundled Fonts: |
|
37 |
|| *Name* || *Homepage* || *Comment* || |
|
38 |
|| !DejaVu Sans Bold || [http://dejavu-fonts.org/] || — || |
|
39 |
|| Zen Hei || [http://wenq.org/] || From the !WenQuanYi project. Font is internally known as “wgy-zenhei” || |
|
40 |
||
761 | 41 |
== Optional dependencies == |
508 | 42 |
You don’t need to install these packages to build Hedgewars, but if you don’t, some features will be missing. |
43 |
||
1101 | 44 |
=== For PNG screenshots === |
508 | 45 |
|| *Name* || *Version* || *Homepage* || |
46 |
|| libpng || 1.2 || [http://www.libpng.org/pub/png/libpng.html] || |
|
47 |
||
1101 | 48 |
=== Video recording === |
49 |
For the video recorder, you need either FFmpeg _or_ Libav. And FreeGLUT. |
|
50 |
||
508 | 51 |
|| *Name* || *Version* || *Homepage* || |
1101 | 52 |
|| FFmpeg || ??? || [http://ffmpeg.org/] || |
1102 | 53 |
|| Libav || ??? || [https://libav.org/] || |
508 | 54 |
|| FreeGLUT || 3.0 || [http://freeglut.sourceforge.net/] || |
55 |
||
56 |
*Note*: See also VideoRecorder for detailed instructions to build the video recorder. |
|
57 |
||
1101 | 58 |
=== Server === |
59 |
The server is built seperately. If you want to build the server you need a couple of Haskell-related packages. First you need GHC: |
|
508 | 60 |
|| *Name* || *Version* || *Homepage* || |
537
9c9c528bd61b
It’s “Glasgow Haskell Compiler” not “Gnu Haskell Compiler” :D
almikes@aol.com
parents:
516
diff
changeset
|
61 |
|| GHC (Glasgow Haskell Compiler) || 6.10 || [https://www.haskell.org/ghc/] || |
508 | 62 |
|
63 |
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. |
|
908 | 64 |
|| *Haskell library name* || *Hedgewars Version* || *Hackage link* || |
1100 | 65 |
|| sandi || after 0.9.22 || http://hackage.haskell.org/package/sandi || |
66 |
|| hslogger || || http://hackage.haskell.org/package/hslogger || |
|
67 |
|| regex-tdfa || after 0.9.22 || http://hackage.haskell.org/package/regex-tdfa || |
|
508 | 68 |
|| bytestring || || http://hackage.haskell.org/package/bytestring || |
69 |
|| bytestring-show || || http://hackage.haskell.org/package/bytestring-show || |
|
908 | 70 |
|| dataenc || 0.9.22 or older || http://hackage.haskell.org/package/dataenc || |
508 | 71 |
|| deepseq || || http://hackage.haskell.org/package/deepseq || |
72 |
|| mtl || || http://hackage.haskell.org/package/mtl || |
|
73 |
|| network || || http://hackage.haskell.org/package/network || |
|
74 |
|| parsec3 || || http://hackage.haskell.org/package/parsec3 || |
|
75 |
|| utf8-string || || http://hackage.haskell.org/package/utf8-string || |
|
76 |
|| vector || || http://hackage.haskell.org/package/vector || |
|
77 |
|| random || || http://hackage.haskell.org/package/random || |
|
78 |
|| zlib || || http://hackage.haskell.org/package/zlib || |
|
79 |
|| SHA || || http://hackage.haskell.org/package/SHA || |
|
908 | 80 |
|| entropy || || http://hackage.haskell.org/package/entropy || |