Gentoo Archives: gentoo-commits

From: "Alex Alexander (wired)" <wired@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tmux: tmux-1.8.ebuild ChangeLog
Date: Tue, 26 Mar 2013 22:16:04
Message-Id: 20130326221600.46FB82171D@flycatcher.gentoo.org
1 wired 13/03/26 22:16:00
2
3 Modified: ChangeLog
4 Added: tmux-1.8.ebuild
5 Log:
6 version bump - bug #463414
7
8 (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key EB9B4AFA)
9
10 Revision Changes Path
11 1.94 app-misc/tmux/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 7 Mar 2013 22:48:48 -0000 1.93
24 +++ ChangeLog 26 Mar 2013 22:16:00 -0000 1.94
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-misc/tmux
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.93 2013/03/07 22:48:48 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.94 2013/03/26 22:16:00 wired Exp $
30 +
31 +*tmux-1.8 (26 Mar 2013)
32 +
33 + 26 Mar 2013; Alex Alexander <wired@g.o> +tmux-1.8.ebuild:
34 + version bump - bug #463414
35
36 07 Mar 2013; Tim Harder <radhermit@g.o> tmux-9999.ebuild:
37 Don't install NOTES for live ebuild (bug #460726 by Joe M).
38
39
40
41 1.1 app-misc/tmux/tmux-1.8.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/tmux/tmux-1.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tmux-1.8.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.8.ebuild,v 1.1 2013/03/26 22:16:00 wired Exp $
51
52 EAPI=5
53
54 AUTOTOOLS_AUTORECONF=true
55
56 inherit autotools-utils bash-completion-r1 flag-o-matic
57
58 DESCRIPTION="Terminal multiplexer"
59 HOMEPAGE="http://tmux.sourceforge.net"
60 SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
61
62 LICENSE="ISC"
63 SLOT="0"
64 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"
65 IUSE="vim-syntax"
66
67 COMMON_DEPEND="
68 >=dev-libs/libevent-2.0.10
69 sys-libs/ncurses"
70 DEPEND="${COMMON_DEPEND}
71 virtual/pkgconfig"
72 RDEPEND="${COMMON_DEPEND}
73 vim-syntax? ( || (
74 app-editors/vim
75 app-editors/gvim ) )"
76
77 DOCS=( CHANGES FAQ README TODO )
78
79 PATCHES=( "${FILESDIR}"/${PN}-1.7-terminfo.patch )
80
81 pkg_setup() {
82 if has_version "<app-misc/tmux-1.7"; then
83 echo
84 ewarn "Some configuration options changed in this release."
85 ewarn "Please read the CHANGES file in /usr/share/doc/${PF}/"
86 ewarn
87 ewarn "WARNING: after updating to ${P} you will _not_ be able to connect to any"
88 ewarn "running 1.6 tmux server instances. You'll have to use an existing client to"
89 ewarn "end your old sessions or kill the old server instances. Otherwise you'll have"
90 ewarn "to temporarily downgrade to tmux 1.6 to access them."
91 echo
92 fi
93 }
94
95 src_prepare() {
96 # look for config file in the prefix
97 sed -i -e '/SYSTEM_CFG/s:"/etc:"'"${EPREFIX}"'/etc:' tmux.h || die
98 # and don't just add some includes
99 sed -i -e 's:-I/usr/local/include::' Makefile.am || die
100
101 # bug 438558
102 # 1.7 segfaults when entering copy mode if compiled with -Os
103 replace-flags -Os -O2
104
105 autotools-utils_src_prepare
106 }
107
108 src_install() {
109 autotools-utils_src_install
110
111 newbashcomp examples/bash_completion_tmux.sh ${PN}
112
113 docinto examples
114 dodoc examples/*.conf
115
116 if use vim-syntax; then
117 insinto /usr/share/vim/vimfiles/syntax
118 doins examples/tmux.vim
119
120 insinto /usr/share/vim/vimfiles/ftdetect
121 doins "${FILESDIR}"/tmux.vim
122 fi
123 }