Gentoo Archives: gentoo-commits

From: "Tiago Cunha (tcunha)" <tcunha@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tmux: ChangeLog tmux-1.1.ebuild
Date: Thu, 05 Nov 2009 15:39:00
Message-Id: E1N64QM-0001KN-TL@stork.gentoo.org
1 tcunha 09/11/05 15:38:58
2
3 Modified: ChangeLog
4 Added: tmux-1.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.27 app-misc/tmux/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 30 Oct 2009 22:57:26 -0000 1.26
23 +++ ChangeLog 5 Nov 2009 15:38:58 -0000 1.27
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-misc/tmux
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.26 2009/10/30 22:57:26 tcunha Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/ChangeLog,v 1.27 2009/11/05 15:38:58 tcunha Exp $
29 +
30 +*tmux-1.1 (05 Nov 2009)
31 +
32 + 05 Nov 2009; Tiago Cunha <tcunha@g.o> +tmux-1.1.ebuild:
33 + Version bump.
34
35 30 Oct 2009; Tiago Cunha <tcunha@g.o> tmux-1.0.ebuild:
36 stable sparc, bug 290079
37
38
39
40 1.1 app-misc/tmux/tmux-1.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/tmux-1.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tmux/tmux-1.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: tmux-1.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.1.ebuild,v 1.1 2009/11/05 15:38:58 tcunha Exp $
50
51 inherit toolchain-funcs
52
53 DESCRIPTION="Terminal multiplexer"
54 HOMEPAGE="http://tmux.sourceforge.net"
55 SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz"
56
57 LICENSE="ISC"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
60 IUSE="vim-syntax"
61
62 DEPEND=""
63 RDEPEND="vim-syntax? ( || (
64 app-editors/gvim
65 app-editors/vim ) )"
66
67 src_compile() {
68 # The configure script isn't created by GNU autotools.
69 ./configure || die "configure failed"
70 emake CC="$(tc-getCC)" || die "emake failed"
71 }
72
73 src_install() {
74 dobin tmux || die "dobin failed"
75
76 dodoc CHANGES FAQ NOTES TODO || die "dodoc failed"
77 docinto examples
78 dodoc examples/*.conf || die "dodoc examples failed"
79
80 doman tmux.1 || die "doman failed"
81
82 if use vim-syntax; then
83 insinto /usr/share/vim/vimfiles/syntax
84 doins examples/tmux.vim || die "doins syntax failed"
85
86 insinto /usr/share/vim/vimfiles/ftdetect
87 doins "${FILESDIR}"/tmux.vim || die "doins ftdetect failed"
88 fi
89 }
90
91 pkg_preinst() {
92 has_version "<${CATEGORY}/${PN}-1.1"
93 PREVIOUS_LESS_THAN_1_1=$?
94 }
95
96 pkg_postinst() {
97 if [[ ${PREVIOUS_LESS_THAN_1_1} -eq 0 ]]; then
98 ewarn "The 1.1 release replaced the internal locking mechanism by"
99 ewarn "executing an external command (you might want to install"
100 ewarn "app-misc/vlock and set the lock-command session option"
101 ewarn "accordingly), so the set-password command, and the -U command"
102 ewarn "line flag were removed, as well as -d, since tmux will now"
103 ewarn "automatically detect default colours."
104 fi
105 }