Skip to contentSkip to conversation

mono: bump to version 4.0.1

PATCH Superseded Angelo Compagnucci 2 participants 5 messages Apr 30, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover mono: bump to version 4.0.1

This patch series bumps mono version to 4.0.1. It also removes no more needed patches accepted upstream.

Angelo Compagnucci (2):
package/monolite: bump to version 117
package/mono: bump to version 4.0.1

 .../0003-mono-context.h-fix-build-on-MIPS.patch    | 33 --------
 ...e-ppc-sigctx-monoctx-conversion-code-to-m.patch | 92 ----------------------
 ...build-errors-in-mono-context.c-on-ppc64el.patch | 84 --------------------
 package/mono/Config.in                             | 22 ------
 package/mono/mono.mk                               |  9 +--
 package/monolite/monolite.mk                       |  2 +-
 6 files changed, 2 insertions(+), 240 deletions(-)
 delete mode 100644 package/mono/0003-mono-context.h-fix-build-on-MIPS.patch
 delete mode 100644 package/mono/0004-jit-Move-the-ppc-sigctx-monoctx-conversion-code-to-m.patch
 delete mode 100644 package/mono/0005-Fix-build-errors-in-mono-context.c-on-ppc64el.patch
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 package/monolite: bump to version 117

This bump is required for proper compiling mono 4.0.1.

---
 package/monolite/monolite.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/monolite/monolite.mk +1 -1
index b3c7553..aa6c28c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MONOLITE_VERSION = 111
+MONOLITE_VERSION = 117
 MONOLITE_SITE = http://storage.bos.xamarin.com/mono-dist-master/latest
 MONOLITE_SOURCE = monolite-$(MONOLITE_VERSION)-latest.tar.gz
 MONOLITE_LICENSE = LGPLv2 or commercial
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 package/mono: bump to version 4.0.1

In reply to Angelo Compagnucci

This patch:

* bumps mono version to 4.0.1.
* Removes no more needed patches included upstream
* Removes profile switches no more present in configure

---
 .../0003-mono-context.h-fix-build-on-MIPS.patch    | 33 --------
 ...e-ppc-sigctx-monoctx-conversion-code-to-m.patch | 92 ----------------------
 ...build-errors-in-mono-context.c-on-ppc64el.patch | 84 --------------------
 package/mono/Config.in                             | 22 ------
 package/mono/mono.mk                               |  9 +--
 5 files changed, 1 insertion(+), 239 deletions(-)
 delete mode 100644 package/mono/0003-mono-context.h-fix-build-on-MIPS.patch
 delete mode 100644 package/mono/0004-jit-Move-the-ppc-sigctx-monoctx-conversion-code-to-m.patch
 delete mode 100644 package/mono/0005-Fix-build-errors-in-mono-context.c-on-ppc64el.patch
