* [PR PATCH] tmux: update to 3.5.
@ 2024-09-30 18:20 heindsight
2024-10-01 13:13 ` [PR PATCH] [Merged]: " abenson
0 siblings, 1 reply; 2+ messages in thread
From: heindsight @ 2024-09-30 18:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
There is a new pull request by heindsight against master on the void-packages repository
https://github.com/heindsight/void-packages tmux
https://github.com/void-linux/void-packages/pull/52424
tmux: update to 3.5.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl (crossbuild)
- aarch64 (crossbuild)
- armv6l-musl (crossbuild)
- armv6l (crossbuild)
- armv7l-musl (crossbuild)
- armv7l (crossbuild)
- x86_64-musl (crossbuild)
A patch file from https://github.com/void-linux/void-packages/pull/52424.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tmux-52424.patch --]
[-- Type: text/x-diff, Size: 3657 bytes --]
From d1f268b1bf79be468530a12bef51aa7231107952 Mon Sep 17 00:00:00 2001
From: Heinrich Kruger <heindsight@kruger.dev>
Date: Mon, 30 Sep 2024 19:15:27 +0100
Subject: [PATCH] tmux: update to 3.5.
---
srcpkgs/tmux/patches/sixelcrash.patch | 76 ---------------------------
srcpkgs/tmux/template | 6 +--
2 files changed, 3 insertions(+), 79 deletions(-)
delete mode 100644 srcpkgs/tmux/patches/sixelcrash.patch
diff --git a/srcpkgs/tmux/patches/sixelcrash.patch b/srcpkgs/tmux/patches/sixelcrash.patch
deleted file mode 100644
index 835a00cc36f812..00000000000000
--- a/srcpkgs/tmux/patches/sixelcrash.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-From aa17f0e0c1c8b3f1d6fc8617613c74f07de66fae Mon Sep 17 00:00:00 2001
-From: Nicholas Marriott <nicholas.marriott@gmail.com>
-Date: Thu, 21 Mar 2024 11:37:09 +0000
-Subject: [PATCH] Fix crash if SIXEL colour register is invalid and remove
- SIXEL images before reflow to avoid a different crash, from Anindya
- Mukherjee.
-
----
- image-sixel.c | 3 +++
- input.c | 2 +-
- screen-write.c | 4 ++++
- screen.c | 6 +++---
- 4 files changed, 11 insertions(+), 4 deletions(-)
-
-diff --git a/image-sixel.c b/image-sixel.c
-index 3396a22a7f..e23d17f902 100644
---- a/image-sixel.c
-+++ b/image-sixel.c
-@@ -489,6 +489,9 @@ sixel_print(struct sixel_image *si, struct sixel_image *map, size_t *size)
- colours = si->colours;
- ncolours = si->ncolours;
- }
-+
-+ if (ncolours == 0)
-+ return (NULL);
- contains = xcalloc(1, ncolours);
-
- len = 8192;
-diff --git a/input.c b/input.c
-index eb421b280e..e6016121ff 100644
---- a/input.c
-+++ b/input.c
-@@ -1839,7 +1839,7 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx)
-
- /* Handle CSI graphics SM. */
- static void
--input_csi_dispatch_sm_graphics(struct input_ctx *ictx)
-+input_csi_dispatch_sm_graphics(__unused struct input_ctx *ictx)
- {
- #ifdef ENABLE_SIXEL
- int n, m, o;
-diff --git a/screen-write.c b/screen-write.c
-index 6892d04149..a732f093dc 100644
---- a/screen-write.c
-+++ b/screen-write.c
-@@ -2283,6 +2283,10 @@ screen_write_sixelimage(struct screen_write_ctx *ctx, struct sixel_image *si,
- new = sixel_scale(si, 0, 0, 0, y - sy, sx, sy, 1);
- sixel_free(si);
- si = new;
-+
-+ /* Bail out if the image cannot be scaled. */
-+ if (si == NULL)
-+ return;
- sixel_size_in_cells(si, &x, &y);
- }
-
-diff --git a/screen.c b/screen.c
-index f73a850547..0eaf469886 100644
---- a/screen.c
-+++ b/screen.c
-@@ -308,12 +308,12 @@ screen_resize_cursor(struct screen *s, u_int sx, u_int sy, int reflow,
- if (sy != screen_size_y(s))
- screen_resize_y(s, sy, eat_empty, &cy);
-
-- if (reflow) {
- #ifdef ENABLE_SIXEL
-- image_free_all(s);
-+ image_free_all(s);
- #endif
-+
-+ if (reflow)
- screen_reflow(s, sx, &cx, &cy, cursor);
-- }
-
- if (cy >= s->grid->hsize) {
- s->cx = cx;
diff --git a/srcpkgs/tmux/template b/srcpkgs/tmux/template
index 6f117d4cd4ae7b..1ce5268f297bd8 100644
--- a/srcpkgs/tmux/template
+++ b/srcpkgs/tmux/template
@@ -1,7 +1,7 @@
# Template file for 'tmux'
pkgname=tmux
-version=3.4
-revision=3
+version=3.5
+revision=1
build_style=gnu-configure
configure_args="--enable-utempter --enable-sixel"
hostmakedepends="byacc automake pkg-config"
@@ -13,7 +13,7 @@ license="ISC"
homepage="https://tmux.github.io"
changelog="https://raw.githubusercontent.com/tmux/tmux/master/CHANGES"
distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz"
-checksum=551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa
+checksum=2fe01942e7e7d93f524a22f2c883822c06bc258a4d61dba4b407353d7081950f
pre_configure() {
autoreconf -fi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: tmux: update to 3.5.
2024-09-30 18:20 [PR PATCH] tmux: update to 3.5 heindsight
@ 2024-10-01 13:13 ` abenson
0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2024-10-01 13:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
There's a merged pull request on the void-packages repository
tmux: update to 3.5.
https://github.com/void-linux/void-packages/pull/52424
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl (crossbuild)
- aarch64 (crossbuild)
- armv6l-musl (crossbuild)
- armv6l (crossbuild)
- armv7l-musl (crossbuild)
- armv7l (crossbuild)
- x86_64-musl (crossbuild)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-01 13:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-30 18:20 [PR PATCH] tmux: update to 3.5 heindsight
2024-10-01 13:13 ` [PR PATCH] [Merged]: " abenson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).