Dependencies.wiki
author Wuzzy
Mon, 09 Jul 2018 20:20:22 +0100
changeset 1433 19945dc3944e
parent 1324 bb87061fc23f
child 1660 6f6de1fdc526
permissions -rw-r--r--
HWPFormat: simplify headers
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
     1
#summary List of programs and libraries for building and/or running Hedgewars
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
     2
761
c3cc847195be Dependencies: Fix header levels
Wuzzy
parents: 542
diff changeset
     3
= Dependencies =
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
     4
== Dependencies for fetching latest source code ==
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
     5
If you want to get the source code from the mercurial repository, you'll need these.
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
     6
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
     7
|| *Name* || *Homepage* ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
     8
|| Mercurial || [https://www.mercurial-scm.org/] ||
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
     9
761
c3cc847195be Dependencies: Fix header levels
Wuzzy
parents: 542
diff changeset
    10
== Build-only dependencies ==
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    11
You need these packages to build Hedgewars, but not afterwards.
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    12
1100
7e1f1bf5b955 Dependencies: Update for current dev
Wuzzy
parents: 972
diff changeset
    13
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    14
|| CMake || 2.6 || 2.6 || [https://www.cmake.org/] ||
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    15
761
c3cc847195be Dependencies: Fix header levels
Wuzzy
parents: 542
diff changeset
    16
== Core dependencies ==
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    17
You need these programs and libraries to build and run Hedgewars.
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    18
Note: You will need the development headers of the libraries for building only.
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    19
1100
7e1f1bf5b955 Dependencies: Update for current dev
Wuzzy
parents: 972
diff changeset
    20
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* ||
1324
bb87061fc23f Dependencies: update qt version
Wuzzy
parents: 1277
diff changeset
    21
|| Qt || 5.0.0 || 5.0.0 || [https://www.qt.io/] ||
1110
f7bfa40bdbc5 Dependencies: Update versions
Wuzzy
parents: 1104
diff changeset
    22
|| SDL || 2.0 || 2.0 || [https://libsdl.org/] ||
f7bfa40bdbc5 Dependencies: Update versions
Wuzzy
parents: 1104
diff changeset
    23
|| SDL_net || 2.0 || 2.0 || [https://libsdl.org/] ||
f7bfa40bdbc5 Dependencies: Update versions
Wuzzy
parents: 1104
diff changeset
    24
|| SDL_mixer || 2.0 || 2.0 || [https://libsdl.org/] ||
f7bfa40bdbc5 Dependencies: Update versions
Wuzzy
parents: 1104
diff changeset
    25
|| SDL_image || 2.0 || 2.0 || [https://libsdl.org/] ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    26
|| SDL_TTF || 2.0 || 2.0 || [https://libsdl.org/] ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    27
|| FPC (Free Pascal Compiler) || 2.2.4 || 2.2.4 || [https://freepascal.org/] ||
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    28
1264
28d3bf0701a5 Dependencies: Update for qt5transition
Wuzzy
parents: 1110
diff changeset
    29
== Recommended dependency ==
28d3bf0701a5 Dependencies: Update for qt5transition
Wuzzy
parents: 1110
diff changeset
    30
This is not strictly required, but recommended:
28d3bf0701a5 Dependencies: Update for qt5transition
Wuzzy
parents: 1110
diff changeset
    31
28d3bf0701a5 Dependencies: Update for qt5transition
Wuzzy
parents: 1110
diff changeset
    32
|| *Name* || *Homepage* ||
28d3bf0701a5 Dependencies: Update for qt5transition
Wuzzy
parents: 1110
diff changeset
    33
|| qtstyleplugins || [https://github.com/qt/qtstyleplugins] ||
28d3bf0701a5 Dependencies: Update for qt5transition
Wuzzy
parents: 1110
diff changeset
    34
761
c3cc847195be Dependencies: Fix header levels
Wuzzy
parents: 542
diff changeset
    35
== Bundled dependencies ==
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    36
You can build/run Hedgewars using these packages from your system or use those that come with the Hedgewars source:
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    37
1100
7e1f1bf5b955 Dependencies: Update for current dev
Wuzzy
parents: 972
diff changeset
    38
|| *Name* || *Version* (Latest HW release) || *Version* (Unstable) || *Homepage* ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    39
|| Lua || 5.1 (exactly) || 5.1 (exactly) || [https://www.lua.org/] ||
1110
f7bfa40bdbc5 Dependencies: Update versions
Wuzzy
parents: 1104
diff changeset
    40
|| PhysFS || 2.1.0 || 2.1.0 || [https://icculus.org/physfs/] ||
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    41
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    42
Bundled Fonts:
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    43
|| *Name* || *Homepage* || *Comment* ||
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    44
|| !DejaVu Sans Bold || [http://dejavu-fonts.org/] || — ||
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    45
|| Zen Hei || [http://wenq.org/] || From the !WenQuanYi project. Font is internally known as “wgy-zenhei” ||
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    46
761
c3cc847195be Dependencies: Fix header levels
Wuzzy
parents: 542
diff changeset
    47
== Optional dependencies ==
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    48
You don’t need to install these packages to build Hedgewars, but if you don’t, some features will be missing.
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    49
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    50
=== For PNG screenshots ===
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    51
|| *Name* || *Version* || *Homepage* ||
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    52
|| libpng || 1.2 || [http://www.libpng.org/pub/png/libpng.html] ||
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    53
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    54
=== Video recording ===
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    55
For the video recorder, you need either FFmpeg _or_ Libav. And FreeGLUT.
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    56
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    57
|| *Name* || *Version* || *Homepage* ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    58
|| FFmpeg || ??? || [https://ffmpeg.org/] ||
1102
20695a9da988 Dependencies: fix link
Wuzzy
parents: 1101
diff changeset
    59
|| Libav || ??? || [https://libav.org/] ||
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    60
|| FreeGLUT || 3.0 || [http://freeglut.sourceforge.net/] ||
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    61
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    62
*Note*: See also VideoRecorder for detailed instructions to build the video recorder.
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    63
1101
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    64
=== Server ===
172cf3112fde Dependencies: Update optdepends
Wuzzy
parents: 1100
diff changeset
    65
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
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    66
|| *Name* || *Version* || *Homepage* ||
537
9c9c528bd61b It’s “Glasgow Haskell Compiler” not “Gnu Haskell Compiler” :D
almikes@aol.com
parents: 516
diff changeset
    67
|| GHC (Glasgow Haskell Compiler) || 6.10 || [https://www.haskell.org/ghc/] ||
508
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    68
b0bc67eefc73 new page
sheepyluva@gmail.com
parents:
diff changeset
    69
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
8b42034df79a Dependencies: Edited via web interface
sheepluva
parents: 761
diff changeset
    70
|| *Haskell library name* || *Hedgewars Version* || *Hackage link* ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    71
|| sandi || after 0.9.22 || https://hackage.haskell.org/package/sandi ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    72
|| hslogger || || https://hackage.haskell.org/package/hslogger ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    73
|| regex-tdfa || after 0.9.22 || https://hackage.haskell.org/package/regex-tdfa ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    74
|| bytestring || || https://hackage.haskell.org/package/bytestring ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    75
|| bytestring-show || || https://hackage.haskell.org/package/bytestring-show ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    76
|| dataenc || 0.9.22 or older || https://hackage.haskell.org/package/dataenc ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    77
|| deepseq || || https://hackage.haskell.org/package/deepseq ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    78
|| mtl || || https://hackage.haskell.org/package/mtl ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    79
|| network || || https://hackage.haskell.org/package/network ||
1276
ee2f02bc45c2 Dependencies: parsec3, the second
Wuzzy
parents: 1275
diff changeset
    80
|| parsec3 || 0.9.23 or older  || https://hackage.haskell.org/package/parsec3 ||
1104
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    81
|| utf8-string || || https://hackage.haskell.org/package/utf8-string ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    82
|| vector || || https://hackage.haskell.org/package/vector ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    83
|| random || || https://hackage.haskell.org/package/random ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    84
|| zlib || || https://hackage.haskell.org/package/zlib ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    85
|| SHA || || https://hackage.haskell.org/package/SHA ||
07b25c5508dd Dependencies: HTTPS
Wuzzy
parents: 1103
diff changeset
    86
|| entropy || || https://hackage.haskell.org/package/entropy ||