Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] rxvt-unicode: fix for tmux-3.4
@ 2024-02-18  8:14 chrysos349
  2024-02-18 15:11 ` [PR PATCH] [Merged]: " leahneukirchen
  0 siblings, 1 reply; 2+ messages in thread
From: chrysos349 @ 2024-02-18  8:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

There is a new pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages rxvt-unicode
https://github.com/void-linux/void-packages/pull/48809

rxvt-unicode: fix for tmux-3.4
@leahneukirchen 

closes #48807 

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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 x
  - armv7l x
  - armv6l-musl x


A patch file from https://github.com/void-linux/void-packages/pull/48809.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rxvt-unicode-48809.patch --]
[-- Type: text/x-diff, Size: 1987 bytes --]

From e8b747999dc88acaa1e75a359c55262c922c0a8e Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 18 Feb 2024 11:07:59 +0300
Subject: [PATCH] rxvt-unicode: fix for tmux-3.4

---
 .../patches/fix-for-tmux-34.patch             | 19 +++++++++++++++++++
 srcpkgs/rxvt-unicode/template                 |  2 +-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/rxvt-unicode/patches/fix-for-tmux-34.patch

diff --git a/srcpkgs/rxvt-unicode/patches/fix-for-tmux-34.patch b/srcpkgs/rxvt-unicode/patches/fix-for-tmux-34.patch
new file mode 100644
index 00000000000000..bc31c87eb01e97
--- /dev/null
+++ b/srcpkgs/rxvt-unicode/patches/fix-for-tmux-34.patch
@@ -0,0 +1,19 @@
+OSC commands returning the colour sequence must be terminated by either
+of ST, ESC \, or BEL. rxvt-unicode tries to use the same type of termination
+as was in the query but doesn't correctly handle the multiple-char sequence
+used for 7-bit queries. Force to using ESC \ instead for now.
+
+--- a/src/command.C
++++ b/src/command.C
+@@ -3426,9 +3426,9 @@
+         snprintf (rgba_str, sizeof (rgba_str), "rgb:%04x/%04x/%04x", c.r, c.g, c.b);
+ 
+       if (IN_RANGE_INC (color, minCOLOR, maxTermCOLOR))
+-        tt_printf ("\033]%d;%d;%s%c", report, color - minCOLOR, rgba_str, resp);
++        tt_printf ("\033]%d;%d;%s\033\\", report, color - minCOLOR, rgba_str);
+       else
+-        tt_printf ("\033]%d;%s%c", report, rgba_str, resp);
++        tt_printf ("\033]%d;%s\033\\", report, rgba_str, resp);
+     }
+   else
+     set_window_color (color, str);
diff --git a/srcpkgs/rxvt-unicode/template b/srcpkgs/rxvt-unicode/template
index be45963a0cd324..8ba720f0954c14 100644
--- a/srcpkgs/rxvt-unicode/template
+++ b/srcpkgs/rxvt-unicode/template
@@ -1,7 +1,7 @@
 # Template file for 'rxvt-unicode'
 pkgname=rxvt-unicode
 version=9.31
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="
  --with-terminfo=/usr/share/terminfo --enable-256-color

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: rxvt-unicode: fix for tmux-3.4
  2024-02-18  8:14 [PR PATCH] rxvt-unicode: fix for tmux-3.4 chrysos349
@ 2024-02-18 15:11 ` leahneukirchen
  0 siblings, 0 replies; 2+ messages in thread
From: leahneukirchen @ 2024-02-18 15:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

There's a merged pull request on the void-packages repository

rxvt-unicode: fix for tmux-3.4
https://github.com/void-linux/void-packages/pull/48809

Description:
@leahneukirchen 

closes #48807 

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### 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 x
  - armv7l x
  - armv6l-musl x


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-18 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18  8:14 [PR PATCH] rxvt-unicode: fix for tmux-3.4 chrysos349
2024-02-18 15:11 ` [PR PATCH] [Merged]: " leahneukirchen

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).