M .build.yml => .build.yml +8 -8
@@ 26,22 26,22 @@ sources:
tasks:
- install_deps: |
cd wayland
- git checkout 1.20.0
- meson build -Ddocumentation=false -Dtests=false --prefix /usr
+ git checkout 1.21.0
+ meson setup build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install
cd ..
cd wlroots
- git checkout 0.15.1
- meson build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
+ git checkout 0.16.1
+ meson setup build --auto-features=enabled -Drenderers=gles2 -Dexamples=false \
-Dwerror=false -Db_ndebug=false -Dxwayland=disabled --prefix /usr
sudo ninja -C build/ install
cd ..
- wget https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
- tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
- sudo mv zig-linux-x86_64-0.9.1/zig /usr/bin/
- sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
+ wget https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz
+ tar -xvf zig-linux-x86_64-0.10.0.tar.xz 1>/dev/null
+ sudo mv zig-linux-x86_64-0.10.0/zig /usr/bin/
+ sudo mv zig-linux-x86_64-0.10.0/lib /usr/lib/zig
cd river
sudo zig build --prefix /usr
M README.md => README.md +1 -1
@@ 16,7 16,7 @@ a look at some others great community contributions like [stacktile] or [kile].
## Building
-Same requirements as **[river]**, use [zig] 0.9, if **[river]** and
+Same requirements as **[river]**, use [zig] 0.10, if **[river]** and
_rivertile_ works on your machine you shouldn't have any problems.
Init submodules:
M build.zig => build.zig +4 -1
@@ 60,9 60,12 @@ pub fn build(b: *Builder) !void {
exe.addPackagePath("flags", "common/flags.zig");
+ scanner.generate("wl_output", 4);
+ scanner.generate("river_layout_manager_v3", 2);
+
exe.addPackage(.{
.name = "wayland",
- .path = .{ .generated = &scanner.result },
+ .source = .{ .generated = &scanner.result },
});
exe.linkLibC();
exe.linkSystemLibrary("wayland-client");
M deps/zig-wayland => deps/zig-wayland +1 -1
@@ 1,1 1,1 @@
-Subproject commit 8218e21bc6979d4d27040f4d86714cce35217002
+Subproject commit 71d21959b4671a848f1d198f6bb919f54d541f41