summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2011-08-18 09:09:58 +0000
committerAlistair Bush <ali_bush@gentoo.org>2011-08-18 09:09:58 +0000
commit00b25a829d94e5cc5ebfa3d9e3d9ba16c1986b1b (patch)
treedfc0c17a810969b4e7052fe5b0b956c2a8104ae0 /dev-lang
parentFix requested by scarabeus (diff)
downloadhistorical-00b25a829d94e5cc5ebfa3d9e3d9ba16c1986b1b.tar.gz
historical-00b25a829d94e5cc5ebfa3d9e3d9ba16c1986b1b.tar.bz2
historical-00b25a829d94e5cc5ebfa3d9e3d9ba16c1986b1b.zip
Version Bump.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/mono/ChangeLog7
-rw-r--r--dev-lang/mono/Manifest16
-rw-r--r--dev-lang/mono/mono-2.10.4.ebuild262
3 files changed, 271 insertions, 14 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog
index 957ce2ac7ba8..3ab841bd0cc6 100644
--- a/dev-lang/mono/ChangeLog
+++ b/dev-lang/mono/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/mono
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.226 2011/07/14 08:29:29 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.227 2011/08/18 09:09:58 ali_bush Exp $
+
+*mono-2.10.4 (18 Aug 2011)
+
+ 18 Aug 2011; Alistair Bush <ali_bush@gentoo.org> +mono-2.10.4.ebuild:
+ Version Bump.
14 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> mono-2.10.2-r1.ebuild:
ppc stable wrt #372983
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest
index 92c16e923a42..47e24b914766 100644
--- a/dev-lang/mono/Manifest
+++ b/dev-lang/mono/Manifest
@@ -1,21 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
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.1.tar.bz2 33483937 RMD160 3c9acc54d1df0f63ee546bf47bed3ca53b3f679e SHA1 234ee4eca6c80dda9d8fe955f3aafa25530921a7 SHA256 31a573b114bfb85a4283a7d6252addef5ae9d9431134a623723272b247d3cc76
DIST mono-2.10.2.tar.bz2 33737282 RMD160 bac1ecb7e94c77341ae5f15f8d59141f9eb4aa38 SHA1 7b673255c6b17c5a41c15059e5f068d6a970d2ea SHA256 9614472aa131e61bcdbf2fc48ab7a123ea57a10e736def5136a478465afa06b4
+DIST mono-2.10.4.tar.bz2 33936811 RMD160 9f461d014e851f957252dfc1cab356aa185342ae SHA1 137aa5145fec7e8b17e6be91709acff7ac359342 SHA256 bdd5735d71fa0e8832483bc370c0f480e43b618003ffd602898e0dae6d0d9301
EBUILD mono-2.10.1-r2.ebuild 7509 RMD160 80472b5bfca202cb7bdb39ea53f1b33eae0e9250 SHA1 4049a425055d7c90d64e1830d215e7cb17aea539 SHA256 d8d12ed9cbce8e760a129007cb201cf18f493502c1a114118057c1427d41e7a1
EBUILD mono-2.10.2-r1.ebuild 7527 RMD160 5fb90b297ef85469659281d5fcee518519fceda6 SHA1 2300b61818c78ef0373b6000ce16e5f97a6d69b8 SHA256 504cde55e4352bc2246e62cf0c94df8460778a85c3027189b2a66e413f651ad5
EBUILD mono-2.10.2.ebuild 7461 RMD160 3115fa667c967b0b85c5ba90ff2650b67168c8d3 SHA1 a7b3f9f99b3d536c27f4d6c8e7643855a60fde00 SHA256 82a59f131abcebba4032749255be766885d4c933496105ceee935f47103e6444
-MISC ChangeLog 47301 RMD160 b52f6a1dbcb0e97d8082e34f01a193e0e74445f3 SHA1 4e65ce473caea025408390b150a355b977e15064 SHA256 371a330bd0cb659028b31b347194020af1469790c690b7f71ec16bf573663b1c
+EBUILD mono-2.10.4.ebuild 7105 RMD160 889d7eacce8e7755cc016329f1e4baef2118e61e SHA1 8729310615f7569ef47a7b852d0843c810bec005 SHA256 faf7f792271c160e1f68e6dfc0fc81b0e12310549e4567c64efd5368dbbb1aa1
+MISC ChangeLog 47416 RMD160 d3a53f3160ae578307ea7434d092165b5db4ad03 SHA1 01efdf2a1b965416e45b39cdf174c5fe30df6caa SHA256 97e5f753daedc21165163fdfdea867dcd6d8cabcb887bc87f434f7fde96f7f77
MISC metadata.xml 310 RMD160 590f8d057a532f9fdb31d9aa99cf78bc5525f42b SHA1 0d5324433bbfa0be649100139a3bd63507d34d83 SHA256 e393ea4330ca0007ea9612933a869a7df743b15df3f4223b94d38348ac274805
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iJwEAQEIAAYFAk4eqPIACgkQIiMqcbOVdxQvYwP+OxUyelvz75h2BYjw3tepeT6D
-PBlZoQGn/DLbIPGHvco4yIWTHLkGxaP68E42i2+TrXFXM9UjqcFCa0qg+rCtaVw+
-n/oJI/IAN3RVu4+IK+BINSfu5YSzijpVuSXcFRrmlbyjWBBRWOWJQ8gMZmms0LOK
-H2ZishxWEppuK+/EXa0=
-=ENXo
------END PGP SIGNATURE-----
diff --git a/dev-lang/mono/mono-2.10.4.ebuild b/dev-lang/mono/mono-2.10.4.ebuild
new file mode 100644
index 000000000000..3bcb71647285
--- /dev/null
+++ b/dev-lang/mono/mono-2.10.4.ebuild
@@ -0,0 +1,262 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.10.4.ebuild,v 1.1 2011/08/18 09:09:58 ali_bush Exp $
+
+EAPI="2"
+
+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 xen"
+
+#Bash requirement is for += operator
+COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
+ !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
+ >=app-shells/bash-3.2
+ 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_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 "${D}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
+ rm -f "${D}"/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-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 "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"