1 |
commit: fa0efdcba74850ea1fdfb9a26fbf4b9eebd65a20 |
2 |
Author: Heather <Heather <AT> live <DOT> ru> |
3 |
AuthorDate: Fri May 1 17:45:46 2015 +0000 |
4 |
Commit: Heather Cynede <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 1 17:45:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=fa0efdcb |
7 |
|
8 |
clean up |
9 |
|
10 |
dev-lang/mono/mono-3.12.0.ebuild | 128 --------------------------------- |
11 |
dev-lang/mono/mono-3.12.1.ebuild | 11 --- |
12 |
dev-lang/mono/mono-4.0.0_alpha1.ebuild | 120 ------------------------------- |
13 |
3 files changed, 259 deletions(-) |
14 |
|
15 |
diff --git a/dev-lang/mono/mono-3.12.0.ebuild b/dev-lang/mono/mono-3.12.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index f12210c..0000000 |
18 |
--- a/dev-lang/mono/mono-3.12.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,128 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Header: $ |
24 |
- |
25 |
-EAPI="5" |
26 |
-AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" |
27 |
- |
28 |
-inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils |
29 |
- |
30 |
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
31 |
-HOMEPAGE="http://www.mono-project.com/Main_Page" |
32 |
-SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
35 |
-SLOT="0" |
36 |
- |
37 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
38 |
- |
39 |
-IUSE="nls minimal pax_kernel xen doc debug" |
40 |
- |
41 |
-COMMONDEPEND=" |
42 |
- !minimal? ( >=dev-dotnet/libgdiplus-2.10 ) |
43 |
- ia64? ( sys-libs/libunwind ) |
44 |
- nls? ( sys-devel/gettext ) |
45 |
-" |
46 |
-RDEPEND="${COMMONDEPEND} |
47 |
- || ( www-client/links www-client/lynx ) |
48 |
-" |
49 |
-DEPEND="${COMMONDEPEND} |
50 |
- sys-devel/bc |
51 |
- virtual/yacc |
52 |
- pax_kernel? ( sys-apps/elfix ) |
53 |
-" |
54 |
- |
55 |
-pkg_pretend() { |
56 |
- # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling. |
57 |
- # See http://bugs.gentoo.org/261869 for more info." |
58 |
- CONFIG_CHECK="SYSVIPC" |
59 |
- use kernel_linux && check_extra_config |
60 |
-} |
61 |
- |
62 |
-pkg_setup() { |
63 |
- linux-info_pkg_setup |
64 |
- mono-env_pkg_setup |
65 |
-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't |
69 |
- # get killed in the build proces when MPROTEC is enable. #286280 |
70 |
- # RANDMMAP kill the build proces to #347365 |
71 |
- if use pax_kernel ; then |
72 |
- ewarn "We are disabling MPROTECT on the mono binary." |
73 |
- |
74 |
- # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 |
75 |
- sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" |
76 |
- fi |
77 |
- |
78 |
- # mono build system can fail otherwise |
79 |
- strip-flags |
80 |
- |
81 |
- # Remove this at your own peril. Mono will barf in unexpected ways. |
82 |
- append-flags -fno-strict-aliasing |
83 |
- |
84 |
- autotools-utils_src_prepare |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- # NOTE: We need the static libs for now so mono-debugger works. |
89 |
- # See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details |
90 |
- # |
91 |
- # --without-moonlight since www-plugins/moonlight is not the only one |
92 |
- # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3 |
93 |
- # |
94 |
- # --with-profile4 needs to be always enabled since it's used by default |
95 |
- # and, otherwise, problems like bug #340641 appear. |
96 |
- # |
97 |
- # sgen fails on ppc, bug #359515 |
98 |
- local myeconfargs=( |
99 |
- --enable-system-aot=yes |
100 |
- --enable-static |
101 |
- --disable-quiet-build |
102 |
- --without-moonlight |
103 |
- --with-libgdiplus=$(usex minimal no installed) |
104 |
- $(use_with xen xen_opt) |
105 |
- --without-ikvm-native |
106 |
- --with-jit |
107 |
- --disable-dtrace |
108 |
- --with-profile4 |
109 |
- --with-sgen=$(usex ppc no yes) |
110 |
- $(use_with doc mcs-docs) |
111 |
- $(use_enable debug) |
112 |
- $(use_enable nls) |
113 |
- ) |
114 |
- |
115 |
- autotools-utils_src_configure |
116 |
- |
117 |
- # FIX for uncompilable 3.4.0 sources |
118 |
- FF="${WORKDIR}/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets" |
119 |
- rm -f $FF |
120 |
- touch $FF |
121 |
- echo '<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' >> $FF |
122 |
- echo ' <Import Project="..\\Microsoft.Portable.Core.props" />' >> $FF |
123 |
- echo ' <Import Project="..\\Microsoft.Portable.Core.targets" />' >> $FF |
124 |
- echo '</Project>' >> $FF |
125 |
-} |
126 |
- |
127 |
-src_compile() { |
128 |
- nonfatal autotools-utils_src_compile || { |
129 |
- eqawarn "maintainer of this ebuild has no idea why it fails. If you happen to know how to fix it - please let me know" |
130 |
- autotools-utils_src_compile |
131 |
- } |
132 |
-} |
133 |
- |
134 |
-src_test() { |
135 |
- cd mcs/tests || die |
136 |
- emake check |
137 |
-} |
138 |
- |
139 |
-#install: cannot stat 'targets/Microsoft.Portable.Common.targets': No such file or directory |
140 |
-src_install() { |
141 |
- autotools-utils_src_install |
142 |
- |
143 |
- # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
144 |
- # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
145 |
- # for reference. |
146 |
- rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die |
147 |
- rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die |
148 |
-} |
149 |
|
150 |
diff --git a/dev-lang/mono/mono-3.12.1.ebuild b/dev-lang/mono/mono-3.12.1.ebuild |
151 |
index f12210c..f7cc961 100644 |
152 |
--- a/dev-lang/mono/mono-3.12.1.ebuild |
153 |
+++ b/dev-lang/mono/mono-3.12.1.ebuild |
154 |
@@ -115,14 +115,3 @@ src_test() { |
155 |
cd mcs/tests || die |
156 |
emake check |
157 |
} |
158 |
- |
159 |
-#install: cannot stat 'targets/Microsoft.Portable.Common.targets': No such file or directory |
160 |
-src_install() { |
161 |
- autotools-utils_src_install |
162 |
- |
163 |
- # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
164 |
- # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
165 |
- # for reference. |
166 |
- rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die |
167 |
- rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die |
168 |
-} |
169 |
|
170 |
diff --git a/dev-lang/mono/mono-4.0.0_alpha1.ebuild b/dev-lang/mono/mono-4.0.0_alpha1.ebuild |
171 |
deleted file mode 100644 |
172 |
index c1b0182..0000000 |
173 |
--- a/dev-lang/mono/mono-4.0.0_alpha1.ebuild |
174 |
+++ /dev/null |
175 |
@@ -1,120 +0,0 @@ |
176 |
-# Copyright 1999-2015 Gentoo Foundation |
177 |
-# Distributed under the terms of the GNU General Public License v2 |
178 |
-# $Header: $ |
179 |
- |
180 |
-EAPI="5" |
181 |
-AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" |
182 |
- |
183 |
-inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils |
184 |
- |
185 |
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
186 |
-HOMEPAGE="http://www.mono-project.com/Main_Page" |
187 |
-SRC_URI="http://download.mono-project.com/sources/${PN}/${PN}-4.0.0~alpha1.tar.bz2 -> ${P}.tar.bz2" |
188 |
- |
189 |
-LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
190 |
-SLOT="0" |
191 |
- |
192 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
193 |
- |
194 |
-IUSE="nls minimal pax_kernel xen doc debug" |
195 |
- |
196 |
-COMMONDEPEND=" |
197 |
- !minimal? ( >=dev-dotnet/libgdiplus-2.10 ) |
198 |
- ia64? ( sys-libs/libunwind ) |
199 |
- nls? ( sys-devel/gettext ) |
200 |
-" |
201 |
-RDEPEND="${COMMONDEPEND} |
202 |
- || ( www-client/links www-client/lynx ) |
203 |
-" |
204 |
-DEPEND="${COMMONDEPEND} |
205 |
- sys-devel/bc |
206 |
- virtual/yacc |
207 |
- pax_kernel? ( sys-apps/elfix ) |
208 |
-" |
209 |
- |
210 |
-S="${WORKDIR}/${PN}-4.0.0" |
211 |
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn |
212 |
- |
213 |
-pkg_pretend() { |
214 |
- # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling. |
215 |
- # See http://bugs.gentoo.org/261869 for more info." |
216 |
- CONFIG_CHECK="SYSVIPC" |
217 |
- use kernel_linux && check_extra_config |
218 |
-} |
219 |
- |
220 |
-pkg_setup() { |
221 |
- linux-info_pkg_setup |
222 |
- mono-env_pkg_setup |
223 |
-} |
224 |
- |
225 |
-src_prepare() { |
226 |
- # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't |
227 |
- # get killed in the build proces when MPROTEC is enable. #286280 |
228 |
- # RANDMMAP kill the build proces to #347365 |
229 |
- if use pax_kernel ; then |
230 |
- ewarn "We are disabling MPROTECT on the mono binary." |
231 |
- |
232 |
- # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 |
233 |
- sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" |
234 |
- fi |
235 |
- |
236 |
- # mono build system can fail otherwise |
237 |
- strip-flags |
238 |
- |
239 |
- # Remove this at your own peril. Mono will barf in unexpected ways. |
240 |
- append-flags -fno-strict-aliasing |
241 |
- |
242 |
- autotools-utils_src_prepare |
243 |
-} |
244 |
- |
245 |
-src_configure() { |
246 |
- # NOTE: We need the static libs for now so mono-debugger works. |
247 |
- # See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details |
248 |
- # |
249 |
- # --without-moonlight since www-plugins/moonlight is not the only one |
250 |
- # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3 |
251 |
- # |
252 |
- # --with-profile4 needs to be always enabled since it's used by default |
253 |
- # and, otherwise, problems like bug #340641 appear. |
254 |
- # |
255 |
- # sgen fails on ppc, bug #359515 |
256 |
- local myeconfargs=( |
257 |
- --enable-system-aot=yes |
258 |
- --enable-static |
259 |
- --disable-quiet-build |
260 |
- --without-moonlight |
261 |
- --with-libgdiplus=$(usex minimal no installed) |
262 |
- $(use_with xen xen_opt) |
263 |
- --without-ikvm-native |
264 |
- --with-jit |
265 |
- --disable-dtrace |
266 |
- --with-profile4 |
267 |
- --with-sgen=$(usex ppc no yes) |
268 |
- $(use_with doc mcs-docs) |
269 |
- $(use_enable debug) |
270 |
- $(use_enable nls) |
271 |
- ) |
272 |
- |
273 |
- autotools-utils_src_configure |
274 |
- |
275 |
- # FIX for uncompilable 3.4.0 sources |
276 |
- FF="${WORKDIR}/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets" |
277 |
- rm -f $FF |
278 |
- touch $FF |
279 |
- echo '<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' >> $FF |
280 |
- echo ' <Import Project="..\\Microsoft.Portable.Core.props" />' >> $FF |
281 |
- echo ' <Import Project="..\\Microsoft.Portable.Core.targets" />' >> $FF |
282 |
- echo '</Project>' >> $FF |
283 |
-} |
284 |
- |
285 |
-src_compile() { |
286 |
- nonfatal autotools-utils_src_compile || { |
287 |
- eqawarn "maintainer of this ebuild has no idea why it fails. If you happen to know how to fix it - please let me know" |
288 |
- autotools-utils_src_compile |
289 |
- } |
290 |
-} |
291 |
- |
292 |
-src_test() { |
293 |
- cd mcs/tests || die |
294 |
- emake check |
295 |
-} |