1 |
pacho 11/11/01 23:19:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mono-2.10.6.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.10.32/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.231 dev-lang/mono/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.231&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.231&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.230&r2=1.231 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v |
20 |
retrieving revision 1.230 |
21 |
retrieving revision 1.231 |
22 |
diff -u -r1.230 -r1.231 |
23 |
--- ChangeLog 16 Sep 2011 13:48:00 -0000 1.230 |
24 |
+++ ChangeLog 1 Nov 2011 23:19:36 -0000 1.231 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-lang/mono |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.230 2011/09/16 13:48:00 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.231 2011/11/01 23:19:36 pacho Exp $ |
30 |
+ |
31 |
+*mono-2.10.6 (01 Nov 2011) |
32 |
+ |
33 |
+ 01 Nov 2011; Pacho Ramos <pacho@g.o> +mono-2.10.6.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
16 Sep 2011; Pacho Ramos <pacho@g.o> mono-2.10.5.ebuild: |
37 |
Add virtual/yacc to DEPEND per bug #382911 by bay. |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lang/mono/mono-2.10.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.10.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.10.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mono-2.10.6.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.10.6.ebuild,v 1.1 2011/11/01 23:19:36 pacho Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils |
55 |
|
56 |
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
57 |
HOMEPAGE="http://www.mono-project.com/Main_Page" |
58 |
|
59 |
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~ppc ~x86" |
62 |
|
63 |
IUSE="minimal pax_kernel xen" |
64 |
|
65 |
#Bash requirement is for += operator |
66 |
COMMONDEPEND="!dev-util/monodoc |
67 |
!minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* ) |
68 |
ia64? ( sys-libs/libunwind )" |
69 |
RDEPEND="${COMMONDEPEND} |
70 |
|| ( www-client/links www-client/lynx )" |
71 |
|
72 |
DEPEND="${COMMONDEPEND} |
73 |
sys-devel/bc |
74 |
virtual/yacc |
75 |
>=app-shells/bash-3.2 |
76 |
pax_kernel? ( sys-apps/paxctl )" |
77 |
|
78 |
MAKEOPTS="${MAKEOPTS} -j1" |
79 |
|
80 |
RESTRICT="test" |
81 |
|
82 |
pkg_setup() { |
83 |
if use kernel_linux |
84 |
then |
85 |
get_version |
86 |
if linux_config_exists |
87 |
then |
88 |
if linux_chkconfig_present SYSVIPC |
89 |
then |
90 |
einfo "CONFIG_SYSVIPC is set, looking good." |
91 |
else |
92 |
eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." |
93 |
eerror "See http://bugs.gentoo.org/261869 for more info." |
94 |
die "Please set CONFIG_SYSVIPC in your kernel .config" |
95 |
fi |
96 |
else |
97 |
ewarn "Was unable to determine your kernel .config" |
98 |
ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." |
99 |
ewarn "See http://bugs.gentoo.org/261869 for more info." |
100 |
fi |
101 |
fi |
102 |
PATCHES=( "${FILESDIR}/${PN}-2.10.2-threads-access.patch" ) |
103 |
} |
104 |
|
105 |
src_prepare() { |
106 |
go-mono_src_prepare |
107 |
|
108 |
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't |
109 |
# get killed in the build proces when MPROTEC is enable. #286280 |
110 |
# RANDMMAP kill the build proces to #347365 |
111 |
if use pax_kernel ; then |
112 |
ewarn "We are disabling MPROTECT on the mono binary." |
113 |
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in |
114 |
fi |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
# mono's build system is finiky, strip the flags |
119 |
strip-flags |
120 |
|
121 |
# Remove this at your own peril. Mono will barf in unexpected ways. |
122 |
append-flags -fno-strict-aliasing |
123 |
|
124 |
# NOTE: We need the static libs for now so mono-debugger works. |
125 |
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details |
126 |
# |
127 |
# --without-moonlight since www-plugins/moonlight is not the only one |
128 |
# using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3 |
129 |
# |
130 |
# --with-profile4 needs to be always enabled since it's used by default |
131 |
# and, otherwise, problems like bug #340641 appear. |
132 |
# |
133 |
# sgen fails on ppc, bug #359515 |
134 |
|
135 |
local myconf="" |
136 |
use ppc && myconf="${myconf} --with-sgen=no" |
137 |
go-mono_src_configure \ |
138 |
--enable-static \ |
139 |
--disable-quiet-build \ |
140 |
--without-moonlight \ |
141 |
--with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \ |
142 |
$(use_with xen xen_opt) \ |
143 |
--without-ikvm-native \ |
144 |
--with-jit \ |
145 |
--disable-dtrace \ |
146 |
--with-profile4 \ |
147 |
${myconf} |
148 |
} |
149 |
|
150 |
src_test() { |
151 |
echo ">>> Test phase [check]: ${CATEGORY}/${PF}" |
152 |
|
153 |
export MONO_REGISTRY_PATH="${T}/registry" |
154 |
export XDG_DATA_HOME="${T}/data" |
155 |
export MONO_SHARED_DIR="${T}/shared" |
156 |
export XDG_CONFIG_HOME="${T}/config" |
157 |
export HOME="${T}/home" |
158 |
|
159 |
emake -j1 check |
160 |
} |
161 |
|
162 |
src_install() { |
163 |
go-mono_src_install |
164 |
|
165 |
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
166 |
# mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
167 |
# for reference. |
168 |
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so |
169 |
rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so |
170 |
} |
171 |
|
172 |
#THINK!!!! Before touching postrm and postinst |
173 |
#Reference phase order: |
174 |
#pkg_preinst |
175 |
#pkg_prerm |
176 |
#pkg_postrm |
177 |
#pkg_postinst |
178 |
|
179 |
pkg_preinst() { |
180 |
local symlink |
181 |
local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit" |
182 |
local pv_atom |
183 |
if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]] |
184 |
then |
185 |
for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4 |
186 |
do |
187 |
if has_version "=dev-lang/mono-${pv_atom}" |
188 |
then |
189 |
einfo "If you just received a file collision warning message," |
190 |
einfo "be advised that this is a known problem, which will now be fixed:" |
191 |
ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing" |
192 |
for symlink in \ |
193 |
"${ROOT}/${NUNIT_DIR}" \ |
194 |
"${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \ |
195 |
"${ROOT}/usr/bin/nunit-console" \ |
196 |
"${ROOT}/usr/bin/nunit-console2" |
197 |
do |
198 |
if [[ -L "${symlink}" ]] |
199 |
then |
200 |
rm -f "${symlink}" &> /dev/null |
201 |
fi |
202 |
done |
203 |
eend 0 |
204 |
break |
205 |
fi |
206 |
done |
207 |
fi |
208 |
} |
209 |
|
210 |
pkg_postinst() { |
211 |
elog "PLEASE TAKE NOTE!" |
212 |
elog "" |
213 |
elog "Some of the namespaces supported by Mono require extra packages to be installed." |
214 |
elog "Below is a list of namespaces and the corresponding package you must install:" |
215 |
elog "" |
216 |
elog ">=x11-libs/cairo-1.6.4" |
217 |
elog " Mono.Cairo" |
218 |
elog "Also read:" |
219 |
elog "http://www.mono-project.com/Mono.Cairo" |
220 |
elog "" |
221 |
elog ">=dev-db/firebird-2.0.4.13130.1" |
222 |
elog " FirebirdSql.Data.Firebird" |
223 |
elog "Also read:" |
224 |
elog "http://www.mono-project.com/Firebird_Interbase" |
225 |
elog "" |
226 |
elog "=dev-dotnet/gluezilla-${GO_MONO_REL_PV}*" |
227 |
elog " Mono.Mozilla" |
228 |
elog " Mono.Mozilla.WebBrowser" |
229 |
elog " Mono.Mozilla.Widget" |
230 |
elog " Interop.SHDocVw" |
231 |
elog " AxInterop.SHDocVw" |
232 |
elog " Interop.mshtml.dll" |
233 |
elog " System.Windows.Forms.WebBrowser" |
234 |
elog " Microsoft.IE" |
235 |
elog "Also read:" |
236 |
elog "http://www.mono-project.com/WebBrowser" |
237 |
elog "" |
238 |
elog "dev-db/sqlite:3" |
239 |
elog " Mono.Data.Sqlite" |
240 |
elog "Also read:" |
241 |
elog "http://www.mono-project.com/SQLite" |
242 |
elog "" |
243 |
elog ">=dev-db/oracle-instantclient-basic-10.2" |
244 |
elog " System.Data.OracleClient" |
245 |
elog "Also read:" |
246 |
elog "http://www.mono-project.com/Oracle" |
247 |
elog "" |
248 |
elog "Mono also has support for packages that are not included in portage:" |
249 |
elog "" |
250 |
elog "No ebuild available:" |
251 |
elog " IBM.Data.DB2" |
252 |
elog "Also read: http://www.mono-project.com/IBM_DB2" |
253 |
elog "" |
254 |
elog "No ebuild needed:" |
255 |
elog " Mono.Data.SybaseClient" |
256 |
elog "Also read: http://www.mono-project.com/Sybase" |
257 |
} |
258 |
|
259 |
# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR! |
260 |
# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2 |
261 |
# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE. |
262 |
|
263 |
# mono |
264 |
# The code we use is LGPL, but contributions must be made under the MIT/X11 |
265 |
# license, so Novell can serve its paying customers. Exception is mono/man. |
266 |
# LICENSE="LGPL-2.1" |
267 |
|
268 |
# mono/man |
269 |
# LICENSE="MIT" |
270 |
|
271 |
# mcs/mcs |
272 |
# mcs/gmcs |
273 |
# LICENSE="GPL-2 MIT" |
274 |
|
275 |
# tests |
276 |
# LICENSE="MIT" |
277 |
|
278 |
# mcs/class |
279 |
# Except the listed exceptions: |
280 |
# LICENSE="MIT" |
281 |
|
282 |
# mcs/class/ByteFX.Data |
283 |
# mcs/class/Npgsql |
284 |
# LICENSE="LGPL-2.1" |
285 |
|
286 |
# mcs/class/FirebirdSql.Data.Firebird |
287 |
# LICENSE="IDPL" |
288 |
|
289 |
# mcs/class/ICSharpCode.SharpZipLib |
290 |
# LICENSE="GPL-2-with-linking-exception" |
291 |
|
292 |
# mcs/class/MicrosoftAjaxLibrary |
293 |
# LICENSE="Ms-Pl" |
294 |
|
295 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs |
296 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs |
297 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs |
298 |
# mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs |
299 |
# LICENSE="|| ( NPL-1.1 GPL-2 )" |
300 |
|
301 |
# mcs/jay |
302 |
# LICENSE="BSD-4" |
303 |
|
304 |
# mcs/tools |
305 |
# Except the listed exceptions: |
306 |
# LICENSE="MIT" |
307 |
|
308 |
# mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs |
309 |
# LICENSE="GPL-2" |
310 |
|
311 |
# mcs/tools/sqlsharp/SqlSharpCli.cs |
312 |
# LICENSE="GPL-2" |
313 |
|
314 |
# mcs/tools/csharp/repl.cs |
315 |
# LICENSE="|| ( MIT GPL-2 )" |
316 |
|
317 |
# mcs/tools/mono-win32-setup.nsi |
318 |
# LICENSE="GPL-2" |
319 |
|
320 |
# samples |
321 |
# LICENSE="MIT" |