Changes
6 changed files (+15/-18)
-
-
@@ -51,7 +51,7 @@ nix developTo develop without [Nix](https://nixos.org/) [Flakes](https://wiki.nixos.org/wiki/Flakes), install these softwares manually: - Zig compiler v0.14 - Zig compiler v0.15 - Vala compiler v0.56 - pkg-config - Runtime dependencies
-
-
-
@@ -158,7 +158,7 @@ pub fn build(b: *std.Build) !void {// Vala does not bundle system libraries (of course): we have to tell the // linker. for (system_libraries) |lib| { exe.linkSystemLibrary(lib); exe.root_module.linkSystemLibrary(lib, .{}); } exe.addCSourceFile(.{ .file = gresouce_c });
-
@@ -252,9 +252,9 @@ pub fn build(b: *std.Build) !void {}), }); test_exe.linkSystemLibrary("gee-0.8"); test_exe.linkSystemLibrary("glib-2.0"); test_exe.linkSystemLibrary("gobject-2.0"); test_exe.root_module.linkSystemLibrary("gee-0.8", .{}); test_exe.root_module.linkSystemLibrary("glib-2.0", .{}); test_exe.root_module.linkSystemLibrary("gobject-2.0", .{}); for (vala.compiled_c_files) |file| { test_exe.root_module.addCSourceFile(.{ .file = file });
-
@@ -286,9 +286,9 @@ pub fn build(b: *std.Build) !void {}), }); test_exe.linkSystemLibrary("gee-0.8"); test_exe.linkSystemLibrary("glib-2.0"); test_exe.linkSystemLibrary("gobject-2.0"); test_exe.root_module.linkSystemLibrary("gee-0.8", .{}); test_exe.root_module.linkSystemLibrary("glib-2.0", .{}); test_exe.root_module.linkSystemLibrary("gobject-2.0", .{}); for (vala.compiled_c_files) |file| { test_exe.root_module.addCSourceFile(.{ .file = file });
-
-
-
@@ -17,7 +17,7 @@.name = .plac_gtk, .version = "1.0.0", .fingerprint = 0xd79b7f79b5956281, .minimum_zig_version = "0.14.0", .minimum_zig_version = "0.15.0", .dependencies = .{}, .paths = .{ "build.zig",
-
-
-
@@ -37,7 +37,7 @@ pub fn init(b: *std.Build, opts: Options) !CompileVala {// Vala source codes to compile. const vala_sources: [][]const u8 = vala_sources: { var list = std.ArrayList([]const u8).init(b.allocator); var list = std.ArrayList([]const u8).empty; var dir = try opts.src.getPath3(b, &valac.step).openDir("", .{ .iterate = true }); defer dir.close();
-
@@ -52,11 +52,11 @@ pub fn init(b: *std.Build, opts: Options) !CompileVala {continue; } try list.append(b.dupe(entry.path)); try list.append(b.allocator, b.dupe(entry.path)); } } break :vala_sources try list.toOwnedSlice(); break :vala_sources try list.toOwnedSlice(b.allocator); }; // Tell Vala compiler to emit C rather than compile using system C compiler.
-
-
-
@@ -109,7 +109,7 @@{ default = pkgs.mkShell { buildInputs = [ (pkgs.lib.lists.remove pkgs.zig_0_14.hook packages.${system}.default.nativeBuildInputs) (pkgs.lib.lists.remove pkgs.zig.hook packages.${system}.default.nativeBuildInputs) packages.${system}.default.buildInputs ];
-
@@ -123,7 +123,7 @@# For text editors, optional. # > ZLS is a non-official implementation of the Language Server Protocol for Zig # https://github.com/zigtools/zls zls_0_14 zls # For text editors, optional. # > Code Intelligence for Vala & Genie
-
-
-
@@ -16,7 +16,7 @@{ stdenvNoCC, zig_0_14, zig, gtk4, pkg-config, libxml2,
-
@@ -31,9 +31,6 @@coreutils, wrapGAppsHook4, }: let zig = zig_0_14; in stdenvNoCC.mkDerivation { pname = "plac-gtk-adwaita"; version = "1.0.0";
-