You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Drew DeVault
925d7a4987
|
7 years ago | |
---|---|---|
backend | 7 years ago | |
examples | 7 years ago | |
include | 7 years ago | |
protocol | 7 years ago | |
render | 7 years ago | |
rootston | 7 years ago | |
types | 7 years ago | |
util | 7 years ago | |
xcursor | 7 years ago | |
xwayland | 7 years ago | |
.build.yml | 7 years ago | |
.editorconfig | 7 years ago | |
.gitignore | 7 years ago | |
CONTRIBUTING.md | 7 years ago | |
LICENSE | 8 years ago | |
README.md | 7 years ago | |
glgen.sh | 7 years ago | |
meson.build | 7 years ago | |
meson_options.txt | 7 years ago | |
wlroots.syms | 7 years ago |
README.md
wlroots
Pluggable, composable modules for building a Wayland compositor.
This is a WIP: status
Contributing
See CONTRIBUTING.md
Building
Install dependencies:
- wayland
- wayland-protocols
- EGL
- GLESv2
- DRM
- GBM
- libinput
- udev
- pixman
- systemd (optional, for logind support)
- elogind (optional, for logind support on systems without systemd)
- libcap (optional, for capability support)
- asciidoc (optional, for man pages)
Run these commands:
meson build
ninja -C build
(On FreeBSD, you need to pass an extra flag to prevent a linking error: meson build -D b_lundef=false
)
Running the Reference Compositor
wlroots comes with a reference compositor called rootston that demonstrates the features of the library.
After building, run rootston from a terminal or VT with:
./build/rootston/rootston
Now you can run windows in the compositor from the command line or by
configuring bindings in your
rootston.ini
file.