# 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.107 2007/02/14 19:38:30 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.108 2007/02/24 23:59:17 compnerd Exp $
+
+*mono-1.2.3.1 (24 Feb 2007)
+
+ 24 Feb 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ +mono-1.2.3.1.ebuild:
+ Version bump from upstream with a few bug fixes (bug #168090)
14 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org> mono-1.2.3.ebuild:
Keyworded ~sparc
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
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
DIST mono-1.1.16.1.tar.gz 19115095 RMD160 3ccf59d5e8f3e7ce74bccd495d7a8413a0fdce9c SHA1 fd68988e2d6002f4b631edfb8dee372bc9d979b3 SHA256 6404bd0b34c642bb159328486949424d7d51f444cfbed5c83ee5f4ee3ad34b0f
DIST mono-1.2.2.1.tar.gz 19979026 RMD160 d55d5627bb3fe4b8c4e4640aecca32713cba3e7f SHA1 d956f293d297d4ee550c6877b6b468259dac126f SHA256 d68f597c303678c3f325f552a0e2780b613dbf34d093c2269c002127be4953e5
+DIST mono-1.2.3.1.tar.gz 20694945 RMD160 0dd046f12041553bc943269ef4e0a93f145c57ca SHA1 9de19e0a29ea47857090d9d2c19168f67152da41 SHA256 b177ced4e3ec0c2efc6a4e17f1f87f6e852f319332d4f138d25d4a68ffba2c78
DIST mono-1.2.3.tar.gz 20692405 RMD160 42ee15ed21bd82972c64074870e9282d8668893b SHA1 53dfc5dd24f229a3d7593d0833a99bb8a43d4c9a SHA256 843cbd707e3d6e4fc00c7961b9ed8e5a48498d6bcaadc1f4c00d561d4f3e7f15
EBUILD mono-1.1.16.1.ebuild 2527 RMD160 e5192a579ca50d28a85113910cfa116f33b58adb SHA1 b483a27a553c3f61b6f23e9f3cc72741b5f62d13 SHA256 86a1c26327c04467ce43c01c56c93603b3f737d865c6ae3b20704a3658374557
MD5 1ee93923e5d6c22e96e8c53b49126c7d mono-1.1.16.1.ebuild 2527
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.3.1.ebuild 2855 RMD160 5f70e44b59e47ee24392a9b6f67edd59d620dbdc SHA1 e05991106df686b11e9f55b3990f7dbdc2448a6f SHA256 2b2de1f34ea7b1fa7eb807cd083e69512b90b254af993f2bc8dd9d9a6ba02208
+MD5 729c9d00a42ec81fcf1ce42d5c7c6585 mono-1.2.3.1.ebuild 2855
+RMD160 5f70e44b59e47ee24392a9b6f67edd59d620dbdc mono-1.2.3.1.ebuild 2855
+SHA256 2b2de1f34ea7b1fa7eb807cd083e69512b90b254af993f2bc8dd9d9a6ba02208 mono-1.2.3.1.ebuild 2855
EBUILD mono-1.2.3.ebuild 2853 RMD160 3c6b28d1342c6dbf4b036f099f2d7735893917fa SHA1 60a49e88266a1285d24c6a76942b9ba75cac0994 SHA256 31cae255e74b9acf13d12531e4bf1e3b70395c51abddbd8beec6fcd0f9bb39a5
MD5 9dafa0ebf656d5ff3aafe44a8f4a2d74 mono-1.2.3.ebuild 2853
RMD160 3c6b28d1342c6dbf4b036f099f2d7735893917fa mono-1.2.3.ebuild 2853
SHA256 31cae255e74b9acf13d12531e4bf1e3b70395c51abddbd8beec6fcd0f9bb39a5 mono-1.2.3.ebuild 2853
-MISC ChangeLog 25742 RMD160 487efb5dd5ab1160f6c1c33cb98df0097b47116e SHA1 f3c5148d1075ef869b5eeef8b3f44e0f68dd1376 SHA256 e253b34a58d66782dd6778793fcef8161434c64ee9dba8752ffe6c0000d0660c
-MD5 04f0ae4079ba5ddbfdcd4d4825e1e726 ChangeLog 25742
-RMD160 487efb5dd5ab1160f6c1c33cb98df0097b47116e ChangeLog 25742
-SHA256 e253b34a58d66782dd6778793fcef8161434c64ee9dba8752ffe6c0000d0660c ChangeLog 25742
+MISC ChangeLog 25916 RMD160 da0e3b684259148397cdc60f9b9ee2abd87be621 SHA1 851088c7d7acc686251d5505da17454e0d699db4 SHA256 80eb5e77cc19af18b7e41756790b32952a4fb917345df1127293d91747969f56
+MD5 7374a772236ca10382a73d294c794fd2 ChangeLog 25916
+RMD160 da0e3b684259148397cdc60f9b9ee2abd87be621 ChangeLog 25916
+SHA256 80eb5e77cc19af18b7e41756790b32952a4fb917345df1127293d91747969f56 ChangeLog 25916
MISC metadata.xml 159 RMD160 41527b6d3fa74dfdcd619b7d91c478b72ecc8ae8 SHA1 ac19a418765e817e54d4c54c1992c9062d5dcf3e SHA256 986c3e2fa3baa5d6e8c0b5c27a2550601780d0cc7857f7f1c01523491706d909
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
RMD160 41527b6d3fa74dfdcd619b7d91c478b72ecc8ae8 metadata.xml 159
MD5 95aaa0791f7b8929da092d7e32f4233d files/digest-mono-1.2.3 238
RMD160 a5bb8c0497d786250f1c418939047789055f7771 files/digest-mono-1.2.3 238
SHA256 5bdebd1ab7bc7fb676a32e2197172305173c627e9fe75dcd6438dbb524c03c75 files/digest-mono-1.2.3 238
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6-ecc01.6 (GNU/Linux)
-
-iD8DBQFF02VBKRy60XGEcJIRAvqGAJ93qqt69m8pWuoTOOTsHiLuL/9YqgCfU6io
-ys5FHH/hQ+8BluxUSoefvIQ=
-=uriw
------END PGP SIGNATURE-----
+MD5 69bf29411cbcab727916d500772b363b files/digest-mono-1.2.3.1 244
+RMD160 670556178dc3d6c1bb12023d8a9bff1729b103a0 files/digest-mono-1.2.3.1 244
+SHA256 fcead92116a74d4ef8b7f0ecaa5f68acad72e5ca0642ed414624e5dff2f9ec3f files/digest-mono-1.2.3.1 244
--- /dev/null
+MD5 4e4cdb6f98f1ea62bb1900f214c55e58 mono-1.2.3.1.tar.gz 20694945
+RMD160 0dd046f12041553bc943269ef4e0a93f145c57ca mono-1.2.3.1.tar.gz 20694945
+SHA256 b177ced4e3ec0c2efc6a4e17f1f87f6e852f319332d4f138d25d4a68ffba2c78 mono-1.2.3.1.tar.gz 20694945
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.3.1.ebuild,v 1.1 2007/02/24 23:59:17 compnerd 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 ~sparc ~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.3 )"
+DEPEND="${RDEPEND}
+ sys-devel/bc
+ >=dev-util/pkgconfig-0.19"
+PDEPEND="dev-dotnet/pe-format"
+
+# 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
+
+ einfo "Regenerating the build files, this will take some time..."
+ 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
+}