diff --git a/Development-Setup.md b/Development-Setup.md index d3c5930..8308802 100644 --- a/Development-Setup.md +++ b/Development-Setup.md @@ -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