From 8ac1d6258e6572688f2afabd677ae3e9158214ee8f8802f33bfa1a7ed133d294 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 1 Mar 2010 16:58:17 +0000 Subject: [PATCH 1/6] Updating link to change in openSUSE:Factory/mono-core revision 36.0 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=a88b83eb65c373bb1fcec04302823ae2 --- mono-cleanup_crash.patch | 28 ++++++++++++++++++++++++++++ mono-core.changes | 7 +++++++ mono-core.spec | 4 +++- 3 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 mono-cleanup_crash.patch diff --git a/mono-cleanup_crash.patch b/mono-cleanup_crash.patch new file mode 100644 index 0000000..412a30f --- /dev/null +++ b/mono-cleanup_crash.patch @@ -0,0 +1,28 @@ +--- mono/metadata/domain.c ++++ mono/metadata/domain.c +@@ -1907,6 +1907,12 @@ + domain->type_init_exception_hash = NULL; + } + ++ /* must do this early as it accesses fields and types */ ++ if (domain->special_static_fields) { ++ mono_alloc_special_static_data_free (domain->special_static_fields); ++ g_hash_table_destroy (domain->special_static_fields); ++ domain->special_static_fields = NULL; ++ } + for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next) { + MonoAssembly *ass = tmp->data; + mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Unloading domain %s %p, assembly %s %p, refcount=%d\n", domain->friendly_name, domain, ass->aname.name, ass, ass->ref_count); +@@ -1929,12 +1935,6 @@ + domain->null_reference_ex = NULL; + domain->stack_overflow_ex = NULL; + domain->entry_assembly = NULL; +- /* must do this early as it accesses fields and types */ +- if (domain->special_static_fields) { +- mono_alloc_special_static_data_free (domain->special_static_fields); +- g_hash_table_destroy (domain->special_static_fields); +- domain->special_static_fields = NULL; +- } + + g_free (domain->friendly_name); + domain->friendly_name = NULL; diff --git a/mono-core.changes b/mono-core.changes index acfc91e..994ed29 100644 --- a/mono-core.changes +++ b/mono-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 1 17:12:06 CET 2010 - ro@suse.de + +- try to prevent crash on exit in gmcs + call mono_alloc_special_static_data_free before closing + assemblies + ------------------------------------------------------------------- Tue Jan 26 22:30:50 UTC 2010 - ajorgensen@novell.com diff --git a/mono-core.spec b/mono-core.spec index f574356..4c43ae4 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -25,10 +25,11 @@ Group: Development/Languages/Mono Summary: A .NET Runtime Environment Url: http://go-mono.org/ Version: 2.6.1 -Release: 1 +Release: 2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 Patch0: xen-aot.patch +Patch1: mono-cleanup_crash.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -1230,6 +1231,7 @@ Authors: %prep %setup -q -n mono-%{version} %patch0 +%patch1 %build # These are only needed if there are patches to the runtime From 16a0f71b628ee65d02d6573795674a7cfc1afaf74ebd9cf4e9593b205610a95c Mon Sep 17 00:00:00 2001 From: Andrew Jorgensen Date: Tue, 2 Mar 2010 20:15:50 +0000 Subject: [PATCH 2/6] 2.6.3-r152853 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=37 --- mono-2.6.1.tar.bz2 | 3 --- mono-2.6.3.tar.bz2 | 3 +++ mono-core.changes | 7 +++++++ mono-core.spec | 42 +++++++++++++++++++++--------------------- xen-aot.patch | 28 ---------------------------- 5 files changed, 31 insertions(+), 52 deletions(-) delete mode 100644 mono-2.6.1.tar.bz2 create mode 100644 mono-2.6.3.tar.bz2 delete mode 100644 xen-aot.patch diff --git a/mono-2.6.1.tar.bz2 b/mono-2.6.1.tar.bz2 deleted file mode 100644 index fad9bb1..0000000 --- a/mono-2.6.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6bd6cc59b740bb3a971a6315f3a85fdfdf5cf1e94545e915ba96c3ea7224baa3 -size 27644697 diff --git a/mono-2.6.3.tar.bz2 b/mono-2.6.3.tar.bz2 new file mode 100644 index 0000000..55e1b9d --- /dev/null +++ b/mono-2.6.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a74fab23eca73fad12c05304afc7f476555578edf97d5d81a646e8a9b625cb68 +size 27753728 diff --git a/mono-core.changes b/mono-core.changes index 994ed29..8a6ea1d 100644 --- a/mono-core.changes +++ b/mono-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 2 20:12:24 UTC 2010 - ajorgensen@novell.com + +- Update to 2.6.3 + * http://www.mono-project.com/Release_Notes_Mono_2.6.3 +- Obsoleted patches + ------------------------------------------------------------------- Mon Mar 1 17:12:06 CET 2010 - ro@suse.de diff --git a/mono-core.spec b/mono-core.spec index 4c43ae4..5c1318b 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -20,15 +20,14 @@ %{!?ext_man: %define ext_man .gz} Name: mono-core -License: LGPLv2.1 +License: LGPL v2.1 only Group: Development/Languages/Mono Summary: A .NET Runtime Environment Url: http://go-mono.org/ -Version: 2.6.1 -Release: 2 +Version: 2.6.3 +Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 -Patch0: xen-aot.patch Patch1: mono-cleanup_crash.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -274,7 +273,7 @@ fi %postun -p /sbin/ldconfig %package -n mono-jscript -License: LGPLv2.1 +License: LGPL v2.1 only Summary: JScript .NET support for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -301,7 +300,7 @@ Authors: %_prefix/lib/mono/2.0/Microsoft.JScript.dll %package -n mono-locale-extras -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Extra locale information Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -339,7 +338,7 @@ Authors: %_prefix/lib/mono/2.0/I18N.Other.dll %package -n mono-data -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -404,7 +403,7 @@ Authors: %_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll %package -n mono-winforms -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Mono's Windows Forms implementation Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -448,7 +447,7 @@ Authors: %_prefix/lib/mono/gac/Mono.WebBrowser %package -n ibm-data-db2 -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for DB2 Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -477,7 +476,7 @@ Authors: %_prefix/lib/mono/2.0/IBM.Data.DB2.dll %package -n mono-extras -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Extra packages Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -517,7 +516,9 @@ Authors: %_prefix/lib/mono/2.0/System.Management.dll %_prefix/lib/mono/gac/RabbitMQ.Client %_prefix/lib/mono/1.0/RabbitMQ.Client.dll +%_prefix/lib/mono/1.0/RabbitMQ.Client.Apigen.exe* %_prefix/lib/mono/2.0/RabbitMQ.Client.dll +%_prefix/lib/mono/2.0/RabbitMQ.Client.Apigen.exe* %_prefix/lib/mono/gac/System.Messaging %_prefix/lib/mono/1.0/System.Messaging.dll %_prefix/lib/mono/2.0/System.Messaging.dll @@ -538,7 +539,7 @@ Authors: %_prefix/lib/mono/2.0/Microsoft.Vsa.dll %package -n mono-data-sqlite -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -573,7 +574,7 @@ Authors: %_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll %package -n mono-data-sybase -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -773,7 +774,7 @@ Authors: %config %_sysconfdir/mono/2.0/Browsers %package -n mono-data-oracle -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -803,7 +804,7 @@ Authors: %_prefix/lib/mono/2.0/System.Data.OracleClient.dll %package -n mono-data-postgresql -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -833,7 +834,7 @@ Authors: %_prefix/lib/mono/2.0/Npgsql.dll %package -n bytefx-data-mysql -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -863,13 +864,13 @@ Authors: %_prefix/lib/mono/2.0/ByteFX.Data.dll %package -n mono-nunit -License: LGPLv2.1 +License: LGPL v2.1 only Summary: NUnit Testing Framework Group: Development/Languages/Mono Requires: mono-core == %version-%release %package -n mono-data-firebird -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -941,7 +942,7 @@ Authors: %_libdir/pkgconfig/mono-nunit.pc %package -n mono-devel -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Mono development tools Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -1143,7 +1144,7 @@ Authors: # yet gzipped %package -n monodoc-core -License: LGPLv2.1 +License: LGPL v2.1 only Summary: Monodoc - Documentation tools for C# code Group: Development/Tools/Other Provides: monodoc @@ -1185,7 +1186,7 @@ Monodoc-core contains documentation tools for C#. %{_mandir}/man5/mdoc.5%ext_man %package -n mono-complete -License: LGPLv2.1 +License: LGPL v2.1 only Summary: A .NET Runtime Environment Group: Development/Languages/Mono Requires: bytefx-data-mysql = %version-%release @@ -1230,7 +1231,6 @@ Authors: %prep %setup -q -n mono-%{version} -%patch0 %patch1 %build diff --git a/xen-aot.patch b/xen-aot.patch deleted file mode 100644 index 09e6fe2..0000000 --- a/xen-aot.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: mono/mini/mini-amd64.c -=================================================================== ---- mono/mini/mini-amd64.c (revision 149672) -+++ mono/mini/mini-amd64.c (revision 149673) -@@ -2558,11 +2558,6 @@ - /* These methods are allocated using malloc */ - near_call = FALSE; - -- if (cfg->compile_aot) { -- near_call = TRUE; -- no_patch = TRUE; -- } -- - #ifdef MONO_ARCH_NOMAP32BIT - near_call = FALSE; - #endif -@@ -2571,6 +2566,11 @@ - if (optimize_for_xen) - near_call = FALSE; - -+ if (cfg->compile_aot) { -+ near_call = TRUE; -+ no_patch = TRUE; -+ } -+ - if (near_call) { - /* - * Align the call displacement to an address divisible by 4 so it does From 6d8a56845fcab7fa8af46be5358410fd955b05a73340d20c80719ab6c951943a Mon Sep 17 00:00:00 2001 From: Andrew Jorgensen Date: Tue, 2 Mar 2010 20:28:14 +0000 Subject: [PATCH 3/6] remove obsolete patch OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=38 --- mono-cleanup_crash.patch | 28 ---------------------------- mono-core.spec | 2 -- 2 files changed, 30 deletions(-) delete mode 100644 mono-cleanup_crash.patch diff --git a/mono-cleanup_crash.patch b/mono-cleanup_crash.patch deleted file mode 100644 index 412a30f..0000000 --- a/mono-cleanup_crash.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- mono/metadata/domain.c -+++ mono/metadata/domain.c -@@ -1907,6 +1907,12 @@ - domain->type_init_exception_hash = NULL; - } - -+ /* must do this early as it accesses fields and types */ -+ if (domain->special_static_fields) { -+ mono_alloc_special_static_data_free (domain->special_static_fields); -+ g_hash_table_destroy (domain->special_static_fields); -+ domain->special_static_fields = NULL; -+ } - for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next) { - MonoAssembly *ass = tmp->data; - mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Unloading domain %s %p, assembly %s %p, refcount=%d\n", domain->friendly_name, domain, ass->aname.name, ass, ass->ref_count); -@@ -1929,12 +1935,6 @@ - domain->null_reference_ex = NULL; - domain->stack_overflow_ex = NULL; - domain->entry_assembly = NULL; -- /* must do this early as it accesses fields and types */ -- if (domain->special_static_fields) { -- mono_alloc_special_static_data_free (domain->special_static_fields); -- g_hash_table_destroy (domain->special_static_fields); -- domain->special_static_fields = NULL; -- } - - g_free (domain->friendly_name); - domain->friendly_name = NULL; diff --git a/mono-core.spec b/mono-core.spec index 5c1318b..4c15055 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -28,7 +28,6 @@ Version: 2.6.3 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 -Patch1: mono-cleanup_crash.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -1231,7 +1230,6 @@ Authors: %prep %setup -q -n mono-%{version} -%patch1 %build # These are only needed if there are patches to the runtime From 9e1660cc65aaeeb9bc980582d0bdf58d4fb0f0cbbe1a9382fcb6cbacb929e6e1 Mon Sep 17 00:00:00 2001 From: Andrew Jorgensen Date: Tue, 9 Mar 2010 22:46:35 +0000 Subject: [PATCH 4/6] r153333 + patch from r153373 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=39 --- _g_boolean_expr.patch | 13 +++++++++++++ mono-2.6.3.tar.bz2 | 4 ++-- mono-core.spec | 2 ++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 _g_boolean_expr.patch diff --git a/_g_boolean_expr.patch b/_g_boolean_expr.patch new file mode 100644 index 0000000..6fa345a --- /dev/null +++ b/_g_boolean_expr.patch @@ -0,0 +1,13 @@ +Index: mono/metadata/object-internals.h +=================================================================== +--- mono/metadata/object-internals.h (revision 153372) ++++ mono/metadata/object-internals.h (revision 153373) +@@ -27,7 +27,7 @@ + */ + #ifdef _G_BOOLEAN_EXPR + #undef _G_BOOLEAN_EXPR +-#define _G_BOOLEAN_EXPR(expr) (gsize)(expr) ++#define _G_BOOLEAN_EXPR(expr) ((gsize)(expr) != 0) + #endif + + #if 1 diff --git a/mono-2.6.3.tar.bz2 b/mono-2.6.3.tar.bz2 index 55e1b9d..cb58f8d 100644 --- a/mono-2.6.3.tar.bz2 +++ b/mono-2.6.3.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a74fab23eca73fad12c05304afc7f476555578edf97d5d81a646e8a9b625cb68 -size 27753728 +oid sha256:623b0666c172dac82eeab54eb2d1bebcb2d179c18e01fa0128c1b48536de3164 +size 27760890 diff --git a/mono-core.spec b/mono-core.spec index 4c15055..13136b5 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -28,6 +28,7 @@ Version: 2.6.3 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 +Patch0: _g_boolean_expr.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -1230,6 +1231,7 @@ Authors: %prep %setup -q -n mono-%{version} +%patch0 %build # These are only needed if there are patches to the runtime From 07f3e6aec51841400007a2f10ea868165b837566425375a30889ddfd4cbfa145 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 12 Mar 2010 00:07:44 +0000 Subject: [PATCH 5/6] Accepting request 34491 from Mono:Factory checked in (request 34491) OBS-URL: https://build.opensuse.org/request/show/34491 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=40 --- _g_boolean_expr.patch | 13 ------------ mono-2.6.1.tar.bz2 | 3 +++ mono-2.6.3.tar.bz2 | 3 --- mono-cleanup_crash.patch | 28 +++++++++++++++++++++++++ mono-core.changes | 7 ------- mono-core.spec | 44 ++++++++++++++++++++-------------------- xen-aot.patch | 28 +++++++++++++++++++++++++ 7 files changed, 81 insertions(+), 45 deletions(-) delete mode 100644 _g_boolean_expr.patch create mode 100644 mono-2.6.1.tar.bz2 delete mode 100644 mono-2.6.3.tar.bz2 create mode 100644 mono-cleanup_crash.patch create mode 100644 xen-aot.patch diff --git a/_g_boolean_expr.patch b/_g_boolean_expr.patch deleted file mode 100644 index 6fa345a..0000000 --- a/_g_boolean_expr.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: mono/metadata/object-internals.h -=================================================================== ---- mono/metadata/object-internals.h (revision 153372) -+++ mono/metadata/object-internals.h (revision 153373) -@@ -27,7 +27,7 @@ - */ - #ifdef _G_BOOLEAN_EXPR - #undef _G_BOOLEAN_EXPR --#define _G_BOOLEAN_EXPR(expr) (gsize)(expr) -+#define _G_BOOLEAN_EXPR(expr) ((gsize)(expr) != 0) - #endif - - #if 1 diff --git a/mono-2.6.1.tar.bz2 b/mono-2.6.1.tar.bz2 new file mode 100644 index 0000000..fad9bb1 --- /dev/null +++ b/mono-2.6.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bd6cc59b740bb3a971a6315f3a85fdfdf5cf1e94545e915ba96c3ea7224baa3 +size 27644697 diff --git a/mono-2.6.3.tar.bz2 b/mono-2.6.3.tar.bz2 deleted file mode 100644 index cb58f8d..0000000 --- a/mono-2.6.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:623b0666c172dac82eeab54eb2d1bebcb2d179c18e01fa0128c1b48536de3164 -size 27760890 diff --git a/mono-cleanup_crash.patch b/mono-cleanup_crash.patch new file mode 100644 index 0000000..412a30f --- /dev/null +++ b/mono-cleanup_crash.patch @@ -0,0 +1,28 @@ +--- mono/metadata/domain.c ++++ mono/metadata/domain.c +@@ -1907,6 +1907,12 @@ + domain->type_init_exception_hash = NULL; + } + ++ /* must do this early as it accesses fields and types */ ++ if (domain->special_static_fields) { ++ mono_alloc_special_static_data_free (domain->special_static_fields); ++ g_hash_table_destroy (domain->special_static_fields); ++ domain->special_static_fields = NULL; ++ } + for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next) { + MonoAssembly *ass = tmp->data; + mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Unloading domain %s %p, assembly %s %p, refcount=%d\n", domain->friendly_name, domain, ass->aname.name, ass, ass->ref_count); +@@ -1929,12 +1935,6 @@ + domain->null_reference_ex = NULL; + domain->stack_overflow_ex = NULL; + domain->entry_assembly = NULL; +- /* must do this early as it accesses fields and types */ +- if (domain->special_static_fields) { +- mono_alloc_special_static_data_free (domain->special_static_fields); +- g_hash_table_destroy (domain->special_static_fields); +- domain->special_static_fields = NULL; +- } + + g_free (domain->friendly_name); + domain->friendly_name = NULL; diff --git a/mono-core.changes b/mono-core.changes index 8a6ea1d..994ed29 100644 --- a/mono-core.changes +++ b/mono-core.changes @@ -1,10 +1,3 @@ -------------------------------------------------------------------- -Tue Mar 2 20:12:24 UTC 2010 - ajorgensen@novell.com - -- Update to 2.6.3 - * http://www.mono-project.com/Release_Notes_Mono_2.6.3 -- Obsoleted patches - ------------------------------------------------------------------- Mon Mar 1 17:12:06 CET 2010 - ro@suse.de diff --git a/mono-core.spec b/mono-core.spec index 13136b5..4c43ae4 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -20,15 +20,16 @@ %{!?ext_man: %define ext_man .gz} Name: mono-core -License: LGPL v2.1 only +License: LGPLv2.1 Group: Development/Languages/Mono Summary: A .NET Runtime Environment Url: http://go-mono.org/ -Version: 2.6.3 -Release: 1 +Version: 2.6.1 +Release: 2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 -Patch0: _g_boolean_expr.patch +Patch0: xen-aot.patch +Patch1: mono-cleanup_crash.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -273,7 +274,7 @@ fi %postun -p /sbin/ldconfig %package -n mono-jscript -License: LGPL v2.1 only +License: LGPLv2.1 Summary: JScript .NET support for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -300,7 +301,7 @@ Authors: %_prefix/lib/mono/2.0/Microsoft.JScript.dll %package -n mono-locale-extras -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Extra locale information Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -338,7 +339,7 @@ Authors: %_prefix/lib/mono/2.0/I18N.Other.dll %package -n mono-data -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -403,7 +404,7 @@ Authors: %_prefix/lib/mono/2.0/System.Data.DataSetExtensions.dll %package -n mono-winforms -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Mono's Windows Forms implementation Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -447,7 +448,7 @@ Authors: %_prefix/lib/mono/gac/Mono.WebBrowser %package -n ibm-data-db2 -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for DB2 Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -476,7 +477,7 @@ Authors: %_prefix/lib/mono/2.0/IBM.Data.DB2.dll %package -n mono-extras -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Extra packages Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -516,9 +517,7 @@ Authors: %_prefix/lib/mono/2.0/System.Management.dll %_prefix/lib/mono/gac/RabbitMQ.Client %_prefix/lib/mono/1.0/RabbitMQ.Client.dll -%_prefix/lib/mono/1.0/RabbitMQ.Client.Apigen.exe* %_prefix/lib/mono/2.0/RabbitMQ.Client.dll -%_prefix/lib/mono/2.0/RabbitMQ.Client.Apigen.exe* %_prefix/lib/mono/gac/System.Messaging %_prefix/lib/mono/1.0/System.Messaging.dll %_prefix/lib/mono/2.0/System.Messaging.dll @@ -539,7 +538,7 @@ Authors: %_prefix/lib/mono/2.0/Microsoft.Vsa.dll %package -n mono-data-sqlite -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -574,7 +573,7 @@ Authors: %_prefix/lib/mono/2.0/Mono.Data.Sqlite.dll %package -n mono-data-sybase -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -774,7 +773,7 @@ Authors: %config %_sysconfdir/mono/2.0/Browsers %package -n mono-data-oracle -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -804,7 +803,7 @@ Authors: %_prefix/lib/mono/2.0/System.Data.OracleClient.dll %package -n mono-data-postgresql -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -834,7 +833,7 @@ Authors: %_prefix/lib/mono/2.0/Npgsql.dll %package -n bytefx-data-mysql -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -864,13 +863,13 @@ Authors: %_prefix/lib/mono/2.0/ByteFX.Data.dll %package -n mono-nunit -License: LGPL v2.1 only +License: LGPLv2.1 Summary: NUnit Testing Framework Group: Development/Languages/Mono Requires: mono-core == %version-%release %package -n mono-data-firebird -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Database connectivity for Mono Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -942,7 +941,7 @@ Authors: %_libdir/pkgconfig/mono-nunit.pc %package -n mono-devel -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Mono development tools Group: Development/Languages/Mono Requires: mono-core == %version-%release @@ -1144,7 +1143,7 @@ Authors: # yet gzipped %package -n monodoc-core -License: LGPL v2.1 only +License: LGPLv2.1 Summary: Monodoc - Documentation tools for C# code Group: Development/Tools/Other Provides: monodoc @@ -1186,7 +1185,7 @@ Monodoc-core contains documentation tools for C#. %{_mandir}/man5/mdoc.5%ext_man %package -n mono-complete -License: LGPL v2.1 only +License: LGPLv2.1 Summary: A .NET Runtime Environment Group: Development/Languages/Mono Requires: bytefx-data-mysql = %version-%release @@ -1232,6 +1231,7 @@ Authors: %prep %setup -q -n mono-%{version} %patch0 +%patch1 %build # These are only needed if there are patches to the runtime diff --git a/xen-aot.patch b/xen-aot.patch new file mode 100644 index 0000000..09e6fe2 --- /dev/null +++ b/xen-aot.patch @@ -0,0 +1,28 @@ +Index: mono/mini/mini-amd64.c +=================================================================== +--- mono/mini/mini-amd64.c (revision 149672) ++++ mono/mini/mini-amd64.c (revision 149673) +@@ -2558,11 +2558,6 @@ + /* These methods are allocated using malloc */ + near_call = FALSE; + +- if (cfg->compile_aot) { +- near_call = TRUE; +- no_patch = TRUE; +- } +- + #ifdef MONO_ARCH_NOMAP32BIT + near_call = FALSE; + #endif +@@ -2571,6 +2566,11 @@ + if (optimize_for_xen) + near_call = FALSE; + ++ if (cfg->compile_aot) { ++ near_call = TRUE; ++ no_patch = TRUE; ++ } ++ + if (near_call) { + /* + * Align the call displacement to an address divisible by 4 so it does From 73e2d4605dbb503cbf7970af3eedd8e22cb1addab1e45851f83981d43a41a975 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 12 Mar 2010 00:07:45 +0000 Subject: [PATCH 6/6] Updating link to change in openSUSE:Factory/mono-core revision 37.0 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=8fb165d8c68a2bc02e4c382d026bd01e --- _g_boolean_expr.patch | 13 +++++++++++++ mono-2.6.1.tar.bz2 | 3 --- mono-2.6.3.tar.bz2 | 3 +++ mono-cleanup_crash.patch | 28 ---------------------------- mono-core.changes | 7 +++++++ mono-core.spec | 12 ++++++------ xen-aot.patch | 28 ---------------------------- 7 files changed, 29 insertions(+), 65 deletions(-) create mode 100644 _g_boolean_expr.patch delete mode 100644 mono-2.6.1.tar.bz2 create mode 100644 mono-2.6.3.tar.bz2 delete mode 100644 mono-cleanup_crash.patch delete mode 100644 xen-aot.patch diff --git a/_g_boolean_expr.patch b/_g_boolean_expr.patch new file mode 100644 index 0000000..6fa345a --- /dev/null +++ b/_g_boolean_expr.patch @@ -0,0 +1,13 @@ +Index: mono/metadata/object-internals.h +=================================================================== +--- mono/metadata/object-internals.h (revision 153372) ++++ mono/metadata/object-internals.h (revision 153373) +@@ -27,7 +27,7 @@ + */ + #ifdef _G_BOOLEAN_EXPR + #undef _G_BOOLEAN_EXPR +-#define _G_BOOLEAN_EXPR(expr) (gsize)(expr) ++#define _G_BOOLEAN_EXPR(expr) ((gsize)(expr) != 0) + #endif + + #if 1 diff --git a/mono-2.6.1.tar.bz2 b/mono-2.6.1.tar.bz2 deleted file mode 100644 index fad9bb1..0000000 --- a/mono-2.6.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6bd6cc59b740bb3a971a6315f3a85fdfdf5cf1e94545e915ba96c3ea7224baa3 -size 27644697 diff --git a/mono-2.6.3.tar.bz2 b/mono-2.6.3.tar.bz2 new file mode 100644 index 0000000..cb58f8d --- /dev/null +++ b/mono-2.6.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:623b0666c172dac82eeab54eb2d1bebcb2d179c18e01fa0128c1b48536de3164 +size 27760890 diff --git a/mono-cleanup_crash.patch b/mono-cleanup_crash.patch deleted file mode 100644 index 412a30f..0000000 --- a/mono-cleanup_crash.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- mono/metadata/domain.c -+++ mono/metadata/domain.c -@@ -1907,6 +1907,12 @@ - domain->type_init_exception_hash = NULL; - } - -+ /* must do this early as it accesses fields and types */ -+ if (domain->special_static_fields) { -+ mono_alloc_special_static_data_free (domain->special_static_fields); -+ g_hash_table_destroy (domain->special_static_fields); -+ domain->special_static_fields = NULL; -+ } - for (tmp = domain->domain_assemblies; tmp; tmp = tmp->next) { - MonoAssembly *ass = tmp->data; - mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_ASSEMBLY, "Unloading domain %s %p, assembly %s %p, refcount=%d\n", domain->friendly_name, domain, ass->aname.name, ass, ass->ref_count); -@@ -1929,12 +1935,6 @@ - domain->null_reference_ex = NULL; - domain->stack_overflow_ex = NULL; - domain->entry_assembly = NULL; -- /* must do this early as it accesses fields and types */ -- if (domain->special_static_fields) { -- mono_alloc_special_static_data_free (domain->special_static_fields); -- g_hash_table_destroy (domain->special_static_fields); -- domain->special_static_fields = NULL; -- } - - g_free (domain->friendly_name); - domain->friendly_name = NULL; diff --git a/mono-core.changes b/mono-core.changes index 994ed29..8a6ea1d 100644 --- a/mono-core.changes +++ b/mono-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 2 20:12:24 UTC 2010 - ajorgensen@novell.com + +- Update to 2.6.3 + * http://www.mono-project.com/Release_Notes_Mono_2.6.3 +- Obsoleted patches + ------------------------------------------------------------------- Mon Mar 1 17:12:06 CET 2010 - ro@suse.de diff --git a/mono-core.spec b/mono-core.spec index 4c43ae4..e41ab99 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -1,5 +1,5 @@ # -# spec file for package mono-core (Version 2.6.1) +# spec file for package mono-core (Version 2.6.3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,12 +24,11 @@ License: LGPLv2.1 Group: Development/Languages/Mono Summary: A .NET Runtime Environment Url: http://go-mono.org/ -Version: 2.6.1 -Release: 2 +Version: 2.6.3 +Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: mono-%{version}.tar.bz2 -Patch0: xen-aot.patch -Patch1: mono-cleanup_crash.patch +Patch0: _g_boolean_expr.patch ExclusiveArch: %ix86 x86_64 ppc ppc64 hppa armv4l sparc s390 ia64 s390x BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: mono = %{version}-%{release} @@ -517,7 +516,9 @@ Authors: %_prefix/lib/mono/2.0/System.Management.dll %_prefix/lib/mono/gac/RabbitMQ.Client %_prefix/lib/mono/1.0/RabbitMQ.Client.dll +%_prefix/lib/mono/1.0/RabbitMQ.Client.Apigen.exe* %_prefix/lib/mono/2.0/RabbitMQ.Client.dll +%_prefix/lib/mono/2.0/RabbitMQ.Client.Apigen.exe* %_prefix/lib/mono/gac/System.Messaging %_prefix/lib/mono/1.0/System.Messaging.dll %_prefix/lib/mono/2.0/System.Messaging.dll @@ -1231,7 +1232,6 @@ Authors: %prep %setup -q -n mono-%{version} %patch0 -%patch1 %build # These are only needed if there are patches to the runtime diff --git a/xen-aot.patch b/xen-aot.patch deleted file mode 100644 index 09e6fe2..0000000 --- a/xen-aot.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: mono/mini/mini-amd64.c -=================================================================== ---- mono/mini/mini-amd64.c (revision 149672) -+++ mono/mini/mini-amd64.c (revision 149673) -@@ -2558,11 +2558,6 @@ - /* These methods are allocated using malloc */ - near_call = FALSE; - -- if (cfg->compile_aot) { -- near_call = TRUE; -- no_patch = TRUE; -- } -- - #ifdef MONO_ARCH_NOMAP32BIT - near_call = FALSE; - #endif -@@ -2571,6 +2566,11 @@ - if (optimize_for_xen) - near_call = FALSE; - -+ if (cfg->compile_aot) { -+ near_call = TRUE; -+ no_patch = TRUE; -+ } -+ - if (near_call) { - /* - * Align the call displacement to an address divisible by 4 so it does