From 2c851d8f356e89b23c85ce21a377deb100b46a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Mon, 10 Jun 2024 16:16:06 +0200 Subject: [PATCH] Upgrade to Zig 0.13.0 --- .gitignore | 2 +- README.md | 2 +- build.zig | 2 +- build.zig.zon | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index e73c965..3389c86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -zig-cache/ +.zig-cache/ zig-out/ diff --git a/README.md b/README.md index 15e45a7..28b133b 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ On the right-hand side, the current time is shown, this is information is genera The following dependencies need to be installed: -* [zig] 0.12.0 +* [zig] 0.13.0 * [wayland] 1.21.0 * [pixman] 0.42.0 * [fcft] 3.1.5 (with [utf8proc] support) diff --git a/build.zig b/build.zig index bc8cb12..a90276f 100644 --- a/build.zig +++ b/build.zig @@ -33,7 +33,7 @@ pub fn build(b: *std.Build) void { const exe = b.addExecutable(.{ .name = "creek", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, }); diff --git a/build.zig.zon b/build.zig.zon index e036a8a..b9eea76 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -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/v0.1.0.tar.gz", - .hash = "1220b0f8f822c1625af7aae4cb3ab2c4ec1a4c0e99ef32867b2a8d88bb070b3e7f6d", + .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", }, }, }