diff options
Diffstat (limited to 'x11-terms/ghostty-terminfo/files/ghostty-terminfo-1.3.0-build-add-a-step-for-only-building-terminfo.patch')
| -rw-r--r-- | x11-terms/ghostty-terminfo/files/ghostty-terminfo-1.3.0-build-add-a-step-for-only-building-terminfo.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-terms/ghostty-terminfo/files/ghostty-terminfo-1.3.0-build-add-a-step-for-only-building-terminfo.patch b/x11-terms/ghostty-terminfo/files/ghostty-terminfo-1.3.0-build-add-a-step-for-only-building-terminfo.patch new file mode 100644 index 000000000000..26b26bde8364 --- /dev/null +++ b/x11-terms/ghostty-terminfo/files/ghostty-terminfo-1.3.0-build-add-a-step-for-only-building-terminfo.patch @@ -0,0 +1,29 @@ +From 84c937e086c20a01ba4f06ee5d0237e37c1c3f53 Mon Sep 17 00:00:00 2001 +From: sin-ack <sin-ack@protonmail.com> +Date: Thu, 30 Jan 2025 22:59:57 +0000 +Subject: [PATCH] build: Add a step for only building terminfo + +Avoids building the rest of Ghostty which takes quite a while. +--- + src/build/GhosttyResources.zig | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/build/GhosttyResources.zig b/src/build/GhosttyResources.zig +index 6f857655b..62d79ebdd 100644 +--- a/src/build/GhosttyResources.zig ++++ b/src/build/GhosttyResources.zig +@@ -111,6 +111,11 @@ pub fn init(b: *std.Build, cfg: *const Config, deps: *const SharedDeps) !Ghostty + copy_step.addArg(b.fmt("{s}/share", .{b.install_path})); + copy_step.step.dependOn(&mkdir_step.step); + try steps.append(b.allocator, ©_step.step); ++ ++ // This step is to generate the terminfo data without building the rest of ++ // Ghostty which takes a long time. ++ const terminfo_step = b.step("terminfo", "Install the terminfo database"); ++ terminfo_step.dependOn(©_step.step); + } + } + +-- +2.52.0 + |
