Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/tmux/
Date: Thu, 02 Jun 2016 12:37:32
Message-Id: 1464871037.d4257646ed01e5186af23ea0c5e518f741839eec.polynomial-c@gentoo
1 commit: d4257646ed01e5186af23ea0c5e518f741839eec
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 2 12:33:40 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 2 12:37:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4257646
7
8 app-misc/tmux: Bump to version 2.2 (bug #579620).
9
10 Made utempter support optional (bug #584690).
11
12 Package-Manager: portage-2.2.28
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 app-misc/tmux/Manifest | 1 +
16 app-misc/tmux/metadata.xml | 3 ++
17 app-misc/tmux/tmux-2.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++++
18 3 files changed, 90 insertions(+)
19
20 diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
21 index 2e5b570..0eea5ba 100644
22 --- a/app-misc/tmux/Manifest
23 +++ b/app-misc/tmux/Manifest
24 @@ -1,3 +1,4 @@
25 DIST tmux-2.1.tar.gz 462965 SHA256 31564e7bf4bcef2defb3cb34b9e596bd43a3937cad9e5438701a81a5a9af6176 SHA512 0faa0a60a84b777ca3cf572cf741d0e4f82a9f32d27dfeddfda41bad57830823a6d5f2323f27ba794b86e194d9f7db7028c94dc6a15bb4ac5a18508f890bdaa4 WHIRLPOOL 983024886bdb868bb69ccedc18e9fd62cc5a8f147d647ea43b6f20e297b9b3c45a061e542bcb590ab50cf5d3db43d22015c3a8f18bee33d9c76552bfe13424ed
26 +DIST tmux-2.2.tar.gz 466852 SHA256 bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf WHIRLPOOL 2e44582b994f3fe919f4ee7543f25e3fb02cc975d053b0c63bcd858a54fe3125ffe192cf6f8c7ae0345d90e8086d86930d668b29becdb4e0376579ef02e7034f
27 DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 SHA256 a0905c595fec7f0258fba5466315d42d67eca3bd2d3b12f4af8936d7f168b6c6 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 WHIRLPOOL aa83ea77c084e643f2cbf74ddf10bf6e43304b0a7c1f6af24b153844ad01732af8f45de0d8a39093f11be19ff9af20116f4aa7b9c750f3452525fcd7b31a3d8a
28 DIST tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca 5626 SHA256 040cbb7ce19f5a256ae400061d310e0f64f58cbc525402043708b59546af2462 SHA512 956b2c1ca08e3c92aa39c9df54fbe1c661d0e076c91628c4b88f81f97104241b6505412fa0e21a681adc231eb2e6e7feee850474d4277812d186548bbb05f6d1 WHIRLPOOL 3eaa20479fccf7e20dbd7ccb8669bd8c47da90f7218fdb386fcd150c1223cc7300d68f880baa706bbdb7abf54394d44fd80479ba3fae934de9b53f40acc6286a
29
30 diff --git a/app-misc/tmux/metadata.xml b/app-misc/tmux/metadata.xml
31 index c2ae9d3..58f1701 100644
32 --- a/app-misc/tmux/metadata.xml
33 +++ b/app-misc/tmux/metadata.xml
34 @@ -9,6 +9,9 @@
35 <email>shell-tools@g.o</email>
36 <name>Gentoo Shell Tools Project</name>
37 </maintainer>
38 + <use>
39 + <flag name="utempter">Include libutempter support</flag>
40 + </use>
41 <longdescription>
42 tmux is a "terminal multiplexer", it enables a number of terminals
43 (or windows) to be accessed and controlled from a single terminal.
44
45 diff --git a/app-misc/tmux/tmux-2.2.ebuild b/app-misc/tmux/tmux-2.2.ebuild
46 new file mode 100644
47 index 0000000..57d9618
48 --- /dev/null
49 +++ b/app-misc/tmux/tmux-2.2.ebuild
50 @@ -0,0 +1,86 @@
51 +# Copyright 1999-2016 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +# $Id$
54 +
55 +EAPI=6
56 +
57 +inherit autotools flag-o-matic versionator
58 +
59 +DESCRIPTION="Terminal multiplexer"
60 +HOMEPAGE="http://tmux.github.io/"
61 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
62 +
63 +LICENSE="ISC"
64 +SLOT="0"
65 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
66 +IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
67 +
68 +CDEPEND="
69 + || (
70 + =dev-libs/libevent-2.0*
71 + >=dev-libs/libevent-2.1.5-r4
72 + )
73 + utempter? (
74 + kernel_linux? ( sys-libs/libutempter )
75 + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
76 + )
77 + sys-libs/ncurses:0="
78 +DEPEND="${CDEPEND}
79 + virtual/pkgconfig"
80 +RDEPEND="${CDEPEND}
81 + selinux? ( sec-policy/selinux-screen )
82 + vim-syntax? (
83 + || (
84 + app-editors/vim
85 + app-editors/gvim
86 + )
87 + )"
88 +
89 +DOCS=( CHANGES FAQ README TODO )
90 +
91 +PATCHES=( "${FILESDIR}"/${PN}-2.0-flags.patch )
92 +
93 +src_prepare() {
94 + # bug 438558
95 + # 1.7 segfaults when entering copy mode if compiled with -Os
96 + replace-flags -Os -O2
97 +
98 + # regenerate aclocal.m4 to support earlier automake versions
99 + rm aclocal.m4 || die
100 +
101 + default
102 +
103 + eautoreconf
104 +}
105 +
106 +src_configure() {
107 + econf \
108 + --sysconfdir="${EPREFIX}"/etc \
109 + $(use_enable debug) \
110 + $(use_enable utempter)
111 +}
112 +
113 +src_install() {
114 + default
115 +
116 + einstalldocs
117 +
118 + if use vim-syntax; then
119 + insinto /usr/share/vim/vimfiles/ftdetect
120 + doins "${FILESDIR}"/tmux.vim
121 + fi
122 +}
123 +
124 +pkg_postinst() {
125 + if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
126 + echo
127 + ewarn "Some configuration options changed in this release."
128 + ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
129 + ewarn
130 + ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
131 + ewarn "older, running tmux server instances. You'll have to use an existing client to"
132 + ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
133 + ewarn "to temporarily downgrade to access them."
134 + echo
135 + fi
136 +}