From 90a8e8d4aeef16dad78c08d5af483dd57c03382a Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 1 Feb 2025 15:00:47 +0100 Subject: [PATCH] ghostty: update to 1.1.0. --- srcpkgs/ghostty/patches/unigen-nolibc.patch | 26 --------------------- srcpkgs/ghostty/template | 5 ++-- 2 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/ghostty/patches/unigen-nolibc.patch diff --git a/srcpkgs/ghostty/patches/unigen-nolibc.patch b/srcpkgs/ghostty/patches/unigen-nolibc.patch deleted file mode 100644 index b5a1276db16..00000000000 --- a/srcpkgs/ghostty/patches/unigen-nolibc.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/build.zig b/build.zig -index c3f7302..9fa73e9 100644 ---- a/build.zig -+++ b/build.zig -@@ -1494,7 +1494,7 @@ fn addUnicodeTables( - .root_source_file = b.path("src/unicode/props.zig"), - .target = b.host, - }); -- exe.linkLibC(); -+ // exe.linkLibC(); - if (step_ == null) b.installArtifact(exe); - - const ziglyph_dep = b.dependency("ziglyph", .{ -diff --git a/src/unicode/props.zig b/src/unicode/props.zig -index d77bf4c..994cf36 100644 ---- a/src/unicode/props.zig -+++ b/src/unicode/props.zig -@@ -131,7 +131,7 @@ pub fn get(cp: u21) Properties { - - /// Runnable binary to generate the lookup tables and output to stdout. - pub fn main() !void { -- const alloc = std.heap.c_allocator; -+ const alloc = std.heap.page_allocator; - - const gen: lut.Generator( - Properties, diff --git a/srcpkgs/ghostty/template b/srcpkgs/ghostty/template index 3e2f5475ff9..302976b8292 100644 --- a/srcpkgs/ghostty/template +++ b/srcpkgs/ghostty/template @@ -1,6 +1,6 @@ # Template file for 'ghostty' pkgname=ghostty -version=1.0.1 +version=1.1.0 revision=1 build_style=zig-build configure_args=" @@ -18,11 +18,10 @@ maintainer="Duncaen " license="MIT" homepage="https://ghostty.org/" distfiles="https://github.com/ghostty-org/ghostty/archive/refs/tags/v${version}.tar.gz" -checksum=4e4d9725ef2e50715492df26265e275417acca0db374f6d21740b848c77d6189 +checksum=b499f3811416b9bdea0b26599f8147955ffa1da468129eb44bc45609c2775fb7 post_install() { vlicense LICENSE - tic -sx -o ${DESTDIR}/usr/share/terminfo ${DESTDIR}/usr/share/terminfo/ghostty.terminfo rm -f ${DESTDIR}/usr/share/man/.placeholder }