]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Repository_Access.md
so much for comments
[xonotic/xonotic.wiki.git] / Repository_Access.md
index f491d6c69267db1ddcfa4455dc75075ada07707a..e315e805f23f0ee3f47cc87fd01fb70e9848bb4f 100644 (file)
@@ -8,23 +8,25 @@ Xonotic uses [several Git repositories](Git). The `all` script in the main repo
 Setting up the development environment
 --------------------------------------
 
-You first need tools to download and compile the Xonotic game data. Make sure you have at least 2 GB memory to compile.
+Make sure you have at least 2 GB memory to compile.
 
 ### Linux
 
-Linux already is adequate for development, all we need are the **dependencies** for the download/compilation process and then we can clone the data.
+**Ubuntu Dependencies**:
 
-**Ubuntu Dependencies** (independent package `x11-proto-devel` dependencies fill the rest of the Debian package dependencies):
+    sudo apt-get install autoconf build-essential curl git-core libtool libgmp-dev libjpeg-turbo8-dev libsdl2-dev libxpm-dev xserver-xorg-dev zlib1g-dev
 
-    sudo apt-get install build-essential curl xserver-xorg-dev x11proto-xf86dri-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev libxxf86dga-dev libxcb-xf86dri0-dev libxpm-dev libxxf86vm-dev libsdl1.2-dev libsdl2-dev libsdl2-image-dev libclalsadrv-dev libasound2-dev libxext-dev libjpeg-turbo8-dev git-core unzip wget zlib1g-dev
+Note: On Debian, use `libjpeg8-dev` if `libjpeg-turbo8-dev` isn’t available in the package repositories.
 
-Note: If using **i386** architecture, you can replace `libsdl1.2debian` with `libsdl1.2debian:i386` in the list above. On Debian, use `libjpeg8-dev` if `libjpeg-turbo8-dev` isn’t available in the package repositories.
+Note: `curl` isn't required but it's strongly recommended for downloading maps when playing online.
 
-For **Fedora** and other **RPM based** distros dependencies:
+Note: `libasound2-dev libxext-dev libxxf86vm-dev p7zip-full unzip wget x11proto-xf86vidmode-dev` might be needed but are probably already installed. `libclalsadrv-dev libsdl2-image-dev libxcb-xf86dri0-dev libxxf86dga-dev x11proto-xf86dga-dev x11proto-xf86dri-dev` should no longer be needed.
+
+**Fedora** and other **RPM based** distro dependencies:
 
     x11-proto-devel libalsa2-static-devel libjpeg62-devel libjpeg62-static-devel libSDL2-devel
 
-For **Archlinux** the dependencies can be installed via the following command:
+**Archlinux** dependencies:
 
     sudo pacman -S alsa-lib curl libjpeg-turbo libmodplug libpng libvorbis libxpm libxxf86dga libxxf86vm sdl2 unzip wget
 
@@ -40,7 +42,7 @@ It is recommended that you make a shortcut to MSYS2 MINGW64 shell (simply right
 
 You can now use this shell to continue on with the guide and clone the Xonotic repositories.
 
-### Mac OSX
+### MacOS
 
 You must first install **XCode** which comes on your installation DVD or can be downloaded from the Apple website. This package provides tools like **Git and GCC**, which are needed for successful checkout and compilation of Xonotic. Some versions of XCode come with Git and others don’t - if you don’t have Git after installing XCode get it here: [XCode installer](http://sourceforge.net/projects/git-osx-installer/files/)
 
@@ -70,7 +72,7 @@ Now the game can be compiled and run with the following commands:
 
 You can use just `./all compile` to create a slower build with debug symbols but usually you want `-r`.
 
-The `./all run` or `./all compile` line can be followed by one of `glx` (Linux native), `sdl` (input/sound managed by SDL), `agl` (OSX native), `wgl` (Windows native), or `dedicated` (for server hosting) to choose which executable to run or compile. E.g. `./all compile -r dedicated`.
+The `./all run` or `./all compile` line can be followed by one of `glx` (Linux native), `sdl` (input/sound managed by SDL), `agl` (macOS native), `wgl` (Windows native), or `dedicated` (for server hosting) to choose which executable to run or compile. E.g. `./all compile -r dedicated`.
 
 The `run` command can also be followed by standard DarkPlaces commandline arguments:
 
@@ -79,9 +81,9 @@ The `run` command can also be followed by standard DarkPlaces commandline argume
 To update your Git clone:
 
     cd xonotic
-    ./all checkout
-    ./all update
-    ./all compile -r
+    ./all checkout  # switch to main branch on all repos (usually master)
+    ./all update  # pull and prune
+    ./all compile -r  # recompile what changed
 
 **Note:** The compiled binary will have a faint watermark with the git revision. To remove it completely put `set menu_watermark ""` into your `autoexec.cfg`.
 
@@ -89,7 +91,7 @@ To update your Git clone:
 
 ***
 
-If you run into issues with the latest version you can easily revert to an older one. Since most bugs are caused by the game code rather that the engine, you just need to downgrade that repository. Inside the main xonotic repository, use `cd data/xonotic-data` and then `git checkout <some older commit>`. After that go back `cd -` and `./all compile` (with the optional `-r` flag).
+If you run into issues with the latest version you can easily revert to an older one. Since most bugs are caused by the game code rather that the engine, you just need to downgrade that repository. Inside the main xonotic repository, use `cd data/xonotic-data.pk3dir` and then `git checkout <some older commit>`. After that go back `cd -` and `./all compile` (with the optional `-r` flag).
 
 ***
 
@@ -100,7 +102,7 @@ A condition for write (push) access is that you agree that any code or data you
 \* data/qcsrc/warpzonelib - dual licensed as “GPLv2 or later” or MIT license.
 In case the code you pushed was not written by you, it is your responsibility to ensure proper licensing.
 
-To apply for write access, add your SSH key to your GitLab account and ask for access in #xonotic on the FreeNode IRC channel.
+To apply for write access, add your SSH key to your GitLab account and ask for access in #xonotic on the FreeNode IRC network or [request access](https://docs.gitlab.com/ce/user/group/index.html#request-access-to-a-group) using the GitLab interface.
 
 ### Windows/Linux/OS X