mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 13:05:59 +01:00
A read-only mirror of https://github.com/hyprwm/wlroots-hyprland
91c034d164
Recently, the support for building rootston without XWayland was broken. While the breakage was easily fixable, the more important problem is that actually nobody seems to ever compile wlroots without XWayland, causing silent breakage. This problem can easily be handled by the CI system: in addition to the existing job which enables XWayland, add a second job which compiles wlroots without XWayland. This will catch breakage at a much earlier stage. Catching broken builds without XWayland support obviously only covers one part of a greater issue, as all the other options may cause our builds to break, too. While we cannot test each combination, we can at least make sure to have one build with all options enabled and one with all options disabled. |
||
---|---|---|
backend | ||
examples | ||
include | ||
protocol | ||
render | ||
rootston | ||
types | ||
util | ||
xcursor | ||
xwayland | ||
.build.yml | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
CONTRIBUTING.md | ||
glgen.sh | ||
LICENSE | ||
meson.build | ||
meson_options.txt | ||
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.