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: Mon, 29 May 2017 08:21:58
Message-Id: 1496046106.3a01d0d861ca7bd8f51b551f434d1678b29e5790.polynomial-c@gentoo
1 commit: 3a01d0d861ca7bd8f51b551f434d1678b29e5790
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 29 08:21:46 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 29 08:21:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a01d0d8
7
8 app-misc/tmux: Bump to version 2.5
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 app-misc/tmux/Manifest | 1 +
13 app-misc/tmux/tmux-2.5.ebuild | 98 +++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 99 insertions(+)
15
16 diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest
17 index 4a7ce95f886..a5d55e4fc5a 100644
18 --- a/app-misc/tmux/Manifest
19 +++ b/app-misc/tmux/Manifest
20 @@ -1,5 +1,6 @@
21 DIST tmux-2.2.tar.gz 466852 SHA256 bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf WHIRLPOOL 2e44582b994f3fe919f4ee7543f25e3fb02cc975d053b0c63bcd858a54fe3125ffe192cf6f8c7ae0345d90e8086d86930d668b29becdb4e0376579ef02e7034f
22 DIST tmux-2.3.tar.gz 473944 SHA256 55313e132f0f42de7e020bf6323a1939ee02ab79c48634aa07475db41573852b SHA512 521e3734104be43837cba95d8b3d050d033708fa7469f7e7db66ae6993b002c4d9f6bafec41f3c9446eda91a4499e571019534dfa2e5a0563085b2d16e1b94af WHIRLPOOL de482076dfdb15e5ef2dcaebf60e05069bf847a30162a098bf11573f09cc996e35b9ffcd3a2784331b6fc59ae0b9bc58cbe80360a7dd844eb94ff25e546eacf2
23 DIST tmux-2.4.tar.gz 470549 SHA256 757d6b13231d0d9dd48404968fc114ac09e005d475705ad0cd4b7166f799b349 SHA512 e9d93f6b8b68dddf05046ef1e1bc8c55a1f2c4bb96f4e12c25c202358b3280b3e14df8818ed449aadc783306b0869e5e7418192f60bb16afebc6b396cb50999c WHIRLPOOL 4a18fed14db7ffa12b82c5333c90f48f406d5337bb7a08be3b91df9ccd444452295f4263ddbb81a94f681ef434d593dd851ccd7d8702c635a3243642a1b1c0c0
24 +DIST tmux-2.5.tar.gz 475717 SHA256 ae135ec37c1bf6b7750a84e3a35e93d91033a806943e034521c8af51b12d95df SHA512 c0e8365a553d034e347f2f7a0d64f04e2be4307a75a9f72c8218fc56b72e531f3f37fe4a8f0e8d70801f5f62ee250ab7e9978abd6d101d273f76b4a1a92b08e0 WHIRLPOOL d56576291a98a952344857b10150b2d19f7b8b98eb5c17d70d7e4d6f28b198f622f0a3c8e5211a9c1bf2de77b137496acbadb7670d63e0653f2c832ce7554e1d
25 DIST tmux-bash-completion-678a27616b70c649c6701cae9cd8c92b58cc051b 458 SHA256 a0905c595fec7f0258fba5466315d42d67eca3bd2d3b12f4af8936d7f168b6c6 SHA512 fe0aca7d03067af87e0788a2fa902c7ef5500ba72295cb63c5a1814534a008c224256d7f890ac1af6d17f3734b45148765e1632f075e284c453185df2927b979 WHIRLPOOL aa83ea77c084e643f2cbf74ddf10bf6e43304b0a7c1f6af24b153844ad01732af8f45de0d8a39093f11be19ff9af20116f4aa7b9c750f3452525fcd7b31a3d8a
26 DIST tmux.vim-95f6126c187667cc7f9c573c45c3b356cf69f4ca 5626 SHA256 040cbb7ce19f5a256ae400061d310e0f64f58cbc525402043708b59546af2462 SHA512 956b2c1ca08e3c92aa39c9df54fbe1c661d0e076c91628c4b88f81f97104241b6505412fa0e21a681adc231eb2e6e7feee850474d4277812d186548bbb05f6d1 WHIRLPOOL 3eaa20479fccf7e20dbd7ccb8669bd8c47da90f7218fdb386fcd150c1223cc7300d68f880baa706bbdb7abf54394d44fd80479ba3fae934de9b53f40acc6286a
27
28 diff --git a/app-misc/tmux/tmux-2.5.ebuild b/app-misc/tmux/tmux-2.5.ebuild
29 new file mode 100644
30 index 00000000000..a63a5a2fa79
31 --- /dev/null
32 +++ b/app-misc/tmux/tmux-2.5.ebuild
33 @@ -0,0 +1,98 @@
34 +# Copyright 1999-2017 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit autotools flag-o-matic versionator
40 +
41 +DESCRIPTION="Terminal multiplexer"
42 +HOMEPAGE="http://tmux.github.io/"
43 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_*}/${P/_/-}.tar.gz"
44 +
45 +LICENSE="ISC"
46 +SLOT="0"
47 +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"
48 +IUSE="debug selinux utempter vim-syntax kernel_FreeBSD kernel_linux"
49 +
50 +CDEPEND="
51 + dev-libs/libevent:0=
52 + || (
53 + =dev-libs/libevent-2.0*
54 + >=dev-libs/libevent-2.1.5-r4
55 + )
56 + utempter? (
57 + kernel_linux? ( sys-libs/libutempter )
58 + kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) )
59 + )
60 + sys-libs/ncurses:0="
61 +DEPEND="${CDEPEND}
62 + virtual/pkgconfig"
63 +RDEPEND="${CDEPEND}
64 + dev-libs/libevent:=
65 + selinux? ( sec-policy/selinux-screen )
66 + vim-syntax? (
67 + || (
68 + app-editors/vim
69 + app-editors/gvim
70 + )
71 + )"
72 +
73 +DOCS=( CHANGES FAQ README TODO )
74 +
75 +S="${WORKDIR}/${P/_/-}"
76 +
77 +PATCHES=(
78 + "${FILESDIR}"/${PN}-2.4-flags.patch
79 +
80 + # usptream fixes (can be removed with next version bump)
81 +)
82 +
83 +src_prepare() {
84 + # bug 438558
85 + # 1.7 segfaults when entering copy mode if compiled with -Os
86 + replace-flags -Os -O2
87 +
88 + # regenerate aclocal.m4 to support earlier automake versions
89 + rm aclocal.m4 || die
90 +
91 + default
92 +
93 + eautoreconf
94 +}
95 +
96 +src_configure() {
97 + local myeconfargs=(
98 + --sysconfdir="${EPREFIX}"/etc
99 + $(use_enable debug)
100 + $(use_enable utempter)
101 + )
102 + econf "${myeconfargs[@]}"
103 +}
104 +
105 +src_install() {
106 + default
107 +
108 + einstalldocs
109 +
110 + dodoc example_tmux.conf
111 + docompress -x /usr/share/doc/${PF}/example_tmux.conf
112 +
113 + if use vim-syntax; then
114 + insinto /usr/share/vim/vimfiles/ftdetect
115 + doins "${FILESDIR}"/tmux.vim
116 + fi
117 +}
118 +
119 +pkg_postinst() {
120 + if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then
121 + echo
122 + ewarn "Some configuration options changed in this release."
123 + ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
124 + ewarn
125 + ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
126 + ewarn "older, running tmux server instances. You'll have to use an existing client to"
127 + ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
128 + ewarn "to temporarily downgrade to access them."
129 + echo
130 + fi
131 +}