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