Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added build instructions for Fedora #75906

Merged
merged 3 commits into from
Aug 26, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions doc/COMPILING/COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
* [Dependencies](#dependencies)
* [Make flags](#make-flags)
* [Compiling localization files](#compiling-localization-files)
* [Fedora](#fedora)
* [ncurses builds](#ncurses-builds)
* [SDL builds](#sdl-builds)
* [Debian](#debian)
* [Linux (native) ncurses builds](#linux-native-ncurses-builds)
* [Linux (native) SDL builds](#linux-native-sdl-builds)
Expand Down Expand Up @@ -121,6 +124,51 @@ Instructions for compiling on a Debian-based system. The package names here are

The building instructions below always assume you are running them from the Cataclysm:DDA source directory.

# Fedora
## Ncurses builds
strategictraveler marked this conversation as resolved.
Show resolved Hide resolved

Dependencies:

* ncurses
* g++ and make

Install:

sudo dnf install astyle gcc-c++ ncurses-devel make

### Building

Run:

make

## SDL builds

Dependencies:

* SDL2
* SDL2_image
* SDL2_ttf
* freetype
* g++ and make
* libsdl2-mixer-dev - Used if compiling with sound support.

Install:

sudo dnf install astyle gcc-c++ SDL2-devel SDL2_image-devel SDL2_ttf-devel SDL2_mixer-devel freetype-devel make

### Building

A simple installation could be done by simply running:

make TILES=1

A more comprehensive alternative is:

make -j2 TILES=1 SOUND=1 RELEASE=1 USE_HOME_DIR=1

The -j2 flag means it will compile with two parallel processes. It can be omitted or changed to -j4 in a more modern processor. If there is no desire to have sound, those flags can also be omitted. The USE_HOME_DIR flag places the user files, like configurations and saves, into the home folder, making it easier for backups, and can also be omitted.

# Gentoo
If you want sound and graphics, make sure to emerge with the following:

Expand Down
Loading