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