Copying to the X11 clipboard from tmux has been failing since I updated to ncurses-6.5. Verbose server logs show could not expand Ms when it fails. This is logged here: https://github.com/tmux/tmux/blob/3.4/tty-term.c#L861 I suspect that the problem is related to changes in the behaviour of the `tiparm` and `tparm` functions in ncurses 6.5 (see: https://invisible-island.net/ncurses/announce.html#h4-fixes-library). (`tiparm_s` was not present in ncurses-6.4 so tmux 3.4 compiled against ncurses-6.4 would have used `tiparm` or `tparm`). Rebuilding against ncurses-6.5 fixes the problem.
30 lines
939 B
Bash
30 lines
939 B
Bash
# Template file for 'tmux'
|
|
pkgname=tmux
|
|
version=3.4
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--enable-utempter --enable-sixel"
|
|
hostmakedepends="byacc automake pkg-config"
|
|
makedepends="libevent-devel libutempter-devel ncurses-devel"
|
|
depends="ncurses-base"
|
|
short_desc="Terminal Multiplexer"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
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
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
{
|
|
echo ' * Copyright (c) 2007-2021 Nicholas Marriott <nicholas.marriott@gmail.com>'
|
|
grep -rh 'Copyright (c) .*[0-9] [a-zA-Z]' *.c compat/*.c |
|
|
grep -v 'Nicholas Marriott' | sort -u
|
|
cat COPYING
|
|
} >LICENSE
|
|
vlicense LICENSE
|
|
}
|