Updated Development Setup (markdown)

Simon Ser 2021-10-04 15:12:49 +02:00
parent 0760d0d8ae
commit e295900a7e

@ -39,10 +39,6 @@ git clone git@github.com:swaywm/sway.git
cd sway
git clone git@github.com:swaywm/wlroots.git subprojects/wlroots
# optional: also build wlroots dependencies (wayland-protocols, seatd...) as subprojects
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git subprojects/wayland-protocols
git clone https://git.sr.ht/~kennylevinsen/seatd subprojects/seatd
# Build sway and wlroots
meson build/
ninja -C build/
@ -57,6 +53,13 @@ In order to be able to collect core dumps on ASan failures (to inspect variable
When pulling from the Sway repo, remember to also pull from the wlroots repo.
If you don't have a recent enough version of libseat or wayland-protocols, you can use subprojects like so:
``sh
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git subprojects/wayland-protocols
git clone https://git.sr.ht/~kennylevinsen/seatd subprojects/seatd
```
If you don't have Sway installed on your system or if you want to test swaybar/swaymsg/swaynag changes, you can populate your `PATH` like so:
```sh