Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tmux: ChangeLog tmux-9999.ebuild tmux-1.9a.ebuild
Date: Tue, 25 Feb 2014 07:00:43
Message-Id: 20140225070037.D04FB2004E@flycatcher.gentoo.org
1 radhermit 14/02/25 07:00:37
2
3 Modified: ChangeLog tmux-9999.ebuild
4 Added: tmux-1.9a.ebuild
5 Log:
6 Version bump (bug #502004).
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.103 app-misc/tmux/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.103&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.103&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?r1=1.102&r2=1.103
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v
20 retrieving revision 1.102
21 retrieving revision 1.103
22 diff -u -r1.102 -r1.103
23 --- ChangeLog 4 Feb 2014 08:38:54 -0000 1.102
24 +++ ChangeLog 25 Feb 2014 07:00:37 -0000 1.103
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-misc/tmux
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.102 2014/02/04 08:38:54 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.103 2014/02/25 07:00:37 radhermit Exp $
30 +
31 +*tmux-1.9a (25 Feb 2014)
32 +
33 + 25 Feb 2014; Tim Harder <radhermit@g.o> +tmux-1.9a.ebuild,
34 + tmux-9999.ebuild, +files/tmux-1.9a-flags.patch:
35 + Version bump (bug #502004).
36
37 04 Feb 2014; Tim Harder <radhermit@g.o> -tmux-1.6.ebuild,
38 -tmux-1.7.ebuild, -tmux-1.7-r1.ebuild, -tmux-1.7-r2.ebuild,
39
40
41
42 1.11 app-misc/tmux/tmux-9999.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?rev=1.11&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?rev=1.11&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-9999.ebuild?r1=1.10&r2=1.11
47
48 Index: tmux-9999.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v
51 retrieving revision 1.10
52 retrieving revision 1.11
53 diff -u -r1.10 -r1.11
54 --- tmux-9999.ebuild 28 Aug 2013 12:10:28 -0000 1.10
55 +++ tmux-9999.ebuild 25 Feb 2014 07:00:37 -0000 1.11
56 @@ -1,10 +1,11 @@
57 -# Copyright 1999-2013 Gentoo Foundation
58 +# Copyright 1999-2014 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.10 2013/08/28 12:10:28 wired Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-9999.ebuild,v 1.11 2014/02/25 07:00:37 radhermit Exp $
62
63 -EAPI=4
64 +EAPI=5
65 +AUTOTOOLS_AUTORECONF=true
66
67 -inherit autotools git-2 bash-completion-r1
68 +inherit autotools-utils git-r3 bash-completion-r1 flag-o-matic
69
70 EGIT_REPO_URI="git://git.code.sf.net/p/tmux/tmux-code"
71
72 @@ -26,23 +27,31 @@
73 app-editors/vim
74 app-editors/gvim ) )"
75
76 -DOCS=( CHANGES FAQ TODO )
77 +DOCS=( CHANGES FAQ README TODO )
78
79 src_prepare() {
80 - eautoreconf
81 - # look for config file in the prefix
82 - sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
83 - # and don't just add some includes
84 - sed -i -e 's:-I/usr/local/include::' Makefile.in || die
85 + # respect CFLAGS and don't add some includes
86 + sed -e 's:-I/usr/local/include::' \
87 + -e 's:-O2::' \
88 + -i Makefile.am || die
89 +
90 + # bug 438558
91 + # 1.7 segfaults when entering copy mode if compiled with -Os
92 + replace-flags -Os -O2
93 +
94 + autotools-utils_src_prepare
95 }
96
97 src_configure() {
98 - econf \
99 + local myeconfargs=(
100 + --sysconfdir="${EPREFIX}"/etc
101 $(use_enable debug)
102 + )
103 + autotools-utils_src_configure
104 }
105
106 src_install() {
107 - default
108 + autotools-utils_src_install
109
110 newbashcomp examples/bash_completion_tmux.sh ${PN}
111
112
113
114
115 1.1 app-misc/tmux/tmux-1.9a.ebuild
116
117 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.9a.ebuild?rev=1.1&view=markup
118 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.9a.ebuild?rev=1.1&content-type=text/plain
119
120 Index: tmux-1.9a.ebuild
121 ===================================================================
122 # Copyright 1999-2014 Gentoo Foundation
123 # Distributed under the terms of the GNU General Public License v2
124 # $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.9a.ebuild,v 1.1 2014/02/25 07:00:37 radhermit Exp $
125
126 EAPI=5
127 AUTOTOOLS_AUTORECONF=true
128
129 inherit autotools-utils bash-completion-r1 flag-o-matic
130
131 DESCRIPTION="Terminal multiplexer"
132 HOMEPAGE="http://tmux.sourceforge.net"
133 SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
134
135 LICENSE="ISC"
136 SLOT="0"
137 KEYWORDS="~alpha ~amd64 ~arm ~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"
138 IUSE="debug vim-syntax"
139
140 COMMON_DEPEND="
141 >=dev-libs/libevent-2.0.10
142 sys-libs/ncurses"
143 DEPEND="${COMMON_DEPEND}
144 virtual/pkgconfig"
145 RDEPEND="${COMMON_DEPEND}
146 vim-syntax? ( || (
147 app-editors/vim
148 app-editors/gvim ) )"
149
150 DOCS=( CHANGES FAQ README TODO )
151
152 PATCHES=( "${FILESDIR}"/${P}-flags.patch )
153
154 pkg_setup() {
155 if has_version "<app-misc/tmux-1.9a"; then
156 echo
157 ewarn "Some configuration options changed in this release."
158 ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
159 ewarn
160 ewarn "WARNING: After updating to ${P} you will _not_ be able to connect to any"
161 ewarn "older, running tmux server instances. You'll have to use an existing client to"
162 ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
163 ewarn "to temporarily downgrade to access them."
164 echo
165 fi
166 }
167
168 src_prepare() {
169 # bug 438558
170 # 1.7 segfaults when entering copy mode if compiled with -Os
171 replace-flags -Os -O2
172
173 # regenerate aclocal.m4 to support earlier automake versions
174 rm aclocal.m4 || die
175
176 # remove generated files
177 rm -r compat/.{dirstamp,deps} || die
178
179 autotools-utils_src_prepare
180 }
181
182 src_configure() {
183 local myeconfargs=(
184 --sysconfdir="${EPREFIX}"/etc
185 $(use_enable debug)
186 )
187 autotools-utils_src_configure
188 }
189
190 src_install() {
191 autotools-utils_src_install
192
193 newbashcomp examples/bash_completion_tmux.sh ${PN}
194
195 docinto examples
196 dodoc examples/*.conf
197
198 if use vim-syntax; then
199 insinto /usr/share/vim/vimfiles/syntax
200 doins examples/tmux.vim
201
202 insinto /usr/share/vim/vimfiles/ftdetect
203 doins "${FILESDIR}"/tmux.vim
204 fi
205 }