# ChangeLog for dev-lang/mono
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.104 2007/01/14 03:00:50 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.105 2007/02/10 23:52:54 compnerd Exp $
+
+ 10 Feb 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ -files/mono-1.1.13.8-dynamic-assembly-get-types.diff,
+ -files/mono-1.1.13-resource-manager.diff,
+ -files/mono-1.1.18-mcs-crasher-fix.diff,
+ -files/mono-1.2.1-zombie-processes.diff, -files/dotnet.conf,
+ -files/dotnet.init, -mono-1.1.13.8.1.ebuild, -mono-1.1.18.ebuild,
+ -mono-1.1.18-r1.ebuild, -mono-1.2.ebuild, -mono-1.2.1.ebuild:
+ Long overdue cleaning of mono ebuilds. 1.1.16.1 left for visual basic
14 Jan 2007; Olivier CrĂȘte <tester@gentoo.org> mono-1.2.2.1.ebuild:
Stable on amd64 per bug #159886
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX dotnet.conf 570 RMD160 ba6616d6ce12c29ca83139c2de1282c9d4b4daef SHA1 c31dbfdee348fb5e943ac86cb1e60a93a0c3a2e9 SHA256 60ddac408b87b4529e2c3bb9b342d99446da06a459595cc610e335140f29c860
-MD5 e8acd8bc997d82f676be5cf2057d3d25 files/dotnet.conf 570
-RMD160 ba6616d6ce12c29ca83139c2de1282c9d4b4daef files/dotnet.conf 570
-SHA256 60ddac408b87b4529e2c3bb9b342d99446da06a459595cc610e335140f29c860 files/dotnet.conf 570
-AUX dotnet.init 1031 RMD160 127139e3e7e69a6a780d3ab4364e1c3ee599c6cc SHA1 a74a253d7537a0cbe636dda5b8bc9df8e375c97e SHA256 d3aa40ba09fcf38531396c377a7876c36f48c65e431e131ba1c972c3d6c2d11e
-MD5 6e11372f48bd32e76012be8aae54e594 files/dotnet.init 1031
-RMD160 127139e3e7e69a6a780d3ab4364e1c3ee599c6cc files/dotnet.init 1031
-SHA256 d3aa40ba09fcf38531396c377a7876c36f48c65e431e131ba1c972c3d6c2d11e files/dotnet.init 1031
AUX mono-1.1.13-pathfix.diff 658 RMD160 855a6fc37cce70874024703061015f96654f0d0a SHA1 5b3d72d452d046f36c8c6921afc397945d86f5e3 SHA256 b185fb90134584a8f4be4f8180ae395ac74b73ff71cba7c76ddebdfd81254376
MD5 880a798d9904ed8a89451251536a94af files/mono-1.1.13-pathfix.diff 658
RMD160 855a6fc37cce70874024703061015f96654f0d0a files/mono-1.1.13-pathfix.diff 658
SHA256 b185fb90134584a8f4be4f8180ae395ac74b73ff71cba7c76ddebdfd81254376 files/mono-1.1.13-pathfix.diff 658
-AUX mono-1.1.13-resource-manager.diff 4330 RMD160 e8f67979b82f686876116483132c34f7d0f57683 SHA1 ba2149bfb8a1df25910023f27e2d211d78a272f1 SHA256 e2f82e0a561eb9db87d1fcc4fafabe1db094f5bcc40fc218fb2b7f45fae96f2a
-MD5 91d036291efadad64dc6af4505397319 files/mono-1.1.13-resource-manager.diff 4330
-RMD160 e8f67979b82f686876116483132c34f7d0f57683 files/mono-1.1.13-resource-manager.diff 4330
-SHA256 e2f82e0a561eb9db87d1fcc4fafabe1db094f5bcc40fc218fb2b7f45fae96f2a files/mono-1.1.13-resource-manager.diff 4330
-AUX mono-1.1.13.8-dynamic-assembly-get-types.diff 879 RMD160 b9f5145db1e976a18fd0e5e9b3626d3f63b37638 SHA1 4433fdd34f907fbab5e7ffa939bc757a4a3ba39e SHA256 b154eb304b73a2588d2669a0ff819d6391e9b12098454cdf72c0ab9002865340
-MD5 7511373a118b88b5ea102f7b3ff73f9e files/mono-1.1.13.8-dynamic-assembly-get-types.diff 879
-RMD160 b9f5145db1e976a18fd0e5e9b3626d3f63b37638 files/mono-1.1.13.8-dynamic-assembly-get-types.diff 879
-SHA256 b154eb304b73a2588d2669a0ff819d6391e9b12098454cdf72c0ab9002865340 files/mono-1.1.13.8-dynamic-assembly-get-types.diff 879
-AUX mono-1.1.18-mcs-crasher-fix.diff 437 RMD160 08cd21ee2aaf40d1fc608a48eaa07fc72a486034 SHA1 cc65b495db168b41582f8069c132066fd706174b SHA256 71b06b9f00ad66a87872cd90f3c3d578e11a2152215883a40c73c44879cf7c80
-MD5 48a38cb735bc6e9a4735dc9c2952625b files/mono-1.1.18-mcs-crasher-fix.diff 437
-RMD160 08cd21ee2aaf40d1fc608a48eaa07fc72a486034 files/mono-1.1.18-mcs-crasher-fix.diff 437
-SHA256 71b06b9f00ad66a87872cd90f3c3d578e11a2152215883a40c73c44879cf7c80 files/mono-1.1.18-mcs-crasher-fix.diff 437
-AUX mono-1.2.1-zombie-processes.diff 6382 RMD160 9e497bdc3ba8f63a34bfd9921b390b0e94aca018 SHA1 f623bbfe9fdb01e01be30eaf70e53f402068e51b SHA256 df5879f4f98b7631b3bb8395657883609bf35761dc0444d4a28b98eb1386b901
-MD5 2827d95f880924b8f51f70ee8998cd89 files/mono-1.2.1-zombie-processes.diff 6382
-RMD160 9e497bdc3ba8f63a34bfd9921b390b0e94aca018 files/mono-1.2.1-zombie-processes.diff 6382
-SHA256 df5879f4f98b7631b3bb8395657883609bf35761dc0444d4a28b98eb1386b901 files/mono-1.2.1-zombie-processes.diff 6382
-DIST mono-1.1.13.8.1.tar.gz 17758715 RMD160 a100a96b19300b253c12a2ad70caf65721418209 SHA1 f2cb79844073694859b1fb92eb770e3705239a3d SHA256 841cd62de1f61fefd17190dcc744e03f49c495039cc2088627ede9d9d825e21a
DIST mono-1.1.16.1.tar.gz 19115095 RMD160 3ccf59d5e8f3e7ce74bccd495d7a8413a0fdce9c SHA1 fd68988e2d6002f4b631edfb8dee372bc9d979b3 SHA256 6404bd0b34c642bb159328486949424d7d51f444cfbed5c83ee5f4ee3ad34b0f
-DIST mono-1.1.18.tar.gz 19457001 RMD160 60134edff923ca2a39cb82f75f5dcc7468edb601 SHA1 9791658fe6f5e4c6fd001a2f7fe4d46e80b549e2 SHA256 8b5a62cb91b92a9b77c62595f7f081971efac66fdfebaf1de7cd5c15b425c36b
-DIST mono-1.2.1.tar.gz 19861863 RMD160 1f363ab99cbfcb6ded9dc5b2a82cd0c2f61276be SHA1 70056379eee61c2b4691af772efb5111dd0a63c3 SHA256 7d37908a6841209d44380602426e5e751b987e6f32c08dd6d15bc806298358de
DIST mono-1.2.2.1.tar.gz 19979026 RMD160 d55d5627bb3fe4b8c4e4640aecca32713cba3e7f SHA1 d956f293d297d4ee550c6877b6b468259dac126f SHA256 d68f597c303678c3f325f552a0e2780b613dbf34d093c2269c002127be4953e5
-DIST mono-1.2.tar.gz 19606768 RMD160 5143aee08d5289852166cdac1d81c6be63a1595d SHA1 e19af80b014590d9bf9e5986b9920779c3086595 SHA256 41e1dfe6e2acfd22375f949c6f5984eacfb3b75d0b140a1062d1d78a4aabf64f
-EBUILD mono-1.1.13.8.1.ebuild 2664 RMD160 7e1f083b783beb6ecb57e2cb07e477cd89835b34 SHA1 e419b741d0501de08d339aa95f1cb20b1cfa1fce SHA256 aa9ef22440048d16a0b2fd5635774132997c88e227b18bd1d75dd4bd5e90a34f
-MD5 0ed35833d9b3acbfed16adc5baaf56d4 mono-1.1.13.8.1.ebuild 2664
-RMD160 7e1f083b783beb6ecb57e2cb07e477cd89835b34 mono-1.1.13.8.1.ebuild 2664
-SHA256 aa9ef22440048d16a0b2fd5635774132997c88e227b18bd1d75dd4bd5e90a34f mono-1.1.13.8.1.ebuild 2664
EBUILD mono-1.1.16.1.ebuild 2527 RMD160 e5192a579ca50d28a85113910cfa116f33b58adb SHA1 b483a27a553c3f61b6f23e9f3cc72741b5f62d13 SHA256 86a1c26327c04467ce43c01c56c93603b3f737d865c6ae3b20704a3658374557
MD5 1ee93923e5d6c22e96e8c53b49126c7d mono-1.1.16.1.ebuild 2527
RMD160 e5192a579ca50d28a85113910cfa116f33b58adb mono-1.1.16.1.ebuild 2527
SHA256 86a1c26327c04467ce43c01c56c93603b3f737d865c6ae3b20704a3658374557 mono-1.1.16.1.ebuild 2527
-EBUILD mono-1.1.18-r1.ebuild 2842 RMD160 e3229722a3c263f2700fdab0c8a59f5c19e03390 SHA1 4b74c395b2fa2e49eced6b934babfed8588a46c3 SHA256 ae78d763cc6f24e73b06e236a9e789f4ccf156cce0b6272bb6b27d89683daa5c
-MD5 ed7229cd0e063c61b031ca514ed81abb mono-1.1.18-r1.ebuild 2842
-RMD160 e3229722a3c263f2700fdab0c8a59f5c19e03390 mono-1.1.18-r1.ebuild 2842
-SHA256 ae78d763cc6f24e73b06e236a9e789f4ccf156cce0b6272bb6b27d89683daa5c mono-1.1.18-r1.ebuild 2842
-EBUILD mono-1.1.18.ebuild 2839 RMD160 0d460cf3ba4ae4ded656f8a7eb919c3011579ac5 SHA1 67256536a84d982b3fb157063c3425cd5432dccf SHA256 7a986002ca72aa5a399666e015c1a74929573d994d8b76dbf6792b724391add3
-MD5 161188252053d1852e854b488b901647 mono-1.1.18.ebuild 2839
-RMD160 0d460cf3ba4ae4ded656f8a7eb919c3011579ac5 mono-1.1.18.ebuild 2839
-SHA256 7a986002ca72aa5a399666e015c1a74929573d994d8b76dbf6792b724391add3 mono-1.1.18.ebuild 2839
-EBUILD mono-1.2.1.ebuild 2795 RMD160 505a40bd19ccf7208639cd5b434f50d02771ee51 SHA1 9f597be390269bf7ba72aabcdcffc40aaed91992 SHA256 d697b553803c79a10e3add508c5f2fce65fe7bf9a3e8b785801a8a453e954316
-MD5 13347d3eca628172da524ae9de0499c1 mono-1.2.1.ebuild 2795
-RMD160 505a40bd19ccf7208639cd5b434f50d02771ee51 mono-1.2.1.ebuild 2795
-SHA256 d697b553803c79a10e3add508c5f2fce65fe7bf9a3e8b785801a8a453e954316 mono-1.2.1.ebuild 2795
EBUILD mono-1.2.2.1.ebuild 2843 RMD160 71942878fbf8e2c0a53f0e63c3e268f4f20c29b4 SHA1 fe03a091fc32752b93d5b5348ead5470739de437 SHA256 05345790e9b85465984e3a33c780b22735cc1996d4eab1af5f025c325c0608f9
MD5 6387a59b2315db00b44d7f18368aa0a7 mono-1.2.2.1.ebuild 2843
RMD160 71942878fbf8e2c0a53f0e63c3e268f4f20c29b4 mono-1.2.2.1.ebuild 2843
SHA256 05345790e9b85465984e3a33c780b22735cc1996d4eab1af5f025c325c0608f9 mono-1.2.2.1.ebuild 2843
-EBUILD mono-1.2.ebuild 2743 RMD160 4cdf88df26e446a2570feeb1419164b5d14e3bdc SHA1 2f3926f0628cf1766a33887c08fabc8d977d2b9b SHA256 86fe892557d5da34fbbace09290ad4cf0d09c8176769f6aa61fc57f37cf004c9
-MD5 7bbd3370a815b9ed4935d7b8758615e7 mono-1.2.ebuild 2743
-RMD160 4cdf88df26e446a2570feeb1419164b5d14e3bdc mono-1.2.ebuild 2743
-SHA256 86fe892557d5da34fbbace09290ad4cf0d09c8176769f6aa61fc57f37cf004c9 mono-1.2.ebuild 2743
-MISC ChangeLog 25047 RMD160 1a74421f26b73275251fa24c9d467f5c0c203b8e SHA1 9a9cf710c2835579b1349fce9593d9765daf4002 SHA256 526d97e4dc5faf7976839bccdc4bfa50c9f23215d593961c801ce52f77479e8d
-MD5 12300d90576920812ae19c451ea964c3 ChangeLog 25047
-RMD160 1a74421f26b73275251fa24c9d467f5c0c203b8e ChangeLog 25047
-SHA256 526d97e4dc5faf7976839bccdc4bfa50c9f23215d593961c801ce52f77479e8d ChangeLog 25047
+MISC ChangeLog 25516 RMD160 b197d7a0f42747af2928fdb1f6070a2a13a28fde SHA1 d88e6a936f7c97d28dffb77767bc2a13178cb779 SHA256 4fc3e24cd231da4fc58fdaa8aedde90be805bd6e23de34853985ccc18318e6a9
+MD5 91e342dc5c95617c893c45a75c3ecf43 ChangeLog 25516
+RMD160 b197d7a0f42747af2928fdb1f6070a2a13a28fde ChangeLog 25516
+SHA256 4fc3e24cd231da4fc58fdaa8aedde90be805bd6e23de34853985ccc18318e6a9 ChangeLog 25516
MISC metadata.xml 159 RMD160 41527b6d3fa74dfdcd619b7d91c478b72ecc8ae8 SHA1 ac19a418765e817e54d4c54c1992c9062d5dcf3e SHA256 986c3e2fa3baa5d6e8c0b5c27a2550601780d0cc7857f7f1c01523491706d909
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
RMD160 41527b6d3fa74dfdcd619b7d91c478b72ecc8ae8 metadata.xml 159
SHA256 986c3e2fa3baa5d6e8c0b5c27a2550601780d0cc7857f7f1c01523491706d909 metadata.xml 159
-MD5 cd3f75d8c1972fbc4adc5d3c41185e6a files/digest-mono-1.1.13.8.1 253
-RMD160 1d6b12ea307e9b2b14444040df2b1cac55406bf4 files/digest-mono-1.1.13.8.1 253
-SHA256 bdc616347d89c0ef537fed98f8c463108998c60359fe8dad8fb5317eac28cb7b files/digest-mono-1.1.13.8.1 253
MD5 8023ea52be8269d7fabcac7ed5385fa9 files/digest-mono-1.1.16.1 247
RMD160 71136be207bdb31dab959a73131d2383e862a627 files/digest-mono-1.1.16.1 247
SHA256 7834c2c8d7e146f83e53fef4488baaae1335d852426208083d068c77ea1ea5b6 files/digest-mono-1.1.16.1 247
-MD5 50e943e86589c5e27406bcf286abbcb7 files/digest-mono-1.1.18 241
-RMD160 b307054f1e12dd426b5b76993b14c413e0a77b98 files/digest-mono-1.1.18 241
-SHA256 f6cfe6d2dfd1765838f21bc87f80a4014e6607a40315208e2e3768c5400879ce files/digest-mono-1.1.18 241
-MD5 50e943e86589c5e27406bcf286abbcb7 files/digest-mono-1.1.18-r1 241
-RMD160 b307054f1e12dd426b5b76993b14c413e0a77b98 files/digest-mono-1.1.18-r1 241
-SHA256 f6cfe6d2dfd1765838f21bc87f80a4014e6607a40315208e2e3768c5400879ce files/digest-mono-1.1.18-r1 241
-MD5 ca1445b57a30df1ac1497849a2016110 files/digest-mono-1.2 232
-RMD160 7888c0c2715ab0782d331ddc999b4fe2ed839a35 files/digest-mono-1.2 232
-SHA256 6d49fa27482d64ea72177881a66448a413ac642ed164deaea5530da1d856e513 files/digest-mono-1.2 232
-MD5 3c5db3d0c8e3c9a9f3fc434f1ebeaafe files/digest-mono-1.2.1 238
-RMD160 c4aa4ce70004170e9ab5a2c78da795df3cc0870c files/digest-mono-1.2.1 238
-SHA256 06421ce2dd70bb6435485dec46534f105e80ac9507e18701e64e3aad10d99418 files/digest-mono-1.2.1 238
MD5 715fe56d47f422fe7b6caa8d7a3002e1 files/digest-mono-1.2.2.1 244
RMD160 a1eca365c3c5e9a8cc95383e32c98848fb9f55fe files/digest-mono-1.2.2.1 244
SHA256 19848be8fbb459040ba7f78cc9f9e94db4064c6195998053d1c87ee29b964e14 files/digest-mono-1.2.2.1 244
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD8DBQFFqZzs+IXOQtHLm/gRArATAJ419qHOgAZLmWGF0Xb2/2sYJguwAQCeNo28
-hJaaiZni+QVXf78znv+wOGI=
-=uDMK
------END PGP SIGNATURE-----
+++ /dev/null
-MD5 473c24c4be17b8e71393bc96bbda4bca mono-1.1.13.8.1.tar.gz 17758715
-RMD160 a100a96b19300b253c12a2ad70caf65721418209 mono-1.1.13.8.1.tar.gz 17758715
-SHA256 841cd62de1f61fefd17190dcc744e03f49c495039cc2088627ede9d9d825e21a mono-1.1.13.8.1.tar.gz 17758715
+++ /dev/null
-MD5 ce7c16c15b938edb2f1ea781921ef3eb mono-1.1.18.tar.gz 19457001
-RMD160 60134edff923ca2a39cb82f75f5dcc7468edb601 mono-1.1.18.tar.gz 19457001
-SHA256 8b5a62cb91b92a9b77c62595f7f081971efac66fdfebaf1de7cd5c15b425c36b mono-1.1.18.tar.gz 19457001
+++ /dev/null
-MD5 ce7c16c15b938edb2f1ea781921ef3eb mono-1.1.18.tar.gz 19457001
-RMD160 60134edff923ca2a39cb82f75f5dcc7468edb601 mono-1.1.18.tar.gz 19457001
-SHA256 8b5a62cb91b92a9b77c62595f7f081971efac66fdfebaf1de7cd5c15b425c36b mono-1.1.18.tar.gz 19457001
+++ /dev/null
-MD5 eb75a8b3bedbaa60ff3c3410ef4b759b mono-1.2.tar.gz 19606768
-RMD160 5143aee08d5289852166cdac1d81c6be63a1595d mono-1.2.tar.gz 19606768
-SHA256 41e1dfe6e2acfd22375f949c6f5984eacfb3b75d0b140a1062d1d78a4aabf64f mono-1.2.tar.gz 19606768
+++ /dev/null
-MD5 47621f63126d6599356d28668fb5fea2 mono-1.2.1.tar.gz 19861863
-RMD160 1f363ab99cbfcb6ded9dc5b2a82cd0c2f61276be mono-1.2.1.tar.gz 19861863
-SHA256 7d37908a6841209d44380602426e5e751b987e6f32c08dd6d15bc806298358de mono-1.2.1.tar.gz 19861863
+++ /dev/null
-# 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=""
+++ /dev/null
-#!/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 $?
-}
+++ /dev/null
-diff -aur mono-1.1.13-orig/mcs/class/corlib/corlib_test.dll.sources mono-1.1.13/mcs/class/corlib/corlib_test.dll.sources
---- mono-1.1.13-orig/mcs/class/corlib/corlib_test.dll.sources 2005-12-15 09:53:24.000000000 -0800
-+++ mono-1.1.13/mcs/class/corlib/corlib_test.dll.sources 2006-01-13 14:34:40.000000000 -0800
-@@ -120,6 +120,7 @@
- System.Reflection/StrongNameKeyPairTest.cs
- System/ResolveEventArgsTest.cs
- System.Resources/ResourceReaderTest.cs
-+System.Resources/ResourceManagerTest.cs
- System.Runtime.CompilerServices/RuntimeHelpersTest.cs
- System.Runtime.InteropServices/GCHandleTest.cs
- System.Runtime.InteropServices/MarshalTest.cs
-diff -aur mono-1.1.13-orig/mcs/class/corlib/System.Resources/ResourceManager.cs mono-1.1.13/mcs/class/corlib/System.Resources/ResourceManager.cs
---- mono-1.1.13-orig/mcs/class/corlib/System.Resources/ResourceManager.cs 2005-06-23 16:11:11.000000000 -0700
-+++ mono-1.1.13/mcs/class/corlib/System.Resources/ResourceManager.cs 2006-01-13 14:34:40.000000000 -0800
-@@ -9,7 +9,7 @@
- //
-
- //
--// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-+// Copyright (C) 2004, 2005 Novell, Inc (http://www.novell.com)
- //
- // Permission is hereby granted, free of charge, to any person obtaining
- // a copy of this software and associated documentation files (the
-@@ -161,44 +161,37 @@
- return(GetObject(name, null));
- }
-
-- public virtual object GetObject(string name, CultureInfo culture)
-+ public virtual object GetObject (string name, CultureInfo culture)
- {
-- if(name==null) {
-- throw new ArgumentNullException("name is null");
-+ if (name == null) {
-+ throw new ArgumentNullException("name");
- }
-
-- if(culture==null) {
-- culture=CultureInfo.CurrentUICulture;
-+ if (culture == null) {
-+ culture = CultureInfo.CurrentUICulture;
- }
-
-- lock(this) {
-- ResourceSet set=InternalGetResourceSet(culture, true, true);
-- object obj=null;
-+ lock (this) {
-+ while (true) {
-+
-+ ResourceSet set = InternalGetResourceSet (culture, true, true);
-
-- if(set != null) {
-- obj=set.GetObject(name, ignoreCase);
-- if(obj != null) {
-- return(obj);
-+ if (set != null) {
-+ object obj = set.GetObject(name, ignoreCase);
-+ if (obj != null) {
-+ return obj;
-+ }
- }
-- }
--
-- /* Try parent cultures */
-
-- do {
-- culture=culture.Parent;
-+ if (culture == neutral_culture ||
-+ culture == CultureInfo.InvariantCulture)
-+ break;
-
-- set=InternalGetResourceSet(culture, true, true);
-- if(set!=null) {
-- obj=set.GetObject(name, ignoreCase);
-- if(obj != null) {
-- return(obj);
-- }
-- }
-- } while(!culture.Equals(neutral_culture) &&
-- !culture.Equals(CultureInfo.InvariantCulture));
-+ culture = culture.Parent;
-+ }
- }
-
-- return(null);
-+ return null;
- }
-
-
-@@ -223,41 +216,33 @@
- public virtual string GetString (string name, CultureInfo culture)
- {
- if (name == null) {
-- throw new ArgumentNullException ("Name is null.");
-+ throw new ArgumentNullException ("name");
- }
-
-- if(culture==null) {
-- culture=CultureInfo.CurrentUICulture;
-+ if(culture == null) {
-+ culture = CultureInfo.CurrentUICulture;
- }
-
-- lock(this) {
-- ResourceSet set=InternalGetResourceSet(culture, true, true);
-- string str=null;
-+ lock (this) {
-+ while (true) {
-+ ResourceSet set = InternalGetResourceSet (culture, true, true);
-
-- if(set!=null) {
-- str=set.GetString(name, ignoreCase);
-- if(str!=null) {
-- return(str);
-+ if (set != null) {
-+ string str = set.GetString (name, ignoreCase);
-+ if (str != null) {
-+ return str;
-+ }
- }
-- }
--
-- /* Try parent cultures */
-
-- do {
-- culture=culture.Parent;
-+ if (culture == neutral_culture ||
-+ culture == CultureInfo.InvariantCulture)
-+ break;
-
-- set=InternalGetResourceSet(culture, true, true);
-- if(set!=null) {
-- str=set.GetString(name, ignoreCase);
-- if(str!=null) {
-- return(str);
-- }
-- }
-- } while(!culture.Equals(neutral_culture) &&
-- !culture.Equals(CultureInfo.InvariantCulture));
-+ culture = culture.Parent;
-+ }
- }
-
-- return(null);
-+ return null;
- }
-
- protected virtual string GetResourceFileName (CultureInfo culture)
+++ /dev/null
-Index: mono/metadata/icall.c
-===================================================================
---- mono/metadata/icall.c (revision 62136)
-+++ mono/metadata/icall.c (revision 62137)
-@@ -4557,11 +4557,12 @@
- for (i = 0; i < mono_array_length(abuilder->modules); i++) {
- MonoReflectionModuleBuilder *mb = mono_array_get (abuilder->modules, MonoReflectionModuleBuilder*, i);
- MonoArray *append = mb->types;
-- if (append && mono_array_length (append) > 0) {
-+ /* The types array might not be fully filled up */
-+ if (append && mb->num_types > 0) {
- guint32 len1, len2;
- MonoArray *new;
- len1 = res ? mono_array_length (res) : 0;
-- len2 = mono_array_length (append);
-+ len2 = mb->num_types;
- new = mono_array_new (domain, mono_defaults.monotype_class, len1 + len2);
- if (res)
- mono_array_memcpy_refs (new, 0, res, 0, len1);
+++ /dev/null
-Index: mcs/anonymous.cs
-===================================================================
---- mcs/anonymous.cs (revision 66810)
-+++ mcs/anonymous.cs (revision 66811)
-@@ -1232,6 +1232,7 @@
-
- aec.CurrentAnonymousMethod = this;
- aec.IsFieldInitializer = ec.IsFieldInitializer;
-+ aec.IsStatic = ec.IsStatic;
-
- Report.Debug (64, "RESOLVE ANONYMOUS METHOD #1", this, Location, ec, aec,
- RootScope, Parameters, Block);
+++ /dev/null
---- trunk/mono/mono/io-layer/process-private.h 2006/05/12 10:38:20 60618
-+++ trunk/mono/mono/io-layer/process-private.h 2006/11/23 00:39:10 68378
-@@ -31,6 +31,7 @@
- gchar proc_name[_WAPI_PROC_NAME_MAX_LEN];
- size_t min_working_set;
- size_t max_working_set;
-+ gboolean waited;
- };
-
- extern void _wapi_process_reap (void);
-
---- trunk/mono/mono/io-layer/processes.c 2006/11/18 19:02:51 68130
-+++ trunk/mono/mono/io-layer/processes.c 2006/11/23 00:39:10 68378
-@@ -80,6 +80,10 @@
- process_handle->exitstatus = WEXITSTATUS(status);
- }
- _wapi_time_t_to_filetime (time(NULL), &process_handle->exit_time);
-+
-+ /* Don't set process_handle->waited here, it needs to only
-+ * happen in the parent when wait() has been called.
-+ */
-
- #ifdef DEBUG
- g_message ("%s: Setting handle %p signalled", __func__, handle);
-@@ -108,17 +112,17 @@
- int status;
- pid_t ret;
-
-- if (_wapi_handle_issignalled (test)) {
-- /* We've already done this one */
-- return (FALSE);
-- }
--
- ok = _wapi_lookup_handle (test, WAPI_HANDLE_PROCESS,
- (gpointer *)&process);
- if (ok == FALSE) {
- /* The handle must have been too old and was reaped */
- return (FALSE);
- }
-+
-+ if (process->waited) {
-+ /* We've already done this one */
-+ return(FALSE);
-+ }
-
- do {
- ret = waitpid (process->id, &status, WNOHANG);
-@@ -138,6 +142,8 @@
- g_message ("%s: Process %d finished", __func__, ret);
- #endif
-
-+ process->waited = TRUE;
-+
- *(int *)user_data = status;
-
- return (TRUE);
-@@ -185,8 +191,16 @@
- #ifdef DEBUG
- g_message ("%s: Waiting for process %p", __func__, handle);
- #endif
-+
-+ ok = _wapi_lookup_handle (handle, WAPI_HANDLE_PROCESS,
-+ (gpointer *)&process_handle);
-+ if (ok == FALSE) {
-+ g_warning ("%s: error looking up process handle %p", __func__,
-+ handle);
-+ return(WAIT_FAILED);
-+ }
-
-- if (_wapi_handle_issignalled (handle)) {
-+ if (process_handle->waited) {
- /* We've already done this one */
- #ifdef DEBUG
- g_message ("%s: Process %p already signalled", __func__,
-@@ -195,14 +209,6 @@
-
- return (WAIT_OBJECT_0);
- }
--
-- ok = _wapi_lookup_handle (handle, WAPI_HANDLE_PROCESS,
-- (gpointer *)&process_handle);
-- if (ok == FALSE) {
-- g_warning ("%s: error looking up process handle %p", __func__,
-- handle);
-- return(WAIT_FAILED);
-- }
-
- pid = process_handle->id;
-
-@@ -211,9 +217,15 @@
- #endif
-
- if (timeout == INFINITE) {
-- while ((ret = waitpid (pid, &status, 0)) != pid) {
-- if (ret == (pid_t)-1 && errno != EINTR) {
-- return(WAIT_FAILED);
-+ if (pid == _wapi_getpid ()) {
-+ do {
-+ Sleep (10000);
-+ } while(1);
-+ } else {
-+ while ((ret = waitpid (pid, &status, 0)) != pid) {
-+ if (ret == (pid_t)-1 && errno != EINTR) {
-+ return(WAIT_FAILED);
-+ }
- }
- }
- } else if (timeout == 0) {
-@@ -224,18 +236,47 @@
- }
- } else {
- /* Poll in a loop */
-- do {
-- ret = waitpid (pid, &status, WNOHANG);
-- if (ret == pid) {
-- break;
-- } else if (ret == (pid_t)-1 && errno != EINTR) {
-- return(WAIT_FAILED);
-- }
-+ if (pid == _wapi_getpid ()) {
-+ Sleep (timeout);
-+ return(WAIT_TIMEOUT);
-+ } else {
-+ do {
-+ ret = waitpid (pid, &status, WNOHANG);
-+#ifdef DEBUG
-+ g_message ("%s: waitpid returns: %d, timeout is %d", __func__, ret, timeout);
-+#endif
-+
-+ if (ret == pid) {
-+ break;
-+ } else if (ret == (pid_t)-1 &&
-+ errno != EINTR) {
-+#ifdef DEBUG
-+ g_message ("%s: waitpid failure: %s",
-+ __func__,
-+ g_strerror (errno));
-+#endif
-
-- _wapi_handle_spin (100);
-- timeout -= 100;
-- } while (timeout > 0);
-+ if (errno == ECHILD &&
-+ process_handle->waited) {
-+ /* The background
-+ * process reaper must
-+ * have got this one
-+ */
-+#ifdef DEBUG
-+ g_message ("%s: Process %p already reaped", __func__, handle);
-+#endif
-
-+ return(WAIT_OBJECT_0);
-+ } else {
-+ return(WAIT_FAILED);
-+ }
-+ }
-+
-+ _wapi_handle_spin (100);
-+ timeout -= 100;
-+ } while (timeout > 0);
-+ }
-+
- if (timeout <= 0) {
- return(WAIT_TIMEOUT);
- }
-@@ -251,7 +292,8 @@
- SetLastError (ERROR_OUTOFMEMORY);
- return (WAIT_FAILED);
- }
--
-+ process_handle->waited = TRUE;
-+
- return(WAIT_OBJECT_0);
- }
-
-@@ -268,6 +310,8 @@
- process_handle->min_working_set = 204800;
- process_handle->max_working_set = 1413120;
-
-+ process_handle->waited = FALSE;
-+
- _wapi_time_t_to_filetime (time (NULL), &process_handle->create_time);
- }
-
-@@ -919,6 +963,11 @@
- g_strfreev (env_strings);
- }
-
-+#ifdef DEBUG
-+ g_message ("%s: returning handle %p for pid %d", __func__, handle,
-+ pid);
-+#endif
-+
- return(ret);
- }
-
-@@ -960,6 +1009,8 @@
- const char *handle_env;
- struct _WapiHandle_process process_handle = {0};
-
-+ mono_once (&process_ops_once, process_ops_init);
-+
- handle_env = g_getenv ("_WAPI_PROCESS_HANDLE_OFFSET");
- g_unsetenv ("_WAPI_PROCESS_HANDLE_OFFSET");
-
---- trunk/mono/mono/io-layer/wapi-private.h 2006/03/24 12:19:30 58409
-+++ trunk/mono/mono/io-layer/wapi-private.h 2006/11/23 00:39:10 68378
-@@ -24,8 +24,7 @@
- /* Increment this whenever an incompatible change is made to the
- * shared handle structure.
- */
--/* Next time I change this, remember to fix the process count in shared.c */
--#define _WAPI_HANDLE_VERSION 10
-+#define _WAPI_HANDLE_VERSION 11
-
- typedef enum {
- WAPI_HANDLE_UNUSED=0,
-
---- trunk/mono/mono/io-layer/shared.c 2006/07/25 12:56:51 62955
-+++ trunk/mono/mono/io-layer/shared.c 2006/11/23 00:39:10 68378
-@@ -292,12 +292,11 @@
- for (i = 0; i < _WAPI_SHARED_SEM_COUNT; i++) {
- def_vals[i] = 1;
- }
--#ifdef NEXT_VERSION_INC
-+
- /* Process count must start at '0' - the 1 for all the others
- * sets the semaphore to "unlocked"
- */
- def_vals[_WAPI_SHARED_SEM_PROCESS_COUNT] = 0;
--#endif
-
- defs.array = def_vals;
-
-@@ -438,19 +437,9 @@
-
- proc_count = semctl (_wapi_sem_id, _WAPI_SHARED_SEM_PROCESS_COUNT,
- GETVAL);
--#ifdef NEXT_VERSION_INC
-+
- g_assert (proc_count > 0);
- if (proc_count == 1) {
--#else
-- /* Compatibility - the semaphore was initialised to '1' (which
-- * normally means 'unlocked'. Instead of fixing that right
-- * now, which would mean a shared file version increment, just
-- * cope with the value starting too high for now. Fix this
-- * next time I have to change the file version.
-- */
-- g_assert (proc_count > 1);
-- if (proc_count == 2) {
--#endif
- /* Just us, so blow away the semaphores and the shared
- * files
- */
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.1.13.8.1.ebuild,v 1.4 2006/11/06 19:40:35 dertobi123 Exp $
-
-inherit eutils mono flag-o-matic multilib autotools
-
-RESTRICT="confcache"
-
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
-HOMEPAGE="http://www.go-mono.com/"
-SRC_URI="http://www.go-mono.com/sources/mono-${PV:0:3}/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 LGPL-2 X11 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="nptl X"
-
-DEPEND=">=dev-libs/glib-2.0
- sys-devel/bc
- !<dev-dotnet/pnet-0.6.12
- nptl? ( >=sys-devel/gcc-3.3.5-r1 )
- ppc? (
- >=sys-devel/gcc-3.2.3-r4
- >=sys-libs/glibc-2.3.3_pre20040420
- )"
-
-RDEPEND="${DEPEND}
- X? ( >=dev-dotnet/libgdiplus-1.1.13 )
- dev-util/pkgconfig
- dev-libs/libxml2"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Fix munging of Unix paths
- epatch ${FILESDIR}/${PN}-1.1.13-pathfix.diff
- epatch ${FILESDIR}/${PN}-1.1.13-resource-manager.diff
- epatch ${FILESDIR}/${PN}-1.1.13.8-dynamic-assembly-get-types.diff
-
- # Install all our .dlls under $(libdir), not $(prefix)/lib
- if [ $(get_libdir) != "lib" ] ; then
- sed -i -e 's:$(prefix)/lib:$(libdir):' \
- -e 's:$(exec_prefix)/lib:$(libdir):' \
- -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
- ${S}/{scripts,mono/metadata,mono/os/unix}/Makefile.am \
- ${S}/configure.in || die "sed failed"
- sed -i -e 's:^libdir.*:libdir=@libdir@:' \
- -e 's:${prefix}/lib/:${libdir}/:g' \
- ${S}/{scripts,}/*.pc.in || die "sed failed"
- fi
-
- # Remove the dummy ltconfig and leave to libtoolize handling it
- rm -f ${S}/libgc/ltconfig
-
- eautoreconf
-}
-
-src_compile() {
- strip-flags
-
- local myconf="--with-preview=yes"
-
- # Force __thread on amd64. See bug #83770
- if use amd64
- then
- myconf="${myconf} --with-tls=__thread"
- else
- if use nptl
- then
- myconf="${myconf} --with-tls=__thread"
- else
- myconf="${myconf} --with-tls=pthread"
- fi
- fi
-
- # Force the use of the monolite mcs, to prevent us from trying to build
- # with old buggy classlibs/mcs versions. See bug #118062
- touch ${S}/mcs/build/deps/use-monolite
- 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
-}
-
-pkg_postinst() {
- ewarn "This version of mono has changed the assembly version for"
- ewarn "ICSharpCode.SharpZipLib, which may break some installed"
- ewarn "applications such as monodoc. Please re-emerge monodoc and any"
- ewarn "other packages you have which may make use of this library."
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.1.18-r1.ebuild,v 1.1 2006/10/28 19:41:16 latexer Exp $
-
-inherit eutils flag-o-matic multilib autotools
-
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
-HOMEPAGE="http://www.go-mono.com"
-SRC_URI="http://www.go-mono.com/sources/mono-${PV:0:3}/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 LGPL-2 X11 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="X nptl"
-
-RDEPEND="!<dev-dotnet/pnet-0.6.12
- >=dev-libs/glib-2.6
- nptl? ( >=sys-devel/gcc-3.3.5-r1 )
- ppc? (
- >=sys-devel/gcc-3.2.3-r4
- >=sys-libs/glibc-2.3.3_pre20040420
- )
- X? ( >=dev-dotnet/libgdiplus-1.1.18 )"
-DEPEND="${RDEPEND}
- sys-devel/bc
- >=dev-util/pkgconfig-0.19"
-
-# Parallel build unfriendly
-MAKEOPTS="${MAKEOPTS} -j1"
-
-# confcache causes build errors
-RESTRICT="confcache"
-
-function get-memory-total() {
- cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/"
-}
-
-src_unpack() {
- unpack ${A}
-
- # Fix mcs crasher
- cd ${S}/mcs
- epatch ${FILESDIR}/${P}-mcs-crasher-fix.diff
-
- cd ${S}
-
- # Fix the install path, install into $(libdir)
- sed -i -e 's:$(prefix)/lib:$(libdir):' \
- -i -e 's:$(exec_prefix)/lib:$(libdir):' \
- -i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
- ${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in \
- || die "sed failed"
-
- sed -i -e 's:^libdir.*:libdir=@libdir@:' \
- -i -e 's:${prefix}/lib/:${libdir}/:g' \
- ${S}/{scripts,}/*.pc.in \
- || die "sed failed"
-
- # Remove dummy ltconfig and let libtool handle it
- rm -f ${S}/libgc/ltconfig
-
- eautoreconf
-}
-
-src_compile() {
- # mono's build system is finiky, strip the flags
- strip-flags
-
- # Enable the 2.0 FX, use the system glib and the gc
- local myconf="--with-preview=yes --with-glib=system --with-gc=included"
-
- # Threading support
- if use amd64 ; then
- # force __thread on amd64 (bug #83770)
- myconf="${myconf} --with-tls=__thread"
- else
- if use nptl ; then
- myconf="${myconf} --with-tls=__thread"
- else
- myconf="${myconf} --with-tls=pthread"
- fi
- fi
-
- # Enable large heaps if memory is more than >=3GB
- if [[ $(get-memory-total) -ge 3145728 ]] ; then
- myconf="${myconf} --with-large-heap=yes"
- fi
-
- # Force the use of monolite mcs to prevent issues with classlibs (bug #118062)
- touch ${S}/mcs/build/deps/use-monolite
-
- econf ${myconf} || die "configure failed"
- emake || die "compile failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
-
- dodoc AUTHORS ChangeLog NEWS README
-
- docinto docs
- dodoc docs/*
-
- docinto libgc
- dodoc libgc/ChangeLog
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.1.18.ebuild,v 1.3 2006/10/27 06:10:03 latexer Exp $
-
-inherit eutils flag-o-matic multilib autotools
-
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
-HOMEPAGE="http://www.go-mono.com"
-SRC_URI="http://www.go-mono.com/sources/mono-${PV:0:3}/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 LGPL-2 X11 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="X nptl"
-
-RDEPEND="!<dev-dotnet/pnet-0.6.12
- >=dev-libs/glib-2.6
- nptl? ( >=sys-devel/gcc-3.3.5-r1 )
- ppc? (
- >=sys-devel/gcc-3.2.3-r4
- >=sys-libs/glibc-2.3.3_pre20040420
- )
- X? ( >=dev-dotnet/libgdiplus-1.1.18 )"
-DEPEND="${RDEPEND}
- sys-devel/bc
- >=dev-util/pkgconfig-0.19"
-
-# Parallel build unfriendly
-MAKEOPTS="${MAKEOPTS} -j1"
-
-# confcache causes build errors
-RESTRICT="confcache"
-
-function get-memory-total() {
- cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/"
-}
-
-src_unpack() {
- unpack ${A}
-
- # Fix mcs crasher
- cd ${S}/mcs
- epatch ${FILESDIR}/${P}-mcs-crasher-fix.diff
-
- cd ${S}
-
- # Fix the install path, install into $(libdir)
- sed -i -e 's:$(prefix)/lib:$(libdir):' \
- -i -e 's:$(exec_prefix)/lib:$(libdir):' \
- -i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
- ${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in \
- || die "sed failed"
-
- sed -i -e 's:^libdir.*:libdir=@libdir@:' \
- -i -e 's:${prefix}/lib/:${libdir}/:g' \
- ${S}/{scripts,}/*.pc.in \
- || die "sed failed"
-
- # Remove dummy ltconfig and let libtool handle it
- rm -f ${S}/libgc/ltconfig
-
- eautoreconf
-}
-
-src_compile() {
- # mono's build system is finiky, strip the flags
- strip-flags
-
- # Enable the 2.0 FX, use the system glib and the gc
- local myconf="--with-preview=yes --with-glib=system --with-gc=included"
-
- # Threading support
- if use amd64 ; then
- # force __thread on amd64 (bug #83770)
- myconf="${myconf} --with-tls=__thread"
- else
- if use nptl ; then
- myconf="${myconf} --with-tls=__thread"
- else
- myconf="${myconf} --with-tls=pthread"
- fi
- fi
-
- # Enable large heaps if memory is more than >=3GB
- if [[ $(get-memory-total) -ge 3145728 ]] ; then
- myconf="${myconf} --with-large-heap=yes"
- fi
-
- # Force the use of monolite mcs to prevent issues with classlibs (bug #118062)
- touch ${S}/mcs/build/deps/use-monolite
-
- econf ${myconf} || die "configure failed"
- emake || die "compile failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
-
- dodoc AUTHORS ChangeLog NEWS README
-
- docinto docs
- dodoc docs/*
-
- docinto libgc
- dodoc libgc/ChangeLog
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.1.ebuild,v 1.1 2006/11/24 23:40:40 latexer Exp $
-
-inherit eutils flag-o-matic multilib autotools
-
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
-HOMEPAGE="http://www.go-mono.com"
-SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 LGPL-2 X11 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="X nptl"
-
-RDEPEND="!<dev-dotnet/pnet-0.6.12
- >=dev-libs/glib-2.6
- nptl? ( >=sys-devel/gcc-3.3.5-r1 )
- ppc? (
- >=sys-devel/gcc-3.2.3-r4
- >=sys-libs/glibc-2.3.3_pre20040420
- )
- X? ( >=dev-dotnet/libgdiplus-1.2.1 )"
-DEPEND="${RDEPEND}
- sys-devel/bc
- >=dev-util/pkgconfig-0.19"
-
-# Parallel build unfriendly
-MAKEOPTS="${MAKEOPTS} -j1"
-
-# confcache causes build errors
-RESTRICT="confcache"
-
-function get-memory-total() {
- cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/"
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- epatch ${FILESDIR}/${P}-zombie-processes.diff
-
- # Fix the install path, install into $(libdir)
- sed -i -e 's:$(prefix)/lib:$(libdir):' \
- -i -e 's:$(exec_prefix)/lib:$(libdir):' \
- -i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
- ${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in \
- || die "sed failed"
-
- sed -i -e 's:^libdir.*:libdir=@libdir@:' \
- -i -e 's:${prefix}/lib/:${libdir}/:g' \
- ${S}/{scripts,}/*.pc.in \
- || die "sed failed"
-
- # Remove dummy ltconfig and let libtool handle it
- rm -f ${S}/libgc/ltconfig
-
- eautoreconf
-}
-
-src_compile() {
- # mono's build system is finiky, strip the flags
- strip-flags
-
- # Enable the 2.0 FX, use the system glib and the gc
- local myconf="--with-preview=yes --with-glib=system --with-gc=included"
-
- # Threading support
- if use amd64 ; then
- # force __thread on amd64 (bug #83770)
- myconf="${myconf} --with-tls=__thread"
- else
- if use nptl ; then
- myconf="${myconf} --with-tls=__thread"
- else
- myconf="${myconf} --with-tls=pthread"
- fi
- fi
-
- # Enable large heaps if memory is more than >=3GB
- if [[ $(get-memory-total) -ge 3145728 ]] ; then
- myconf="${myconf} --with-large-heap=yes"
- fi
-
- # Force the use of monolite mcs to prevent issues with classlibs (bug #118062)
- touch ${S}/mcs/build/deps/use-monolite
-
- econf ${myconf} || die "configure failed"
- emake || die "compile failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
-
- dodoc AUTHORS ChangeLog NEWS README
-
- docinto docs
- dodoc docs/*
-
- docinto libgc
- dodoc libgc/ChangeLog
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.ebuild,v 1.1 2006/11/10 22:52:02 latexer Exp $
-
-inherit eutils flag-o-matic multilib autotools
-
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
-HOMEPAGE="http://www.go-mono.com"
-SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 LGPL-2 X11 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="X nptl"
-
-RDEPEND="!<dev-dotnet/pnet-0.6.12
- >=dev-libs/glib-2.6
- nptl? ( >=sys-devel/gcc-3.3.5-r1 )
- ppc? (
- >=sys-devel/gcc-3.2.3-r4
- >=sys-libs/glibc-2.3.3_pre20040420
- )
- X? ( >=dev-dotnet/libgdiplus-1.2 )"
-DEPEND="${RDEPEND}
- sys-devel/bc
- >=dev-util/pkgconfig-0.19"
-
-# Parallel build unfriendly
-MAKEOPTS="${MAKEOPTS} -j1"
-
-# confcache causes build errors
-RESTRICT="confcache"
-
-function get-memory-total() {
- cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/"
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- # Fix the install path, install into $(libdir)
- sed -i -e 's:$(prefix)/lib:$(libdir):' \
- -i -e 's:$(exec_prefix)/lib:$(libdir):' \
- -i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
- ${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in \
- || die "sed failed"
-
- sed -i -e 's:^libdir.*:libdir=@libdir@:' \
- -i -e 's:${prefix}/lib/:${libdir}/:g' \
- ${S}/{scripts,}/*.pc.in \
- || die "sed failed"
-
- # Remove dummy ltconfig and let libtool handle it
- rm -f ${S}/libgc/ltconfig
-
- eautoreconf
-}
-
-src_compile() {
- # mono's build system is finiky, strip the flags
- strip-flags
-
- # Enable the 2.0 FX, use the system glib and the gc
- local myconf="--with-preview=yes --with-glib=system --with-gc=included"
-
- # Threading support
- if use amd64 ; then
- # force __thread on amd64 (bug #83770)
- myconf="${myconf} --with-tls=__thread"
- else
- if use nptl ; then
- myconf="${myconf} --with-tls=__thread"
- else
- myconf="${myconf} --with-tls=pthread"
- fi
- fi
-
- # Enable large heaps if memory is more than >=3GB
- if [[ $(get-memory-total) -ge 3145728 ]] ; then
- myconf="${myconf} --with-large-heap=yes"
- fi
-
- # Force the use of monolite mcs to prevent issues with classlibs (bug #118062)
- touch ${S}/mcs/build/deps/use-monolite
-
- econf ${myconf} || die "configure failed"
- emake || die "compile failed"
-}
-
-src_install() {
- emake DESTDIR=${D} install || die "install failed"
-
- dodoc AUTHORS ChangeLog NEWS README
-
- docinto docs
- dodoc docs/*
-
- docinto libgc
- dodoc libgc/ChangeLog
-}