summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2012-05-04 12:33:18 +0000
committerAlistair Bush <ali_bush@gentoo.org>2012-05-04 12:33:18 +0000
commit9b7d03a5a856bce3ee7da600cec142404ac6aafb (patch)
tree3243b749da335313bebeb99c1a9ba901130cc30a /dev-lang/mono
parentdepend on lwt, by Sergey Kishchenko in bug #413885 (diff)
downloadhistorical-9b7d03a5a856bce3ee7da600cec142404ac6aafb.tar.gz
historical-9b7d03a5a856bce3ee7da600cec142404ac6aafb.tar.bz2
historical-9b7d03a5a856bce3ee7da600cec142404ac6aafb.zip
Version bump to mac-only release due to bug #414393.
Package-Manager: portage-2.1.10.57/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/mono')
-rw-r--r--dev-lang/mono/ChangeLog7
-rw-r--r--dev-lang/mono/Manifest14
-rw-r--r--dev-lang/mono/mono-2.10.9.ebuild262
3 files changed, 271 insertions, 12 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog
index 44bff4b1cb33..45a459e6cf71 100644
--- a/dev-lang/mono/ChangeLog
+++ b/dev-lang/mono/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/mono
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.237 2012/04/09 14:44:12 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.238 2012/05/04 12:33:18 ali_bush Exp $
+
+*mono-2.10.9 (04 May 2012)
+
+ 04 May 2012; Alistair Bush <ali_bush@gentoo.org> +mono-2.10.9.ebuild:
+ Version bump to mac-only release due to bug #414393.
09 Apr 2012; Markus Meier <maekke@gentoo.org> mono-2.10.8.ebuild:
x86 stable, bug #407701
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest
index 940ac7984af7..4744b8ca82c7 100644
--- a/dev-lang/mono/Manifest
+++ b/dev-lang/mono/Manifest
@@ -1,18 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX mono-2.10.1-ppc-len.patch 302 RMD160 61a016d2647b443b0e605df5532ba9c0b22cdb96 SHA1 e8cff140de0983f00473aff5d11aa162da22f61a SHA256 9882bc94999af095b106d45d31ed103e9902a8fa6e88e478e62bc5f7e0b4b5e2
AUX mono-2.10.2-threads-access.patch 1156 RMD160 46d2de409d374502f614c048ced9c37547e07b95 SHA1 f913bcafefa8043d6dcd41a25f547a647514c8e8 SHA256 3f2f91068abb16edc655006262cc19156a28594111aef97f5ff4d98125a1b87d
DIST mono-2.10.5.tar.bz2 33940775 RMD160 7bbd83acc1ad1967a2f4ffad637f3a72711bd74c SHA1 68b991ea1727a44d1e6a4ffb161b9ca2e48ef83a SHA256 a80c644862541f403f8d51a3b7c71c47b6567614884639c2d890e27fa9efaf16
DIST mono-2.10.8.tar.bz2 34007203 RMD160 ca2ac8053119f3322d06112c2533abece8dab69b SHA1 eb10aacc2648102eacf8c1f2da8c989be90be2aa SHA256 c940bcbb0302411d29c0e7c213e99a0f1db1631de59bce7ed3f21b46da78676f
+DIST mono-2.10.9.tar.bz2 34038017 RMD160 ac9784c413eb2cdb490750a86a96cce5c11ad5bd SHA1 1a6e8c5a0c3d88d87982259aa04402e028a283de SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5
EBUILD mono-2.10.5.ebuild 7518 RMD160 0ea172684f5101266b1f2f90e8148e821f3a3238 SHA1 bdddc94d4baa70e667c2225c7f98c312b58011ac SHA256 80016436f58c1ac7152d2287f8809712824bc61db61bc010dad7c97a246cb9d8
EBUILD mono-2.10.8.ebuild 7168 RMD160 4381fbba1afcbdc126df3b6109192076c0be7d5a SHA1 97017768f5e8019ac02f64c782929a95be0626a4 SHA256 1e8440cc3e66b653e31a5ce054cb0b47b3c81c2bc48a26a38a276d319c7e2d87
-MISC ChangeLog 48773 RMD160 9dc0461c191cfeb84bf3749f74e4744c099a02a0 SHA1 1601c78867d476ef00446e250af1f5710bda9fab SHA256 a807d707bcb1a3a0e54147e86c720cccbf5f01a7052e77fb0b2aec5b2834e711
+EBUILD mono-2.10.9.ebuild 7171 RMD160 c8eda17bbe39ac8c622c20f3322d91fa4ab346fb SHA1 514483061ae13892997ebf83f796950b6b0c4684 SHA256 772ede87821cd3338f20f7ab423344d767f704492972e1f28e68b8ff0057d58f
+MISC ChangeLog 48931 RMD160 eabc2c27c6653c3c3321775ba307b211d4369675 SHA1 cf098ef0b8b0dea8e9f921f0ac6f48d0fefbd75a SHA256 ad86ccf435ba32eada353295eaee70bd202245e9f7c6f740aace83566144b38b
MISC metadata.xml 415 RMD160 a8cedd7103ec31148de0d6a315a347bf58bc9082 SHA1 cf18285c94f4325cd2243be294c60ed403a7f98f SHA256 43871c3a2a27121e41dcc79f262b0d921cce7aaea5e7df2435ecaf36591ca07a
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk+C9msACgkQkKaRLQcq0GIxsgCdF8S7xFcPbo6zZZ3x3Vu/jfMz
-7PwAoKIS1LOnTqAKbFX0+XhPQ6Q2e32Z
-=Iw7P
------END PGP SIGNATURE-----
diff --git a/dev-lang/mono/mono-2.10.9.ebuild b/dev-lang/mono/mono-2.10.9.ebuild
new file mode 100644
index 000000000000..d26311712c53
--- /dev/null
+++ b/dev-lang/mono/mono-2.10.9.ebuild
@@ -0,0 +1,262 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.10.9.ebuild,v 1.1 2012/05/04 12:33:18 ali_bush Exp $
+
+EAPI="4"
+
+inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
+
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
+HOMEPAGE="http://www.mono-project.com/Main_Page"
+
+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="minimal pax_kernel xen"
+
+#Bash requirement is for += operator
+COMMONDEPEND="!dev-util/monodoc
+ !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
+ virtual/yacc
+ >=app-shells/bash-3.2
+ pax_kernel? ( sys-apps/paxctl )"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+RESTRICT="test"
+
+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
+ PATCHES=( "${FILESDIR}/${PN}-2.10.2-threads-access.patch" )
+}
+
+src_prepare() {
+ go-mono_src_prepare
+
+ # we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
+ # get killed in the build proces when MPROTEC is enable. #286280
+ # RANDMMAP kill the build proces to #347365
+ if use pax_kernel ; then
+ ewarn "We are disabling MPROTECT on the mono binary."
+ sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+ fi
+}
+
+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
+ #
+ # --without-moonlight since www-plugins/moonlight is not the only one
+ # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
+ #
+ # --with-profile4 needs to be always enabled since it's used by default
+ # and, otherwise, problems like bug #340641 appear.
+ #
+ # sgen fails on ppc, bug #359515
+
+ local myconf=""
+ use ppc && myconf="${myconf} --with-sgen=no"
+ go-mono_src_configure \
+ --enable-static \
+ --disable-quiet-build \
+ --without-moonlight \
+ --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
+ $(use_with xen xen_opt) \
+ --without-ikvm-native \
+ --with-jit \
+ --disable-dtrace \
+ --with-profile4 \
+ ${myconf}
+}
+
+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
+
+ # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
+ # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
+ # for reference.
+ rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
+ rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
+}
+
+#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-db/sqlite:3"
+ elog " Mono.Data.Sqlite"
+ 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"