1,544
edits
DrinkyBird (talk | contribs) (Greatly simplified version of the build guide) Tag: Source edit |
DrinkyBird (talk | contribs) (Update and clean up dependency commands) Tag: Source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
** kdialog ''(optional - for KDE users)'' | ** kdialog ''(optional - for KDE users)'' | ||
** fluidsynth or timidity ''(optional - for [http://zdoom.org/wiki/MIDI MIDI] playback)'' | ** fluidsynth or timidity ''(optional - for [http://zdoom.org/wiki/MIDI MIDI] playback)'' | ||
=== Debian/Ubuntu === | === Debian/Ubuntu === | ||
Line 39: | Line 37: | ||
dnf install gcc-c++ make cmake SDL-devel mercurial zlib-devel \ | dnf install gcc-c++ make cmake SDL-devel mercurial zlib-devel \ | ||
bzip2-devel libjpeg-turbo-devel fluidsynth-devel gtk2-devel timidity++ nasm \ | bzip2-devel libjpeg-turbo-devel fluidsynth-devel gtk2-devel timidity++ nasm \ | ||
mesa-libGL-devel openssl-devel glew glew-devel tar | mesa-libGL-devel openssl-devel glew glew-devel tar opus | ||
</pre> | </pre> | ||
Line 46: | Line 44: | ||
zypper install gcc-c++ make cmake libSDL-devel mercurial zlib-devel \ | zypper install gcc-c++ make cmake libSDL-devel mercurial zlib-devel \ | ||
libbz2-devel libjpeg-devel fluidsynth-devel gtk2-devel timidity nasm \ | libbz2-devel libjpeg-devel fluidsynth-devel gtk2-devel timidity nasm \ | ||
Mesa-libGL-devel libopenssl-devel tar glew glew-devel | Mesa-libGL-devel libopenssl-devel tar glew glew-devel libopus-devel | ||
</pre> | </pre> | ||
Line 61: | Line 50: | ||
<pre> | <pre> | ||
pacman -S --needed gcc make cmake sdl12-compat mercurial zlib bzip2 libjpeg-turbo \ | pacman -S --needed gcc make cmake sdl12-compat mercurial zlib bzip2 libjpeg-turbo \ | ||
fluidsynth gtk2 timidity++ nasm mesa glu openssl tar glew | fluidsynth gtk2 timidity++ nasm mesa glu openssl tar glew opus | ||
</pre> | </pre> | ||
== Enable Mercurial extensions == | == Enable Mercurial extensions == | ||
This section is optional, and is required only if you intend to build a specific topic. Doing so requires the <tt>topic</tt> and <tt>evolve</tt> extensions to be enabled. Some distros may package these separately from the base Mercurial package, so check your package manager. | This section is optional, and is required only if you intend to build a specific topic. Doing so requires the <tt>topic</tt> and <tt>evolve</tt> extensions to be enabled. Some distros may package these separately from the base Mercurial package, so check your package manager. Alternatively, it is possible to install evolve from the Python Package Index, see [https://foss.heptapod.net/mercurial/evolve/-/blob/branch/default/README.rst the evolve readme] for more information. | ||
Add the following to the <tt>extensions</tt> section of <tt>~/.hgrc</tt>: | Add the following to the <tt>extensions</tt> section of <tt>~/.hgrc</tt>: |