Updated Development Setup (markdown)

Simon Ser 2022-11-07 15:56:27 +01:00
parent 356d6aabcc
commit 61aed0e762

@ -11,10 +11,20 @@ You're going to need the following tools to get started:
You'll also need the dependencies, which you can find in the [README](https://github.com/swaywm/sway/blob/master/README.md). If you don't have recent enough versions of some of the dependencies, you can build them as subprojects (see below).
## Alpine
Look at the package list in [Sway CI manifest](https://github.com/swaywm/sway/blob/master/.builds/alpine.yml).
## Arch Linux
The Arch User Repository (AUR) has the convenient `sway-git` and `wlroots-git` packages, which contain everything you'll need to compile their respective projects. Use your preferred AUR helper to install these.
Alternatively, look at the package list in [Sway CI manifest](https://github.com/swaywm/sway/blob/master/.builds/archlinux.yml).
## Debian
On Debian-based distributions, library packages are commonly suffixed by `-dev`.
## Fedora
Fedora requires installing all of the dependencies one-by-one. If a dependency is outdated, build it as a subproject (see below).
@ -23,9 +33,9 @@ Fedora requires installing all of the dependencies one-by-one. If a dependency i
dnf install -y git gcc meson ninja-build wayland-devel mesa-libEGL-devel mesa-libGLES-devel mesa-dri-drivers xorg-x11-server-Xwayland libdrm-devel libgbm-devel libxkbcommon-devel libudev-devel pixman-devel libinput-devel libevdev-devel systemd-devel cairo-devel libpcap-devel json-c-devel pam-devel pango-devel pcre-devel gdk-pixbuf2-devel
```
## Debian
## FreeBSD
On Debian-based distributions, library packages are commonly suffixed by `-dev`.
Look at the package list in [Sway CI manifest](https://github.com/swaywm/sway/blob/master/.builds/freebsd.yml).
# Compiling as a subproject