diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-13 21:21:33 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-13 21:21:50 +0200 |
commit | eadbf99e1da48ae7ec3b1a6fb4f6e1b24b8bdb28 (patch) | |
tree | 80696bcfe1a9ebb6a1037c3b0501ed9d9e6adc4e /app-misc/tmux | |
parent | app-misc/tmux: Bump to version 2.7 (diff) | |
download | gentoo-eadbf99e1da48ae7ec3b1a6fb4f6e1b24b8bdb28.tar.gz gentoo-eadbf99e1da48ae7ec3b1a6fb4f6e1b24b8bdb28.tar.bz2 gentoo-eadbf99e1da48ae7ec3b1a6fb4f6e1b24b8bdb28.zip |
app-misc/tmux: Removed old.
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-misc/tmux')
-rw-r--r-- | app-misc/tmux/Manifest | 3 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux-2.0-flags.patch | 18 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux-2.3-flags.patch | 15 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch | 9 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch | 63 | ||||
-rw-r--r-- | app-misc/tmux/files/tmux.vim | 1 | ||||
-rw-r--r-- | app-misc/tmux/tmux-2.2.ebuild | 85 | ||||
-rw-r--r-- | app-misc/tmux/tmux-2.3-r1.ebuild | 90 | ||||
-rw-r--r-- | app-misc/tmux/tmux-2.3-r2.ebuild | 91 | ||||
-rw-r--r-- | app-misc/tmux/tmux-2.5-r2.ebuild | 83 | ||||
-rw-r--r-- | app-misc/tmux/tmux-2.5.ebuild | 93 |
11 files changed, 0 insertions, 551 deletions
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest index 077cc9d2edd2..2871890799a7 100644 --- a/app-misc/tmux/Manifest +++ b/app-misc/tmux/Manifest @@ -1,6 +1,3 @@ -DIST tmux-2.2.tar.gz 466852 BLAKE2B 78bc503955686a1b8aa80c0686aa2b05c32bb54078c0dd5c3bcf0c3e2ac8ff0383ceb63218974b2da688506bd44e8ebfd48a05a66ba9322b446cc44c11952932 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf -DIST tmux-2.3.tar.gz 473944 BLAKE2B 348bb0492332d2c52d11be2aa128552ca374feb8ac2cf91d395fe5896d1fd791e62c3a526df7c744ef888eaaa1aa91ffa110dcc5626b72169aac7dc7f7293dd2 SHA512 521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af -DIST tmux-2.5.tar.gz 475717 BLAKE2B c702949c7490b637ca99dc6b98d92af917e437374159153c6b955821d056fcbe676441974f42cb271db4dc69746765bb83e5a86a7d51e35d900a1a4f77e60ead SHA512 c0e8365a553d034e347f2f7a0d64f04e2be4307a75a9f72c8218fc56b72e531f3f37fe4a8f0e8d70801f5f62ee250ab7e9978abd6d101d273f76b4a1a92b08e0 DIST tmux-2.6.tar.gz 481000 BLAKE2B adbd276261f3f4be9d67c6c0fbad28a90eabbecfa68ebbc104fe56acaa9b7bd005060b854ce0a0e669fdf41dd058bfa8450a85a78f71f7248a44d25458f7d3bc SHA512 20a1ae8b8494c5b42757902322f3877731c2cc330c9c00f097a317785d25252b7ebaa8bbab9fc17843299e80cb2914aaac0a664715a85c50f7ea489d23753832 DIST tmux-2.7.tar.gz 487585 BLAKE2B 9c56da03bd12b358fcbed82def9680c34e1e485f906cf9b90a501e53b109c43d1ee843972d26e677de2c34830e599edee022dc1c17e1e5c935ed232caacb2b01 SHA512 7839ef748ea55df8c02c727047f65bd235b5e3b8ab23157246071e1b9954fa269594da9fbd0fabf6a850e3b5dfda962a0a067c1507411c92a84d1db2666ecf37 DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 BLAKE2B 04143e6d1cfbbd467f1656f949363cb7a4a3e16e9b3cf56b8b0423babe56276abee2622964cb490005fc76d1cbe12201fb1a6446a6f860c2cc1ff3c9bd5fc496 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 diff --git a/app-misc/tmux/files/tmux-2.0-flags.patch b/app-misc/tmux/files/tmux-2.0-flags.patch deleted file mode 100644 index d2c40e04b788..000000000000 --- a/app-misc/tmux/files/tmux-2.0-flags.patch +++ /dev/null @@ -1,18 +0,0 @@ - Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 63e20b1..a2fec1e 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -25,9 +25,8 @@ endif - # Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly - # different flags. - if IS_GCC --CFLAGS += -std=gnu99 -O2 -+CFLAGS += -std=gnu99 - if IS_DEBUG --CFLAGS += -g - CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 - CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations - CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare diff --git a/app-misc/tmux/files/tmux-2.3-flags.patch b/app-misc/tmux/files/tmux-2.3-flags.patch deleted file mode 100644 index 6fa66b508333..000000000000 --- a/app-misc/tmux/files/tmux-2.3-flags.patch +++ /dev/null @@ -1,15 +0,0 @@ - Makefile.am | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) ---- tmux-2.3/Makefile.am -+++ tmux-2.3/Makefile.am -@@ -23,9 +23,8 @@ - - # Set flags for gcc. - if IS_GCC --CFLAGS += -std=gnu99 -O2 -+CFLAGS += -std=gnu99 - if IS_DEBUG --CFLAGS += -g - CFLAGS += -Wno-long-long -Wall -W -Wformat=2 - CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations - CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare diff --git a/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch b/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch deleted file mode 100644 index 65dd2f3c1bc9..000000000000 --- a/app-misc/tmux/files/tmux-2.3-pipe_pane-fix.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/window.c 2016-09-29 05:31:24.000000000 +0800 -+++ b/window.c 2017-12-22 09:38:43.709617000 +0800 -@@ -981,7 +981,7 @@ - - input_parse(wp); - -- wp->pipe_off = size; -+ wp->pipe_off = EVBUFFER_LENGTH(evb); - } diff --git a/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch b/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch deleted file mode 100644 index b8383274da2a..000000000000 --- a/app-misc/tmux/files/tmux-2.3-screen_write_copy-fix.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 30086e504c8a5389b96b72b81ac8dbefe19e0cf1 Mon Sep 17 00:00:00 2001 -From: nicm <nicm> -Date: Wed, 5 Oct 2016 22:00:29 +0000 -Subject: [PATCH] screen_write_copy tried to be clever and clear the line if it - reached the end of the source, but it was wrong and causes problems that are - only showing up now we are more aggressive about skipping redundant screen - updates. Remove the optimization entirely as more trouble than it is worth to - fix (and it'll have to go when BCE is done anyway). - ---- - screen-write.c | 34 +++++++--------------------------- - 1 file changed, 7 insertions(+), 27 deletions(-) - -diff --git a/screen-write.c b/screen-write.c -index 3977517..3a1fc8c 100644 ---- a/screen-write.c -+++ b/screen-write.c -@@ -394,38 +394,18 @@ screen_write_copy(struct screen_write_ctx *ctx, struct screen *src, u_int px, - { - struct screen *s = ctx->s; - struct grid *gd = src->grid; -- struct grid_line *gl; - struct grid_cell gc; -- u_int xx, yy, cx, cy, ax, bx; -+ u_int xx, yy, cx, cy; - - cx = s->cx; - cy = s->cy; -+ - for (yy = py; yy < py + ny; yy++) { -- gl = &gd->linedata[yy]; -- if (yy < gd->hsize + gd->sy) { -- /* -- * Find start and end position and copy between -- * them. Limit to the real end of the line then use a -- * clear EOL only if copying to the end, otherwise -- * could overwrite whatever is there already. -- */ -- if (px > gl->cellsize) -- ax = gl->cellsize; -- else -- ax = px; -- if (px + nx == gd->sx && px + nx > gl->cellsize) -- bx = gl->cellsize; -- else -- bx = px + nx; -- -- for (xx = ax; xx < bx; xx++) { -- grid_get_cell(gd, xx, yy, &gc); -- screen_write_cell(ctx, &gc); -- } -- if (px + nx == gd->sx && px + nx > gl->cellsize) -- screen_write_clearendofline(ctx); -- } else -- screen_write_clearline(ctx); -+ for (xx = px; xx < px + nx; xx++) { -+ grid_get_cell(gd, xx, yy, &gc); -+ screen_write_cell(ctx, &gc); -+ } -+ - cy++; - screen_write_cursormove(ctx, cx, cy); - } diff --git a/app-misc/tmux/files/tmux.vim b/app-misc/tmux/files/tmux.vim deleted file mode 100644 index baac50adab16..000000000000 --- a/app-misc/tmux/files/tmux.vim +++ /dev/null @@ -1 +0,0 @@ -au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux diff --git a/app-misc/tmux/tmux-2.2.ebuild b/app-misc/tmux/tmux-2.2.ebuild deleted file mode 100644 index fdc80fec9998..000000000000 --- a/app-misc/tmux/tmux-2.2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic versionator - -DESCRIPTION="Terminal multiplexer" -HOMEPAGE="http://tmux.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" - -CDEPEND=" - >=dev-libs/libevent-2.1.5-r4:= - utempter? ( - kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - ) - sys-libs/ncurses:0=" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-screen ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - )" - -DOCS=( CHANGES FAQ README TODO ) - -PATCHES=( "${FILESDIR}"/${PN}-2.0-flags.patch ) - -src_prepare() { - # bug 438558 - # 1.7 segfaults when entering copy mode if compiled with -Os - replace-flags -Os -O2 - - # regenerate aclocal.m4 to support earlier automake versions - rm aclocal.m4 || die - - default - - eautoreconf -} - -src_configure() { - econf \ - --sysconfdir="${EPREFIX}"/etc \ - $(use_enable debug) \ - $(use_enable utempter) -} - -src_install() { - default - - einstalldocs - - dodoc example_tmux.conf - docompress -x /usr/share/doc/${PF}/example_tmux.conf - - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/tmux.vim - fi -} - -pkg_postinst() { - if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then - echo - ewarn "Some configuration options changed in this release." - ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" - ewarn - ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" - ewarn "older, running tmux server instances. You'll have to use an existing client to" - ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" - ewarn "to temporarily downgrade to access them." - echo - fi -} diff --git a/app-misc/tmux/tmux-2.3-r1.ebuild b/app-misc/tmux/tmux-2.3-r1.ebuild deleted file mode 100644 index 1c3c6889b8b4..000000000000 --- a/app-misc/tmux/tmux-2.3-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic versionator - -DESCRIPTION="Terminal multiplexer" -HOMEPAGE="http://tmux.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" - -CDEPEND=" - >=dev-libs/libevent-2.1.5-r4:= - utempter? ( - kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - ) - sys-libs/ncurses:0=" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-screen ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - )" - -DOCS=( CHANGES FAQ README TODO ) - -PATCHES=( - "${FILESDIR}"/${PN}-2.3-flags.patch - - # usptream fixes (can be removed with next version bump) - "${FILESDIR}"/${P}-screen_write_copy-fix.patch -) - -src_prepare() { - # bug 438558 - # 1.7 segfaults when entering copy mode if compiled with -Os - replace-flags -Os -O2 - - # regenerate aclocal.m4 to support earlier automake versions - rm aclocal.m4 || die - - default - - eautoreconf -} - -src_configure() { - econf \ - --sysconfdir="${EPREFIX}"/etc \ - $(use_enable debug) \ - $(use_enable utempter) -} - -src_install() { - default - - einstalldocs - - dodoc example_tmux.conf - docompress -x /usr/share/doc/${PF}/example_tmux.conf - - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/tmux.vim - fi -} - -pkg_postinst() { - if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then - echo - ewarn "Some configuration options changed in this release." - ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" - ewarn - ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" - ewarn "older, running tmux server instances. You'll have to use an existing client to" - ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" - ewarn "to temporarily downgrade to access them." - echo - fi -} diff --git a/app-misc/tmux/tmux-2.3-r2.ebuild b/app-misc/tmux/tmux-2.3-r2.ebuild deleted file mode 100644 index 3bed9128b2f8..000000000000 --- a/app-misc/tmux/tmux-2.3-r2.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic versionator - -DESCRIPTION="Terminal multiplexer" -HOMEPAGE="http://tmux.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" - -CDEPEND=" - >=dev-libs/libevent-2.1.5-r4:= - utempter? ( - kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - ) - sys-libs/ncurses:0=" - -DEPEND=" - ${CDEPEND} - virtual/pkgconfig" - -RDEPEND=" - ${CDEPEND} - selinux? ( sec-policy/selinux-screen ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.3-flags.patch - - # usptream fixes (can be removed with next version bump) - "${FILESDIR}"/${P}-screen_write_copy-fix.patch - "${FILESDIR}"/${P}-pipe_pane-fix.patch -) - -src_prepare() { - default - - # regenerate aclocal.m4 to support earlier automake versions - rm aclocal.m4 || die - - eautoreconf -} - -src_configure() { - # bug 438558 - # 1.7 segfaults when entering copy mode if compiled with -Os - replace-flags -Os -O2 - - econf \ - --sysconfdir="${EPREFIX}"/etc \ - $(use_enable debug) \ - $(use_enable utempter) -} - -src_install() { - default - - dodoc example_tmux.conf - docompress -x /usr/share/doc/${PF}/example_tmux.conf - - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/tmux.vim - fi -} - -pkg_postinst() { - if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then - ewarn - ewarn "Some configuration options changed in this release." - ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" - ewarn - ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" - ewarn "older, running tmux server instances. You'll have to use an existing client to" - ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" - ewarn "to temporarily downgrade to access them." - ewarn - fi -} diff --git a/app-misc/tmux/tmux-2.5-r2.ebuild b/app-misc/tmux/tmux-2.5-r2.ebuild deleted file mode 100644 index 092a05aeac5f..000000000000 --- a/app-misc/tmux/tmux-2.5-r2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic versionator - -DESCRIPTION="Terminal multiplexer" -HOMEPAGE="http://tmux.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" - -CDEPEND=" - dev-libs/libevent:0= - sys-libs/ncurses:0= - utempter? ( - kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - )" - -DEPEND=" - ${CDEPEND} - virtual/pkgconfig" - -RDEPEND=" - ${CDEPEND} - selinux? ( sec-policy/selinux-screen ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - app-vim/vim-tmux - )" - -DOCS=( CHANGES FAQ README TODO example_tmux.conf ) - -PATCHES=( - # usptream fixes (can be removed with next version bump) - "${FILESDIR}/${PN}-2.4-flags.patch" -) - -S="${WORKDIR}/${P/_/-}" - -src_prepare() { - # bug 438558 - # 1.7 segfaults when entering copy mode if compiled with -Os - replace-flags -Os -O2 - - # regenerate aclocal.m4 to support earlier automake versions - rm -v aclocal.m4 || die - - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --sysconfdir="${EPREFIX}"/etc - $(use_enable debug) - $(use_enable utempter) - ) - - econf "${myeconfargs[@]}" -} - -pkg_postinst() { - if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then - echo - ewarn "Some configuration options changed in this release." - ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" - ewarn - ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" - ewarn "older, running tmux server instances. You'll have to use an existing client to" - ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" - ewarn "to temporarily downgrade to access them." - echo - fi -} diff --git a/app-misc/tmux/tmux-2.5.ebuild b/app-misc/tmux/tmux-2.5.ebuild deleted file mode 100644 index 021ab3b915f0..000000000000 --- a/app-misc/tmux/tmux-2.5.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools flag-o-matic versionator - -DESCRIPTION="Terminal multiplexer" -HOMEPAGE="http://tmux.github.io/" -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux" - -CDEPEND=" - >=dev-libs/libevent-2.1.5-r4 - utempter? ( - kernel_linux? ( sys-libs/libutempter ) - kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) - ) - sys-libs/ncurses:0=" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-screen ) - vim-syntax? ( - || ( - app-editors/vim - app-editors/gvim - ) - )" - -DOCS=( CHANGES FAQ README TODO ) - -S="${WORKDIR}/${P/_/-}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.4-flags.patch - - # usptream fixes (can be removed with next version bump) -) - -src_prepare() { - # bug 438558 - # 1.7 segfaults when entering copy mode if compiled with -Os - replace-flags -Os -O2 - - # regenerate aclocal.m4 to support earlier automake versions - rm aclocal.m4 || die - - default - - eautoreconf -} - -src_configure() { - local myeconfargs=( - --sysconfdir="${EPREFIX}"/etc - $(use_enable debug) - $(use_enable utempter) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - default - - einstalldocs - - dodoc example_tmux.conf - docompress -x /usr/share/doc/${PF}/example_tmux.conf - - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/tmux.vim - fi -} - -pkg_postinst() { - if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then - echo - ewarn "Some configuration options changed in this release." - ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" - ewarn - ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" - ewarn "older, running tmux server instances. You'll have to use an existing client to" - ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" - ewarn "to temporarily downgrade to access them." - echo - fi -} |