package/mono/0003-mono-context.h-fix-build-on-MIPS.patch deleted +0 -33
deleted file mode 100644
index f60cfb9..0000000
@@ -1,33 +0,0 @@
-From 2a8fab27a4308335282752164bebcfc77771fd3f Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Fri, 6 Feb 2015 14:56:10 +0100
-Subject: [PATCH] mono-context.h: fix build on MIPS
-
-The mono-context.h file uses definitions such as mips_fp and mips_sp,
-which are defined in <mono/arch/mips/mips-codegen.h>, but this file is
-not included, leading to build failures.
-
-This fix is similar to 4437ecea91bab3fe68ba1c30521acf75052662cd (for
-ARM).
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- mono/utils/mono-context.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/mono/utils/mono-context.h b/mono/utils/mono-context.h
-index 3b01b49..8852a63 100755
---- a/mono/utils/mono-context.h
-+++ b/mono/utils/mono-context.h
-@@ -460,6 +460,8 @@ mono_ia64_context_get_fp (MonoContext *ctx)
- 
- #elif ((defined(__mips__) && !defined(MONO_CROSS_COMPILE)) || (defined(TARGET_MIPS))) && SIZEOF_REGISTER == 4 /* defined(__ia64__) */
- 
-+#include <mono/arch/mips/mips-codegen.h>
-+
- typedef struct {
- 	mgreg_t	    sc_pc;
- 	mgreg_t		sc_regs [32];
--- 
-2.1.0
-
package/mono/0004-jit-Move-the-ppc-sigctx-monoctx-conversion-code-to-m.patch deleted +0 -92

92 lines not on this page · raw message

package/mono/0005-Fix-build-errors-in-mono-context.c-on-ppc64el.patch deleted +0 -84

84 lines not on this page · raw message

package/mono/Config.in +0 -22
index cc015e6..4865db0 100644
@@ -15,27 +15,5 @@ config BR2_PACKAGE_MONO
 
 	  http://download.mono-project.com/sources/mono/
 
-if BR2_PACKAGE_MONO
-
-config BR2_PACKAGE_MONO_20
-	bool "2.0/3.5 .Net Runtime"
-	help
-	  This option enables the installation of the 2.0/3.5 version
-	  of the Mono .Net runtime to the target
-
-config BR2_PACKAGE_MONO_40
-	bool "4.0 .Net Runtime"
-	help
-	  This option enables the installation of the 4.0 version
-	  of the Mono .Net runtime to the target
-
-config BR2_PACKAGE_MONO_45
-	bool "4.5 .Net Runtime"
-	help
-	  This option enables the installation of the 4.5 version
-	  of the Mono .Net runtime to the target
-
-endif
-
 comment "mono needs a toolchain w/ IPv6, threads"
 	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
package/mono/mono.mk +1 -8
index c9335ef..c0a0827 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MONO_VERSION = 3.12.0
+MONO_VERSION = 4.0.1
 MONO_SITE = http://download.mono-project.com/sources/mono
 MONO_SOURCE = mono-$(MONO_VERSION).tar.bz2
 MONO_LICENSE = GPLv2 or MIT (compiler, tools), LGPLv2 (runtime libs), MIT (class libs) or commercial
@@ -48,13 +48,6 @@ HOST_MONO_CONF_OPTS = --disable-gtk-doc \
 	--enable-minimal=aot,profiler,debug \
 	--enable-static
 
-# These options refer to the target mono, not the host. We use the host
-# only to compile libraries, then we copy them to the target.
-HOST_MONO_CONF_OPTS += \
-	--with-profile2=$(if $(BR2_PACKAGE_MONO_20),yes,no) \
-	--with-profile4=$(if $(BR2_PACKAGE_MONO_40),yes,no) \
-	--with-profile4_5=$(if $(BR2_PACKAGE_MONO_45),yes,no)
-
 # ensure monolite is used
 HOST_MONO_MAKE_OPTS += EXTERNAL_MCS=false
 
Signature · 1 line
1.9.1
#3 lore raw

PATCH 2/2 package/mono: bump to version 4.0.1

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Angelo" == Angelo Compagnucci <[email protected]> writes:

This patch:
* bumps mono version to 4.0.1.
* Removes no more needed patches included upstream
* Removes profile switches no more present in configure

So what does that mean? Does it build all profiles or are some of them dropped upstream?

Quoted 16 lines
package/mono/Config.in +0 -14
 	  http://download.mono-project.com/sources/mono/
 
-if BR2_PACKAGE_MONO
-
-config BR2_PACKAGE_MONO_20
-	bool "2.0/3.5 .Net Runtime"
-	help
-	  This option enables the installation of the 2.0/3.5 version
-	  of the Mono .Net runtime to the target
-
-config BR2_PACKAGE_MONO_40
-	bool "4.0 .Net Runtime"
-	help
-	  This option enables the installation of the 4.0 version
-	  of the Mono .Net runtime to the target
-

package/mono/Config.in config BR2_PACKAGE_MONO · line 19

Quoted 10 lines
package/mono/Config.in +0 -8
-config BR2_PACKAGE_MONO_45
-	bool "4.5 .Net Runtime"
-	help
-	  This option enables the installation of the 4.5 version
-	  of the Mono .Net runtime to the target
-
-endif
-
 comment "mono needs a toolchain w/ IPv6, threads"
 	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS

It doesn't apply:

Applying patch #466431 using 'git am -s3'
Description: [2/2] package/mono: bump to version 4.0.1
Applying: package/mono: bump to version 4.0.1
Using index info to reconstruct a base tree...
M package/mono/Config.in
Falling back to patching base and 3-way merge...
Auto-merging package/mono/Config.in
CONFLICT (content): Merge conflict in package/mono/Config.in
Removing package/mono/0005-Fix-build-errors-in-mono-context.c-on-ppc64el.patch Removing package/mono/0004-jit-Move-the-ppc-sigctx-monoctx-conversion-code-to-m.patch Removing package/mono/0003-mono-context.h-fix-build-on-MIPS.patch Failed to merge in the changes.
Patch failed at 0001 package/mono: bump to version 4.0.1
The copy of the patch that failed is found in:
/home/peko/source/buildroot/.git/rebase-apply/patch

Judging from the IPv6 comment above it seems like your tree is now uptodate. Could you please rebase your patches against HEAD and resend?

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 2/2 package/mono: bump to version 4.0.1

Dear Peter Korsgaard,

2015-04-30 15:38 GMT+02:00 Peter Korsgaard <[email protected]>:

Quoted 9 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Angelo" == Angelo Compagnucci <[email protected]> writes:

This patch:
* bumps mono version to 4.0.1.
* Removes no more needed patches included upstream
* Removes profile switches no more present in configure

So what does that mean? Does it build all profiles or are some of them dropped upstream?

"We no longer build the reference assemblies for the .NET 2.0, .NET 3.5 or .NET 4.0 APIs, we now ship binaries of the reference assemblies (API contracts, without any actual executable code in them). Mono will now only build the .NET 4.5 assemblies as well as the mobile-based profiles."

So older mono software will run unmodified on mono 4 without having old assemblies around.

Quoted 47 lines
Quoted 17 lines

http://download.mono-project.com/sources/mono/

package/mono/Config.in +0 -14
-if BR2_PACKAGE_MONO
-
-config BR2_PACKAGE_MONO_20
-    bool "2.0/3.5 .Net Runtime"
-    help
-      This option enables the installation of the 2.0/3.5 version
-      of the Mono .Net runtime to the target
-
-config BR2_PACKAGE_MONO_40
-    bool "4.0 .Net Runtime"
-    help
-      This option enables the installation of the 4.0 version
-      of the Mono .Net runtime to the target
-

package/mono/Config.in config BR2_PACKAGE_MONO · line 19

Quoted 10 lines
package/mono/Config.in +0 -8
-config BR2_PACKAGE_MONO_45
-    bool "4.5 .Net Runtime"
-    help
-      This option enables the installation of the 4.5 version
-      of the Mono .Net runtime to the target
-
-endif
-
 comment "mono needs a toolchain w/ IPv6, threads"
     depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS

It doesn't apply:

Applying patch #466431 using 'git am -s3'
Description: [2/2] package/mono: bump to version 4.0.1
Applying: package/mono: bump to version 4.0.1
Using index info to reconstruct a base tree...
M package/mono/Config.in
Falling back to patching base and 3-way merge...
Auto-merging package/mono/Config.in
CONFLICT (content): Merge conflict in package/mono/Config.in
Removing package/mono/0005-Fix-build-errors-in-mono-context.c-on-ppc64el.patch Removing package/mono/0004-jit-Move-the-ppc-sigctx-monoctx-conversion-code-to-m.patch Removing package/mono/0003-mono-context.h-fix-build-on-MIPS.patch Failed to merge in the changes.
Patch failed at 0001 package/mono: bump to version 4.0.1
The copy of the patch that failed is found in:
/home/peko/source/buildroot/.git/rebase-apply/patch

Quoted 2 lines

Judging from the IPv6 comment above it seems like your tree is now uptodate. Could you please rebase your patches against HEAD and resend?

Ouch! Probably it was changed right under my nose!

Will resend in minutes!

Quoted 3 lines

--
Bye, Peter Korsgaard

Signature · 1 line
Profile: http://it.linkedin.com/in/compagnucciangelo