diff options
author | Peter Johanson <latexer@gentoo.org> | 2005-03-11 03:14:01 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2005-03-11 03:14:01 +0000 |
commit | aa2366d75a06ea27c12a9493bf267d7a271dc160 (patch) | |
tree | deca75aeec3ef721b8f2d53c94d81ba32fd77ff5 | |
parent | Updating a11y packages for 2.10_pre0 (diff) | |
download | gentoo-2-aa2366d75a06ea27c12a9493bf267d7a271dc160.tar.gz gentoo-2-aa2366d75a06ea27c12a9493bf267d7a271dc160.tar.bz2 gentoo-2-aa2366d75a06ea27c12a9493bf267d7a271dc160.zip |
Moved from dev-dotnet to dev-lang.
(Portage version: 2.0.51.19)
29 files changed, 1683 insertions, 0 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog new file mode 100644 index 000000000000..44183d6a7e71 --- /dev/null +++ b/dev-lang/mono/ChangeLog @@ -0,0 +1,386 @@ +# ChangeLog for dev-dotnet/mono +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.30 2005/03/11 03:14:01 latexer Exp $ + +*mono-1.0.5-r4 (10 Mar 2005) + + 10 Mar 2005; Peter Johanson <latexer@gentoo.org> +metadata.xml, + +files/dotnet.conf, +files/dotnet.init, +files/mcs-1.0.5-pathfix.diff, + +files/mono-1.0-segv.diff, +mono-0.28.ebuild, +mono-1.0.2-r1.ebuild, + +mono-1.0.2.ebuild, +mono-1.0.4-r1.ebuild, +mono-1.0.4.ebuild, + +mono-1.0.5-r2.ebuild, +mono-1.0.5-r3.ebuild, +mono-1.0.5-r4.ebuild, + +mono-1.0.5-r5.ebuild, +mono-1.0.6.ebuild, +mono-1.1.4.ebuild: + Moved from dev-dotnet to dev-lang. + +*mono-1.0.5-r5 (07 Mar 2005) + + 07 Mar 2005; Peter Johanson <latexer@gentoo.org> +mono-1.0.5-r5.ebuild: + Revision bump to remove gmcs script when installing mono-1.0.5. We don't + install the 2.0 profile stuff, including gmcs, on mono-1.0.x. + + 22 Feb 2005; Peter Johanson <latexer@gentoo.org> mono-1.1.4.ebuild: + Change pnet blocker to allow people to install a new enough pnet along side + mono-1.1.4 + +*mono-1.0.5-r4 (21 Feb 2005) + + 21 Feb 2005; Peter Johanson <latexer@gentoo.org> -mono-1.0.1-r1.ebuild, + -mono-1.0.1-r2.ebuild, -mono-1.0.1.ebuild, -mono-1.0.5-r1.ebuild, + +mono-1.0.5-r4.ebuild, -mono-1.0.5.ebuild, +mono-1.1.4.ebuild: + Add 1.0.5-r4, which now works for NPTL glibc using only gcc-3.3.5. This is + hopefully the new target for stabalization. Also add in new mono-1.1.4, which + will remain p.masked but in portage for amd64 folks. Removed some older + ebuilds as well. + + 19 Feb 2005; Peter Johanson <latexer@gentoo.org> mono-1.0.6.ebuild: + Remove the gmcs wrapper script, as on mono-1.0.x, we don't install gmcs + +*mono-1.0.6 (18 Feb 2005) + + 18 Feb 2005; Peter Johanson <latexer@gentoo.org> +mono-1.0.6.ebuild: + Bump. NPTL problem seems no longer to rely on gcc-3.4 to work. See bug #63734 + for the long, painful details. + + 18 Jan 2005; Rainer Groesslinger <scandium@gentoo.org> mono-0.28.ebuild, + mono-1.0.1-r1.ebuild, mono-1.0.1-r2.ebuild, mono-1.0.1.ebuild, + mono-1.0.2-r1.ebuild, mono-1.0.2.ebuild, mono-1.0.4-r1.ebuild, + mono-1.0.4.ebuild, mono-1.0.5-r1.ebuild, mono-1.0.5-r2.ebuild, + mono-1.0.5-r3.ebuild, mono-1.0.5.ebuild: + only block older versions of dev-dotnet/pnet (bug #39369) + + 04 Jan 2005; Peter Johanson <latexer@gentoo.org> mono-1.0.5-r2.ebuild, + mono-1.0.5-r3.ebuild: + Fixes for installations on systems without mono already installed. See bug + #75560 + + 02 Jan 2005; Peter Johanson <latexer@gentoo.org> mono-1.0.5-r2.ebuild, + mono-1.0.5-r3.ebuild: + Add PLATFORM=linux fix to one more spot. + + 23 Dec 2004; Peter Johanson <latexer@gentoo.org> mono-1.0.5-r2.ebuild, + mono-1.0.5-r3.ebuild: + Make sure PLATFORM=linux, since this is borking on some architectures somehow. + See bug #75272. + + 21 Dec 2004; Peter Johanson <latexer@gentoo.org> mono-1.0.5-r2.ebuild, + mono-1.0.5-r3.ebuild: + Remove the amd64 keywords from these, as they now require the JIT to build, + and amd64 has no working JIT in 1.0.x + + 20 Dec 2004; Peter Johanson <latexer@gentoo.org> mono-1.0.5-r2.ebuild, + mono-1.0.5-r3.ebuild: + Fix for upgrades from 0.28 era mono versions. Thanks to dma` + + 20 Dec 2004; Peter Johanson <latexer@gentoo.org> + +files/mcs-1.0.5-pathfix.diff: + Add a missing patch. Oops. + +*mono-1.0.5-r3 (20 Dec 2004) + + 20 Dec 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.5-r2.ebuild, + +mono-1.0.5-r3.ebuild: + Revision bump pthreads and nptl mono versions that now build mcs and class + libs as well. Includes fix for bug #72770/66528. Thanks to foser + <foser@gentoo.org> for the corlib fix. + +*mono-1.0.5 (13 Dec 2004) + + 13 Dec 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.5-r1.ebuild, + +mono-1.0.5.ebuild: + Bump. + + 03 Nov 2004; Peter Johanson <latexer@gentoo.org> -mono-0.30.1.ebuild, + -mono-0.30.ebuild, -mono-0.31.ebuild, -mono-0.91.ebuild, -mono-0.95.ebuild, + -mono-0.96.ebuild, -mono-0.97.ebuild, -mono-1.0.ebuild: + Long needed house cleaning. + +*mono-1.0.4 (03 Nov 2004) + + 03 Nov 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.4-r1.ebuild, + +mono-1.0.4.ebuild: + Bump. + + 29 Oct 2004; Peter Johanson <latexer@gentoo.org> mono-0.28.ebuild, mono-0.30.1.ebuild, + mono-0.30.ebuild, mono-0.31.ebuild, mono-0.91.ebuild, mono-0.95.ebuild, + mono-0.96.ebuild, mono-0.97.ebuild, mono-1.0.1-r1.ebuild, + mono-1.0.1-r2.ebuild, mono-1.0.1.ebuild, mono-1.0.2-r1.ebuild, + mono-1.0.2.ebuild, mono-1.0.ebuild: + Change the masked mono to include a fix for NPTL systems available for + gcc-3.4. Please test. Also fixed the LICENSE syntax. + + 23 Sep 2004; Peter Johanson <latexer@gentoo.org> mono-1.0.2.ebuild: + Fix a small typo. + +*mono-1.0.2 (22 Sep 2004) + + 22 Sep 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.2-r1.ebuild, + +mono-1.0.2.ebuild: + Bump. Includes both a non-NPTL enabled and NPTL version. NPTL version masked + pending a resolution to issues in GC. + + 18 Aug 2004; Peter Johanson <latexer@gentoo.org> mono-1.0.1-r1.ebuild: + Explicitly setting the threading implementation. Was sometimes choosing + __thread over pthread. Thanks to JohanH in #muine on freenode. + + 18 Aug 2004; Peter Johanson <latexer@gentoo.org> mono-1.0.1-r1.ebuild: + Better check for requested NPTL support in the NPTL-unsupported 1.0.1-r1 + release. + +*mono-1.0.1-r1 (17 Aug 2004) + + 17 Aug 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.1-r1.ebuild, + +mono-1.0.1-r2.ebuild: + Two new versions. One removes all NPTL support, in hopes of being marked + stable soon. -r2 keeps the support, and is package.masked. + +*mono-1.0.1 (05 Aug 2004) + + 05 Aug 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.1.ebuild: + Bump. New bugfix release. Only minimal changes. + + 10 Jul 2004; Peter Johanson <latexer@gentoo.org> +files/mono-1.0-segv.diff, + mono-1.0.ebuild: + Fix for amd64. See bug #55722 + +*mono-1.0 (30 Jun 2004) + + 30 Jun 2004; Peter Johanson <latexer@gentoo.org> +mono-1.0.ebuild: + 1.0. Nuff said. + + 29 Jun 2004; Peter Johanson <latexer@gentoo.org> mono-0.97.ebuild: + Fix for installation for first time installs. See bug #55229 and #55393. + + 28 Jun 2004; Peter Johanson <latexer@gentoo.org> mono-0.97.ebuild: + Build fix. See bug #55393. + + 27 Jun 2004; Peter Johanson <latexer@gentoo.org> : + Fix the digest. + +*mono-0.97 (27 Jun 2004) + + 27 Jun 2004; Peter Johanson <latexer@gentoo.org> +mono-0.97.ebuild: + Release candidate goodness. + +*mono-0.96 (16 Jun 2004) + + 16 Jun 2004; Peter Johanson, <latexer@gentoo.org> mono-0.96.ebuild: + Beta3 loves you. + + 02 Jun 2004; Aron Griffis <agriffis@gentoo.org> mono-0.31.ebuild, + mono-0.91.ebuild, mono-0.95.ebuild: + Fix use invocation + + 02 Jun 2004; David Holm <dholm@gentoo.org> mono-0.91.ebuild, + mono-0.95.ebuild: + Closed bug #51171. + + 02 Jun 2004; David Holm <dholm@gentoo.org> mono-0.95.ebuild: + Added to ~ppc. + +*mono-0.95 (02 Jun 2004) + + 02 Jun 2004; Peter Johanson <latexer@gentoo.org> mono-0.95.ebuild: + Beta2. You know you love it. + + 10 May 2004; Travis Tilley <lv@gentoo.org> mono-0.91.ebuild: + ~amd64 keyword added + + 05 May 2004; David Holm <dholm@gentoo.org> mono-0.91.ebuild: + Added to ~ppc. + +*mono-0.91 (05 May 2004) + + 05 May 2004; Peter Johanson <latexer@gentoo.org> mono-0.91.ebuild: + Beta1 baby! Now with fun-filled GAC! + + 29 Mar 2004; Peter Johanson <latexer@gentoo.org> mono-0.31.ebuild: + Added nptl support behind a nptl USE flag and using have_NPTL from eutils. + Blame tberman if things break, he said he'd take the bugs. + + 20 Mar 2004; Todd Berman <tberman@gentoo.org> mono-0.31.ebuild: + adding --with-nptl=no + +*mono-0.31 (19 Mar 2004) + + 19 Mar 2004; Todd Berman <tberman@gentoo.org> mono-0.31.ebuild: + version bump + +*mono-0.30.1 (14 Feb 2004) + + 14 Feb 2004; Todd Berman <tberman@gentoo.org> mono-0.30.1.ebuild: + version bump + +*mono-0.30 (13 Feb 2004) + + 13 Feb 2004; Todd Berman <tberman@gentoo.org> mono-0.26-r1.ebuild, + mono-0.30.ebuild: + Adding 0.30, removing 0.26 + +*mono-0.28 (04 Oct 2003) + + 04 Oct 2003; Rainer Groesslinger <scandium@gentoo.org> mono-0.28.ebuild: + new version + +*mono-0.26-r1 (29 Sep 2003) + + 29 Sep 2003; Rainer Groesslinger <scandium@gentoo.org> mono-0.26-r1.ebuild: + fix for building mcs + provided by pcgod@gmx.net (bug #26839) + + 26 Aug 2003; Rainer Groesslinger <scandium@gentoo.org> mono-0.23-r1.ebuild, + mono-0.24-r1.ebuild, mono-0.25-r1.ebuild, mono-0.25.ebuild, + mono-0.26.ebuild: + Add a block for dev-dotnet/pnet because both are using + /usr/bin/ilasm for converting IL assembly source files into an IL binary + +*mono-0.26 (26 Aug 2003) + + 26 Aug 2003; Rainer Groesslinger <scandium@gentoo.org> mono-0.26.ebuild: + new version, minor fixes because of the new build system + compilation of mcs is disabled for now (see bug #26839) + +*mono-0.25 (24 Jul 2003) + + 24 Jul 2003; Todd Berman <tberman@gentoo.org> metadata.xml, + mono-0.23-r1.ebuild, mono-0.24-r1.ebuild, mono-0.25-r1.ebuild, + mono-0.25.ebuild, files/dotnet.conf, files/dotnet.init: + Moving to dev-dotnet + + 20 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.23-r1.ebuild, + mono-0.24-r1.ebuild, mono-0.25-r1.ebuild, mono-0.25.ebuild: + Fixing licenses for mono, added GPL-2 and X11 + + 20 Jul 2003; Todd Berman <tberman@gentoo.org> metadata.xml, mono-0.25-r1.ebuild: + Fixed up depend issues, thanks liquidx :) + + 16 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.25-r1.ebuild: + Changing to blocking libxml2-2.5.8, portage version with this fully working is + masked, but it will hopefully be stable soon, before 1.4 for sure. + + 16 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.25-r1.ebuild: + libxml2-2.5.8 breaks xslt on mono, and until ! blocker deps work, masking it + like this. + +*mono-0.25-r1 (13 Jul 2003) + + 13 Jul 2003; Todd Berman <tberman@gentoo.org> mono-0.25-r1.ebuild: + Changed gc to included (modified boehm), its required by the debugger (next + piece to enter portage). + +*mono-0.25 (27 Jun 2003) + + 27 Jun 2003; foser <foser@gentoo.org> mono-0.25.ebuild : + New version + +*mono-0.24-r1 (12 May 2003) + + 12 May 2003; Rainer Groesslinger <scandium@gentoo.org> mono-0.23-r1.ebuild, + mono-0.24-r1.ebuild, files/dotnet.conf, files/dotnet.init: + init script provided by + Per Wigren <wigren@home.se> in bug #19617 + with some enhancements added + +*mono-0.24 (08 May 2003) + + 08 May 2003; foser <foser@gentoo.org> mono-0.24.ebuild : + New version, use new compiler for mcs compilation and path fixes (#17614) + +*mono-0.23-r1 (12 May 2003) + + 11 Jul 2003; Daniel Ahlberg <aliz@gentoo.org> : + Added missing changelog entry. + +*mono-0.23 (08 Mar 2003) + + 12 Mar 2003; foser <foser@gentoo.org> mono-0.23.ebuild : + Install icons as requested/done by mathias.hasselmann@gmx.de + + 08 Mar 2003; foser <foser@gentoo.org> mono-0.23.ebuild : + New version + +*mono-0.22 (06 Mar 2003) + + 06 Mar 2003; foser <foser@gentoo.org> mono-0.22.ebuild : + New version + +*mono-0.21 (28 Feb 2003) + + 28 Feb 2003; foser <foser@gentoo.org> mono-0.21.ebuild : + New version + +*mono-0.20-r1 (27 Feb 2003) + + 28 Feb 2003; foser <foser@gentoo.org> mono-0.20-r1.ebuild : + Removed redundant patch, there was another way to do this duh :/ + + 27 Feb 2003; foser <foser@gentoo.org> mono-0.20-r1.ebuild : + Compiles mcs from scratch now + Initial work done by Artur Brodowski <bzdurqa@wp.pl> in #16316 + Hacked on a lot by me to get it right + Now also uses mono eclass + +*mono-0.20 (24 Feb 2003) + + 24 Feb 2003; foser <foser@gentoo.org> mono-0.20.ebuild : + New version + +*mono-0.19 (22 Jan 2003) + + 22 Jan 2003; Brandon Low <lostlogic@gentoo.org> mono-0.19.ebuild : + New version + +*mono-0.18 (13 jan 2003) + + 13 Jan 2003; foser <foser@gentoo.org> mono-0.18.ebuild : + New version + +*mono-0.17 (10 Dec 2002) + + 10 Dec 2002; foser <foser@gentoo.org> mono-0.17.ebuild : + New version + +*mono-0.16 (24 Oct 2002) + + 24 Oct 2002; foser <foser@gentoo.org> mono-0.16.ebuild : + + New version, now depends on boehm-gc + +*mono-0.13 (29 Jul 2002) + + 29 Jul 2002; Kevyn Shortell <trance@gentoo.org> mono-0.13.ebuild, ChangeLog: + Added >=glib-2.x as a dependency, closing bug #5708. Many thanks to Nathan + Sharfi <nisharfi@csupomona.edu> for testing ebuild on glib-1.3 machine to + find the bug =). + +*mono-0.13 (28 Jul 2002) + + 28 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.13.ebuild, ChangeLog: + Added pkgconfig as a dependency, closing bug #5665. Thanks to Nathan + Sharfi <nisharfi@csupomona.edu> for pointing this out. + + 27 Jul 2002: Kevyn Shortell <trance@gentoo.org> mono-0.13.ebuild, ChangLog: + updated to mono-0.13.ebuild. The ebuild was submitted by Luis Mayoral <satriani@okulto.net>. + Tested on PPC and X86, failed PPC. repo'd and submitted. + +*mono-0.12 (28 Jul 2002) + + 28 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.12.ebuild, ChangeLog: + Added pkgconfig as a dependency, closing bug #5665. Thanks to Nathan + Sharfi <nisharfi@csupomona.edu> for pointing this out. + + 24 Jul 2002: Brandon Low <lostlogic@gentoo.org> mono-0.12.ebuild, ChangeLog: + Doesn't like parallel make, and .keep a dir that it might need (othewise why did + it create it?) + + 23 Jul 2002; Phil Bordelon <sunflare@gentoo.org> ChangeLog: Unmasking the ebuild. + PLEASE NOTE that the build has been known to bomb on at least one machine, although + it worked on all of the rest of them that we tested it on. This is very much + work-in-progress software, so please take that into account before you start to + post bugs. + + 23 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.12.ebuild: dodoc should + grab 'ChangeLog,' not 'Changelog.' Fixed. + + 23 Jul 2002; Phil Bordelon <sunflare@gentoo.org> mono-0.12.ebuild, ChangeLog: + Original release. The ebuild was submitted by Luis Mayoral <satriani@okulto.net>. + Lintool'd and repoman'd by me. diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest new file mode 100644 index 000000000000..eb9cd43de6d7 --- /dev/null +++ b/dev-lang/mono/Manifest @@ -0,0 +1,28 @@ +MD5 32e3811df462320ca1e2a9471d9d1762 mono-1.0.2.ebuild 1724 +MD5 15347c4ddac88480462c9f63a21e8b06 mono-1.0.5-r3.ebuild 4199 +MD5 2806bbfbbf7318fe22326bc97b695a17 mono-1.0.4.ebuild 1511 +MD5 0084ddd574a5adaad6a27948d8804986 mono-1.0.4-r1.ebuild 2114 +MD5 b46db46b0f2592a07868e9400ae44c56 mono-0.28.ebuild 2109 +MD5 08b8e01748271e54a76ee4a928f4b57e mono-1.0.5-r5.ebuild 3937 +MD5 ee415b7d491fbdf8c2bc2fdca73ec845 mono-1.0.6.ebuild 3910 +MD5 9da72ff8fee33cce2efd114e393cb170 mono-1.1.4.ebuild 1846 +MD5 9576181cecca6c094488e2b121ff4af9 mono-1.0.5-r2.ebuild 3602 +MD5 c8eb4919490e8a2d596a532423c3cd0b mono-1.0.2-r1.ebuild 2114 +MD5 192d33789fedf6f63ad59952446ffe77 mono-1.0.5-r4.ebuild 3827 +MD5 f3efdadbda07ecd2daa660516a08fe0f ChangeLog 13206 +MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159 +MD5 9f4b4eb6a1555ed574dbdd359cae3070 files/dotnet.conf 573 +MD5 f33c78b627cbbc1db2ab5f6cc5299e70 files/dotnet.init 1034 +MD5 c56c6d79308a09f11e1a64e84c4bfd13 files/digest-mono-1.0.2 64 +MD5 2cef534891ce7b0c980d5615ae1397af files/digest-mono-1.0.4 64 +MD5 c6035d1153d210b3f27ab455ed98b791 files/digest-mono-1.0.6 127 +MD5 7266922629dc78088ee3d230acbf895e files/digest-mono-1.1.4 64 +MD5 c56c6d79308a09f11e1a64e84c4bfd13 files/digest-mono-1.0.2-r1 64 +MD5 2cef534891ce7b0c980d5615ae1397af files/digest-mono-1.0.4-r1 64 +MD5 9e2e1b58a310e4236f757e683b71c879 files/digest-mono-1.0.5-r2 127 +MD5 9e2e1b58a310e4236f757e683b71c879 files/digest-mono-1.0.5-r3 127 +MD5 9e2e1b58a310e4236f757e683b71c879 files/digest-mono-1.0.5-r4 127 +MD5 9e2e1b58a310e4236f757e683b71c879 files/digest-mono-1.0.5-r5 127 +MD5 48284ee0228c56980a839fb245258db7 files/mcs-1.0.5-pathfix.diff 628 +MD5 43da8709d0752a2ef9f9dfb050a05d9f files/digest-mono-0.28 123 +MD5 3c800bd50d6527c12be393369c234f0e files/mono-1.0-segv.diff 378 diff --git a/dev-lang/mono/files/digest-mono-0.28 b/dev-lang/mono/files/digest-mono-0.28 new file mode 100644 index 000000000000..fa4a14d66b61 --- /dev/null +++ b/dev-lang/mono/files/digest-mono-0.28 @@ -0,0 +1,2 @@ +MD5 108f89a08c1f1dd772b8d48ea5dcaf24 mono-0.28.tar.gz 9323050 +MD5 a437c53d588e9d7b16309d52f08fa253 mcs-0.28.tar.gz 6268271 diff --git a/dev-lang/mono/files/digest-mono-1.0.2 b/dev-lang/mono/files/digest-mono-1.0.2 new file mode 100644 index 000000000000..ec39eec05cc3 --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.2 @@ -0,0 +1 @@ +MD5 4490424a30ce40d1d7534cc681f6c14c mono-1.0.2.tar.gz 18268654 diff --git a/dev-lang/mono/files/digest-mono-1.0.2-r1 b/dev-lang/mono/files/digest-mono-1.0.2-r1 new file mode 100644 index 000000000000..ec39eec05cc3 --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.2-r1 @@ -0,0 +1 @@ +MD5 4490424a30ce40d1d7534cc681f6c14c mono-1.0.2.tar.gz 18268654 diff --git a/dev-lang/mono/files/digest-mono-1.0.4 b/dev-lang/mono/files/digest-mono-1.0.4 new file mode 100644 index 000000000000..d1d747b3417a --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.4 @@ -0,0 +1 @@ +MD5 272d26525bfa121ee19713051d5b3a01 mono-1.0.4.tar.gz 18452996 diff --git a/dev-lang/mono/files/digest-mono-1.0.4-r1 b/dev-lang/mono/files/digest-mono-1.0.4-r1 new file mode 100644 index 000000000000..d1d747b3417a --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.4-r1 @@ -0,0 +1 @@ +MD5 272d26525bfa121ee19713051d5b3a01 mono-1.0.4.tar.gz 18452996 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r2 b/dev-lang/mono/files/digest-mono-1.0.5-r2 new file mode 100644 index 000000000000..7d194132b39f --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.5-r2 @@ -0,0 +1,2 @@ +MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 +MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r3 b/dev-lang/mono/files/digest-mono-1.0.5-r3 new file mode 100644 index 000000000000..7d194132b39f --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.5-r3 @@ -0,0 +1,2 @@ +MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 +MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r4 b/dev-lang/mono/files/digest-mono-1.0.5-r4 new file mode 100644 index 000000000000..7d194132b39f --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.5-r4 @@ -0,0 +1,2 @@ +MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 +MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r5 b/dev-lang/mono/files/digest-mono-1.0.5-r5 new file mode 100644 index 000000000000..7d194132b39f --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.5-r5 @@ -0,0 +1,2 @@ +MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 +MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/digest-mono-1.0.6 b/dev-lang/mono/files/digest-mono-1.0.6 new file mode 100644 index 000000000000..58c23e350ff3 --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.0.6 @@ -0,0 +1,2 @@ +MD5 61700d5e113a1c9c99511971141b6901 mono-1.0.6.tar.gz 18486989 +MD5 465cf1256ae0ae7aac8c70a85991ddeb mcs-1.0.6.tar.gz 22322108 diff --git a/dev-lang/mono/files/digest-mono-1.1.4 b/dev-lang/mono/files/digest-mono-1.1.4 new file mode 100644 index 000000000000..b2912d71ce59 --- /dev/null +++ b/dev-lang/mono/files/digest-mono-1.1.4 @@ -0,0 +1 @@ +MD5 66755e5f201e912cecdd19807ba62487 mono-1.1.4.tar.gz 13085573 diff --git a/dev-lang/mono/files/dotnet.conf b/dev-lang/mono/files/dotnet.conf new file mode 100644 index 000000000000..8ffa18ebc2ed --- /dev/null +++ b/dev-lang/mono/files/dotnet.conf @@ -0,0 +1,15 @@ +# Copyright 1999-2003 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/files/dotnet.conf,v 1.3 2005/03/11 03:14:01 latexer Exp $ + +# configuration file for dotnet + +# Define what to register with .NET IL binaries so you can avoid +# running them with "<runtime> program.exe" +# NOTE: In order to get this working you need to "chmod +x" your program + +# Valid options are: +# "mono" - use the mono runtime engine 'mono' +# "ilrun" - use the DotGNU Portable .NET runtime engine 'ilrun' + +CLR="" diff --git a/dev-lang/mono/files/dotnet.init b/dev-lang/mono/files/dotnet.init new file mode 100644 index 000000000000..172f049f78c3 --- /dev/null +++ b/dev-lang/mono/files/dotnet.init @@ -0,0 +1,44 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/files/dotnet.init,v 1.3 2005/03/11 03:14:01 latexer Exp $ + +start() { + ebegin "Registering .NET IL binaries with ${CLR}" + + if [ ! -d /proc/sys/fs/binfmt_misc ]; then + eerror "You need support for \"misc binaries\" in your kernel!" + exit 1 + fi + + mount | grep -q binfmt_misc + if [ $? != 0 ]; then + mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc + if [ $? != 0 ]; then + eend 1 + exit 1 + fi + fi + + case "${CLR}" in + + mono ) echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register + eend 0 + ;; + ilrun ) echo ':CLR:M::MZ::/usr/bin/ilrun:' > /proc/sys/fs/binfmt_misc/register + eend 0 + ;; + * ) eerror 'Please enter a valid option in /etc/conf.d/dotnet' + eend 1 + ;; + esac +} + +stop() { + ebegin "Unregistering .NET IL binaries" + + if [ -f /proc/sys/fs/binfmt_misc/CLR ]; then + echo '-1' > /proc/sys/fs/binfmt_misc/CLR + fi + eend $? +} diff --git a/dev-lang/mono/files/mcs-1.0.5-pathfix.diff b/dev-lang/mono/files/mcs-1.0.5-pathfix.diff new file mode 100644 index 000000000000..fdfd271ebbc8 --- /dev/null +++ b/dev-lang/mono/files/mcs-1.0.5-pathfix.diff @@ -0,0 +1,12 @@ +diff -aur mcs-1.0.5-orig/class/corlib/System.IO/Path.cs mcs-1.0.5/class/corlib/System.IO/Path.cs +--- mcs-1.0.5-orig/class/corlib/System.IO/Path.cs 2004-12-07 17:29:31.000000000 -0500 ++++ mcs-1.0.5/class/corlib/System.IO/Path.cs 2004-12-15 20:45:25.060090272 -0500 +@@ -386,7 +386,7 @@ + //if (root == path) return path; + + // STEP 3: split the directories, this gets rid of consecutative "/"'s +- string [] dirs = path.Split (DirectorySeparatorChar, AltDirectorySeparatorChar); ++ string [] dirs = path.Split (DirectorySeparatorChar); + // STEP 4: Get rid of directories containing . and .. + int target = 0; + diff --git a/dev-lang/mono/files/mono-1.0-segv.diff b/dev-lang/mono/files/mono-1.0-segv.diff new file mode 100644 index 000000000000..858a75f60cbf --- /dev/null +++ b/dev-lang/mono/files/mono-1.0-segv.diff @@ -0,0 +1,11 @@ +--- mono-0.97/mono/interpreter/interp.c.orig 2004-06-26 17:55:52.739575943 +0200 ++++ mono-0.97/mono/interpreter/interp.c 2004-06-26 17:54:44.489967101 +0200 +@@ -1164,7 +1164,7 @@ + } + } + +- if (method->klass->valuetype) ++ if (method->klass->valuetype && obj) + /* Unbox the instance, since valuetype methods expect an interior pointer. */ + obj = mono_object_unbox (obj); + diff --git a/dev-lang/mono/metadata.xml b/dev-lang/mono/metadata.xml new file mode 100644 index 000000000000..e85974a7fa17 --- /dev/null +++ b/dev-lang/mono/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>dotnet</herd> +</pkgmetadata> diff --git a/dev-lang/mono/mono-0.28.ebuild b/dev-lang/mono/mono-0.28.ebuild new file mode 100644 index 000000000000..0f25fd45a318 --- /dev/null +++ b/dev-lang/mono/mono-0.28.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-0.28.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit mono + +MCS_P="mcs-${PV}" +MCS_S=${WORKDIR}/${MCS_P} + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${P}.tar.gz + http://www.go-mono.com/archive/${MCS_P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="x86 -ppc" +IUSE="" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + !<dev-dotnet/pnet-0.6.12" +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2 + dev-libs/libxslt" + +src_unpack() { + unpack ${A} + + # add our own little in-place mcs script + echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs + chmod +x ${S}/runtime/mcs +} + +src_compile() { + econf || die + emake -j1 || die "MONO compilation failure" + + ln -s ../runtime ${WORKDIR}/${P}/runtime/lib + cd ${MCS_S} + echo "prefix=${S}/runtime" > build/config.make + echo "MONO_PATH=${S}/runtime" >> build/config.make + echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make + echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make + echo "export MONO_PATH" >> build/config.make + make || die "MCS compilation failure" + echo "prefix=/usr" >> build/config.make +} + +src_install() { + einstall || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + + # now install our own compiled dlls + cd ${MCS_S} + einstall || die + + # install mono's logo + insopts -m0644 + insinto /usr/share/pixmaps/mono + doins MonoIcon.png ScalableMonoIcon.svg + + docinto mcs + dodoc AUTHORS README* ChangeLog INSTALL.txt + docinto mcs/docs + dodoc docs/*.txt + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.2-r1.ebuild b/dev-lang/mono/mono-1.0.2-r1.ebuild new file mode 100644 index 000000000000..26b1244d2c17 --- /dev/null +++ b/dev-lang/mono/mono-1.0.2-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.2-r1.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug gcc + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nptl" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + nptl? ( >=sys-devel/gcc-3.4 ) + ppc? ( + >=sys-devel/gcc-3.2.3-r4 + >=sys-libs/glibc-2.3.3_pre20040420 + )" + +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_compile() { + strip-flags + + local myconf="" + if use nptl && have_NPTL + then + # NPTL support only works with gcc-3.4 and higher currently. ): + if [ `gcc-minor-version` -lt 4 ] + then + echo + eerror "NPTL enabled mono requires gcc-3.4 or higher to function." + eerror "Please use gcc-config to select gcc-3.4 for the mono installation." + die "gcc version not high enough for NPTL support." + else + myconf="${myconf} --with-tls=__thread" + sed -i "s: -fexceptions::" ${S}/libgc/configure.host + fi + else + if have_NPTL + then + ewarn "NPTL glibc detected, but nptl USE flag is not set." + ewarn "This may cause some problems for mono as it will be" + ewarn "compiled with normal pthread support." + fi + + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} || die + emake -j1 || die "MONO compilation failure" +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.2.ebuild b/dev-lang/mono/mono-1.0.2.ebuild new file mode 100644 index 000000000000..90c23041f537 --- /dev/null +++ b/dev-lang/mono/mono-1.0.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.2.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + ppc? ( >=sys-devel/gcc-3.2.3-r4 ) + ppc? ( >=sys-libs/glibc-2.3.3_pre20040420 )" +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_compile() { + strip-flags + + if have_NPTL + then + eerror "mono currently has bug in garbage collection when" + eerror "using a NPTL enabled glibc. Please see bug #54603" + eerror "on bugs.gentoo.org for details. You can use the" + eerror "package.masked mono-1.0.2-r1 release if you need NPTL" + eerror "but you have been warned of the problems." + die "NPTL glibc not support by this release" + fi + + econf --with-tls=pthread || die + emake -j1 || die "MONO compilation failure" +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.4-r1.ebuild b/dev-lang/mono/mono-1.0.4-r1.ebuild new file mode 100644 index 000000000000..defe71248a84 --- /dev/null +++ b/dev-lang/mono/mono-1.0.4-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.4-r1.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug gcc + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nptl" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + nptl? ( >=sys-devel/gcc-3.4 ) + ppc? ( + >=sys-devel/gcc-3.2.3-r4 + >=sys-libs/glibc-2.3.3_pre20040420 + )" + +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_compile() { + strip-flags + + local myconf="" + if use nptl && have_NPTL + then + # NPTL support only works with gcc-3.4 and higher currently. ): + if [ `gcc-minor-version` -lt 4 ] + then + echo + eerror "NPTL enabled mono requires gcc-3.4 or higher to function." + eerror "Please use gcc-config to select gcc-3.4 for the mono installation." + die "gcc version not high enough for NPTL support." + else + myconf="${myconf} --with-tls=__thread" + sed -i "s: -fexceptions::" ${S}/libgc/configure.host + fi + else + if have_NPTL + then + ewarn "NPTL glibc detected, but nptl USE flag is not set." + ewarn "This may cause some problems for mono as it will be" + ewarn "compiled with normal pthread support." + fi + + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} || die + emake -j1 || die "MONO compilation failure" +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.4.ebuild b/dev-lang/mono/mono-1.0.4.ebuild new file mode 100644 index 000000000000..1cd38d432009 --- /dev/null +++ b/dev-lang/mono/mono-1.0.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.4.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + ppc? ( + >=sys-devel/gcc-3.2.3-r4 + >=sys-libs/glibc-2.3.3_pre20040420 + )" +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_compile() { + strip-flags + + if have_NPTL + then + eerror "To use mono with an NPTL enabled glibc, please emerge" + eerror "mono-${PV}-r1." + die "NPTL glibc not support by this release" + fi + + econf --with-tls=pthread || die + emake -j1 || die "MONO compilation failure" +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.5-r2.ebuild b/dev-lang/mono/mono-1.0.5-r2.ebuild new file mode 100644 index 000000000000..6165379d2f78 --- /dev/null +++ b/dev-lang/mono/mono-1.0.5-r2.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.5-r2.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug + +MCS_P=${P/mono/mcs} +MCS_S=${WORKDIR}/${MCS_P} + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz + http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + ppc? ( + >=sys-devel/gcc-3.2.3-r4 + >=sys-libs/glibc-2.3.3_pre20040420 + )" +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + + epatch ${FILESDIR}/${MCS_P}-pathfix.diff + + # Disable installing the precompiled mcs/classlibs + sed -i "s: runtime : :" ${S}/Makefile.in + # Fix the path for the jay man page + sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile + + # Ugly sed to replace windows path with *nix equivalent + for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) + do + sed -i "s:\.\.\\\\\\\\:../:g" "${file}" + done + + # Fix MONO_CFG_DIR for signing + sed -i \ + "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ + ${MCS_S}/build/library.make + + # add our own little in-place mcs script + echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs + chmod +x ${S}/runtime/mcs + + echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen + chmod +x ${S}/runtime/monoresgen + + PATH="${S}/runtime:${PATH}" + MONO_CFG_DIR='${D}/etc/' + export PATH + export MONO_CFG_DIR +} + +src_compile() { + strip-flags + + if have_NPTL + then + eerror "To use mono with an NPTL enabled glibc, please emerge" + eerror "mono-${PV}-r3." + die "NPTL glibc not support by this release" + fi + + econf --with-tls=pthread --with-sigaltstack=yes || die + emake -j1 || die "mono runtime compilation failure" + + cd ${S} + ln -s ../runtime ${WORKDIR}/${P}/runtime/lib + + # Now that we have a valid config for lib mappings, put them + # in our temporary config directory. + + dodir /etc/mono + cp ${S}/data/{config,machine.config} ${D}/etc/mono/ + + cd ${MCS_S} + echo "prefix=${S}/runtime" > build/config.make + echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make + echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make + echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make + echo "PATH=${S}/runtime:${PATH}" >> build/config.make + echo "export PATH" >> build/config.make + echo "export MONO_PATH" >> build/config.make + emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" + echo "prefix=/usr" >> build/config.make +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + cd ${MCS_S} + make PLATFORM=linux DESTDIR=${D} install || die + + docinto mcs + dodoc AUTHORS README* ChangeLog INSTALL.txt + docinto mcs/docs + dodoc docs/*.txt + + # Remove some extraneous tools + cd ${D}/usr/bin + rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe + rm nunit-console.exe + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.5-r3.ebuild b/dev-lang/mono/mono-1.0.5-r3.ebuild new file mode 100644 index 000000000000..27a39926f7fe --- /dev/null +++ b/dev-lang/mono/mono-1.0.5-r3.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.5-r3.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug gcc + +MCS_P=${P/mono/mcs} +MCS_S=${WORKDIR}/${MCS_P} + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz + http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="nptl" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + nptl? ( >=sys-devel/gcc-3.4 ) + ppc? ( + >=sys-devel/gcc-3.2.3-r4 + >=sys-libs/glibc-2.3.3_pre20040420 + )" + +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + + epatch ${FILESDIR}/${MCS_P}-pathfix.diff + + # Disable installing the precompiled mcs/classlibs + sed -i "s: runtime : :" ${S}/Makefile.in + # Fix the path for the jay man page + sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile + + # Ugly sed to replace windows path with *nix equivalent + for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) + do + sed -i "s:\.\.\\\\\\\\:../:g" "${file}" + done + + # Fix MONO_CFG_DIR for signing + sed -i \ + "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ + ${MCS_S}/build/library.make + + # add our own little in-place mcs script + echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs + chmod +x ${S}/runtime/mcs + + echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen + chmod +x ${S}/runtime/monoresgen + + PATH="${S}/runtime:${PATH}" + MONO_CFG_DIR='${D}/etc/' + export PATH + export MONO_CFG_DIR +} + +src_compile() { + strip-flags + + local myconf="--with-sigaltstack=yes" + if use nptl && have_NPTL + then + # NPTL support only works with gcc-3.4 and higher currently. ): + if [ `gcc-minor-version` -lt 4 ] + then + echo + eerror "NPTL enabled mono requires gcc-3.4 or higher to function." + eerror "Please use gcc-config to select gcc-3.4 for the mono installation." + die "gcc version not high enough for NPTL support." + else + myconf="${myconf} --with-tls=__thread" + sed -i "s: -fexceptions::" ${S}/libgc/configure.host + fi + else + if have_NPTL + then + ewarn "NPTL glibc detected, but nptl USE flag is not set." + ewarn "This may cause some problems for mono as it will be" + ewarn "compiled with normal pthread support." + fi + + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} || die + emake -j1 || die "mono runtime compilation failure" + + cd ${S} + ln -s ../runtime ${WORKDIR}/${P}/runtime/lib + + # Now that we have a valid config for lib mappings, put them + # in our temporary config directory. + + dodir /etc/mono + cp ${S}/data/{config,machine.config} ${D}/etc/mono/ + + cd ${MCS_S} + echo "prefix=${S}/runtime" > build/config.make + echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make + echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make + echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make + echo "PATH=${S}/runtime:${PATH}" >> build/config.make + echo "export PATH" >> build/config.make + echo "export MONO_PATH" >> build/config.make + emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" + echo "prefix=/usr" >> build/config.make +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + cd ${MCS_S} + make PLATFORM=linux DESTDIR=${D} install || die + + docinto mcs + dodoc AUTHORS README* ChangeLog INSTALL.txt + docinto mcs/docs + dodoc docs/*.txt + + # Remove some extraneous tools + cd ${D}/usr/bin + rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe + rm nunit-console.exe + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.5-r4.ebuild b/dev-lang/mono/mono-1.0.5-r4.ebuild new file mode 100644 index 000000000000..38051cf7d8b6 --- /dev/null +++ b/dev-lang/mono/mono-1.0.5-r4.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.5-r4.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug + +MCS_P=${P/mono/mcs} +MCS_S=${WORKDIR}/${MCS_P} + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz + http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="nptl" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + >=sys-devel/gcc-3.3.5 + ppc? ( + >=sys-libs/glibc-2.3.3_pre20040420 + )" + +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + + epatch ${FILESDIR}/${MCS_P}-pathfix.diff + + # Disable installing the precompiled mcs/classlibs + sed -i "s: runtime : :" ${S}/Makefile.in + # Fix the path for the jay man page + sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile + + # Ugly sed to replace windows path with *nix equivalent + for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) + do + sed -i "s:\.\.\\\\\\\\:../:g" "${file}" + done + + # Fix MONO_CFG_DIR for signing + sed -i \ + "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ + ${MCS_S}/build/library.make + + # add our own little in-place mcs script + echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs + chmod +x ${S}/runtime/mcs + + echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen + chmod +x ${S}/runtime/monoresgen + + PATH="${S}/runtime:${PATH}" + MONO_CFG_DIR='${D}/etc/' + export PATH + export MONO_CFG_DIR +} + +src_compile() { + strip-flags + + local myconf="--with-sigaltstack=yes" + if use nptl && have_NPTL + then + myconf="${myconf} --with-tls=__thread" + sed -i "s: -fexceptions::" ${S}/libgc/configure.host + else + if have_NPTL + then + ewarn "NPTL glibc detected, but nptl USE flag is not set." + ewarn "This may cause some problems for mono as it will be" + ewarn "compiled with normal pthread support." + fi + + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} || die + emake -j1 || die "mono runtime compilation failure" + + cd ${S} + ln -s ../runtime ${WORKDIR}/${P}/runtime/lib + + # Now that we have a valid config for lib mappings, put them + # in our temporary config directory. + + dodir /etc/mono + cp ${S}/data/{config,machine.config} ${D}/etc/mono/ + + cd ${MCS_S} + echo "prefix=${S}/runtime" > build/config.make + echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make + echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make + echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make + echo "PATH=${S}/runtime:${PATH}" >> build/config.make + echo "export PATH" >> build/config.make + echo "export MONO_PATH" >> build/config.make + emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" + echo "prefix=/usr" >> build/config.make +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + cd ${MCS_S} + make PLATFORM=linux DESTDIR=${D} install || die + + docinto mcs + dodoc AUTHORS README* ChangeLog INSTALL.txt + docinto mcs/docs + dodoc docs/*.txt + + # Remove some extraneous tools + cd ${D}/usr/bin + rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe + rm nunit-console.exe + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.5-r5.ebuild b/dev-lang/mono/mono-1.0.5-r5.ebuild new file mode 100644 index 000000000000..c5d76bfd01bf --- /dev/null +++ b/dev-lang/mono/mono-1.0.5-r5.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.5-r5.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug + +MCS_P=${P/mono/mcs} +MCS_S=${WORKDIR}/${MCS_P} + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz + http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="nptl" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + >=sys-devel/gcc-3.3.5 + ppc? ( + >=sys-libs/glibc-2.3.3_pre20040420 + )" + +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + + epatch ${FILESDIR}/${MCS_P}-pathfix.diff + + # Disable installing the precompiled mcs/classlibs + sed -i "s: runtime : :" ${S}/Makefile.in + # Fix the path for the jay man page + sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile + + # Ugly sed to replace windows path with *nix equivalent + for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) + do + sed -i "s:\.\.\\\\\\\\:../:g" "${file}" + done + + # Fix MONO_CFG_DIR for signing + sed -i \ + "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ + ${MCS_S}/build/library.make + + # add our own little in-place mcs script + echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs + chmod +x ${S}/runtime/mcs + + echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen + chmod +x ${S}/runtime/monoresgen + + PATH="${S}/runtime:${PATH}" + MONO_CFG_DIR='${D}/etc/' + export PATH + export MONO_CFG_DIR +} + +src_compile() { + strip-flags + + local myconf="--with-sigaltstack=yes" + if use nptl && have_NPTL + then + myconf="${myconf} --with-tls=__thread" + sed -i "s: -fexceptions::" ${S}/libgc/configure.host + else + if have_NPTL + then + ewarn "NPTL glibc detected, but nptl USE flag is not set." + ewarn "This may cause some problems for mono as it will be" + ewarn "compiled with normal pthread support." + fi + + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} || die + emake -j1 || die "mono runtime compilation failure" + + cd ${S} + ln -s ../runtime ${WORKDIR}/${P}/runtime/lib + + # Now that we have a valid config for lib mappings, put them + # in our temporary config directory. + + dodir /etc/mono + cp ${S}/data/{config,machine.config} ${D}/etc/mono/ + + cd ${MCS_S} + echo "prefix=${S}/runtime" > build/config.make + echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make + echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make + echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make + echo "PATH=${S}/runtime:${PATH}" >> build/config.make + echo "export PATH" >> build/config.make + echo "export MONO_PATH" >> build/config.make + emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" + echo "prefix=/usr" >> build/config.make +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + cd ${MCS_S} + make PLATFORM=linux DESTDIR=${D} install || die + + docinto mcs + dodoc AUTHORS README* ChangeLog INSTALL.txt + docinto mcs/docs + dodoc docs/*.txt + + # Remove some extraneous tools + cd ${D}/usr/bin + rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe + rm nunit-console.exe + # Don't install the gmcs wrapper script, as we don't install the 2.0 + # profile stuff on mono-1.0.x + rm gmcs + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.0.6.ebuild b/dev-lang/mono/mono-1.0.6.ebuild new file mode 100644 index 000000000000..d7e95e8ea1d6 --- /dev/null +++ b/dev-lang/mono/mono-1.0.6.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.6.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic debug + +MCS_P=${P/mono/mcs} +MCS_S=${WORKDIR}/${MCS_P} + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz + http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="nptl" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + >=dev-libs/icu-2.6.1 + !<dev-dotnet/pnet-0.6.12 + >=sys-devel/gcc-3.3.5 + ppc? ( + >=sys-libs/glibc-2.3.3_pre20040420 + )" + +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + + cd ${MCS_S} + epatch ${FILESDIR}/mcs-1.0.5-pathfix.diff + + # Disable installing the precompiled mcs/classlibs + sed -i "s: runtime : :" ${S}/Makefile.in + # Fix the path for the jay man page + sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile + + # Ugly sed to replace windows path with *nix equivalent + for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) + do + sed -i "s:\.\.\\\\\\\\:../:g" "${file}" + done + + # Fix MONO_CFG_DIR for signing + sed -i \ + "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ + ${MCS_S}/build/library.make + + # add our own little in-place mcs script + echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs + chmod +x ${S}/runtime/mcs + + echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen + chmod +x ${S}/runtime/monoresgen + + PATH="${S}/runtime:${PATH}" + MONO_CFG_DIR='${D}/etc/' + export PATH + export MONO_CFG_DIR +} + +src_compile() { + strip-flags + + local myconf="--with-sigaltstack=yes" + if use nptl && have_NPTL + then + myconf="${myconf} --with-tls=__thread" + sed -i "s: -fexceptions::" ${S}/libgc/configure.host + else + if have_NPTL + then + ewarn "NPTL glibc detected, but nptl USE flag is not set." + ewarn "This may cause some problems for mono as it will be" + ewarn "compiled with normal pthread support." + fi + + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} || die + emake -j1 || die "mono runtime compilation failure" + + cd ${S} + ln -s ../runtime ${WORKDIR}/${P}/runtime/lib + + # Now that we have a valid config for lib mappings, put them + # in our temporary config directory. + + dodir /etc/mono + cp ${S}/data/{config,machine.config} ${D}/etc/mono/ + + cd ${MCS_S} + echo "prefix=${S}/runtime" > build/config.make + echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make + echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make + echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make + echo "PATH=${S}/runtime:${PATH}" >> build/config.make + echo "export PATH" >> build/config.make + echo "export MONO_PATH" >> build/config.make + emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" + echo "prefix=/usr" >> build/config.make +} + +src_install() { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog + + cd ${MCS_S} + make PLATFORM=linux DESTDIR=${D} install || die + + docinto mcs + dodoc AUTHORS README* ChangeLog INSTALL.txt + docinto mcs/docs + dodoc docs/*.txt + + # Remove some extraneous tools + cd ${D}/usr/bin + rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe + rm nunit-console.exe + # Remove gmcs script, as we don't install gmcs for mono-1.0.x + rm gmcs + + # init script + exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet + insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet +} + +pkg_postinst() { + echo + einfo "If you want to avoid typing '<runtime> program.exe'" + einfo "you can configure your runtime in /etc/conf.d/dotnet" + einfo "Use /etc/init.d/dotnet to register your runtime" + echo +} diff --git a/dev-lang/mono/mono-1.1.4.ebuild b/dev-lang/mono/mono-1.1.4.ebuild new file mode 100644 index 000000000000..ffed1f2327d7 --- /dev/null +++ b/dev-lang/mono/mono-1.1.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.1.4.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ + +inherit eutils mono flag-o-matic + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com/" +SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" + +LICENSE="|| ( GPL-2 LGPL-2 X11)" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nptl icu" + +DEPEND="virtual/libc + >=dev-libs/glib-2.0 + !<dev-dotnet/pnet-0.6.12 + nptl? ( >=sys-devel/gcc-3.3.5-r1 ) + icu? ( >=dev-libs/icu-2.6.2 ) + ppc? ( + >=sys-devel/gcc-3.2.3-r4 + >=sys-libs/glibc-2.3.3_pre20040420 + )" +RDEPEND="${DEPEND} + dev-util/pkgconfig + dev-libs/libxml2" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i "s: -fexceptions::" ${S}/libgc/configure.host +} + +src_compile() { + strip-flags + + local myconf="--with-sigaltstack=yes --with-preview=yes" + # This will be the setup when this hopefully goes into the tree + #local myconf="--with-sigaltstack=yes" + if use nptl && have_NPTL + then + myconf="${myconf} --with-tls=__thread" + else + myconf="${myconf} --with-tls=pthread" + fi + + econf ${myconf} $(use_with icu) || die + emake -j1 || die "MONO compilation failure" +} + + +src_install() { + make DESTDIR=${D} install || die + + # Fix incorrect path to makecert EXE file + sed -i "s:makecert.exe:MakeCert.exe:" ${D}/usr/bin/makecert || die + + # monoresgen script is broken. It should be symlink to /usr/bin/resgen + rm ${D}/usr/bin/monoresgen || die + dosym /usr/bin/resgen /usr/bin/monoresgen + + # prj2make sources missing from mono-1.1.4 tarball, so we remove the wrapper + # script + rm ${D}/usr/bin/prj2make ${D}/usr/share/man/man1/prj2make.1 + + dodoc AUTHORS ChangeLog NEWS README + docinto docs + dodoc docs/* + docinto libgc + dodoc libgc/ChangeLog +} |