diff options
author | Patrick Lauer <patrick@gentoo.org> | 2010-03-19 10:33:27 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2010-03-19 10:33:27 +0000 |
commit | 1a6e701789431900488a83d1d792445f7561e7ff (patch) | |
tree | 9a6e0253f399e6d5e51be4aea7a44b22c53ffd4c /dev-lang | |
parent | Version bump wrt #310189 by "Faustus". (diff) | |
download | historical-1a6e701789431900488a83d1d792445f7561e7ff.tar.gz historical-1a6e701789431900488a83d1d792445f7561e7ff.tar.bz2 historical-1a6e701789431900488a83d1d792445f7561e7ff.zip |
Bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/mono/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/mono/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/mono/mono-2.6.3.ebuild | 272 |
3 files changed, 281 insertions, 2 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog index adbbf0b754f4..9bf416c26069 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.187 2010/02/20 11:05:20 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.188 2010/03/19 10:33:27 patrick Exp $ + +*mono-2.6.3 (19 Mar 2010) + + 19 Mar 2010; Patrick Lauer <patrick@gentoo.org> +mono-2.6.3.ebuild: + Bump *mono-2.4.3.1 (20 Feb 2010) diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest index 6251fa9e71b7..ac675aa2d6a5 100644 --- a/dev-lang/mono/Manifest +++ b/dev-lang/mono/Manifest @@ -23,6 +23,7 @@ DIST mono-2.4.2.3.tar.bz2 24815426 RMD160 f52bf6e281b076b859a567c179175777105226 DIST mono-2.4.3.1.tar.bz2 24987012 RMD160 0f77d3cb6f42fc13360aab9ccc546690a61ee6f5 SHA1 1a092d33bc3fbdb3fe3e608c6840d7a4da71f33d SHA256 73e04e2b388c037f57aaed86b417a40909499813cd764c82d2684077aecefef1 DIST mono-2.4.3.tar.bz2 24962829 RMD160 974e1f2a2a0c54bea1f4a622bf5445e3c178d732 SHA1 d644e0cb580ad37cc74503ecc3e5865047965e92 SHA256 2521a9fe60ecf10f0f307a7c85bfefcd3bc39867936c1075a84d1bfc2335d331 DIST mono-2.6.1.tar.bz2 27644697 RMD160 9d1b5f1f465f285edac98e6b1122965f9e56e0fa SHA1 1e28a40e9e3da194ef96011d804cbcc839b85e08 SHA256 6bd6cc59b740bb3a971a6315f3a85fdfdf5cf1e94545e915ba96c3ea7224baa3 +DIST mono-2.6.3.tar.bz2 27761467 RMD160 e3d61f618a0e9f063d6eb86e336f5deaa23cbcc8 SHA1 a4aab7f46983664dc4cf63a01e4fe7a8a49de2c6 SHA256 0ecb82d2007f472f8eebc85c349813515bf642e6ea021890ece40555ad50d947 EBUILD mono-1.2.5.1-r1.ebuild 3676 RMD160 cfe477305785debe45725e317b05260e4882ccf9 SHA1 118eda576a0320c3dcaa31c30e7c4b61a2a0a5b5 SHA256 8b958c733265e751ab7767111310f2b769fbdfc5acdadfeb5e0b984a82a908c9 EBUILD mono-1.2.6-r3.ebuild 3914 RMD160 0f2658acf24296a4d0c47046fd439c2572072fe2 SHA1 ab865201cc5cf07a6988ecae4c2d652e4ab920c0 SHA256 f618cb05d29b0cb91052ebf901ca0cb16cc3803d716fc7cc1ac0c26e4c7a8e2e EBUILD mono-2.0.1-r1.ebuild 3339 RMD160 d2e8136c79796dfd6ef35623fd205ac85e6d6a45 SHA1 eb953a3edac3b3a6029ec5d7078b9b75730dbdba SHA256 c1947b0a1568d1f2c20f349a9e739a929d2aeb3698c8bc1825fabc1d49fa4948 @@ -32,6 +33,7 @@ EBUILD mono-2.4.3.1.ebuild 7157 RMD160 63827e3616a2309735957af316de803209c98e04 EBUILD mono-2.4.3.ebuild 7160 RMD160 913136ff3cb5d06cf0e6c573f9dabbc0b4e8e686 SHA1 734787edf7e1aad47b8331dfb94c45e81794c752 SHA256 813f6dec8ce9977767696f034b0b60f8f816fcea888c1009428437580ee5daff EBUILD mono-2.4.9999.ebuild 7518 RMD160 418f1ac99aab05b312fc4b29ebdede696f11a825 SHA1 ae4c7a6392f097dd410ffb04d0a0ccba69c30f09 SHA256 10cba6104c6f149ef552f6f29f2daa727f7f010bcf676ad41611621637385660 EBUILD mono-2.6.1.ebuild 7155 RMD160 c2a4c13ea4c1c7be0ac31e8fef877af36ca20bf9 SHA1 2358f28fc1ec030d8e52950bbf046bb2c52c1d5f SHA256 37201ef22618c2e3db458b7cd406e2d3a7d02bd02259ad9ecd2f529ad26e7d86 +EBUILD mono-2.6.3.ebuild 7155 RMD160 411bcbc7017358a53a1dadfe87cd60cfabd8336d SHA1 cd83557e3cd2cc7275237a47d0c9f977fdf364c0 SHA256 bb6975347fc06e6bb80a2ea93a17f953aefd83594b18e65e686b4cd0d8896a9d EBUILD mono-9999.ebuild 7514 RMD160 55cdc9888175ef15226016d5bd38f6e030050c86 SHA1 3288813c56d7042dbe53ebabf3d0209efef20f04 SHA256 87c00e70ed8eb0a34e44d03c5a99b42b69da9617966860bb72ccda2752acb042 -MISC ChangeLog 39768 RMD160 8c6bf9a746bedc5b4062b8005f4759dca48eb947 SHA1 680cff43848520b9923a7787eebf66371c9b4b80 SHA256 fecc67640755b4f8018a5e00611bd4ce2ac36dfd16d3d5befd45f614747aa609 +MISC ChangeLog 39873 RMD160 34422880186174e581dfb68f1e66637215990508 SHA1 2014947c183e8df89dd8ce04c6ab8088275ac043 SHA256 00460e9fb0dad503f3fc12cd49f32f4bb7e1ff7635ef8f54dfa878c1a2a9156b MISC metadata.xml 372 RMD160 163faef818f92e85913da4add580c9b534fcc1f4 SHA1 af2ccd5f8de56a233139452e6c7ec9cf3c4a749e SHA256 05441e51cf289ea8e4039500f8b4cece85ead51bb46f8ea9588bd6d831239315 diff --git a/dev-lang/mono/mono-2.6.3.ebuild b/dev-lang/mono/mono-2.6.3.ebuild new file mode 100644 index 000000000000..6dffe848cd3e --- /dev/null +++ b/dev-lang/mono/mono-2.6.3.ebuild @@ -0,0 +1,272 @@ +# 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.3.ebuild,v 1.1 2010/03/19 10:33:27 patrick 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" +) + +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" |