From e295900a7ebbc6183770a03925e5ca13e9c28769 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 4 Oct 2021 15:12:49 +0200 Subject: [PATCH] Updated Development Setup (markdown) --- Development-Setup.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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