diff options
author | Pacho Ramos <pacho@gentoo.org> | 2010-10-07 20:12:10 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2010-10-07 20:12:10 +0000 |
commit | eea217bcd8e69ea2ab66291afd432e1d294b2cc3 (patch) | |
tree | 64c5ef54e647988372e06cdef2dec71eb31a0594 /dev-lang/mono | |
parent | Version bump and clean up #339943 by Torsten Kurbad. (diff) | |
download | historical-eea217bcd8e69ea2ab66291afd432e1d294b2cc3.tar.gz historical-eea217bcd8e69ea2ab66291afd432e1d294b2cc3.tar.bz2 historical-eea217bcd8e69ea2ab66291afd432e1d294b2cc3.zip |
Remove old.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/mono')
24 files changed, 18 insertions, 2246 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog index bc5efa2214b2..525d89b28f58 100644 --- a/dev-lang/mono/ChangeLog +++ b/dev-lang/mono/ChangeLog @@ -1,6 +1,23 @@ # 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.199 2010/10/05 21:22:03 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.200 2010/10/07 20:12:09 pacho Exp $ + + 07 Oct 2010; Pacho Ramos <pacho@gentoo.org> -files/mono-1.2-glibc28.patch, + -files/mono-1.2.4-pic.patch, -mono-1.2.5.1-r1.ebuild, + -mono-1.2.6-r3.ebuild, -files/mono-1.2.6-bug-347359.patch, + -files/mono-1.2.6-threads-types-private-prototypes.patch, + -mono-2.0.1-r1.ebuild, + -files/mono-2.0.1-fix-wsdl-troubles-with-muine.patch, + -files/mono-2.0.1-fix_implicit_pointer_conversions.patch, + -mono-2.0.9999.ebuild, -files/mono-2.0-fix-headless.patch, + -files/mono-2.0-mimeicon.patch, -files/mono-2.0-ppc-threading.patch, + -files/mono-2.2-freebsd-elf_common.patch, + -files/mono-2.2-r121596-work-around-runtime-crash.patch, + -files/mono-2.2-r123987-bless-crash.patch, -mono-2.4.2.3.ebuild, + -mono-2.4.3.1.ebuild, -mono-2.4.9999.ebuild, + -files/mono-2.4-openoffice.patch, -files/mono-2.4-ppcbuild-fix.patch, + -mono-2.6.4-r1.ebuild, -files/mono-biginteger_overflow.diff: + Remove old. 05 Oct 2010; Pacho Ramos <pacho@gentoo.org> mono-9999.ebuild, +files/mono-9999-libdir.patch: diff --git a/dev-lang/mono/files/mono-1.2-glibc28.patch b/dev-lang/mono/files/mono-1.2-glibc28.patch deleted file mode 100644 index 2da5a3c3c72b..000000000000 --- a/dev-lang/mono/files/mono-1.2-glibc28.patch +++ /dev/null @@ -1,21 +0,0 @@ -http://anonsvn.mono-project.com/viewvc?view=rev&revision=101444 -https://bugs.gentoo.org/225409 -backport for glibc-2.8 stablization -https://bugs.gentoo.org/show_bug.cgi?id=247553 ---- trunk/mono/mono/io-layer/wapi_glob.c 2008/04/22 14:29:40 101443 -+++ trunk/mono/mono/io-layer/wapi_glob.c 2008/04/22 14:44:10 101444 -@@ -299,11 +299,14 @@ - } - pathv[pglob->gl_offs + pglob->gl_pathc] = NULL; - -+#if 0 -+ /* Broken on opensuse 11 */ - if ((pglob->gl_flags & WAPI_GLOB_LIMIT) && - newsize + *limitp >= ARG_MAX) { - errno = 0; - return(WAPI_GLOB_NOSPACE); - } -+#endif - - return(copy == NULL ? WAPI_GLOB_NOSPACE : 0); - } diff --git a/dev-lang/mono/files/mono-1.2.4-pic.patch b/dev-lang/mono/files/mono-1.2.4-pic.patch deleted file mode 100644 index d1ad73997016..000000000000 --- a/dev-lang/mono/files/mono-1.2.4-pic.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- mono/utils/mono-compiler.h.orig 2007-02-06 09:17:09.000000000 +0100 -+++ mono/utils/mono-compiler.h 2007-02-06 09:56:15.000000000 +0100 -@@ -1,5 +1,15 @@ - #ifndef __UTILS_MONO_COMPILER_H__ - #define __UTILS_MONO_COMPILER_H__ -+ -+#if defined(__PIC__) && !defined(PIC) -+/* -+ * Must be compiling -fPIE, for executables. Build PIC -+ * but with initial-exec. -+ */ -+# define PIC -+# define PIC_INITIAL_EXEC -+#endif -+ - /* - * This file includes macros used in the runtime to encapsulate different - * compiler behaviours. diff --git a/dev-lang/mono/files/mono-1.2.6-bug-347359.patch b/dev-lang/mono/files/mono-1.2.6-bug-347359.patch deleted file mode 100644 index d6946b8ea175..000000000000 --- a/dev-lang/mono/files/mono-1.2.6-bug-347359.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- trunk/mcs/mcs/expression.cs 2007/12/22 13:17:22 91807 -+++ trunk/mcs/mcs/expression.cs 2007/12/23 13:29:15 91831 -@@ -4242,6 +4242,10 @@ - - public override Expression DoResolve (EmitContext ec) - { -+ // Don't resolve already resolved expression -+ if (eclass != ExprClass.Invalid) -+ return this; -+ - Expression expr_resolved = expr.Resolve (ec, ResolveFlags.VariableOrValue | ResolveFlags.MethodGroup); - if (expr_resolved == null) - return null; diff --git a/dev-lang/mono/files/mono-1.2.6-threads-types-private-prototypes.patch b/dev-lang/mono/files/mono-1.2.6-threads-types-private-prototypes.patch deleted file mode 100644 index eec421241a42..000000000000 --- a/dev-lang/mono/files/mono-1.2.6-threads-types-private-prototypes.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- mono/metadata/threads.h 2007/12/20 00:38:27 1.1 -+++ mono/metadata/threads.h 2007/12/20 00:38:46 -@@ -14,7 +14,6 @@ - #include <mono/utils/mono-membar.h> - #include <mono/metadata/object.h> - #include <mono/metadata/appdomain.h> --#include <mono/metadata/threads-types.h> - - G_BEGIN_DECLS - -@@ -67,10 +66,6 @@ extern void mono_thread_interruption_che - extern void mono_thread_force_interruption_checkpoint (void); - extern gint32* mono_thread_interruption_request_flag (void); - --extern void mono_thread_set_state (MonoThread *thread, MonoThreadState state); --extern void mono_thread_clr_state (MonoThread *thread, MonoThreadState state); --extern gboolean mono_thread_test_state (MonoThread *thread, MonoThreadState test); -- - G_END_DECLS - - #endif /* _MONO_METADATA_THREADS_H_ */ ---- mono/metadata/threads-types.h 2007/12/20 00:38:32 1.1 -+++ mono/metadata/threads-types.h 2007/12/20 00:40:55 -@@ -157,4 +157,8 @@ extern MonoThreadHazardPointers* mono_ha - (hp)->hazard_pointers [(i)] = NULL; \ - } while (0) - -+extern void mono_thread_set_state (MonoThread *thread, MonoThreadState state) MONO_INTERNAL; -+extern void mono_thread_clr_state (MonoThread *thread, MonoThreadState state) MONO_INTERNAL; -+extern gboolean mono_thread_test_state (MonoThread *thread, MonoThreadState test) MONO_INTERNAL; -+ - #endif /* _MONO_METADATA_THREADS_TYPES_H_ */ diff --git a/dev-lang/mono/files/mono-2.0-fix-headless.patch b/dev-lang/mono/files/mono-2.0-fix-headless.patch deleted file mode 100644 index a456d34c879c..000000000000 --- a/dev-lang/mono/files/mono-2.0-fix-headless.patch +++ /dev/null @@ -1,152 +0,0 @@ -diff -NrU5 mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutPanel.cs mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutPanel.cs ---- mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutPanel.cs 2008-12-19 07:00:41.000000000 +0100 -+++ mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutPanel.cs 2008-12-19 07:00:55.000000000 +0100 -@@ -131,10 +131,11 @@ - set { - if (value.isSerialized) { - // Serialized version doesn't calculate these. - value.ColumnCount = value.ColumnStyles.Count; - value.RowCount = value.RowStyles.Count; -+ value.panel = this; - - this.settings = value; - value.isSerialized = false; - } else - throw new NotSupportedException ("LayoutSettings value cannot be set directly."); -diff -NrU5 mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutSettings.cs mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutSettings.cs ---- mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutSettings.cs 2008-12-19 07:00:41.000000000 +0100 -+++ mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutSettings.cs 2008-12-19 07:00:55.000000000 +0100 -@@ -46,11 +46,11 @@ - private int row_count; - private Dictionary<Object, int> columns; - private Dictionary<Object, int> column_spans; - private Dictionary<Object, int> rows; - private Dictionary<Object, int> row_spans; -- private TableLayoutPanel panel; -+ internal TableLayoutPanel panel; - internal bool isSerialized; - - #region Internal Constructor - internal TableLayoutSettings (TableLayoutPanel panel) - { -@@ -132,11 +132,13 @@ - if (value < 0) - throw new ArgumentOutOfRangeException (); - - if (row_count != value) { - row_count = value; -- panel.PerformLayout (panel, "RowCount"); -+ -+ if (panel != null) -+ panel.PerformLayout (); - } - } - } - - [DesignerSerializationVisibility (DesignerSerializationVisibility.Content)] -@@ -223,55 +225,65 @@ - if (control == null) - throw new ArgumentNullException (); - - columns[control] = cellPosition.Column; - rows[control] = cellPosition.Row; -- panel.PerformLayout (); -+ -+ if (panel != null) -+ panel.PerformLayout (); - } - - public void SetColumn (Object control, int column) - { - if (control == null) - throw new ArgumentNullException (); - if (column < -1) - throw new ArgumentException (); - - columns[control] = column; -- panel.PerformLayout (); -+ -+ if (panel != null) -+ panel.PerformLayout (); - } - - public void SetColumnSpan (Object control, int value) - { - if (control == null) - throw new ArgumentNullException (); - if (value < -1) - throw new ArgumentException (); - - column_spans[control] = value; -- panel.PerformLayout (); -+ -+ if (panel != null) -+ panel.PerformLayout (); - } - - public void SetRow (Object control, int row) - { - if (control == null) - throw new ArgumentNullException (); - if (row < -1) - throw new ArgumentException (); - - rows[control] = row; -- panel.PerformLayout (); -+ -+ if (panel != null) -+ panel.PerformLayout (); - } - - public void SetRowSpan (Object control, int value) - { - if (control == null) - throw new ArgumentNullException (); - if (value < -1) - throw new ArgumentException (); - - row_spans[control] = value; -- panel.PerformLayout (); -+ -+ if (panel != null) -+ panel.PerformLayout (); - } - #endregion - - #region Internal Methods - internal List<ControlInfo> GetControls () -diff -NrU5 mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutStyleCollection.cs mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutStyleCollection.cs ---- mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutStyleCollection.cs 2008-12-19 07:00:41.000000000 +0100 -+++ mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TableLayoutStyleCollection.cs 2008-12-19 07:00:55.000000000 +0100 -@@ -76,11 +76,14 @@ - if (layoutStyle.Owner != null) - throw new ArgumentException ("Style is already owned"); - - layoutStyle.Owner = table; - int result = al.Add (layoutStyle); -- table.PerformLayout (); -+ -+ if (table != null) -+ table.PerformLayout (); -+ - return result; - } - - bool IList.Contains (object style) - { -diff -NrU5 mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayoutSettingsTypeConverter.cs mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayoutSettingsTypeConverter.cs ---- mono-2.0.1.orig/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayoutSettingsTypeConverter.cs 2008-12-19 07:00:41.000000000 +0100 -+++ mono-2.0.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayoutSettingsTypeConverter.cs 2008-12-19 07:02:23.000000000 +0100 -@@ -117,11 +117,11 @@ - if (!(value is string))
- return base.ConvertFrom(context, culture, value);
-
- XmlDocument xmldoc = new XmlDocument();
- xmldoc.LoadXml (value as string);
-- TableLayoutSettings settings = new TableLayoutSettings(new TableLayoutPanel ());
-+ TableLayoutSettings settings = new TableLayoutSettings(null);
- int count = ParseControl (xmldoc, settings);
- ParseColumnStyle (xmldoc, settings);
- ParseRowStyle (xmldoc, settings);
- settings.RowCount = count;
-
diff --git a/dev-lang/mono/files/mono-2.0-mimeicon.patch b/dev-lang/mono/files/mono-2.0-mimeicon.patch deleted file mode 100644 index 26ade3ade16a..000000000000 --- a/dev-lang/mono/files/mono-2.0-mimeicon.patch +++ /dev/null @@ -1,54 +0,0 @@ ---- mono-2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs 2008-09-02 16:46:50.000000000 +0100 -+++ mono-2.0/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon-new.cs 2008-09-18 23:29:05.000000000 +0100 -@@ -358,11 +358,12 @@ - if (internal_mime_type == "harddisk/harddisk" || internal_mime_type == "cdrom/cdrom" || internal_mime_type == "removable/removable") - image = ResourceImageLoader.Get ("text-x-generic.png"); - } -- -- index = MimeIconEngine.SmallIcons.Images.Add (image, Color.Transparent); -- MimeIconEngine.LargeIcons.Images.Add (image, Color.Transparent); -- -- MimeIconEngine.MimeIconIndex.Add (internal_mime_type, index); -+ -+ if (image != null) { -+ index = MimeIconEngine.SmallIcons.Images.Add (image, Color.Transparent); -+ MimeIconEngine.LargeIcons.Images.Add (image, Color.Transparent); -+ MimeIconEngine.MimeIconIndex.Add (internal_mime_type, index); -+ } - } - - public override object AddAndGetIconIndex (string filename, string mime_type) -@@ -370,11 +371,11 @@ - int index = -1; - - Image image = GnomeUtil.GetIcon (filename, mime_type, 48); -- -- index = MimeIconEngine.SmallIcons.Images.Add (image, Color.Transparent); -- MimeIconEngine.LargeIcons.Images.Add (image, Color.Transparent); -- -- MimeIconEngine.MimeIconIndex.Add (mime_type, index); -+ if (image != null) { -+ index = MimeIconEngine.SmallIcons.Images.Add (image, Color.Transparent); -+ MimeIconEngine.LargeIcons.Images.Add (image, Color.Transparent); -+ MimeIconEngine.MimeIconIndex.Add (mime_type, index); -+ } - - return index; - } -@@ -384,11 +385,11 @@ - int index = -1; - - Image image = GnomeUtil.GetIcon (mime_type, 48); -- -- index = MimeIconEngine.SmallIcons.Images.Add (image, Color.Transparent); -- MimeIconEngine.LargeIcons.Images.Add (image, Color.Transparent); -- -- MimeIconEngine.MimeIconIndex.Add (mime_type, index); -+ if (image != null) { -+ index = MimeIconEngine.SmallIcons.Images.Add (image, Color.Transparent); -+ MimeIconEngine.LargeIcons.Images.Add (image, Color.Transparent); -+ MimeIconEngine.MimeIconIndex.Add (mime_type, index); -+ } - - return index; - } diff --git a/dev-lang/mono/files/mono-2.0-ppc-threading.patch b/dev-lang/mono/files/mono-2.0-ppc-threading.patch deleted file mode 100644 index d28ecf2763af..000000000000 --- a/dev-lang/mono/files/mono-2.0-ppc-threading.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- mono-2.0/mono/mini/main.c 2008-08-03 07:49:23.000000000 +0100 -+++ mono-2.0/mono/mini/main-new.c 2008-08-03 07:55:10.000000000 +0100 -@@ -23,10 +23,16 @@ - } - - #else -- -+#include <sched.h> - int - main (int argc, char* argv[]) - { -+ /* On PowerPC call sched_setaffinity to bind to one CPU only -+ * to work around parallelism bug on G5 SMP */ -+ #ifdef __powerpc__ -+ unsigned long mask = 1; -+ sched_setaffinity(0, sizeof(mask), &mask); -+ #endif - return mono_main (argc, argv); - } - diff --git a/dev-lang/mono/files/mono-2.0.1-fix-wsdl-troubles-with-muine.patch b/dev-lang/mono/files/mono-2.0.1-fix-wsdl-troubles-with-muine.patch deleted file mode 100644 index 2001f717fb0c..000000000000 --- a/dev-lang/mono/files/mono-2.0.1-fix-wsdl-troubles-with-muine.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs 2008/10/28 09:09:03 117242 -+++ mcs/class/System.Web.Services/System.Web.Services.Description/BasicProfileChecker.cs 2008/10/28 09:32:46 117243 -@@ -177,7 +177,7 @@ - foreach (OperationMessage om in op.Messages) { - Message msg = ctx.Services.GetMessage (om.Message); - foreach (MessagePart part in msg.Parts) -- parts.Add (part,part); -+ parts [part] = part; // do not use Add() - there could be the same MessagePart instance. - } - } - diff --git a/dev-lang/mono/files/mono-2.0.1-fix_implicit_pointer_conversions.patch b/dev-lang/mono/files/mono-2.0.1-fix_implicit_pointer_conversions.patch deleted file mode 100644 index 35b99919336f..000000000000 --- a/dev-lang/mono/files/mono-2.0.1-fix_implicit_pointer_conversions.patch +++ /dev/null @@ -1,18 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## fix_implicit_pointer_conversions.dpatch by Mirco Bauer <meebey@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: No description. - -@DPATCH@ -diff -urNad mono-1.2.6~/mono/metadata/security.c mono-1.2.6/mono/metadata/security.c ---- mono-1.2.6~/mono/metadata/security.c 2007-11-08 23:07:19.000000000 +0100 -+++ mono-1.2.6/mono/metadata/security.c 2007-12-24 15:54:02.000000000 +0100 -@@ -12,6 +12,7 @@ - #endif - - #include <mono/metadata/appdomain.h> -+#include <mono/metadata/assembly.h> - #include <mono/metadata/image.h> - #include <mono/metadata/exception.h> - #include <mono/metadata/object-internals.h> diff --git a/dev-lang/mono/files/mono-2.2-freebsd-elf_common.patch b/dev-lang/mono/files/mono-2.2-freebsd-elf_common.patch deleted file mode 100644 index 3dc66cc4b9aa..000000000000 --- a/dev-lang/mono/files/mono-2.2-freebsd-elf_common.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- mono/utils/freebsd-elf_common.h.orig 2009-02-12 10:56:14.604852206 +0100 -+++ mono/utils/freebsd-elf_common.h 2009-02-12 10:56:52.034748775 +0100 -@@ -42,10 +42,14 @@ - * not include the padding. - */ - -+/* -+ * Patched acording to: http://lists.ximian.com/pipermail/mono-patches/2009-January/138782.html -+ */ -+ - typedef struct { -- u_int32_t n_namesz; /* Length of name. */ -- u_int32_t n_descsz; /* Length of descriptor. */ -- u_int32_t n_type; /* Type of this note. */ -+ uint32_t n_namesz; /* Length of name. */ -+ uint32_t n_descsz; /* Length of descriptor. */ -+ uint32_t n_type; /* Type of this note. */ - } Elf_Note; - - /* Indexes into the e_ident array. Keep synced with diff --git a/dev-lang/mono/files/mono-2.2-r121596-work-around-runtime-crash.patch b/dev-lang/mono/files/mono-2.2-r121596-work-around-runtime-crash.patch deleted file mode 100644 index 86f7717e1a4c..000000000000 --- a/dev-lang/mono/files/mono-2.2-r121596-work-around-runtime-crash.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: mono/metadata/metadata.c -=================================================================== ---- mono/metadata/metadata.c (Revision 121595) -+++ mono/metadata/metadata.c (Revision 121596) -@@ -2178,9 +2178,11 @@ - MonoImage *image = data; - MonoMethodInflated *method = key; - -+ // FIXME: -+ // https://bugzilla.novell.com/show_bug.cgi?id=458168 - return method->declaring->klass->image == image || - (method->context.class_inst && ginst_in_image (method->context.class_inst, image)) || -- (method->context.method_inst && ginst_in_image (method->context.method_inst, image)); -+ (method->context.method_inst && ginst_in_image (method->context.method_inst, image)) || signature_in_image (mono_method_signature ((MonoMethod*)method), image); - } - - static gboolean diff --git a/dev-lang/mono/files/mono-2.2-r123987-bless-crash.patch b/dev-lang/mono/files/mono-2.2-r123987-bless-crash.patch deleted file mode 100644 index 1be03542a375..000000000000 --- a/dev-lang/mono/files/mono-2.2-r123987-bless-crash.patch +++ /dev/null @@ -1,31 +0,0 @@ -# http://gna.org/bugs/?12900 -# https://bugzilla.novell.com/show_bug.cgi?id=469213 -# http://bugs.gentoo.org/show_bug.cgi?id=256153 - -Index: mono/mono/mini/method-to-ir.c -=================================================================== ---- mono/mono/mini/method-to-ir.c (revision 123986) -+++ mono/mono/mini/method-to-ir.c (revision 123987) -@@ -5839,7 +5839,21 @@ - cmethod = (MonoMethod *)mono_method_get_wrapper_data (method, token); - cil_method = cmethod; - } else if (constrained_call) { -- cmethod = mono_get_method_constrained (image, token, constrained_call, generic_context, &cil_method); -+ if ((constrained_call->byval_arg.type == MONO_TYPE_VAR || constrained_call->byval_arg.type == MONO_TYPE_MVAR) && cfg->generic_sharing_context) { -+ /* This is needed when using aot + generic sharing, since -+ * the AOT code allows generic sharing for methods with -+ * type parameters having constraints, and -+ * get_method_constrained can't find the method in klass -+ * representing a type var. -+ * The type var is guaranteed to be a reference type in this -+ * case. -+ */ -+ cmethod = mini_get_method (cfg, method, token, NULL, generic_context); -+ cil_method = cmethod; -+ g_assert (!cmethod->klass->valuetype); -+ } else { -+ cmethod = mono_get_method_constrained (image, token, constrained_call, generic_context, &cil_method); -+ } - } else { - cmethod = mini_get_method (cfg, method, token, NULL, generic_context); - cil_method = cmethod; diff --git a/dev-lang/mono/files/mono-2.4-openoffice.patch b/dev-lang/mono/files/mono-2.4-openoffice.patch deleted file mode 100644 index 1b09dec88795..000000000000 --- a/dev-lang/mono/files/mono-2.4-openoffice.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- trunk/mcs/mcs/class.cs 2009/04/28 17:00:23 132860 -+++ trunk/mcs/mcs/class.cs 2009/04/28 17:02:37 132861 -@@ -2905,6 +2905,9 @@ - } - - public sealed class Struct : ClassOrStruct { -+ -+ bool is_unmanaged, has_unmanaged_check_done; -+ - // <summary> - // Modifiers allowed in a struct declaration - // </summary> -@@ -2964,6 +2967,11 @@ - if (requires_delayed_unmanagedtype_check) - return true; - -+ if (has_unmanaged_check_done) -+ return is_unmanaged; -+ -+ has_unmanaged_check_done = true; -+ - foreach (FieldBase f in fields) { - if ((f.ModFlags & Modifiers.STATIC) != 0) - continue; -@@ -2972,6 +2980,7 @@ - // struct S { S* s; } - Type mt = f.MemberType; - if (mt == null) { -+ has_unmanaged_check_done = false; - requires_delayed_unmanagedtype_check = true; - return true; - } -@@ -2988,6 +2997,7 @@ - return false; - } - -+ is_unmanaged = true; - return true; - } - diff --git a/dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch b/dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch deleted file mode 100644 index 0668d55d4032..000000000000 --- a/dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -# From upstream CVS, fixes build on PPC/PPC64 - ---- mono-2-4/mono/libgc/include/private/gc_locks.h 2009/04/10 14:32:31 131471 -+++ mono-2-4/mono/libgc/include/private/gc_locks.h 2009/04/10 14:34:27 131472 -@@ -160,15 +160,15 @@ - int temp = 1; /* locked value */ - - __asm__ __volatile__( -- "1:\tlwarx %0,0,%3\n" /* load and reserve */ -+ "1:\tlwarx %0,0,%1\n" /* load and reserve */ - "\tcmpwi %0, 0\n" /* if load is */ - "\tbne 2f\n" /* non-zero, return already set */ - "\tstwcx. %2,0,%1\n" /* else store conditional */ - "\tbne- 1b\n" /* retry if lost reservation */ - "\tsync\n" /* import barrier */ - "2:\t\n" /* oldval is zero if we set */ -- : "=&r"(oldval), "=p"(addr) -- : "r"(temp), "1"(addr) -+ : "=&r"(oldval) -+ : "r"(addr), "r"(temp) - : "cr0","memory"); - return oldval; - } diff --git a/dev-lang/mono/files/mono-biginteger_overflow.diff b/dev-lang/mono/files/mono-biginteger_overflow.diff deleted file mode 100644 index 17d077249e9f..000000000000 --- a/dev-lang/mono/files/mono-biginteger_overflow.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- mcs/class/corlib/Mono.Math/BigInteger.cs 2007-09-19 19:06:06.000000000 +0200 -+++ mcs/class/corlib/Mono.Math/BigInteger.cs 2007-10-25 23:46:55.000000000 +0200 -@@ -1607,7 +1607,7 @@ - uint j = 1; - - // Multiply and add -- for (; j < m.length; j++) { -+ for (; j < m.length && j < A.length; j++) { - c += (ulong)u_i * (ulong)*(mP++) + *(aSP++); - *(aDP++) = (uint)c; - c >>= 32; ---- mcs/class/Mono.Security/Mono.Math/BigInteger.cs 2007-07-24 23:48:50.000000000 +0200 -+++ mcs/class/Mono.Security/Mono.Math/BigInteger.cs 2007-10-25 23:45:01.000000000 +0200 -@@ -1601,7 +1601,7 @@ - uint j = 1; - - // Multiply and add -- for (; j < m.length; j++) { -+ for (; j < m.length && j < A.length; j++) { - c += (ulong)u_i * (ulong)*(mP++) + *(aSP++); - *(aDP++) = (uint)c; - c >>= 32; diff --git a/dev-lang/mono/mono-1.2.5.1-r1.ebuild b/dev-lang/mono/mono-1.2.5.1-r1.ebuild deleted file mode 100644 index 45235dafc3f0..000000000000 --- a/dev-lang/mono/mono-1.2.5.1-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# 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-1.2.5.1-r1.ebuild,v 1.9 2010/07/11 17:52:26 armin76 Exp $ - -inherit eutils flag-o-matic multilib autotools - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com" -SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.bz2" - -LICENSE="|| ( GPL-2 LGPL-2 MIT )" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~x86-fbsd" -IUSE="X nptl" - -RDEPEND="!<dev-dotnet/pnet-0.6.12 - >=dev-libs/glib-2.6 - nptl? ( >=sys-devel/gcc-3.3.5-r1 ) - ppc? ( - >=sys-devel/gcc-3.2.3-r4 - >=sys-libs/glibc-2.3.3_pre20040420 - ) - X? ( >=dev-dotnet/libgdiplus-1.2.4 )" -DEPEND="${RDEPEND} - sys-devel/bc - >=dev-util/pkgconfig-0.19" -PDEPEND="dev-dotnet/pe-format" - -# Parallel build unfriendly -MAKEOPTS="${MAKEOPTS} -j1" - -RESTRICT="test" - -function get-memory-total() { - cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Fix the install path, install into $(libdir) - sed -i -e 's:$(prefix)/lib:$(libdir):' \ - -i -e 's:$(exec_prefix)/lib:$(libdir):' \ - -i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \ - "${S}"/{scripts,mono/metadata}/Makefile.am "${S}/configure.in" \ - || die "sed failed" - - sed -i -e 's:^libdir.*:libdir=@libdir@:' \ - -i -e 's:${prefix}/lib/:${libdir}/:g' \ - "${S}"/{scripts,}/*.pc.in \ - || die "sed failed" - - epatch "${FILESDIR}/${PN}-1.2.4-pic.patch" || die "patch failed" - epatch "${FILESDIR}"/${PN}-1.2-glibc28.patch - - # Remove dummy ltconfig and let libtool handle it - rm -f "${S}/libgc/ltconfig" - - epatch "${FILESDIR}/mono-biginteger_overflow.diff" - - einfo "Regenerating the build files, this will take some time..." - eautoreconf -} - -src_compile() { - # mono's build system is finiky, strip the flags - strip-flags - - # Enable the 2.0 FX, use the system glib and the gc - local myconf="--with-preview=yes --with-glib=system --with-gc=included" - - # Threading support - if use amd64 || use nptl ; then - # force __thread on amd64 (bug #83770) - myconf="${myconf} --with-tls=__thread" - else - myconf="${myconf} --with-tls=pthread" - fi - - # Enable large heaps if memory is more than >=3GB - if [[ $(get-memory-total) -ge 3145728 ]] ; then - myconf="${myconf} --with-large-heap=yes" - fi - - # Force the use of monolite mcs to prevent issues with classlibs (bug #118062) - touch "${S}/mcs/build/deps/use-monolite" - - econf ${myconf} || die "configure failed" - emake EXTERNAL_MCS=false EXTERNAL_MONO=false - - if [[ "$?" -ne "0" ]]; then - ewarn "If you are using any hardening features such as" - ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason" - ewarn "why build has failed. In this case turn any active security" - ewarn "enhancements off and try emerging the package again" - die - fi -} - -src_test() { - echo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - mkdir -p "${T}/home/mono" || die "mkdir home failed" - - export HOME="${T}/home/mono" - export XDG_CONFIG_HOME="${T}/home/mono" - export XDG_DATA_HOME="${T}/home/mono" - - if ! LC_ALL=C emake -j1 check; then - hasq test $FEATURES && die "Make check failed. See above for details." - hasq test $FEATURES || eerror "Make check failed. See above for details." - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - - dodoc AUTHORS ChangeLog NEWS README - - docinto docs - dodoc docs/* - - docinto libgc - dodoc libgc/ChangeLog -} diff --git a/dev-lang/mono/mono-1.2.6-r3.ebuild b/dev-lang/mono/mono-1.2.6-r3.ebuild deleted file mode 100644 index 9c15b492f928..000000000000 --- a/dev-lang/mono/mono-1.2.6-r3.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# 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-1.2.6-r3.ebuild,v 1.4 2010/07/11 17:52:26 armin76 Exp $ - -inherit eutils flag-o-matic multilib autotools - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com" -SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.bz2" - -LICENSE="|| ( GPL-2 LGPL-2 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" -IUSE="X moonlight nptl" - -RDEPEND="!<dev-dotnet/pnet-0.6.12 - >=dev-libs/glib-2.6 - nptl? ( >=sys-devel/gcc-3.3.5-r1 ) - ppc? ( - >=sys-devel/gcc-3.2.3-r4 - >=sys-libs/glibc-2.3.3_pre20040420 - ) - X? ( >=dev-dotnet/libgdiplus-1.2.4 )" -DEPEND="${RDEPEND} - sys-devel/bc - >=dev-util/pkgconfig-0.19" -PDEPEND="dev-dotnet/pe-format" - -# Parallel build unfriendly -MAKEOPTS="${MAKEOPTS} -j1" - -RESTRICT="test" - -function get-memory-total() { - cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/" -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Fix the install path, install into $(libdir) - sed -i -e 's:$(prefix)/lib:$(libdir):' \ - -i -e 's:$(exec_prefix)/lib:$(libdir):' \ - -i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \ - "${S}"/{scripts,mono/metadata}/Makefile.am "${S}"/configure.in \ - || die "sed failed" - - sed -i -e 's:^libdir.*:libdir=@libdir@:' \ - -i -e 's:${prefix}/lib/:${libdir}/:g' \ - "${S}"/{scripts,}/*.pc.in \ - || die "sed failed" - - # Remove dummy ltconfig and let libtool handle it - rm -f "${S}"/libgc/ltconfig - - epatch "${FILESDIR}"/mono-biginteger_overflow.diff - - # Fixes bug #202358, see - # https://bugzilla.novell.com/show_bug.cgi?id=349952 - epatch "${FILESDIR}"/${P}-threads-types-private-prototypes.patch - - # Fixes bug #210429, see - # https://bugzilla.novell.com/show_bug.cgi?id=347359 - epatch "${FILESDIR}/${P}-bug-347359.patch" - - einfo "Regenerating the build files, this will take some time..." - eautoreconf -} - -src_compile() { - # mono's build system is finiky, strip the flags - strip-flags - - # Enable the 2.0 FX, use the system glib and the gc - local myconf="--with-preview=yes --with-glib=system --with-gc=included" - - # Threading support - if use amd64 || use nptl ; then - # force __thread on amd64 (bug #83770) - myconf="${myconf} --with-tls=__thread" - else - myconf="${myconf} --with-tls=pthread" - fi - - if use moonlight ; then - myconf="${myconf} --with-moonlight" - fi - - # Enable large heaps if memory is more than >=3GB - if [[ $(get-memory-total) -ge 3145728 ]] ; then - myconf="${myconf} --with-large-heap=yes" - fi - - # Force the use of monolite mcs to prevent issues with classlibs (bug #118062) - touch "${S}"/mcs/build/deps/use-monolite - - econf ${myconf} || die "configure failed" - emake EXTERNAL_MCS=false EXTERNAL_MONO=false - - if [[ "$?" -ne "0" ]]; then - ewarn "If you are using any hardening features such as" - ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason" - ewarn "why build has failed. In this case turn any active security" - ewarn "enhancements off and try emerging the package again" - die - fi -} - -src_test() { - echo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - mkdir -p "${T}/home/mono" || die "mkdir home failed" - - export HOME="${T}/home/mono" - export XDG_CONFIG_HOME="${T}/home/mono" - export XDG_DATA_HOME="${T}/home/mono" - - if ! LC_ALL=C emake -j1 check; then - hasq test $FEATURES && die "Make check failed. See above for details." - hasq test $FEATURES || eerror "Make check failed. See above for details." - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "install failed" - - dodoc AUTHORS ChangeLog NEWS README - - docinto docs - dodoc docs/* - - docinto libgc - dodoc libgc/ChangeLog -} diff --git a/dev-lang/mono/mono-2.0.1-r1.ebuild b/dev-lang/mono/mono-2.0.1-r1.ebuild deleted file mode 100644 index 2481829bcd2a..000000000000 --- a/dev-lang/mono/mono-2.0.1-r1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# 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.0.1-r1.ebuild,v 1.9 2010/07/11 17:52:26 armin76 Exp $ - -EAPI=2 - -inherit linux-info base eutils flag-o-matic multilib - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com" -SRC_URI="ftp://ftp.novell.com/pub/mono/sources/mono/${P}.tar.bz2" - -LICENSE="|| ( GPL-2 LGPL-2 MIT )" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~x86-fbsd" -IUSE="minimal" - -RDEPEND="!<dev-dotnet/pnet-0.6.12 - dev-libs/glib:2 - !minimal? ( =dev-dotnet/libgdiplus-${PV%.*}* ) - ia64? ( sys-libs/libunwind )" - -DEPEND="${RDEPEND} - sys-devel/bc - >=dev-util/pkgconfig-0.19" -PDEPEND="dev-dotnet/pe-format" - -RESTRICT="test" - -#Threading and mimeicon patches from Fedora CVS. Muine patch from Novell. Pointer conversions patch from Debian. - -PATCHES=( "${FILESDIR}/${PN}-biginteger_overflow.diff" - "${FILESDIR}/${PN}-2.0-ppc-threading.patch" - "${FILESDIR}/${PN}-2.0-mimeicon.patch" - "${FILESDIR}/${P}-fix-wsdl-troubles-with-muine.patch" - "${FILESDIR}/${P}-fix_implicit_pointer_conversions.patch" - "${FILESDIR}/${PN}-2.0-fix-headless.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_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 - - econf --disable-dependency-tracking \ - --without-moonlight \ - --with-preview=yes \ - --with-glib=system \ - --with-gc=included \ - --with-libgdiplus=$( use !minimal && printf "installed" || printf "no" ) \ - --with-ikvm-native=no \ - --with-jit=yes - - # dev-dotnet/ikvm provides ikvm-native -} - -src_compile() { - emake -j1 EXTERNAL_MCS=false EXTERNAL_MONO=false - - if [[ "$?" -ne "0" ]]; then - ewarn "If you are using any hardening features such as" - ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason" - ewarn "why build has failed. In this case turn any active security" - ewarn "enhancements off and try emerging the package again" - die - fi -} - -src_test() { - echo ">>> Test phase [check]: ${CATEGORY}/${PF}" - - mkdir -p "${T}/home/mono" || die "mkdir home failed" - - export HOME="${T}/home/mono" - export XDG_CONFIG_HOME="${T}/home/mono" - export XDG_DATA_HOME="${T}/home/mono" - - if ! LC_ALL=C emake -j1 check; then - hasq test $FEATURES && die "Make check failed. See above for details." - hasq test $FEATURES || eerror "Make check failed. See above for details." - fi -} - -src_install() { - emake -j1 DESTDIR="${D}" install || die "install failed" - - dodoc AUTHORS ChangeLog NEWS README - - docinto docs - dodoc docs/* - - docinto libgc - dodoc libgc/ChangeLog -} diff --git a/dev-lang/mono/mono-2.0.9999.ebuild b/dev-lang/mono/mono-2.0.9999.ebuild deleted file mode 100644 index 1ed29adc5fb1..000000000000 --- a/dev-lang/mono/mono-2.0.9999.ebuild +++ /dev/null @@ -1,277 +0,0 @@ -# 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.0.9999.ebuild,v 1.3 2010/01/31 19:54:46 tove 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="" -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.0-ppc-threading.patch" - "${FILESDIR}/mono-2.2-uselibdir.patch" -) - -pkg_setup() { - if ! has_version dev-lang/mono - then - eerror "To compile the SVN version of mono, you must first have a working install of" - eerror "dev-lang/mono. Preferably one that is not too old relative to the branch you're" - eerror "trying to build." - die "A working install of dev-lang/mono is required for building the SVN version." - fi - 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_unpack() { - subversion_fetch "${ESVN_REPO_URI}" mono || die "subversion_fetch mono failed" - subversion_fetch "${ESVN_REPO_URI%/mono}/mcs" mono/mcs || die "subversion_fetch mcs failed" - S="${WORKDIR}/${P}/mono" -} - -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 - - find "${D}"/usr/ -name '*nunit-docs*' -exec rm -rf '{}' '+' || die "Removing nunit .docs failed" -} - -#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" diff --git a/dev-lang/mono/mono-2.4.2.3.ebuild b/dev-lang/mono/mono-2.4.2.3.ebuild deleted file mode 100644 index bf0c636b8897..000000000000 --- a/dev-lang/mono/mono-2.4.2.3.ebuild +++ /dev/null @@ -1,272 +0,0 @@ -# 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.4.2.3.ebuild,v 1.4 2010/01/31 19:54:46 tove 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" diff --git a/dev-lang/mono/mono-2.4.3.1.ebuild b/dev-lang/mono/mono-2.4.3.1.ebuild deleted file mode 100644 index a23d5e550771..000000000000 --- a/dev-lang/mono/mono-2.4.3.1.ebuild +++ /dev/null @@ -1,272 +0,0 @@ -# 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.4.3.1.ebuild,v 1.1 2010/02/20 11:05:20 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" diff --git a/dev-lang/mono/mono-2.4.9999.ebuild b/dev-lang/mono/mono-2.4.9999.ebuild deleted file mode 100644 index af356ec841db..000000000000 --- a/dev-lang/mono/mono-2.4.9999.ebuild +++ /dev/null @@ -1,281 +0,0 @@ -# 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.4.9999.ebuild,v 1.5 2010/01/31 19:54:46 tove 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="" -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 ! has_version dev-lang/mono - then - eerror "To compile the SVN version of mono, you must first have a working install of" - eerror "dev-lang/mono. Preferably one that is not too old relative to the branch you're" - eerror "trying to build." - die "A working install of dev-lang/mono is required for building the SVN version." - fi - 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_unpack() { - subversion_fetch "${ESVN_REPO_URI}" mono || die "subversion_fetch mono failed" - subversion_fetch "${ESVN_REPO_URI%/mono}/mcs" mono/mcs || die "subversion_fetch mcs failed" - S="${WORKDIR}/${P}/mono" -} - -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" -} - -#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" diff --git a/dev-lang/mono/mono-2.6.4-r1.ebuild b/dev-lang/mono/mono-2.6.4-r1.ebuild deleted file mode 100644 index d1fa1729f930..000000000000 --- a/dev-lang/mono/mono-2.6.4-r1.ebuild +++ /dev/null @@ -1,273 +0,0 @@ -# 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.4-r1.ebuild,v 1.3 2010/07/12 17:33:36 fauli 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" |