Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-lang/mono/
Date: Fri, 29 Jul 2016 20:14:33
Message-Id: 1469823180.bcd0024e14192d6ad129cd9628ec98234a15388a.cynede@gentoo
1 commit: bcd0024e14192d6ad129cd9628ec98234a15388a
2 Author: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 29 20:13:00 2016 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 29 20:13:00 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=bcd0024e
7
8 dev-lang/mono support moved to tree
9
10 for later PRs/improvements you can:
11 - re-create package from tree here with improvements and PR
12 - PR to gentoo repository and mention me in PR message
13
14 dev-lang/mono/mono-3.12.1.ebuild | 128 ------------------------------------
15 dev-lang/mono/mono-4.2.2.30.ebuild | 116 --------------------------------
16 dev-lang/mono/mono-4.3.2.467.ebuild | 118 ---------------------------------
17 dev-lang/mono/mono-4.4.0.148.ebuild | 120 ---------------------------------
18 dev-lang/mono/mono-4.4.0.40.ebuild | 120 ---------------------------------
19 dev-lang/mono/mono-4.4.1.0.ebuild | 120 ---------------------------------
20 6 files changed, 722 deletions(-)
21
22 diff --git a/dev-lang/mono/mono-3.12.1.ebuild b/dev-lang/mono/mono-3.12.1.ebuild
23 deleted file mode 100644
24 index 67d16dc..0000000
25 --- a/dev-lang/mono/mono-3.12.1.ebuild
26 +++ /dev/null
27 @@ -1,128 +0,0 @@
28 -# Copyright 1999-2015 Gentoo Foundation
29 -# Distributed under the terms of the GNU General Public License v2
30 -# $Id$
31 -
32 -EAPI="5"
33 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
34 -
35 -inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils
36 -
37 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
38 -HOMEPAGE="http://www.mono-project.com/Main_Page"
39 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
40 -
41 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
42 -SLOT="0"
43 -
44 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
45 -
46 -IUSE="nls minimal pax_kernel xen doc debug"
47 -
48 -COMMONDEPEND="
49 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
50 - ia64? ( sys-libs/libunwind )
51 - nls? ( sys-devel/gettext )
52 -"
53 -RDEPEND="${COMMONDEPEND}
54 - || ( www-client/links www-client/lynx )
55 -"
56 -DEPEND="${COMMONDEPEND}
57 - sys-devel/bc
58 - virtual/yacc
59 - pax_kernel? ( sys-apps/elfix )
60 -"
61 -
62 -pkg_pretend() {
63 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
64 - # See http://bugs.gentoo.org/261869 for more info."
65 - CONFIG_CHECK="SYSVIPC"
66 - use kernel_linux && check_extra_config
67 -}
68 -
69 -pkg_setup() {
70 - linux-info_pkg_setup
71 - mono-env_pkg_setup
72 -}
73 -
74 -src_prepare() {
75 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
76 - # get killed in the build proces when MPROTECT is enable. #286280
77 - # RANDMMAP kill the build proces to #347365
78 - # use paxmark.sh to get PT/XT logic #532244
79 - if use pax_kernel ; then
80 - ewarn "We are disabling MPROTECT on the mono binary."
81 -
82 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
83 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
84 - fi
85 -
86 - # mono build system can fail otherwise
87 - strip-flags
88 -
89 - # Remove this at your own peril. Mono will barf in unexpected ways.
90 - append-flags -fno-strict-aliasing
91 -
92 - autotools-utils_src_prepare
93 -}
94 -
95 -src_configure() {
96 - # NOTE: We need the static libs for now so mono-debugger works.
97 - # See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
98 - #
99 - # --without-moonlight since www-plugins/moonlight is not the only one
100 - # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
101 - #
102 - # --with-profile4 needs to be always enabled since it's used by default
103 - # and, otherwise, problems like bug #340641 appear.
104 - #
105 - # sgen fails on ppc, bug #359515
106 - local myeconfargs=(
107 - --enable-system-aot=yes
108 - --enable-static
109 - --disable-quiet-build
110 - --without-moonlight
111 - --with-libgdiplus=$(usex minimal no installed)
112 - $(use_with xen xen_opt)
113 - --without-ikvm-native
114 - --with-jit
115 - --disable-dtrace
116 - --with-profile4
117 - --with-sgen=$(usex ppc no yes)
118 - $(use_with doc mcs-docs)
119 - $(use_enable debug)
120 - $(use_enable nls)
121 - )
122 -
123 - autotools-utils_src_configure
124 -
125 - # FIX for uncompilable 3.4.0 sources
126 - FF="${WORKDIR}/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets"
127 - rm -f $FF
128 - touch $FF
129 - echo '<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' >> $FF
130 - echo ' <Import Project="..\\Microsoft.Portable.Core.props" />' >> $FF
131 - echo ' <Import Project="..\\Microsoft.Portable.Core.targets" />' >> $FF
132 - echo '</Project>' >> $FF
133 -}
134 -
135 -src_compile() {
136 - nonfatal autotools-utils_src_compile || {
137 - eqawarn "maintainer of this ebuild has no idea why it fails. If you happen to know how to fix it - please let me know"
138 - autotools-utils_src_compile
139 - }
140 -}
141 -
142 -src_test() {
143 - cd mcs/tests || die
144 - emake check
145 -}
146 -
147 -src_install() {
148 - autotools-utils_src_install
149 -
150 - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
151 - # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
152 - # for reference.
153 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
154 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
155 -}
156
157 diff --git a/dev-lang/mono/mono-4.2.2.30.ebuild b/dev-lang/mono/mono-4.2.2.30.ebuild
158 deleted file mode 100644
159 index 1db98fc..0000000
160 --- a/dev-lang/mono/mono-4.2.2.30.ebuild
161 +++ /dev/null
162 @@ -1,116 +0,0 @@
163 -# Copyright 1999-2016 Gentoo Foundation
164 -# Distributed under the terms of the GNU General Public License v2
165 -# $Id$
166 -
167 -EAPI=5
168 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
169 -AUTOTOOLS_AUTORECONF=1
170 -
171 -inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils versionator
172 -
173 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
174 -HOMEPAGE="http://www.mono-project.com/Main_Page"
175 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
176 -
177 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
178 -SLOT="0"
179 -
180 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
181 -
182 -IUSE="nls minimal pax_kernel xen doc"
183 -
184 -COMMONDEPEND="
185 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
186 - ia64? ( sys-libs/libunwind )
187 - nls? ( sys-devel/gettext )
188 -"
189 -RDEPEND="${COMMONDEPEND}
190 - || ( www-client/links www-client/lynx )
191 -"
192 -DEPEND="${COMMONDEPEND}
193 - sys-devel/bc
194 - virtual/yacc
195 - pax_kernel? ( sys-apps/elfix )
196 - !dev-lang/mono-basic
197 -"
198 -
199 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
200 -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
201 -
202 -pkg_pretend() {
203 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
204 - # See http://bugs.gentoo.org/261869 for more info."
205 - CONFIG_CHECK="SYSVIPC"
206 - use kernel_linux && check_extra_config
207 -}
208 -
209 -pkg_setup() {
210 - linux-info_pkg_setup
211 - mono-env_pkg_setup
212 -}
213 -
214 -src_prepare() {
215 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
216 - # get killed in the build proces when MPROTECT is enable. #286280
217 - # RANDMMAP kill the build proces to #347365
218 - # use paxmark.sh to get PT/XT logic #532244
219 - if use pax_kernel ; then
220 - ewarn "We are disabling MPROTECT on the mono binary."
221 -
222 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
223 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
224 - fi
225 -
226 - # mono build system can fail otherwise
227 - strip-flags
228 -
229 - # Fix VB targets
230 - # http://osdir.com/ml/general/2015-05/msg20808.html
231 - epatch "${FILESDIR}/add_missing_vb_portable_targets.patch"
232 -
233 - # Fix build when sgen disabled
234 - # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
235 - epatch "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
236 -
237 - # Fix atomic_add_i4 support for 32-bit ppc
238 - # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
239 - epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
240 -
241 - epatch "${FILESDIR}/systemweb3.patch"
242 - epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch"
243 - epatch "${FILESDIR}/fix-for-bug36724.patch"
244 -
245 - autotools-utils_src_prepare
246 -}
247 -
248 -src_configure() {
249 - local myeconfargs=(
250 - --disable-silent-rules
251 - $(use_with xen xen_opt)
252 - --without-ikvm-native
253 - --disable-dtrace
254 - $(use_with doc mcs-docs)
255 - $(use_enable nls)
256 - )
257 -
258 - autotools-utils_src_configure
259 -}
260 -
261 -src_compile() {
262 - autotools-utils_src_compile
263 -}
264 -
265 -src_test() {
266 - cd mcs/tests || die
267 - emake check
268 -}
269 -
270 -src_install() {
271 - autotools-utils_src_install
272 -
273 - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
274 - # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
275 - # for reference.
276 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
277 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
278 -}
279
280 diff --git a/dev-lang/mono/mono-4.3.2.467.ebuild b/dev-lang/mono/mono-4.3.2.467.ebuild
281 deleted file mode 100644
282 index 6664573..0000000
283 --- a/dev-lang/mono/mono-4.3.2.467.ebuild
284 +++ /dev/null
285 @@ -1,118 +0,0 @@
286 -# Copyright 1999-2016 Gentoo Foundation
287 -# Distributed under the terms of the GNU General Public License v2
288 -# $Id$
289 -
290 -EAPI=5
291 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
292 -AUTOTOOLS_AUTORECONF=1
293 -
294 -inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils versionator
295 -
296 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
297 -HOMEPAGE="http://www.mono-project.com/Main_Page"
298 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
299 -
300 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
301 -SLOT="0"
302 -
303 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
304 -
305 -IUSE="nls minimal pax_kernel xen doc"
306 -
307 -COMMONDEPEND="
308 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
309 - ia64? ( sys-libs/libunwind )
310 - nls? ( sys-devel/gettext )
311 -"
312 -RDEPEND="${COMMONDEPEND}
313 - || ( www-client/links www-client/lynx )
314 -"
315 -DEPEND="${COMMONDEPEND}
316 - sys-devel/bc
317 - virtual/yacc
318 - pax_kernel? ( sys-apps/elfix )
319 - !dev-lang/mono-basic
320 -"
321 -
322 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
323 -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
324 -
325 -pkg_pretend() {
326 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
327 - # See http://bugs.gentoo.org/261869 for more info."
328 - CONFIG_CHECK="SYSVIPC"
329 - use kernel_linux && check_extra_config
330 -}
331 -
332 -pkg_setup() {
333 - linux-info_pkg_setup
334 - mono-env_pkg_setup
335 -}
336 -
337 -src_prepare() {
338 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
339 - # get killed in the build proces when MPROTECT is enable. #286280
340 - # RANDMMAP kill the build proces to #347365
341 - # use paxmark.sh to get PT/XT logic #532244
342 - if use pax_kernel ; then
343 - ewarn "We are disabling MPROTECT on the mono binary."
344 -
345 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
346 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
347 - fi
348 -
349 - # mono build system can fail otherwise
350 - strip-flags
351 -
352 - # Fix VB targets
353 - # http://osdir.com/ml/general/2015-05/msg20808.html
354 - epatch "${FILESDIR}/add_missing_vb_portable_targets.patch"
355 -
356 - # Fix build when sgen disabled
357 - # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
358 - epatch "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
359 -
360 - # TODO: update patch
361 - # Fix atomic_add_i4 support for 32-bit ppc
362 - # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
363 - #epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
364 -
365 - # TODO: update patch
366 - #epatch "${FILESDIR}/systemweb3.patch"
367 - #epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch"
368 - #epatch "${FILESDIR}/fix-for-bug36724.patch"
369 -
370 - autotools-utils_src_prepare
371 -}
372 -
373 -src_configure() {
374 - local myeconfargs=(
375 - --disable-silent-rules
376 - $(use_with xen xen_opt)
377 - --without-ikvm-native
378 - --disable-dtrace
379 - $(use_with doc mcs-docs)
380 - $(use_enable nls)
381 - )
382 -
383 - autotools-utils_src_configure
384 -}
385 -
386 -src_compile() {
387 - autotools-utils_src_compile
388 -}
389 -
390 -src_test() {
391 - cd mcs/tests || die
392 - emake check
393 -}
394 -
395 -src_install() {
396 - autotools-utils_src_install
397 -
398 - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
399 - # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
400 - # for reference.
401 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
402 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
403 -}
404
405 diff --git a/dev-lang/mono/mono-4.4.0.148.ebuild b/dev-lang/mono/mono-4.4.0.148.ebuild
406 deleted file mode 100644
407 index be546cf..0000000
408 --- a/dev-lang/mono/mono-4.4.0.148.ebuild
409 +++ /dev/null
410 @@ -1,120 +0,0 @@
411 -# Copyright 1999-2016 Gentoo Foundation
412 -# Distributed under the terms of the GNU General Public License v2
413 -# $Id$
414 -
415 -EAPI=6
416 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
417 -AUTOTOOLS_AUTORECONF=1
418 -
419 -inherit eutils linux-info mono-env flag-o-matic pax-utils versionator
420 -
421 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
422 -HOMEPAGE="http://www.mono-project.com/Main_Page"
423 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
424 -
425 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
426 -SLOT="0"
427 -
428 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
429 -
430 -IUSE="nls minimal pax_kernel xen doc"
431 -
432 -COMMONDEPEND="
433 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
434 - ia64? ( sys-libs/libunwind )
435 - nls? ( sys-devel/gettext )
436 -"
437 -RDEPEND="${COMMONDEPEND}
438 - || ( www-client/links www-client/lynx )
439 -"
440 -DEPEND="${COMMONDEPEND}
441 - sys-devel/bc
442 - virtual/yacc
443 - pax_kernel? ( sys-apps/elfix )
444 - !dev-lang/mono-basic
445 -"
446 -
447 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
448 -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
449 -
450 -pkg_pretend() {
451 - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686
452 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
453 - # See http://bugs.gentoo.org/261869 for more info."
454 - CONFIG_CHECK="SYSVIPC"
455 - use kernel_linux && check_extra_config
456 -}
457 -
458 -pkg_setup() {
459 - linux-info_pkg_setup
460 - mono-env_pkg_setup
461 -}
462 -
463 -src_prepare() {
464 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
465 - # get killed in the build proces when MPROTECT is enable. #286280
466 - # RANDMMAP kill the build proces to #347365
467 - # use paxmark.sh to get PT/XT logic #532244
468 - if use pax_kernel ; then
469 - ewarn "We are disabling MPROTECT on the mono binary."
470 -
471 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
472 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
473 - fi
474 -
475 - # mono build system can fail otherwise
476 - strip-flags
477 -
478 - # Fix VB targets
479 - # http://osdir.com/ml/general/2015-05/msg20808.html
480 - #eapply "${FILESDIR}/add_missing_vb_portable_targets.patch"
481 -
482 - # Fix build when sgen disabled
483 - # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
484 - #eapply "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
485 -
486 - # TODO: update patch
487 - # Fix atomic_add_i4 support for 32-bit ppc
488 - # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
489 - #epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
490 -
491 - # TODO: update patch
492 - #epatch "${FILESDIR}/systemweb3.patch"
493 - #epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch"
494 - #epatch "${FILESDIR}/fix-for-bug36724.patch"
495 -
496 - default_src_prepare
497 - #eapply_user
498 -}
499 -
500 -src_configure() {
501 - local myeconfargs=(
502 - --disable-silent-rules
503 - $(use_with xen xen_opt)
504 - --without-ikvm-native
505 - --disable-dtrace
506 - $(use_with doc mcs-docs)
507 - $(use_enable nls)
508 - )
509 -
510 - default_src_configure
511 -}
512 -
513 -src_compile() {
514 - default_src_compile
515 -}
516 -
517 -src_test() {
518 - cd mcs/tests || die
519 - emake check
520 -}
521 -
522 -src_install() {
523 - default_src_install
524 -
525 - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
526 - # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
527 - # for reference.
528 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
529 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
530 -}
531
532 diff --git a/dev-lang/mono/mono-4.4.0.40.ebuild b/dev-lang/mono/mono-4.4.0.40.ebuild
533 deleted file mode 100644
534 index be546cf..0000000
535 --- a/dev-lang/mono/mono-4.4.0.40.ebuild
536 +++ /dev/null
537 @@ -1,120 +0,0 @@
538 -# Copyright 1999-2016 Gentoo Foundation
539 -# Distributed under the terms of the GNU General Public License v2
540 -# $Id$
541 -
542 -EAPI=6
543 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
544 -AUTOTOOLS_AUTORECONF=1
545 -
546 -inherit eutils linux-info mono-env flag-o-matic pax-utils versionator
547 -
548 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
549 -HOMEPAGE="http://www.mono-project.com/Main_Page"
550 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
551 -
552 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
553 -SLOT="0"
554 -
555 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
556 -
557 -IUSE="nls minimal pax_kernel xen doc"
558 -
559 -COMMONDEPEND="
560 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
561 - ia64? ( sys-libs/libunwind )
562 - nls? ( sys-devel/gettext )
563 -"
564 -RDEPEND="${COMMONDEPEND}
565 - || ( www-client/links www-client/lynx )
566 -"
567 -DEPEND="${COMMONDEPEND}
568 - sys-devel/bc
569 - virtual/yacc
570 - pax_kernel? ( sys-apps/elfix )
571 - !dev-lang/mono-basic
572 -"
573 -
574 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
575 -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
576 -
577 -pkg_pretend() {
578 - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686
579 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
580 - # See http://bugs.gentoo.org/261869 for more info."
581 - CONFIG_CHECK="SYSVIPC"
582 - use kernel_linux && check_extra_config
583 -}
584 -
585 -pkg_setup() {
586 - linux-info_pkg_setup
587 - mono-env_pkg_setup
588 -}
589 -
590 -src_prepare() {
591 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
592 - # get killed in the build proces when MPROTECT is enable. #286280
593 - # RANDMMAP kill the build proces to #347365
594 - # use paxmark.sh to get PT/XT logic #532244
595 - if use pax_kernel ; then
596 - ewarn "We are disabling MPROTECT on the mono binary."
597 -
598 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
599 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
600 - fi
601 -
602 - # mono build system can fail otherwise
603 - strip-flags
604 -
605 - # Fix VB targets
606 - # http://osdir.com/ml/general/2015-05/msg20808.html
607 - #eapply "${FILESDIR}/add_missing_vb_portable_targets.patch"
608 -
609 - # Fix build when sgen disabled
610 - # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
611 - #eapply "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
612 -
613 - # TODO: update patch
614 - # Fix atomic_add_i4 support for 32-bit ppc
615 - # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
616 - #epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
617 -
618 - # TODO: update patch
619 - #epatch "${FILESDIR}/systemweb3.patch"
620 - #epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch"
621 - #epatch "${FILESDIR}/fix-for-bug36724.patch"
622 -
623 - default_src_prepare
624 - #eapply_user
625 -}
626 -
627 -src_configure() {
628 - local myeconfargs=(
629 - --disable-silent-rules
630 - $(use_with xen xen_opt)
631 - --without-ikvm-native
632 - --disable-dtrace
633 - $(use_with doc mcs-docs)
634 - $(use_enable nls)
635 - )
636 -
637 - default_src_configure
638 -}
639 -
640 -src_compile() {
641 - default_src_compile
642 -}
643 -
644 -src_test() {
645 - cd mcs/tests || die
646 - emake check
647 -}
648 -
649 -src_install() {
650 - default_src_install
651 -
652 - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
653 - # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
654 - # for reference.
655 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
656 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
657 -}
658
659 diff --git a/dev-lang/mono/mono-4.4.1.0.ebuild b/dev-lang/mono/mono-4.4.1.0.ebuild
660 deleted file mode 100644
661 index be546cf..0000000
662 --- a/dev-lang/mono/mono-4.4.1.0.ebuild
663 +++ /dev/null
664 @@ -1,120 +0,0 @@
665 -# Copyright 1999-2016 Gentoo Foundation
666 -# Distributed under the terms of the GNU General Public License v2
667 -# $Id$
668 -
669 -EAPI=6
670 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
671 -AUTOTOOLS_AUTORECONF=1
672 -
673 -inherit eutils linux-info mono-env flag-o-matic pax-utils versionator
674 -
675 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
676 -HOMEPAGE="http://www.mono-project.com/Main_Page"
677 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
678 -
679 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
680 -SLOT="0"
681 -
682 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
683 -
684 -IUSE="nls minimal pax_kernel xen doc"
685 -
686 -COMMONDEPEND="
687 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
688 - ia64? ( sys-libs/libunwind )
689 - nls? ( sys-devel/gettext )
690 -"
691 -RDEPEND="${COMMONDEPEND}
692 - || ( www-client/links www-client/lynx )
693 -"
694 -DEPEND="${COMMONDEPEND}
695 - sys-devel/bc
696 - virtual/yacc
697 - pax_kernel? ( sys-apps/elfix )
698 - !dev-lang/mono-basic
699 -"
700 -
701 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
702 -S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
703 -
704 -pkg_pretend() {
705 - # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686
706 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
707 - # See http://bugs.gentoo.org/261869 for more info."
708 - CONFIG_CHECK="SYSVIPC"
709 - use kernel_linux && check_extra_config
710 -}
711 -
712 -pkg_setup() {
713 - linux-info_pkg_setup
714 - mono-env_pkg_setup
715 -}
716 -
717 -src_prepare() {
718 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
719 - # get killed in the build proces when MPROTECT is enable. #286280
720 - # RANDMMAP kill the build proces to #347365
721 - # use paxmark.sh to get PT/XT logic #532244
722 - if use pax_kernel ; then
723 - ewarn "We are disabling MPROTECT on the mono binary."
724 -
725 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
726 - sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
727 - fi
728 -
729 - # mono build system can fail otherwise
730 - strip-flags
731 -
732 - # Fix VB targets
733 - # http://osdir.com/ml/general/2015-05/msg20808.html
734 - #eapply "${FILESDIR}/add_missing_vb_portable_targets.patch"
735 -
736 - # Fix build when sgen disabled
737 - # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
738 - #eapply "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
739 -
740 - # TODO: update patch
741 - # Fix atomic_add_i4 support for 32-bit ppc
742 - # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
743 - #epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
744 -
745 - # TODO: update patch
746 - #epatch "${FILESDIR}/systemweb3.patch"
747 - #epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch"
748 - #epatch "${FILESDIR}/fix-for-bug36724.patch"
749 -
750 - default_src_prepare
751 - #eapply_user
752 -}
753 -
754 -src_configure() {
755 - local myeconfargs=(
756 - --disable-silent-rules
757 - $(use_with xen xen_opt)
758 - --without-ikvm-native
759 - --disable-dtrace
760 - $(use_with doc mcs-docs)
761 - $(use_enable nls)
762 - )
763 -
764 - default_src_configure
765 -}
766 -
767 -src_compile() {
768 - default_src_compile
769 -}
770 -
771 -src_test() {
772 - cd mcs/tests || die
773 - emake check
774 -}
775 -
776 -src_install() {
777 - default_src_install
778 -
779 - # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
780 - # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
781 - # for reference.
782 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
783 - rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
784 -}