# ChangeLog for dev-lang/mono
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.98 2006/11/24 23:40:40 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.99 2006/12/07 02:18:27 compnerd Exp $
+
+*mono-1.2.2.1 (07 Dec 2006)
+
+ 07 Dec 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ +mono-1.2.2.1.ebuild:
+ Version bump from upstream
*mono-1.2.1 (24 Nov 2006)
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
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 2750 RMD160 7473fca95aa9945bd3bfb1eb7920225bf90e05f2 SHA1 4d784d7c9436fd54ce010d65e09f6d1f939d4f8f SHA256 547c946d04cd925e0b0dd3911cd418d00b53c5874a85ee8c17a24e3bb2c9c4ac
+MD5 9d7f179074325ae33b3f7b998b02ef11 mono-1.2.2.1.ebuild 2750
+RMD160 7473fca95aa9945bd3bfb1eb7920225bf90e05f2 mono-1.2.2.1.ebuild 2750
+SHA256 547c946d04cd925e0b0dd3911cd418d00b53c5874a85ee8c17a24e3bb2c9c4ac mono-1.2.2.1.ebuild 2750
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 24281 RMD160 d9cc433bc0a3d19251f0f90edb053bb20063645c SHA1 fc6976d8378b0bd1aefefd98b6ba92a6aae246b1 SHA256 5c6d04911c2872e2ff488ae2c365175522869a508c7c88c7a59349b2a9e3ce9d
-MD5 6e9eabc33ae83f404ec408bf73e74245 ChangeLog 24281
-RMD160 d9cc433bc0a3d19251f0f90edb053bb20063645c ChangeLog 24281
-SHA256 5c6d04911c2872e2ff488ae2c365175522869a508c7c88c7a59349b2a9e3ce9d ChangeLog 24281
+MISC ChangeLog 24421 RMD160 393c0fb0d589f832cd150e8a05e498347ec2a457 SHA1 741e5f045698585f8dc2951488b03a433df42a26 SHA256 1856529090a91e09a48fbec568a744b12e7c5a6bc0087d39684e4ba751ccffd3
+MD5 36d5d9b9f71148dce9757e95f13a294d ChangeLog 24421
+RMD160 393c0fb0d589f832cd150e8a05e498347ec2a457 ChangeLog 24421
+SHA256 1856529090a91e09a48fbec568a744b12e7c5a6bc0087d39684e4ba751ccffd3 ChangeLog 24421
MISC metadata.xml 159 RMD160 41527b6d3fa74dfdcd619b7d91c478b72ecc8ae8 SHA1 ac19a418765e817e54d4c54c1992c9062d5dcf3e SHA256 986c3e2fa3baa5d6e8c0b5c27a2550601780d0cc7857f7f1c01523491706d909
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
RMD160 41527b6d3fa74dfdcd619b7d91c478b72ecc8ae8 metadata.xml 159
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
--- /dev/null
+MD5 b67ef657b83ca26249d7b9e9c5e7da69 mono-1.2.2.1.tar.gz 19979026
+RMD160 d55d5627bb3fe4b8c4e4640aecca32713cba3e7f mono-1.2.2.1.tar.gz 19979026
+SHA256 d68f597c303678c3f325f552a0e2780b613dbf34d093c2269c002127be4953e5 mono-1.2.2.1.tar.gz 19979026
--- /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.2.1.ebuild,v 1.1 2006/12/07 02:18:27 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 ~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.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
+}