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/mc: mc-4.7.0.2-r1.ebuild ChangeLog
Date: Wed, 10 Feb 2010 10:56:17
Message-Id: E1NfAEx-000246-FU@stork.gentoo.org
1 wired 10/02/10 10:56:15
2
3 Modified: ChangeLog
4 Added: mc-4.7.0.2-r1.ebuild
5 Log:
6 [app-misc/mc-4.7.0.2-r1] added patches that fix bugs #298997 and #300913
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.188 app-misc/mc/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.188&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?rev=1.188&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/ChangeLog?r1=1.187&r2=1.188
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
19 retrieving revision 1.187
20 retrieving revision 1.188
21 diff -u -r1.187 -r1.188
22 --- ChangeLog 10 Feb 2010 04:37:09 -0000 1.187
23 +++ ChangeLog 10 Feb 2010 10:56:14 -0000 1.188
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-misc/mc
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.187 2010/02/10 04:37:09 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.188 2010/02/10 10:56:14 wired Exp $
29 +
30 +*mc-4.7.0.2-r1 (10 Feb 2010)
31 +
32 + 10 Feb 2010; Alex Alexander <wired@g.o> +mc-4.7.0.2-r1.ebuild,
33 + +files/mc-4.7.0.2_hotlist_fix.patch, +files/mc-4.7.0.2_syntax_fix.patch:
34 + added patches that fix bugs #298997 and #300913
35
36 10 Feb 2010; Joseph Jezak <josejx@g.o> mc-4.7.0.1.ebuild:
37 Marked ppc stable for bug #302733.
38
39
40
41 1.1 app-misc/mc/mc-4.7.0.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.0.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/mc/mc-4.7.0.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mc-4.7.0.2-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0.2-r1.ebuild,v 1.1 2010/02/10 10:56:14 wired Exp $
51
52 EAPI=2
53
54 inherit base
55
56 MY_P=${P/_/-}
57
58 DESCRIPTION="GNU Midnight Commander is a text based file manager"
59 HOMEPAGE="http://www.midnight-commander.org"
60 SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
65 IUSE="+edit gpm nls samba slang X"
66
67 RDEPEND=">=dev-libs/glib-2.8:2
68 gpm? ( sys-libs/gpm )
69 kernel_linux? ( sys-fs/e2fsprogs )
70 samba? ( net-fs/samba )
71 slang? ( >=sys-libs/slang-2 )
72 !slang? ( sys-libs/ncurses )
73 X? ( x11-libs/libX11
74 x11-libs/libICE
75 x11-libs/libXau
76 x11-libs/libXdmcp
77 x11-libs/libSM )"
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig
80 nls? ( sys-devel/gettext )"
81
82 S=${WORKDIR}/${MY_P}
83
84 # bugs (in patch order): #298997 #300913
85 PATCHES=(
86 "${FILESDIR}/${P}_hotlist_fix.patch"
87 "${FILESDIR}/${P}_syntax_fix.patch"
88 )
89
90 src_configure() {
91 local myscreen=ncurses
92 use slang && myscreen=slang
93
94 econf \
95 --disable-dependency-tracking \
96 $(use_enable nls) \
97 --enable-vfs \
98 $(use_enable kernel_linux vfs-undelfs) \
99 --enable-charset \
100 $(use_with X x) \
101 $(use_with samba) \
102 --with-configdir=/etc/samba \
103 --with-codepagedir=/var/lib/samba/codepages \
104 $(use_with gpm gpm-mouse) \
105 --with-screen=${myscreen} \
106 $(use_with edit)
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die
111 dodoc AUTHORS README
112 }
113
114 pkg_postinst() {
115 elog "To enable exiting to latest working directory,"
116 elog "put this into your ~/.bashrc:"
117 elog ". /usr/libexec/mc/mc.sh"
118 }