build: require at least wlroots 0.17.1
There are enough bugs fixed in 0.17.1 which are relevant to river that I think it's worthwhile to refuse to compile against 0.17.1.
This commit is contained in:
parent
a128a574a4
commit
3aba3abbcd
@ -34,7 +34,7 @@ tasks:
|
||||
cd ..
|
||||
|
||||
cd wlroots
|
||||
git checkout 0.17.0
|
||||
git checkout 0.17.1
|
||||
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||
-Dwerror=false -Db_ndebug=false -Dxcb-errors=disabled --prefix /usr
|
||||
sudo ninja -C build/ install
|
||||
|
@ -32,7 +32,7 @@ tasks:
|
||||
cd ..
|
||||
|
||||
cd wlroots
|
||||
git checkout 0.17.0
|
||||
git checkout 0.17.1
|
||||
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||
-Dwerror=false -Db_ndebug=false --prefix /usr
|
||||
sudo ninja -C build/ install
|
||||
|
@ -36,7 +36,7 @@ tasks:
|
||||
cd ..
|
||||
|
||||
cd wlroots
|
||||
git checkout 0.17.0
|
||||
git checkout 0.17.1
|
||||
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||
-Dwerror=false -Db_ndebug=false --prefix /usr
|
||||
sudo ninja -C build/ install
|
||||
|
@ -38,7 +38,7 @@ distribution.
|
||||
- [zig](https://ziglang.org/download/) 0.11
|
||||
- wayland
|
||||
- wayland-protocols
|
||||
- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.17
|
||||
- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.17.1
|
||||
- xkbcommon
|
||||
- libevdev
|
||||
- pixman
|
||||
|
@ -29,6 +29,12 @@ const util = @import("util.zig");
|
||||
|
||||
const Server = @import("Server.zig");
|
||||
|
||||
comptime {
|
||||
if (wlr.version.major != 0 or wlr.version.minor != 17 or wlr.version.micro < 1) {
|
||||
@compileError("river requires at least wlroots version 0.17.1 due to bugs in wlroots 0.17.0");
|
||||
}
|
||||
}
|
||||
|
||||
const usage: []const u8 =
|
||||
\\usage: river [options]
|
||||
\\
|
||||
|
Loading…
Reference in New Issue
Block a user