games:linux:xonotic
This is an old revision of the document!
Table of Contents
Information
Prerequisites
TODO: Update to mainstream distro
Notes
- Xonotic compiled from Git is required for AES support and lossless textures
Dependencies
sudo eopkg install git gcc glibc-devel binutils make g++ kernel-libc-devel sdl2-devel zlib-devel libjpeg-turbo-devel libx11-devel
Download Initial Source
sudo git clone -b 'master' 'git://git.xonotic.org/xonotic/xonotic.git' '/usr/share/xonotic' && sync
Install
Download Complete Source
cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' update -l 'best' && sync
Compile
cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' compile -r 'sdl' && sync
Update
cd '/usr/share/xonotic' && sudo '/usr/share/xonotic/all' clean --reclone && sudo '/usr/share/xonotic/all' compile -r 'sdl' && sync
Desktop Launcher
Initial
mkdir -p ~/'.local/share/applications/Xonotic'
Xonotic
nano ~/'.local/share/applications/Xonotic/Xonotic.desktop'
[Desktop Entry] Name=Xonotic Categories=Game; Exec='/usr/share/xonotic/all' run 'sdl' Type=Application StartupNotify=true Path=/usr/share/xonotic Icon=XGM6_Xonotic.0
Icon
mkdir -p ~/'.local/share/icons/hicolor/512x512/apps' && cp '/usr/share/xonotic/misc/logos/icons_png/xonotic_512.png' ~/'.local/share/icons/hicolor/512x512/apps/XGM6_Xonotic.0.png'
TODO
sudo zypper install git-core gcc gcc-c++ autoconf automake libtool gmp-devel make sdl2-compat-devel zlib-devel libjpeg8-devel libX11-devel
cd ~ && mkdir -p ~/'Projects' && rm -Rf ~/'Projects/Xonotic/src' && git clone --branch 'master' --depth '1' --recurse-submodules 'https://gitlab.com/xonotic/xonotic.git' ~/'Projects/Xonotic/src'
~/'Projects/Xonotic/src/all' switch 'master'
~/'Projects/Xonotic/src/all' update -N
~/'Projects/Xonotic/src/all' clean --reclone
~/'Projects/Xonotic/src/all' compile -c -r -'0' 'sdl'
~/'Projects/Xonotic/src/all' run 'sdl'
/srv/www/wiki/data/attic/games/linux/xonotic.1777957615.txt.gz · Last modified: by Sean Rhone
