summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-03-07 19:59:16 +0000
committerPeter Johanson <latexer@gentoo.org>2005-03-07 19:59:16 +0000
commit314b8dd8ab279ae2d2c4261861ada5702ba0d695 (patch)
tree91b98941b3f9f08aecedd39f363f911080ae34a8 /dev-dotnet
parentAdd a fix for icon loading with some gtk+ themes. See bug #83607. Thanks to A... (diff)
downloadhistorical-314b8dd8ab279ae2d2c4261861ada5702ba0d695.tar.gz
historical-314b8dd8ab279ae2d2c4261861ada5702ba0d695.tar.bz2
historical-314b8dd8ab279ae2d2c4261861ada5702ba0d695.zip
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.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/mono/ChangeLog8
-rw-r--r--dev-dotnet/mono/Manifest4
-rw-r--r--dev-dotnet/mono/files/digest-mono-1.0.5-r52
-rw-r--r--dev-dotnet/mono/mono-1.0.5-r5.ebuild146
4 files changed, 158 insertions, 2 deletions
diff --git a/dev-dotnet/mono/ChangeLog b/dev-dotnet/mono/ChangeLog
index 629c68022dcf..c6a398eb25b8 100644
--- a/dev-dotnet/mono/ChangeLog
+++ b/dev-dotnet/mono/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-dotnet/mono
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/ChangeLog,v 1.51 2005/02/22 14:30:10 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/ChangeLog,v 1.52 2005/03/07 19:59:16 latexer Exp $
+
+*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
diff --git a/dev-dotnet/mono/Manifest b/dev-dotnet/mono/Manifest
index 41cc47bf55a9..eb9cd43de6d7 100644
--- a/dev-dotnet/mono/Manifest
+++ b/dev-dotnet/mono/Manifest
@@ -3,12 +3,13 @@ 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 26573152596b088a53166f0421b86733 ChangeLog 12962
+MD5 f3efdadbda07ecd2daa660516a08fe0f ChangeLog 13206
MD5 76b314cc7b7b79b298dd4889dff8c9cd metadata.xml 159
MD5 9f4b4eb6a1555ed574dbdd359cae3070 files/dotnet.conf 573
MD5 f33c78b627cbbc1db2ab5f6cc5299e70 files/dotnet.init 1034
@@ -21,6 +22,7 @@ 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-dotnet/mono/files/digest-mono-1.0.5-r5 b/dev-dotnet/mono/files/digest-mono-1.0.5-r5
new file mode 100644
index 000000000000..7d194132b39f
--- /dev/null
+++ b/dev-dotnet/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-dotnet/mono/mono-1.0.5-r5.ebuild b/dev-dotnet/mono/mono-1.0.5-r5.ebuild
new file mode 100644
index 000000000000..3f067cbc301d
--- /dev/null
+++ b/dev-dotnet/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-dotnet/mono/mono-1.0.5-r5.ebuild,v 1.1 2005/03/07 19:59:16 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
+}