diff options
Diffstat (limited to 'app-misc/tmux')
-rw-r--r-- | app-misc/tmux/Manifest | 11 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch | 38 | ||||
-rw-r--r-- | app-misc/tmux/tmux-3.3a-r1.ebuild | 2 | ||||
-rw-r--r-- | app-misc/tmux/tmux-3.4-r1.ebuild | 2 | ||||
-rw-r--r-- | app-misc/tmux/tmux-3.5-r1.ebuild | 98 | ||||
-rw-r--r-- | app-misc/tmux/tmux-3.5a.ebuild | 98 | ||||
-rw-r--r-- | app-misc/tmux/tmux-9999.ebuild | 2 |
7 files changed, 245 insertions, 6 deletions
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest index 5887339d8fc0..36d745d86f30 100644 --- a/app-misc/tmux/Manifest +++ b/app-misc/tmux/Manifest @@ -1,11 +1,16 @@ AUX tmux-2.4-flags.patch 456 BLAKE2B df85b32486894e8e3c5531937461ad46ca5effc5dd4d31b4f7a3f9bcf8d3dfa38fc186a603a90fe734b25781b9d517115c2b089648c29e4605fa9610f6dc311a SHA512 505d5ec4fa1d7844870c67aedccac3a147db1971464fc21d19319bb343fb6fd73b696e85298f8592e46900774b35b250cc53841b05514333c44c3e973bcdb860 AUX tmux-3.3a-clang.patch 2480 BLAKE2B 33733a38035930f42e041ad43f36fa157d5411c7778f2fac67f4a37a645fe3bc508ff68ebda0a41f5d3ef0180a95dde79597db72db4fa318c55777cd573a1dd4 SHA512 a7dcaa2a07712bf4e820b0d252b8ab1efe9f7f9429e85b2fa75cb2e0c081f023b2aa9abc27529c30499f2ffe957f7195c5aa76cd4d224070bf135639d08bafa3 +AUX tmux-3.5-fix-xterm-sym.patch 1263 BLAKE2B ec47a799cd7301cb53eb24d3435a3772017af05b92c414874c3cb413cb913d18a3dabe773ca28474488ef1921011de2010df483e833fec52d411d2f88e9ae07b SHA512 50bea66e52fa86021e2d56c7bcb702d8361f34832dbcb20efda99de037d438ca6a3d114b5c19f8bcf1b8aaf66289871bb4cf7d4d44da6985c7c907fa322f4471 AUX tmux.service 124 BLAKE2B a4eecfeb4baa24433408c9dfb4848d420da4d54a2c62f6a4e05b0538e7b4c75bcec113d6ca86fea5085264903122e92e9adf7572e94ffafa3fe7f2038148b717 SHA512 73d3daf5362222da3e91641cc776c66fdaea50048000827a5eaa8693c769da73a320c19488aec6fd7660095eb6c44ef02f3473b2443909d55451442dfea70d28 AUX tmux.socket 132 BLAKE2B 9aa90b43f2eaedfce327287cc8eee4808c7870364668c54d0ffd4b5064d45a4c986702fdf64dde5fe24496635e700e1385a92a02060cb07819b48ab9d381b65b SHA512 fd2a8feb7474702515e9186a801fa5601feca5aedd39138d0f0623911b93255bc7cf4aa0ee066ba2c059601a21f2eb29794fe041d5a8cff91c63584e579aaff9 DIST tmux-3.3a.tar.gz 677448 BLAKE2B e835ce0f136175521035a684419f221864edb0a9506d7d68cbc0239b1349e78949ebd96573a9d8651a2df6d99acb433075d6e0c20d7394a53fe6b44bd9e56069 SHA512 29a846df7d93601c42a22f84f606931dc65da1f70b67d351d0425f77ea3affe3e8218b2940d42cd3dadf3cd1aa95032daad3ecb14fbff0f69939d1beae0498c7 DIST tmux-3.4.tar.gz 707213 BLAKE2B 2b1990b95d7439702e9287402d9828d4ecab573202c099aa482969c047b540d4b899f79d87587fc712e727d9cebf5fa7393512087e469fc355b4a30b1894e229 SHA512 bd3880211d99d8ee15947000abf8a1832fdfa48b29b2df81b66d5969cf3f4e64e746f984f6139bfc57e3ebee7fe8dc7cbb6bccb779307607de6c376969fecbff +DIST tmux-3.5.tar.gz 715322 BLAKE2B 6c257e7c3b2f49ae2a54dd28c8d89d4832ad1eb3a49e800ff83a03fd4e620bdee695845b1c272cff25f0805502c1309e9d14faae6ca3fb4d4f050d9abf4aeae9 SHA512 bb3ca1ae8b330c3efc8fcbe8a65a40f78beadaf08c79265f6377c4187d26028e485e5404b832bbea16b170fd9bbdf2f1554d67dd3b1289e183fca19df460b695 +DIST tmux-3.5a.tar.gz 715619 BLAKE2B 2314bc127f805071c9f2fe28be549b0948042a153aa68d997efc1dc0d6eba198b04aa16932d0a84b03250567100fb81c464919fcc8ba98660d3d0750ff5fe879 SHA512 2383e99aec2dcdb1d899793d5ecab40a68b921194f84770d3f4d19712bfc85590657a99d2a9a7bec36d4ba5ab39fa713f13937b0acad3b61cd9b2302dba61d43 DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 -EBUILD tmux-3.3a-r1.ebuild 1923 BLAKE2B fc69a9a9900bf1fa62c90a7b05621512cea072765ee4d572a5bb1cba6ca0d916c10a6690aee03816edfe02eeeab0b2e7bfc67e17a9531ad9f6ccff652ed033d4 SHA512 253f0c66b91a532e1c21875a6024ae009e20f083e0ee45733300c349853c59ca2937faae15085fdf98d5b7a3afb026aa32e72edea0bd871308ed18683df8acdd -EBUILD tmux-3.4-r1.ebuild 2193 BLAKE2B a6e4b8afa4297083988acb77084a5eceaafed310d089a532dbccbcb8ce87310ba68195e61f415efa4f2a8c17f4b73fe6e9051e8863ddc8bcf6f7e8bab0681da5 SHA512 545793790a9724c0f7434d49cb1e1a302615e9278ff030489db0cd0549101cb97090de071088be929da96cdb04de0566a1aae61c5d7575702de1a7417c7cb18a -EBUILD tmux-9999.ebuild 2132 BLAKE2B 99502d5fd3d781c405d3adcc3c738545e54bea5072622956d2add6c81f51f14307a3d767954f32ab53c51c0e2fcae79159c99915f08267b8e5992a9b2658833f SHA512 8696c366d8b74eb2b44d58fbeb04595f9cf167ec4ca2143bdd894d7b30269acc0bb5b138cae7a659a65abe8ed35d92565daa26a4eebc0a472307c9dfc5b56faa +EBUILD tmux-3.3a-r1.ebuild 1917 BLAKE2B 51b8c604f2a8c26bb4998a670318202e20657ca9b5b3ba34782898cce02b1548849316d0dbd2790808a01a104af181d9ab2b318fa1419a69e7f6305f1a1cffeb SHA512 866005d11cc808d62c729d2824187d3ff9fd4c9edb24ec57caa0444ad8b13c93fbd1635798e53794ae3f8ceb6294963381adaab2f562dbcb66691be63759b3d9 +EBUILD tmux-3.4-r1.ebuild 2187 BLAKE2B 7d074d53fd00e3ebaa7562d6aa2962619866cdcbd04035a4aa7c70626a203e07c10e51eae252e68005a36fcdc736f1d4443019c6623ab1d3437c400e4a655bd4 SHA512 e579de3274d68d879987593febea41af273ccd18a89584f00f44a7f5d581708f8535f7fbd9bd29c28301416e03b41d091a1ff3bee9858cb1e7ff002ad1da1e69 +EBUILD tmux-3.5-r1.ebuild 2322 BLAKE2B b6aaa88e2123e8687a22efb7ac04ee3bd254eac6054ea2667f278d3d607ed6480c13ad94a8bc4276bc19de82cb10e3dd98285e9677c75d783ce092fc6a8e99ed SHA512 ef417fad17da1201ada053541776f04208afb7258bbeeaf1357c0704e1a791c41c3d0f3bc2eeb96181f0977bd01444e4b9f201ace1f250309ee24a921fa90760 +EBUILD tmux-3.5a.ebuild 2327 BLAKE2B 16cd998277e585d835292e448aeb3a995a31b9ab7283534bccf0fddf37813dc0289e6937f5070307d418de6efbea711a749905ffdba90d188451d96151b56876 SHA512 a926d3f1cf53e5eff38bfdc9acd037cb341a143f4830838ba94a7cfc81cfee6ac555529e42d9ec826b9a0032e11e0a9e1874ed10b9ebd90bdb6edd06cf020f4e +EBUILD tmux-9999.ebuild 2126 BLAKE2B 221fa9f3bc7408377934bb3215decea6016cfbea6b33e51295d6305d4692eaa75ac40b0a4ddbc59640d9db99d995b04c85f46847cbd4539664237f77b406b7be SHA512 6da0e7a92a49f042ce1d691f171bd0ff150ab42ed1059fdbd86379e521183ebded47e1140dace81aea347b9aa3b84fa0bfc2027f0a73d9164ddead4f5b96aab3 MISC metadata.xml 709 BLAKE2B 69d79a4cd812421b661ee2562d4c4afb18ad6818c4dd2c1a0e402594523579019b5d36ce75032b45e96a397c4b9b28a8850d2d767b0faf12af04abe2fb6db813 SHA512 7fadd4eda7e47bf4880f170a17fcd60a3ac5d1f98058197eac2fd354c1aa4a868fcc73d044114f4d46f6efd192dd6c9345e6690e6e4c98faa7fd97b06cb1f93d diff --git a/app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch b/app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch new file mode 100644 index 000000000000..17d56664bcad --- /dev/null +++ b/app-misc/tmux/files/tmux-3.5-fix-xterm-sym.patch @@ -0,0 +1,38 @@ +https://github.com/tmux/tmux/commit/934035db7197d4510b330df8d8963f78e9c8756d + +From: nicm <nicm> +Date: Mon, 14 Oct 2024 20:26:45 +0000 +Subject: [PATCH] Set ACS flag for REP. Reported by Romain Francoise, GitHub + issue 4182. + +--- a/input.c ++++ b/input.c +@@ -1145,7 +1145,6 @@ input_print(struct input_ctx *ictx) + ictx->cell.cell.attr |= GRID_ATTR_CHARSET; + else + ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET; +- + utf8_set(&ictx->cell.cell.data, ictx->ch); + screen_write_collect_add(sctx, &ictx->cell.cell); + +@@ -1349,7 +1348,7 @@ input_csi_dispatch(struct input_ctx *ictx) + struct screen_write_ctx *sctx = &ictx->ctx; + struct screen *s = sctx->s; + struct input_table_entry *entry; +- int i, n, m, ek; ++ int i, n, m, ek, set; + u_int cx, bg = ictx->cell.cell.bg; + + if (ictx->flags & INPUT_DISCARD) +@@ -1592,6 +1591,11 @@ input_csi_dispatch(struct input_ctx *ictx) + if (~ictx->flags & INPUT_LAST) + break; + ++ set = ictx->cell.set == 0 ? ictx->cell.g0set : ictx->cell.g1set; ++ if (set == 1) ++ ictx->cell.cell.attr |= GRID_ATTR_CHARSET; ++ else ++ ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET; + utf8_copy(&ictx->cell.cell.data, &ictx->last); + for (i = 0; i < n; i++) + screen_write_collect_add(sctx, &ictx->cell.cell); diff --git a/app-misc/tmux/tmux-3.3a-r1.ebuild b/app-misc/tmux/tmux-3.3a-r1.ebuild index 875e3486c3c6..3c45540fcfa4 100644 --- a/app-misc/tmux/tmux-3.3a-r1.ebuild +++ b/app-misc/tmux/tmux-3.3a-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]] ; then else SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" fi S="${WORKDIR}/${P/_/-}" fi diff --git a/app-misc/tmux/tmux-3.4-r1.ebuild b/app-misc/tmux/tmux-3.4-r1.ebuild index 0a8b3a86b438..624ce908c089 100644 --- a/app-misc/tmux/tmux-3.4-r1.ebuild +++ b/app-misc/tmux/tmux-3.4-r1.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]] ; then else SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" fi S="${WORKDIR}/${P/_/-}" fi diff --git a/app-misc/tmux/tmux-3.5-r1.ebuild b/app-misc/tmux/tmux-3.5-r1.ebuild new file mode 100644 index 000000000000..1be48e6b4f30 --- /dev/null +++ b/app-misc/tmux/tmux-3.5-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Terminal multiplexer" +HOMEPAGE="https://tmux.github.io/" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" + EGIT_REPO_URI="https://github.com/tmux/tmux.git" +else + SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + fi + S="${WORKDIR}/${P/_/-}" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="debug jemalloc selinux systemd utempter vim-syntax" + +DEPEND=" + dev-libs/libevent:= + sys-libs/ncurses:= + jemalloc? ( dev-libs/jemalloc:= ) + systemd? ( sys-apps/systemd:= ) + utempter? ( sys-libs/libutempter ) + kernel_Darwin? ( dev-libs/libutf8proc:= ) +" + +BDEPEND=" + virtual/pkgconfig + app-alternatives/yacc +" + +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-screen ) + vim-syntax? ( app-vim/vim-tmux ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # BSD only functions + strtonum recallocarray + # missing on musl, tmux has fallback impl which it uses + b64_ntop +) + +DOCS=( CHANGES README ) + +PATCHES=( + "${FILESDIR}"/${PN}-2.4-flags.patch + "${FILESDIR}"/${P}-fix-xterm-sym.patch # merged upstream +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug 438558 + # 1.7 segfaults when entering copy mode if compiled with -Os + replace-flags -Os -O2 + + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc + $(use_enable debug) + $(use_enable jemalloc) + $(use_enable systemd) + $(use_enable utempter) + + # For now, we only expose this for macOS, because + # upstream strongly encourage it. I'm not sure it's + # needed on Linux right now. + $(use_enable kernel_Darwin utf8proc) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + einstalldocs + + dodoc example_tmux.conf + docompress -x /usr/share/doc/${PF}/example_tmux.conf + + if use systemd; then + systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service + systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket + fi +} diff --git a/app-misc/tmux/tmux-3.5a.ebuild b/app-misc/tmux/tmux-3.5a.ebuild new file mode 100644 index 000000000000..037e0d2ba17e --- /dev/null +++ b/app-misc/tmux/tmux-3.5a.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic systemd + +DESCRIPTION="Terminal multiplexer" +HOMEPAGE="https://tmux.github.io/" +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + SRC_URI="https://raw.githubusercontent.com/przepompownia/tmux-bash-completion/678a27616b70c649c6701cae9cd8c92b58cc051b/completions/tmux -> tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b" + EGIT_REPO_URI="https://github.com/tmux/tmux.git" +else + SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + fi + S="${WORKDIR}/${P/_/-}" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="debug jemalloc selinux systemd utempter vim-syntax" + +DEPEND=" + dev-libs/libevent:= + sys-libs/ncurses:= + jemalloc? ( dev-libs/jemalloc:= ) + systemd? ( sys-apps/systemd:= ) + utempter? ( sys-libs/libutempter ) + kernel_Darwin? ( dev-libs/libutf8proc:= ) +" + +BDEPEND=" + virtual/pkgconfig + app-alternatives/yacc +" + +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-screen ) + vim-syntax? ( app-vim/vim-tmux ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + # BSD only functions + strtonum recallocarray + # missing on musl, tmux has fallback impl which it uses + b64_ntop +) + +DOCS=( CHANGES README ) + +PATCHES=( + "${FILESDIR}"/${PN}-2.4-flags.patch + "${FILESDIR}"/${PN}-3.5-fix-xterm-sym.patch # merged upstream +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # bug 438558 + # 1.7 segfaults when entering copy mode if compiled with -Os + replace-flags -Os -O2 + + local myeconfargs=( + --sysconfdir="${EPREFIX}"/etc + $(use_enable debug) + $(use_enable jemalloc) + $(use_enable systemd) + $(use_enable utempter) + + # For now, we only expose this for macOS, because + # upstream strongly encourage it. I'm not sure it's + # needed on Linux right now. + $(use_enable kernel_Darwin utf8proc) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + einstalldocs + + dodoc example_tmux.conf + docompress -x /usr/share/doc/${PF}/example_tmux.conf + + if use systemd; then + systemd_newuserunit "${FILESDIR}"/tmux.service tmux@.service + systemd_newuserunit "${FILESDIR}"/tmux.socket tmux@.socket + fi +} diff --git a/app-misc/tmux/tmux-9999.ebuild b/app-misc/tmux/tmux-9999.ebuild index 3f3b9e9bf1a6..04c6a5150e8d 100644 --- a/app-misc/tmux/tmux-9999.ebuild +++ b/app-misc/tmux/tmux-9999.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]] ; then else SRC_URI="https://github.com/tmux/tmux/releases/download/${PV}/${P/_/-}.tar.gz" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" fi S="${WORKDIR}/${P/_/-}" fi |