Bump for #296373
authorPatrick Lauer <patrick@gentoo.org>
Sat, 20 Feb 2010 10:34:29 +0000 (10:34 +0000)
committerPatrick Lauer <patrick@gentoo.org>
Sat, 20 Feb 2010 10:34:29 +0000 (10:34 +0000)
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64

dev-lang/mono/ChangeLog
dev-lang/mono/Manifest
dev-lang/mono/mono-2.6.1.ebuild [new file with mode: 0644]

index 936e253f181679ea26ba242df9fddc37fe100042..b7a02524c7fca427b40b6476c2f25a8fbc67a19f 100644 (file)
@@ -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.185 2010/02/11 15:15:14 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.186 2010/02/20 10:34:29 patrick Exp $
+
+*mono-2.6.1 (20 Feb 2010)
+
+  20 Feb 2010; Patrick Lauer <patrick@gentoo.org> +mono-2.6.1.ebuild:
+  Bump for #296373
 
   11 Feb 2010; Ulrich Mueller <ulm@gentoo.org> mono-1.2.5.1-r1.ebuild,
   mono-1.2.6-r3.ebuild, mono-2.0.1-r1.ebuild:
index df7feba0c4f25b3f71425133226eb2b5910a2fec..8fc04322b9faaac99b9c6839ac9bc8762602557a 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX mono-1.2-glibc28.patch 621 RMD160 51dd3d134ddf2e8894f695f3ea48f705517af7fa SHA1 f4eec2998b42d6fb639f4bc67e0ec45f021e0831 SHA256 378fc337ebea4e6b01885e2581a70c22dc96f14935bc2073595dd2b4e0a2ae12
 AUX mono-1.2.4-pic.patch 515 RMD160 7e6b6bf1bf4279881f5b03135d22f1bf488bed61 SHA1 fa8b18dde84c4305341fafafc88cda725dded3b1 SHA256 daab8ca27e5530d688ba611870c62d558be122781776aed8c0ecd97a56465a63
 AUX mono-1.2.6-bug-347359.patch 468 RMD160 9057edfe349ae587cc73d2a07011faf64e092095 SHA1 26e350f31c54f29d8e407cb4ea3d31333bafb83e SHA256 3ce69a3b5129bc0715eaa46213e28436acfeabdb11e35818a8a3be9ea7fd06c9
@@ -24,6 +21,7 @@ DIST mono-1.2.6.tar.bz2 18163130 RMD160 c6536b008cb73845943956c9ab365589a28c013c
 DIST mono-2.0.1.tar.bz2 19385815 RMD160 ecada26dc398f0ea4cc4cae62885f4d1438bd540 SHA1 1c06d614b9b83ca0c8cff98d06136fd5a17344e2 SHA256 7089e8591ce793940d8a30f3ff5414437c32fc346fa918ec7f186516dab3e212
 DIST mono-2.4.2.3.tar.bz2 24815426 RMD160 f52bf6e281b076b859a567c17917577710522684 SHA1 c0e7c2992ef6c1ea3d1fd48ef581aa1ff6ec29cb SHA256 1bab0d4e2906c88736ff5e242f2905f4c3535ccfc05bb5c427b72adf0e9236ae
 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
 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
@@ -31,13 +29,7 @@ EBUILD mono-2.0.9999.ebuild 7403 RMD160 9f67b7eb901eeb2dbbca0fc14dc0ed7524f83e94
 EBUILD mono-2.4.2.3.ebuild 7151 RMD160 c2bbe180e11197bde2a66470650a3df7a2457e6e SHA1 64c519353ffafa50635d203f365862263e687b47 SHA256 d6e7ea01e43daadf964a4f10199db132a31cac8e22267652d787f5bcf46346cd
 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-9999.ebuild 7514 RMD160 55cdc9888175ef15226016d5bd38f6e030050c86 SHA1 3288813c56d7042dbe53ebabf3d0209efef20f04 SHA256 87c00e70ed8eb0a34e44d03c5a99b42b69da9617966860bb72ccda2752acb042
-MISC ChangeLog 39526 RMD160 6c7e281123dc17b08da4e07a368dae6d26fbd5e3 SHA1 e365f68ef25201242d2174b53365bfb0461550d3 SHA256 9ce5fcc2f9aafb603115effdca4b9222a6c7c2769b1495a2eb00a590407f54aa
+MISC ChangeLog 39647 RMD160 c6e902ad0b310f22c9d8c5ec10c9c09009b13add SHA1 b2977d8c1a2480bb17b3c3089e11bc655e077597 SHA256 59818a8486264de2c4f332fbdbe000c333ba53a8a85bc071726d56bf8be921e9
 MISC metadata.xml 372 RMD160 163faef818f92e85913da4add580c9b534fcc1f4 SHA1 af2ccd5f8de56a233139452e6c7ec9cf3c4a749e SHA256 05441e51cf289ea8e4039500f8b4cece85ead51bb46f8ea9588bd6d831239315
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkt0Hx0ACgkQOeoy/oIi7uxIFgCdG0A8jj9QXNMELZDD3P8ZWjlZ
-WHYAoLh6JGP011JECczw5MWX2XV3616Z
-=pcJQ
------END PGP SIGNATURE-----
diff --git a/dev-lang/mono/mono-2.6.1.ebuild b/dev-lang/mono/mono-2.6.1.ebuild
new file mode 100644 (file)
index 0000000..d0852bd
--- /dev/null
@@ -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.1.ebuild,v 1.1 2010/02/20 10:34:29 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"