M .builds/archlinux.yml => .builds/archlinux.yml +5 -5
@@ 21,16 21,16 @@ sources:
tasks:
- install_deps: |
cd wayland
- git checkout 1.22.0
+ git checkout 1.23.0
meson build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install
cd ..
# Remove a lot of useless lines from wget and tar output.
- wget -nv https://ziglang.org/download/0.12.0/zig-linux-x86_64-0.12.0.tar.xz
- tar -xvf zig-linux-x86_64-0.12.0.tar.xz 1>/dev/null
- sudo mv zig-linux-x86_64-0.12.0/zig /usr/bin/
- sudo mv zig-linux-x86_64-0.12.0/lib /usr/lib/zig
+ wget -nv https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
+ tar -xvf zig-linux-x86_64-0.13.0.tar.xz 1>/dev/null
+ sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/
+ sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig
- build: |
cd zelbar
zig build
M .builds/freebsd.yml => .builds/freebsd.yml +5 -5
@@ 27,16 27,16 @@ sources:
tasks:
- install_deps: |
cd wayland
- git checkout 1.22.0
+ git checkout 1.23.0
meson build -Ddocumentation=false -Dtests=false --prefix /usr
sudo ninja -C build install
cd ..
# Remove a lot of useless lines from wget and tar output.
- wget -nv https://ziglang.org/download/0.12.0/zig-freebsd-x86_64-0.12.0.tar.xz
- tar -xvf zig-freebsd-x86_64-0.12.0.tar.xz 1>/dev/null
- sudo mv zig-freebsd-x86_64-0.12.0/zig /usr/bin/
- sudo mv zig-freebsd-x86_64-0.12.0/lib /usr/lib/zig
+ wget -nv https://ziglang.org/download/0.13.0/zig-freebsd-x86_64-0.13.0.tar.xz
+ tar -xvf zig-freebsd-x86_64-0.13.0.tar.xz 1>/dev/null
+ sudo mv zig-freebsd-x86_64-0.13.0/zig /usr/bin/
+ sudo mv zig-freebsd-x86_64-0.13.0/lib /usr/lib/zig
- build: |
cd zelbar
zig build
M .gitignore => .gitignore +1 -1
@@ 1,3 1,3 @@
-zig-cache/
+.zig-cache/
zig-out/
.valgrindrc
M README.md => README.md +1 -1
@@ 6,7 6,7 @@ Wayland statusbar reading input from STDIN, inspired by [lemonbar].
Requirements:
-- [zig] 0.12
+- [zig] 0.13
- wayland
- wayland-protocols
- [fcft] 3.1.8 (see fcft [requirements] if you want support for everything)
M build.zig => build.zig +3 -3
@@ 63,13 63,13 @@ pub fn build(b: *std.Build) !void {
scanner.generate("wp_cursor_shape_manager_v1", 1);
const wayland = b.createModule(.{ .root_source_file = scanner.result });
- const flags = b.createModule(.{ .root_source_file = .{ .path = "common/flags.zig" } });
+ const flags = b.createModule(.{ .root_source_file = b.path("common/flags.zig") });
const pixman = b.dependency("zig-pixman", .{}).module("pixman");
const fcft = b.dependency("zig-fcft", .{}).module("fcft");
const zelbar = b.addExecutable(.{
.name = "zelbar",
- .root_source_file = .{ .path = "src/main.zig" },
+ .root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
});
@@ 100,7 100,7 @@ pub fn build(b: *std.Build) !void {
{
const tests = b.addTest(.{
- .root_source_file = .{ .path = "src/test_main.zig" },
+ .root_source_file = b.path("src/test_main.zig"),
.target = target,
.optimize = optimize,
});
M build.zig.zon => build.zig.zon +6 -6
@@ 4,16 4,16 @@
.paths = .{""},
.dependencies = .{
.@"zig-pixman" = .{
- .url = "https://codeberg.org/ifreund/zig-pixman/archive/92b2212565ba46d24b757c5c46122339a9471fa4.tar.gz",
- .hash = "12207ddc241c6bd78ab2fd134464d7487329c1329d1c32355c0a616446a47ded174e",
+ .url = "https://codeberg.org/ifreund/zig-pixman/archive/v0.2.0.tar.gz",
+ .hash = "12209db20ce873af176138b76632931def33a10539387cba745db72933c43d274d56",
},
.@"zig-wayland" = .{
- .url = "https://codeberg.org/ifreund/zig-wayland/archive/fe04636c866c6289b74c0803e621c9cc1bc1d1a4.tar.gz",
- .hash = "12205b33855e3634201e6777a06d9d50ff8f4477b47ef95024009dd3e60df7b269d3",
+ .url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz",
+ .hash = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242",
},
.@"zig-fcft" = .{
- .url = "https://git.sr.ht/~novakane/zig-fcft/archive/7881eac29bf0d9de4df1fc31df380e8f5f620585.tar.gz",
- .hash = "1220cc15677890989c54713a7c9d90b6999ad21bdb78fe411b016335daa6cea9f9dd",
+ .url = "https://git.sr.ht/~novakane/zig-fcft/archive/1.1.0.tar.gz",
+ .hash = "1220a4029ee3ee70d3175c69878e2b70dccd000c4324bc74ba800d8a143b7250fb38",
},
},
}