diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-07-21 17:13:14 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-07-21 17:13:14 +0000 |
commit | 8d91752b5ceb4c06e9598045dd1608215444ac88 (patch) | |
tree | 76b0ced510638da483cfa72eab0b31792ffae5ae /dev-lang/mono | |
parent | New package, ebuild from kde overlay, submitted by myself (diff) | |
download | historical-8d91752b5ceb4c06e9598045dd1608215444ac88.tar.gz historical-8d91752b5ceb4c06e9598045dd1608215444ac88.tar.bz2 historical-8d91752b5ceb4c06e9598045dd1608215444ac88.zip |
Version bump
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/mono')
-rw-r--r-- | dev-lang/mono/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/mono/Manifest | 10 | ||||
-rw-r--r-- | dev-lang/mono/mono-2.6.7.ebuild | 273 |
3 files changed, 285 insertions, 5 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog index afa765dee910..80d3d2a4298d 100644 --- a/dev-lang/mono/ChangeLog +++ b/dev-lang/mono/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/mono # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.193 2010/07/12 17:33:36 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.194 2010/07/21 17:13:14 pacho Exp $ + +*mono-2.6.7 (21 Jul 2010) + + 21 Jul 2010; Pacho Ramos <pacho@gentoo.org> +mono-2.6.7.ebuild: + Version bump 12 Jul 2010; Christian Faulhammer <fauli@gentoo.org> mono-2.6.4-r1.ebuild: stable x86, bug 327279 diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 136414c3f0e8..c14d88ec2f31 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -26,6 +26,7 @@ DIST mono-2.0.1.tar.bz2 19385815 RMD160 ecada26dc398f0ea4cc4cae62885f4d1438bd540 DIST mono-2.4.2.3.tar.bz2 24815426 RMD160 f52bf6e281b076b859a567c17917577710522684 SHA1 c0e7c2992ef6c1ea3d1fd48ef581aa1ff6ec29cb SHA256 1bab0d4e2906c88736ff5e242f2905f4c3535ccfc05bb5c427b72adf0e9236ae DIST mono-2.4.3.1.tar.bz2 24987012 RMD160 0f77d3cb6f42fc13360aab9ccc546690a61ee6f5 SHA1 1a092d33bc3fbdb3fe3e608c6840d7a4da71f33d SHA256 73e04e2b388c037f57aaed86b417a40909499813cd764c82d2684077aecefef1 DIST mono-2.6.4.tar.bz2 27690544 RMD160 c5c12bd0226ff3b45bb8951bfb5c74415e81d6b1 SHA1 c3b556e63cfa635687a40372a83e4a1b8fd10103 SHA256 c05b9f3bcc3b038db860cdf0da81a0010c148a673a311054efffc5f613cd7922 +DIST mono-2.6.7.tar.bz2 27921963 RMD160 5825ad284e4123e4ddb8933637a3dbf5f57f7f5a SHA1 6528c009d344a21eb0898876369222a7fff76838 SHA256 ae21a997d72e2fb8ea88644c87ab52471e9c97117b937e205ea1835b5a028ce4 EBUILD mono-1.2.5.1-r1.ebuild 3673 RMD160 99289029794c9a4fa683ed4bd984b4051a7292e1 SHA1 7eb22d508b2f6e8e86a2f8663e1d94753902d465 SHA256 759a3716d83b1051e54538f242df1dd6dc92bded28401e5d6ad9be4b426031c1 EBUILD mono-1.2.6-r3.ebuild 3911 RMD160 7ccec547f0533cac827ddcc0f8db93df27083251 SHA1 3ba1a0f3d9a1463edca10babf732379a06aecae3 SHA256 24707576453a78de575ac949c2d19228573b2f0cca84f35508f1b80956936848 EBUILD mono-2.0.1-r1.ebuild 3336 RMD160 f5af5b4c59d00c7f0d37774cbdc712435e1f3b65 SHA1 9e5bc6fddac529a324fd913b7359f8f6f2528438 SHA256 0439d5e65e5733c1fafa929c8ef958c4f72c6d2c1af6baab495686b03f0aacea @@ -34,13 +35,14 @@ EBUILD mono-2.4.2.3.ebuild 7151 RMD160 c2bbe180e11197bde2a66470650a3df7a2457e6e EBUILD mono-2.4.3.1.ebuild 7157 RMD160 63827e3616a2309735957af316de803209c98e04 SHA1 17669288558ee84d191b7be890a32613d1d91a8e SHA256 b69a1d8793cabb140519127d0c5bb15562b85ec19066138d1d484641b8ffdaf7 EBUILD mono-2.4.9999.ebuild 7518 RMD160 418f1ac99aab05b312fc4b29ebdede696f11a825 SHA1 ae4c7a6392f097dd410ffb04d0a0ccba69c30f09 SHA256 10cba6104c6f149ef552f6f29f2daa727f7f010bcf676ad41611621637385660 EBUILD mono-2.6.4-r1.ebuild 7199 RMD160 eb43fbe763657ada61087cde7a09b4ecc4c08be7 SHA1 f794643b791803570f3111a88e9082662ee6294a SHA256 7f20e3595e27fda4539a7dfca07651298873f9c8e441bb5f333db235a6709966 +EBUILD mono-2.6.7.ebuild 7198 RMD160 c39db521d9c3be22545f622c58462664d3499109 SHA1 c2b1d81548a7c9c13fce1dd1cd129be61da61800 SHA256 0cdf11bd151856806276644f8b7e0abcf713eef73c1180651a3749e4b05e8c54 EBUILD mono-9999.ebuild 7514 RMD160 55cdc9888175ef15226016d5bd38f6e030050c86 SHA1 3288813c56d7042dbe53ebabf3d0209efef20f04 SHA256 87c00e70ed8eb0a34e44d03c5a99b42b69da9617966860bb72ccda2752acb042 -MISC ChangeLog 40695 RMD160 184b11390edcd30bd61786b0d26d1bad8651e0c0 SHA1 276f0484e986ddcf8038f6eb7b77b8c13de80796 SHA256 66edc191829e880495d59800c823860210f126ab66bd025605e8fd407c2b5e19 +MISC ChangeLog 40804 RMD160 40feac3629b8af010233cc5a1127502e27a3233b SHA1 1c7d98066ac4459b6775aea5d34eba983646c83b SHA256 0ffb402aa6c091f1a771c84b7e81fa045a3d64b5601f9460ce59dff8bda45cdf MISC metadata.xml 372 RMD160 163faef818f92e85913da4add580c9b534fcc1f4 SHA1 af2ccd5f8de56a233139452e6c7ec9cf3c4a749e SHA256 05441e51cf289ea8e4039500f8b4cece85ead51bb46f8ea9588bd6d831239315 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) -iEYEARECAAYFAkw7UlsACgkQNQqtfCuFnePCvgCggYiFKAhlqZTIgaGghcbOgl4n -JkkAmwaGxmFZxlCDn9Pzgxsj4HpCFDO/ -=ljx7 +iEYEARECAAYFAkxHKrcACgkQCaWpQKGI+9QrYQCfY7je1Kbt25+dUJ4i7emfxNNz +JosAn1f7NAeHTg++cLKoz1vKBz+ickik +=NyjU -----END PGP SIGNATURE----- diff --git a/dev-lang/mono/mono-2.6.7.ebuild b/dev-lang/mono/mono-2.6.7.ebuild new file mode 100644 index 000000000000..305de9da672c --- /dev/null +++ b/dev-lang/mono/mono-2.6.7.ebuild @@ -0,0 +1,273 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild,v 1.1 2010/07/21 17:13:14 pacho Exp $ + +EAPI=2 + +inherit linux-info mono eutils flag-o-matic multilib go-mono + +DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" +HOMEPAGE="http://www.go-mono.com" + +LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="xen moonlight minimal" + +#Bash requirement is for += operator +COMMONDEPEND="!<dev-dotnet/pnet-0.6.12 + !dev-util/monodoc + dev-libs/glib:2 + !minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* ) + ia64? ( + sys-libs/libunwind + )" +RDEPEND="${COMMONDEPEND} + || ( www-client/links www-client/lynx )" + +DEPEND="${COMMONDEPEND} + sys-devel/bc + >=app-shells/bash-3.2" +PDEPEND="dev-dotnet/pe-format" + +MAKEOPTS="${MAKEOPTS} -j1" + +RESTRICT="test" + +PATCHES=( + "${WORKDIR}/mono-2.2-libdir126.patch" + "${FILESDIR}/mono-2.2-ppc-threading.patch" + "${FILESDIR}/mono-2.2-uselibdir.patch" + "${FILESDIR}/mono-2.6.4-require-glib.patch" +) + +pkg_setup() { + if use kernel_linux + then + get_version + if linux_config_exists + then + if linux_chkconfig_present SYSVIPC + then + einfo "CONFIG_SYSVIPC is set, looking good." + else + eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." + eerror "See http://bugs.gentoo.org/261869 for more info." + die "Please set CONFIG_SYSVIPC in your kernel .config" + fi + else + ewarn "Was unable to determine your kernel .config" + ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling." + ewarn "See http://bugs.gentoo.org/261869 for more info." + fi + fi +} + +src_prepare() { + sed -e "s:@MONOLIBDIR@:$(get_libdir):" \ + < "${FILESDIR}"/mono-2.2-libdir126.patch \ + > "${WORKDIR}"/mono-2.2-libdir126.patch || + die "Sedding patch file failed" + go-mono_src_prepare +} + +src_configure() { + # mono's build system is finiky, strip the flags + strip-flags + + #Remove this at your own peril. Mono will barf in unexpected ways. + append-flags -fno-strict-aliasing + + #NOTE: We need the static libs for now so mono-debugger works. + #See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details + go-mono_src_configure \ + --enable-static \ + --disable-quiet-build \ + --with-preview \ + --with-glib=system \ + $(use_with moonlight) \ + --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \ + $(use_with xen xen_opt) \ + --without-ikvm-native \ + --with-jit \ + --disable-dtrace + +} + +src_test() { + echo ">>> Test phase [check]: ${CATEGORY}/${PF}" + + export MONO_REGISTRY_PATH="${T}/registry" + export XDG_DATA_HOME="${T}/data" + export MONO_SHARED_DIR="${T}/shared" + export XDG_CONFIG_HOME="${T}/config" + export HOME="${T}/home" + + emake -j1 check +} + +src_install() { + go-mono_src_install + + #Bug 255610 + sed -i -e "s:mono/2.0/mod.exe:mono/1.0/mod.exe:" \ + "${D}"/usr/bin/mod || die "Failed to fix mod." + + find "${D}"/usr/ -name '*nunit-docs*' -exec rm -rf '{}' '+' || die "Removing nunit .docs failed" + + # Remove Jay to avoid colliding with dev-util/jay, the internal + # version is only used to build mcs. + rm -r "${D}"/usr/share/jay "${D}"/usr/bin/jay "${D}"/usr/share/man/man1/jay.1* +} + +#THINK!!!! Before touching postrm and postinst +#Reference phase order: +#pkg_preinst +#pkg_prerm +#pkg_postrm +#pkg_postinst + +pkg_preinst() { + local symlink + local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit" + local pv_atom + if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]] + then + for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4 + do + if has_version "=dev-lang/mono-${pv_atom}" + then + einfo "If you just received a file collision warning message," + einfo "be advised that this is a known problem, which will now be fixed:" + ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing" + for symlink in \ + "${ROOT}/${NUNIT_DIR}" \ + "${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \ + "${ROOT}/usr/bin/nunit-console" \ + "${ROOT}/usr/bin/nunit-console2" + do + if [[ -L "${symlink}" ]] + then + rm -f "${symlink}" &> /dev/null + fi + done + eend 0 + break + fi + done + fi +} + +pkg_postinst() { + elog "PLEASE TAKE NOTE!" + elog "" + elog "Some of the namespaces supported by Mono require extra packages to be installed." + elog "Below is a list of namespaces and the corresponding package you must install:" + elog "" + elog ">=x11-libs/cairo-1.6.4" + elog " Mono.Cairo" + elog "Also read:" + elog "http://www.mono-project.com/Mono.Cairo" + elog "" + elog ">=dev-db/firebird-2.0.4.13130.1" + elog " FirebirdSql.Data.Firebird" + elog "Also read:" + elog "http://www.mono-project.com/Firebird_Interbase" + elog "" + elog "=dev-dotnet/gluezilla-${GO_MONO_REL_PV}*" + elog " Mono.Mozilla" + elog " Mono.Mozilla.WebBrowser" + elog " Mono.Mozilla.Widget" + elog " Interop.SHDocVw" + elog " AxInterop.SHDocVw" + elog " Interop.mshtml.dll" + elog " System.Windows.Forms.WebBrowser" + elog " Microsoft.IE" + elog "Also read:" + elog "http://www.mono-project.com/WebBrowser" + elog "" + elog "dev-db/sqlite:3" + elog " Mono.Data.Sqlite" + elog " Mono.Data.SqliteClient" + elog "Also read:" + elog "http://www.mono-project.com/SQLite" + elog "" + elog ">=dev-db/oracle-instantclient-basic-10.2" + elog " System.Data.OracleClient" + elog "Also read:" + elog "http://www.mono-project.com/Oracle" + elog "" + elog "Mono also has support for packages that are not included in portage:" + elog "" + elog "No ebuild available:" + elog " IBM.Data.DB2" + elog "Also read: http://www.mono-project.com/IBM_DB2" + elog "" + elog "No ebuild needed:" + elog " Mono.Data.SybaseClient" + elog "Also read: http://www.mono-project.com/Sybase" +} + +# NOTICE: THE COPYRIGHT FILES IN THE TARBALL ARE UNCLEAR! +# WHENEVER YOU THINK SOMETHING IS GPL-2+, IT'S ONLY GPL-2 +# UNLESS MIGUEL DE ICAZA HIMSELF SAYS OTHERWISE. + +# mono +# The code we use is LGPL, but contributions must be made under the MIT/X11 +# license, so Novell can serve its paying customers. Exception is mono/man. +# LICENSE="LGPL-2.1" + + # mono/man + # LICENSE="MIT" + +# mcs/mcs +# mcs/gmcs +# LICENSE="GPL-2 MIT" + +# tests +# LICENSE="MIT" + +# mcs/class +# Except the listed exceptions: +# LICENSE="MIT" + + # mcs/class/ByteFX.Data + # mcs/class/Npgsql + # LICENSE="LGPL-2.1" + + # mcs/class/FirebirdSql.Data.Firebird + # LICENSE="IDPL" + + # mcs/class/ICSharpCode.SharpZipLib + # LICENSE="GPL-2-with-linking-exception" + + # mcs/class/MicrosoftAjaxLibrary + # LICENSE="Ms-Pl" + + # mcs/class/Microsoft.JScript/Microsoft.JScript/TokenStream.cs + # mcs/class/Microsoft.JScript/Microsoft.JScript/Token.cs + # mcs/class/Microsoft.JScript/Microsoft.JScript/Parser.cs + # mcs/class/Microsoft.JScript/Microsoft.JScript/Decompiler.cs + # LICENSE="|| ( NPL-1.1 GPL-2 )" + +# mcs/jay +# LICENSE="BSD-4" + +# mcs/tools +# Except the listed exceptions: +# LICENSE="MIT" + + # mcs/tools/mdoc/Mono.Documentation/monodocs2html.cs + # LICENSE="GPL-2" + + # mcs/tools/sqlsharp/SqlSharpCli.cs + # LICENSE="GPL-2" + + # mcs/tools/csharp/repl.cs + # LICENSE="|| ( MIT GPL-2 )" + + # mcs/tools/mono-win32-setup.nsi + # LICENSE="GPL-2" + +# samples +# LICENSE="MIT" |