mirror of
https://github.com/swaywm/sway.git
synced 2024-11-24 08:51:27 +00:00
Updated Development Setup (markdown)
parent
165fa6a85f
commit
2b8e23cfd7
|
@ -50,13 +50,15 @@ Execute `source ~/.profile` to update the variables for your current terminal se
|
|||
You're now ready to compile wlroots, which is the Wayland compositor library used by Sway.
|
||||
* Clone the [`wlroots`](https://github.com/swaywm/wlroots) repository with git
|
||||
* Execute `meson build`, which will create the `build` directory
|
||||
* Execute `sudo ninja -C build install` to build and install wlroots
|
||||
* Execute `ninja -C build` to build
|
||||
* Execute `sudo ninja -C build install` to install
|
||||
* Verify that either `/usr/local/lib` or `/usr/local/lib64` contain `libwlroots.so`
|
||||
|
||||
Now that wlroots is built and installed, you can build Sway.
|
||||
* Clone the [`Sway`](https://github.com/swaywm/sway) repository with git
|
||||
* Execute `meson build`, which will create the `build` directory
|
||||
* Execute `sudo ninja -C build install` to build and install wlroots
|
||||
* Execute `ninja -C build` to build
|
||||
* Execute `sudo ninja -C build install` to install
|
||||
* Verify that `/usr/local/bin` contains the `sway`, `swaybar`, `swaylock`, etc. binaries
|
||||
|
||||
Since Sway and wlroots development moves quite fast, it's common to have issues compiling Sway if your installed version of wlroots is behind. As a first step of compile error troubleshooting, pull, build, and reinstall wlroots.
|
Loading…
Reference in a new issue