1 |
commit: 04455442c56270af394871ba25a1eec7e8da7ada |
2 |
Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 8 12:52:36 2016 +0000 |
4 |
Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 8 12:52:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/dev/tranquility.git/commit/?id=04455442 |
7 |
|
8 |
Add tmux-2.2 |
9 |
|
10 |
app-misc/tmux/Manifest | 3 ++ |
11 |
app-misc/tmux/files/tmux-2.0-flags.patch | 18 ++++++++ |
12 |
app-misc/tmux/tmux-2.2.ebuild | 74 ++++++++++++++++++++++++++++++++ |
13 |
3 files changed, 95 insertions(+) |
14 |
|
15 |
diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..f04ec4b |
18 |
--- /dev/null |
19 |
+++ b/app-misc/tmux/Manifest |
20 |
@@ -0,0 +1,3 @@ |
21 |
+AUX tmux-2.0-flags.patch 584 SHA256 17dba9f233ca99e31d0619a47ca1cfd1f78bc429bfc9564e3fbc0174b39b61e7 SHA512 029a29182f5998c19883f24eab980d16f2e89c72f4150354e0a1101f9092491e836952fb9442e511508f47fd701c8cc8171f29c6ff097248894b6696d108f6dd WHIRLPOOL 026220084ff52382a168053b67bc5133b6d0d455059108ff85f58bb98eaab1656d1d76cd2c7814b9a7fde75e30cf79dfdf65c6c4429aa51852dfb9e6afef13e4 |
22 |
+DIST tmux-2.2.tar.gz 466852 SHA256 bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4 SHA512 4d4fc316c78aab0d13f7f15098d952f01d7da7d74d46251ae2dd90440522f07c785afe984d82de2b4518fb67ea441f5a5a46c357c87ddc6ddbfba4b7f08be7bf WHIRLPOOL 2e44582b994f3fe919f4ee7543f25e3fb02cc975d053b0c63bcd858a54fe3125ffe192cf6f8c7ae0345d90e8086d86930d668b29becdb4e0376579ef02e7034f |
23 |
+EBUILD tmux-2.2.ebuild 1981 SHA256 69b48065516d2e9f5e248899f57b8b85510b9fd5a1b98f7116e36a5cfc29c0fc SHA512 fc4309ab4299173ba0c9c8ad7c97ed6582b3ab134f0a38a68a0be700fbb0e0b5f25895b9de670bba89dbffa7d84d29d6a43d9dd7cc0c5cf5e12f0812577f237d WHIRLPOOL 571822a697eb2512a097478de1e30ce0edcf1db79297a718108d0c71a92e875ef1e858b845316dde29ce5c02ad678e2b657e41c04b67bdb69dd72b62b6f85d2f |
24 |
|
25 |
diff --git a/app-misc/tmux/files/tmux-2.0-flags.patch b/app-misc/tmux/files/tmux-2.0-flags.patch |
26 |
new file mode 100644 |
27 |
index 0000000..d2c40e0 |
28 |
--- /dev/null |
29 |
+++ b/app-misc/tmux/files/tmux-2.0-flags.patch |
30 |
@@ -0,0 +1,18 @@ |
31 |
+ Makefile.am | 3 +-- |
32 |
+ 1 file changed, 1 insertion(+), 2 deletions(-) |
33 |
+ |
34 |
+diff --git a/Makefile.am b/Makefile.am |
35 |
+index 63e20b1..a2fec1e 100644 |
36 |
+--- a/Makefile.am |
37 |
++++ b/Makefile.am |
38 |
+@@ -25,9 +25,8 @@ endif |
39 |
+ # Set flags for gcc. gcc4 whines abouts silly stuff so it needs slightly |
40 |
+ # different flags. |
41 |
+ if IS_GCC |
42 |
+-CFLAGS += -std=gnu99 -O2 |
43 |
++CFLAGS += -std=gnu99 |
44 |
+ if IS_DEBUG |
45 |
+-CFLAGS += -g |
46 |
+ CFLAGS += -Wno-long-long -Wall -W -Wnested-externs -Wformat=2 |
47 |
+ CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations |
48 |
+ CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare |
49 |
|
50 |
diff --git a/app-misc/tmux/tmux-2.2.ebuild b/app-misc/tmux/tmux-2.2.ebuild |
51 |
new file mode 100644 |
52 |
index 0000000..92528bd |
53 |
--- /dev/null |
54 |
+++ b/app-misc/tmux/tmux-2.2.ebuild |
55 |
@@ -0,0 +1,74 @@ |
56 |
+# Copyright 1999-2016 Gentoo Foundation |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+# $Id$ |
59 |
+ |
60 |
+EAPI=5 |
61 |
+ |
62 |
+AUTOTOOLS_AUTORECONF=true |
63 |
+ |
64 |
+inherit autotools-utils bash-completion-r1 flag-o-matic versionator |
65 |
+ |
66 |
+DESCRIPTION="Terminal multiplexer" |
67 |
+HOMEPAGE="http://tmux.github.io/" |
68 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" |
69 |
+ |
70 |
+LICENSE="ISC" |
71 |
+SLOT="0" |
72 |
+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" |
73 |
+IUSE="debug selinux kernel_FreeBSD kernel_linux" |
74 |
+ |
75 |
+CDEPEND=" |
76 |
+ || ( |
77 |
+ =dev-libs/libevent-2.0* |
78 |
+ >=dev-libs/libevent-2.1.5-r4 |
79 |
+ ) |
80 |
+ kernel_linux? ( sys-libs/libutempter ) |
81 |
+ kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-lib-9.0 sys-libs/libutempter ) ) |
82 |
+ sys-libs/ncurses:0=" |
83 |
+DEPEND="${CDEPEND} |
84 |
+ virtual/pkgconfig |
85 |
+" |
86 |
+RDEPEND="${CDEPEND} |
87 |
+ selinux? ( sec-policy/selinux-screen ) |
88 |
+" |
89 |
+ |
90 |
+DOCS=( CHANGES FAQ README TODO ) |
91 |
+ |
92 |
+PATCHES=( "${FILESDIR}"/${PN}-2.0-flags.patch ) |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ # bug 438558 |
96 |
+ # 1.7 segfaults when entering copy mode if compiled with -Os |
97 |
+ replace-flags -Os -O2 |
98 |
+ |
99 |
+ # regenerate aclocal.m4 to support earlier automake versions |
100 |
+ rm aclocal.m4 || die |
101 |
+ |
102 |
+ autotools-utils_src_prepare |
103 |
+} |
104 |
+ |
105 |
+src_configure() { |
106 |
+ local myeconfargs=( |
107 |
+ --sysconfdir="${EPREFIX}"/etc |
108 |
+ $(use_enable debug) |
109 |
+ ) |
110 |
+ autotools-utils_src_configure |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ autotools-utils_src_install |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ if ! version_is_at_least 1.9a ${REPLACING_VERSIONS:-1.9a}; then |
119 |
+ echo |
120 |
+ ewarn "Some configuration options changed in this release." |
121 |
+ ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/" |
122 |
+ ewarn |
123 |
+ ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any" |
124 |
+ ewarn "older, running tmux server instances. You'll have to use an existing client to" |
125 |
+ ewarn "end your old sessions or kill the old server instances. Otherwise you'll have" |
126 |
+ ewarn "to temporarily downgrade to access them." |
127 |
+ echo |
128 |
+ fi |
129 |
+} |