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 ..
|
||||||
|
|
||||||
cd wlroots
|
cd wlroots
|
||||||
git checkout 0.17.0
|
git checkout 0.17.1
|
||||||
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||||
-Dwerror=false -Db_ndebug=false -Dxcb-errors=disabled --prefix /usr
|
-Dwerror=false -Db_ndebug=false -Dxcb-errors=disabled --prefix /usr
|
||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
|
@ -32,7 +32,7 @@ tasks:
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd wlroots
|
cd wlroots
|
||||||
git checkout 0.17.0
|
git checkout 0.17.1
|
||||||
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||||
-Dwerror=false -Db_ndebug=false --prefix /usr
|
-Dwerror=false -Db_ndebug=false --prefix /usr
|
||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
|
@ -36,7 +36,7 @@ tasks:
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd wlroots
|
cd wlroots
|
||||||
git checkout 0.17.0
|
git checkout 0.17.1
|
||||||
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
|
||||||
-Dwerror=false -Db_ndebug=false --prefix /usr
|
-Dwerror=false -Db_ndebug=false --prefix /usr
|
||||||
sudo ninja -C build/ install
|
sudo ninja -C build/ install
|
||||||
|
@ -38,7 +38,7 @@ distribution.
|
|||||||
- [zig](https://ziglang.org/download/) 0.11
|
- [zig](https://ziglang.org/download/) 0.11
|
||||||
- wayland
|
- wayland
|
||||||
- wayland-protocols
|
- wayland-protocols
|
||||||
- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.17
|
- [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots) 0.17.1
|
||||||
- xkbcommon
|
- xkbcommon
|
||||||
- libevdev
|
- libevdev
|
||||||
- pixman
|
- pixman
|
||||||
|
@ -29,6 +29,12 @@ const util = @import("util.zig");
|
|||||||
|
|
||||||
const Server = @import("Server.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 =
|
const usage: []const u8 =
|
||||||
\\usage: river [options]
|
\\usage: river [options]
|
||||||
\\
|
\\
|
||||||
|
Loading…
Reference in New Issue
Block a user