pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/wezterm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Feb 22 14:41:44 UTC 2025

Modified Files:
        pkgsrc/x11/wezterm: Makefile distinfo
Added Files:
        pkgsrc/x11/wezterm/patches: patch-mux_src_lib.rs

Log Message:
wezterm: reduce default buffer size

To make this work on NetBSD default installations.
Add link to upstream feature request.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/x11/wezterm/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/wezterm/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/wezterm/patches/patch-mux_src_lib.rs

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/wezterm/Makefile
diff -u pkgsrc/x11/wezterm/Makefile:1.4 pkgsrc/x11/wezterm/Makefile:1.5
--- pkgsrc/x11/wezterm/Makefile:1.4     Fri Feb 21 14:32:55 2025
+++ pkgsrc/x11/wezterm/Makefile Sat Feb 22 14:41:44 2025
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2025/02/21 14:32:55 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2025/02/22 14:41:44 wiz Exp $
 
 # update tag information in post-extract below when updating this
 DISTNAME=      wezterm-20250213.133349
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=wezterm/}
 GITHUB_TAG=    ee0c04e735fb94cb5119681f704fb7fa6731e713

Index: pkgsrc/x11/wezterm/distinfo
diff -u pkgsrc/x11/wezterm/distinfo:1.2 pkgsrc/x11/wezterm/distinfo:1.3
--- pkgsrc/x11/wezterm/distinfo:1.2     Mon Feb 17 19:44:14 2025
+++ pkgsrc/x11/wezterm/distinfo Sat Feb 22 14:41:44 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2025/02/17 19:44:14 wiz Exp $
+$NetBSD: distinfo,v 1.3 2025/02/22 14:41:44 wiz Exp $
 
 BLAKE2s (addr2line-0.24.2.crate) = 5bdb03ff8621c0993eda0ec3682c467ad3fc0015f48e46a70779bbd4bfbe8267
 SHA512 (addr2line-0.24.2.crate) = 39cbec3c920ffc0f37584afb55e1cfe4f182e4415319a4e9bfe842360f102f7b9315f6171c0cf71ba0337123903e604096cd573fe98698a26c8eebc2376d965b
@@ -2083,3 +2083,4 @@ BLAKE2s (zvariant_utils-2.1.0.crate) = b
 SHA512 (zvariant_utils-2.1.0.crate) = 345b70d1106b37df41426efdb1ba49bf270e00898381c2a8021b5761c59efdea55def45cb2e2598b130b6cba8733503f3997a55578bca90867ab3e8f2346f80e
 Size (zvariant_utils-2.1.0.crate) = 7043 bytes
 SHA1 (patch-Cargo.toml) = 5bb7fa0fc153bee64ebc952cf1959ca393ffaa94
+SHA1 (patch-mux_src_lib.rs) = af9732bc0dcd19a8c25673e2d88cb98855731915

Added files:

Index: pkgsrc/x11/wezterm/patches/patch-mux_src_lib.rs
diff -u /dev/null pkgsrc/x11/wezterm/patches/patch-mux_src_lib.rs:1.1
--- /dev/null   Sat Feb 22 14:41:44 2025
+++ pkgsrc/x11/wezterm/patches/patch-mux_src_lib.rs     Sat Feb 22 14:41:44 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-mux_src_lib.rs,v 1.1 2025/02/22 14:41:44 wiz Exp $
+
+NetBSD by default doesn't support buffer sizes above 256kB.
+https://github.com/wezterm/wezterm/issues/6712
+
+--- mux/src/lib.rs.orig        2025-02-22 14:29:36.911953440 +0000
++++ mux/src/lib.rs
+@@ -115,7 +115,7 @@ pub struct Mux {
+     agent: Option<AgentProxy>,
+ }
+ 
+-const BUFSIZE: usize = 1024 * 1024;
++const BUFSIZE: usize = 128 * 1024;
+ 
+ /// This function applies parsed actions to the pane and notifies any
+ /// mux subscribers about the output event



Home | Main Index | Thread Index | Old Index