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.9.ebuild ChangeLog mc-4.7.4.ebuild
Date: Tue, 07 Sep 2010 09:30:25
Message-Id: 20100907093012.0BB3F20051@flycatcher.gentoo.org
1 wired 10/09/07 09:30:11
2
3 Modified: ChangeLog
4 Added: mc-4.7.0.9.ebuild mc-4.7.4.ebuild
5 Log:
6 version bumps
7
8 (Portage version: 2.2_rc75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.208 app-misc/mc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.208&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.208&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?r1=1.207&r2=1.208
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v
20 retrieving revision 1.207
21 retrieving revision 1.208
22 diff -u -r1.207 -r1.208
23 --- ChangeLog 2 Sep 2010 18:08:28 -0000 1.207
24 +++ ChangeLog 7 Sep 2010 09:30:11 -0000 1.208
25 @@ -1,6 +1,13 @@
26 # ChangeLog for app-misc/mc
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.207 2010/09/02 18:08:28 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.208 2010/09/07 09:30:11 wired Exp $
30 +
31 +*mc-4.7.4 (07 Sep 2010)
32 +*mc-4.7.0.9 (07 Sep 2010)
33 +
34 + 07 Sep 2010; Alex Alexander <wired@g.o> +mc-4.7.0.9.ebuild,
35 + +mc-4.7.4.ebuild:
36 + version bumps
37
38 02 Sep 2010; Fabian Groffen <grobian@g.o> mc-4.7.3-r3.ebuild:
39 Only try changing permissions when using a privileged user, bug #335250
40
41
42
43 1.1 app-misc/mc/mc-4.7.0.9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.7.0.9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.7.0.9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mc-4.7.0.9.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0.9.ebuild,v 1.1 2010/09/07 09:30:11 wired Exp $
53
54 EAPI=3
55
56 inherit base
57
58 MY_P=${P/_/-}
59
60 DESCRIPTION="GNU Midnight Commander is a text based file manager"
61 HOMEPAGE="http://www.midnight-commander.org"
62 SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
67 IUSE="+edit gpm nls samba slang X"
68
69 RDEPEND=">=dev-libs/glib-2.8:2
70 gpm? ( sys-libs/gpm )
71 kernel_linux? ( sys-fs/e2fsprogs )
72 samba? ( net-fs/samba )
73 slang? ( >=sys-libs/slang-2 )
74 !slang? ( sys-libs/ncurses )
75 X? ( x11-libs/libX11
76 x11-libs/libICE
77 x11-libs/libXau
78 x11-libs/libXdmcp
79 x11-libs/libSM )"
80 DEPEND="${RDEPEND}
81 dev-util/pkgconfig
82 nls? ( sys-devel/gettext )"
83
84 S=${WORKDIR}/${MY_P}
85
86 src_configure() {
87 local myscreen=ncurses
88 use slang && myscreen=slang
89
90 econf \
91 --disable-dependency-tracking \
92 $(use_enable nls) \
93 --enable-vfs \
94 $(use_enable kernel_linux vfs-undelfs) \
95 --enable-charset \
96 $(use_with X x) \
97 $(use_with samba) \
98 --with-configdir="${EPREFIX}"/etc/samba \
99 --with-codepagedir="${EPREFIX}"/var/lib/samba/codepages \
100 $(use_with gpm gpm-mouse) \
101 --with-screen=${myscreen} \
102 $(use_with edit)
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install || die
107 dodoc AUTHORS README
108
109 # fix bug #334383
110 fowners root:tty /usr/libexec/mc/cons.saver ||
111 die "setting cons.saver's owner failed"
112 fperms g+s /usr/libexec/mc/cons.saver ||
113 die "setting cons.saver's permissions failed"
114 }
115
116 pkg_postinst() {
117 elog "To enable exiting to latest working directory,"
118 elog "put this into your ~/.bashrc:"
119 elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
120 }
121
122
123
124 1.1 app-misc/mc/mc-4.7.4.ebuild
125
126 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.7.4.ebuild?rev=1.1&view=markup
127 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.7.4.ebuild?rev=1.1&content-type=text/plain
128
129 Index: mc-4.7.4.ebuild
130 ===================================================================
131 # Copyright 1999-2010 Gentoo Foundation
132 # Distributed under the terms of the GNU General Public License v2
133 # $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.4.ebuild,v 1.1 2010/09/07 09:30:11 wired Exp $
134
135 EAPI=3
136
137 inherit base
138
139 MY_P=${P/_/-}
140
141 DESCRIPTION="GNU Midnight Commander is a text based file manager"
142 HOMEPAGE="http://www.midnight-commander.org"
143 SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2"
144
145 LICENSE="GPL-2"
146 SLOT="0"
147 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
148 IUSE="+edit gpm nls samba slang X"
149
150 RDEPEND=">=dev-libs/glib-2.8:2
151 gpm? ( sys-libs/gpm )
152 kernel_linux? ( sys-fs/e2fsprogs )
153 samba? ( net-fs/samba )
154 slang? ( >=sys-libs/slang-2 )
155 !slang? ( sys-libs/ncurses )
156 X? ( x11-libs/libX11
157 x11-libs/libICE
158 x11-libs/libXau
159 x11-libs/libXdmcp
160 x11-libs/libSM )"
161 DEPEND="${RDEPEND}
162 dev-util/pkgconfig
163 nls? ( sys-devel/gettext )"
164
165 S=${WORKDIR}/${MY_P}
166
167 src_configure() {
168 local myscreen=ncurses
169 use slang && myscreen=slang
170
171 econf \
172 --disable-dependency-tracking \
173 $(use_enable nls) \
174 --enable-vfs \
175 $(use_enable kernel_linux vfs-undelfs) \
176 --enable-charset \
177 $(use_with X x) \
178 $(use_with samba) \
179 --with-configdir="${EPREFIX}"/etc/samba \
180 --with-codepagedir="${EPREFIX}"/var/lib/samba/codepages \
181 $(use_with gpm gpm-mouse) \
182 --with-screen=${myscreen} \
183 $(use_with edit)
184 }
185
186 src_install() {
187 emake DESTDIR="${D}" install || die
188 dodoc AUTHORS README
189
190 # fix bug #334383
191 if [[ ${EUID} == 0 ]] ; then
192 fowners root:tty /usr/libexec/mc/cons.saver ||
193 die "setting cons.saver's owner failed"
194 fperms g+s /usr/libexec/mc/cons.saver ||
195 die "setting cons.saver's permissions failed"
196 fi
197 }
198
199 pkg_postinst() {
200 elog "To enable exiting to latest working directory,"
201 elog "put this into your ~/.bashrc:"
202 elog ". ${EPREFIX}/usr/libexec/mc/mc.sh"
203 }