1 |
slyfox 12/01/27 20:26:43 |
2 |
|
3 |
Modified: mc-9999.ebuild ChangeLog |
4 |
Added: mc-4.8.1-r2.ebuild |
5 |
Removed: mc-4.7.5.5.ebuild mc-4.8.0-r2.ebuild |
6 |
Log: |
7 |
Upstream fix for build failure on MacOSX and various xBSDs (bug #395135 by Denis I. Polukarov). Removed old. |
8 |
|
9 |
(Portage version: 2.2.0_alpha84_p18/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 app-misc/mc/mc-9999.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-9999.ebuild?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-9999.ebuild?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-9999.ebuild?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: mc-9999.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- mc-9999.ebuild 25 Jan 2012 18:56:16 -0000 1.2 |
25 |
+++ mc-9999.ebuild 27 Jan 2012 20:26:43 -0000 1.3 |
26 |
@@ -1,6 +1,6 @@ |
27 |
# Copyright 1999-2012 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v 1.2 2012/01/25 18:56:16 slyfox Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-9999.ebuild,v 1.3 2012/01/27 20:26:43 slyfox Exp $ |
31 |
|
32 |
EAPI=4 |
33 |
|
34 |
@@ -12,11 +12,10 @@ |
35 |
|
36 |
inherit eutils flag-o-matic ${LIVE_ECLASSES} |
37 |
|
38 |
-if [[ -n ${LIVE_EBUILD} ]]; then |
39 |
- SRC_URI="" |
40 |
- KEYWORDS="" |
41 |
-else |
42 |
- SRC_URI="http://www.midnight-commander.org/downloads/${P}.tar.xz" |
43 |
+MY_P=${P/_/-} |
44 |
+ |
45 |
+if [[ -z ${LIVE_EBUILD} ]]; then |
46 |
+ SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
47 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
48 |
fi |
49 |
|
50 |
@@ -64,6 +63,8 @@ |
51 |
strip-linguas ${LANGS} |
52 |
} |
53 |
|
54 |
+S=${WORKDIR}/${MY_P} |
55 |
+ |
56 |
src_configure() { |
57 |
local myscreen=ncurses |
58 |
use slang && myscreen=slang |
59 |
|
60 |
|
61 |
|
62 |
1.238 app-misc/mc/ChangeLog |
63 |
|
64 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.238&view=markup |
65 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?rev=1.238&content-type=text/plain |
66 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/ChangeLog?r1=1.237&r2=1.238 |
67 |
|
68 |
Index: ChangeLog |
69 |
=================================================================== |
70 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v |
71 |
retrieving revision 1.237 |
72 |
retrieving revision 1.238 |
73 |
diff -u -r1.237 -r1.238 |
74 |
--- ChangeLog 25 Jan 2012 18:56:16 -0000 1.237 |
75 |
+++ ChangeLog 27 Jan 2012 20:26:43 -0000 1.238 |
76 |
@@ -1,6 +1,14 @@ |
77 |
# ChangeLog for app-misc/mc |
78 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
79 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.237 2012/01/25 18:56:16 slyfox Exp $ |
80 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.238 2012/01/27 20:26:43 slyfox Exp $ |
81 |
+ |
82 |
+*mc-4.8.1-r2 (27 Jan 2012) |
83 |
+ |
84 |
+ 27 Jan 2012; Sergei Trofimovich <slyfox@g.o> |
85 |
+ +files/mc-4.8.1-fix-fallocate-xBSD.patch, +mc-4.8.1-r2.ebuild, |
86 |
+ -mc-4.7.5.5.ebuild, -mc-4.8.0-r2.ebuild, mc-9999.ebuild: |
87 |
+ Upstream fix for build failure on MacOSX and various xBSDs (bug #395135 by |
88 |
+ Denis I. Polukarov). Removed old. |
89 |
|
90 |
25 Jan 2012; Sergei Trofimovich <slyfox@g.o> mc-9999.ebuild: |
91 |
Fixed dangling symlinks in doc/ after install by Andrew Savchenko (bug |
92 |
|
93 |
|
94 |
|
95 |
1.1 app-misc/mc/mc-4.8.1-r2.ebuild |
96 |
|
97 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.1-r2.ebuild?rev=1.1&view=markup |
98 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/mc-4.8.1-r2.ebuild?rev=1.1&content-type=text/plain |
99 |
|
100 |
Index: mc-4.8.1-r2.ebuild |
101 |
=================================================================== |
102 |
# Copyright 1999-2012 Gentoo Foundation |
103 |
# Distributed under the terms of the GNU General Public License v2 |
104 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.8.1-r2.ebuild,v 1.1 2012/01/27 20:26:43 slyfox Exp $ |
105 |
|
106 |
EAPI=4 |
107 |
|
108 |
inherit autotools eutils flag-o-matic |
109 |
|
110 |
MY_P=${P/_/-} |
111 |
|
112 |
DESCRIPTION="GNU Midnight Commander is a text based file manager" |
113 |
HOMEPAGE="http://www.midnight-commander.org" |
114 |
SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz" |
115 |
|
116 |
LICENSE="GPL-3" |
117 |
SLOT="0" |
118 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
119 |
IUSE="+edit gpm mclib +ncurses nls samba slang test X +xdg" |
120 |
|
121 |
REQUIRED_USE="^^ ( ncurses slang )" |
122 |
|
123 |
RDEPEND=">=dev-libs/glib-2.8:2 |
124 |
gpm? ( sys-libs/gpm ) |
125 |
kernel_linux? ( sys-fs/e2fsprogs ) |
126 |
ncurses? ( sys-libs/ncurses ) |
127 |
samba? ( net-fs/samba ) |
128 |
slang? ( >=sys-libs/slang-2 ) |
129 |
X? ( x11-libs/libX11 |
130 |
x11-libs/libICE |
131 |
x11-libs/libXau |
132 |
x11-libs/libXdmcp |
133 |
x11-libs/libSM )" |
134 |
DEPEND="${RDEPEND} |
135 |
app-arch/xz-utils |
136 |
dev-util/pkgconfig |
137 |
nls? ( sys-devel/gettext ) |
138 |
test? ( dev-libs/check ) |
139 |
" |
140 |
|
141 |
S=${WORKDIR}/${MY_P} |
142 |
|
143 |
src_prepare() { |
144 |
epatch "${FILESDIR}"/${PN}-4.8.1-fix-fallocate-xBSD.patch |
145 |
|
146 |
# patch above changed .m4 bits |
147 |
eautoreconf |
148 |
} |
149 |
|
150 |
src_configure() { |
151 |
local myscreen=ncurses |
152 |
use slang && myscreen=slang |
153 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket" |
154 |
|
155 |
local homedir=".mc" |
156 |
use xdg && homedir="XDG" |
157 |
|
158 |
econf \ |
159 |
--disable-dependency-tracking \ |
160 |
$(use_enable nls) \ |
161 |
--enable-vfs \ |
162 |
$(use_enable kernel_linux vfs-undelfs) \ |
163 |
--enable-charset \ |
164 |
$(use_with X x) \ |
165 |
$(use_enable samba vfs-smb) \ |
166 |
$(use_with gpm gpm-mouse) \ |
167 |
--with-screen=${myscreen} \ |
168 |
$(use_with edit) \ |
169 |
$(use_enable mclib) \ |
170 |
$(use_enable test tests) \ |
171 |
--with-homedir=${homedir} |
172 |
} |
173 |
|
174 |
src_install() { |
175 |
emake DESTDIR="${D}" install |
176 |
dodoc AUTHORS README NEWS |
177 |
|
178 |
# fix bug #334383 |
179 |
if use kernel_linux && [[ ${EUID} == 0 ]] ; then |
180 |
fowners root:tty /usr/libexec/mc/cons.saver |
181 |
fperms g+s /usr/libexec/mc/cons.saver |
182 |
fi |
183 |
} |
184 |
|
185 |
pkg_postinst() { |
186 |
elog "To enable exiting to latest working directory," |
187 |
elog "put this into your ~/.bashrc:" |
188 |
elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" |
189 |
} |