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