package/mono: bump to version 4.2.1.102
cover package/mono: bump to version 4.2.1.102
This patch series bumps mono to version 4.2.1.102
Angelo Compagnucci (2):
package/mono: bump to version 4.2.1.102
package/monolite: bump to version 138
package/mono/0003-fix-parallel-install.patch | 40 ---------------------- ...glib-checking-for-locale_charset-function.patch | 28 +++++++++++++++ ...6-Remove-unit-tests-from-mono-compilation.patch | 29 ++++++++++++++++ package/mono/Config.in | 1 - package/mono/mono.hash | 2 +- package/mono/mono.mk | 2 +- package/monolite/monolite.hash | 2 +- package/monolite/monolite.mk | 2 +- 8 files changed, 61 insertions(+), 45 deletions(-) delete mode 100644 package/mono/0003-fix-parallel-install.patch create mode 100644 package/mono/0005-eglib-checking-for-locale_charset-function.patch create mode 100644 package/mono/0006-Remove-unit-tests-from-mono-compilation.patch
Signature · 1 line
1.9.1
PATCH 1/2 package/mono: bump to version 4.2.1.102
This patch bumps to version 4.2.1.102 and updates
accompaining patches accordingly.
* Removed upstreamed patch 0003-fix-parallel-install.patch
* Adding patch to fix eglib linking option (upstreamed here
https://github.com/mono/mono/pull/1971 but not included in this release)
* Adding patch to remove compilation of unit-tests
--- package/mono/0003-fix-parallel-install.patch | 40 ---------------------- ...glib-checking-for-locale_charset-function.patch | 28 +++++++++++++++ ...6-Remove-unit-tests-from-mono-compilation.patch | 29 ++++++++++++++++ package/mono/Config.in | 1 - package/mono/mono.hash | 2 +- package/mono/mono.mk | 2 +- 6 files changed, 59 insertions(+), 43 deletions(-) delete mode 100644 package/mono/0003-fix-parallel-install.patch create mode 100644 package/mono/0005-eglib-checking-for-locale_charset-function.patch create mode 100644 package/mono/0006-Remove-unit-tests-from-mono-compilation.patch
package/mono/0003-fix-parallel-install.patch deleted +0 -40
@@ -1,40 +0,0 @@ -mcs: fix installation with parallel make - -In mcs/ the install of xbuild_12 and xbuild_14 will end-up installing -the same files: - ${NETFRAMEWORK_DIR}/v2.0/RedistList/FrameworkList.xml - ${NETFRAMEWORK_DIR}/v3.0/RedistList/FrameworkList.xml - ${NETFRAMEWORK_DIR}/v3.5/RedistList/FrameworkList.xml - ${NETFRAMEWORK_DIR}/v4.0/Profile/Client/RedistList/FrameworkList.xml - ${NETFRAMEWORK_DIR}/v4.0/RedistList/FrameworkList.xml - ${NETFRAMEWORK_DIR}/v4.5.1/RedistList/FrameworkList.xml - ${NETFRAMEWORK_DIR}/v4.5/RedistList/FrameworkList.xml - -This is because there is no atomicity when installing each file, and -xbuild_12 and xbuild_14 may well run in parallel, each trying to install -each of those files; but the 'install' utility will first check if the -target file exists or not, and behaves differently if it does than if it -does not, thus leading to build failures like so: - http://autobuild.buildroot.org/results/c32/c3288c5d1fb94474f14a4a889e76135878d403bc/build-end.log - -So, ensure ordering of the install of xbuild_12 and xbuild_14 (the -ordering is completely arbitrary, either way gives the same installed -files). - -Signed-off-by: "Yann E. MORIN" <[email protected]> -Cc: Angelo Compagnucci <[email protected]> - -diff -durN host-mono-4.0.0.orig/mcs/Makefile host-mono-4.0.0/mcs/Makefile ---- host-mono-4.0.0.orig/mcs/Makefile 2015-04-09 16:55:53.000000000 +0200 -+++ host-mono-4.0.0/mcs/Makefile 2015-05-16 17:25:44.475542483 +0200 -@@ -43,6 +43,10 @@ - profile-do--%: - $(MAKE) PROFILE=$(subst --, ,$*) - -+# xbuild_12 and xbuild_14 will try to install the same files, so they need -+# to be ordered -+profile-do--xbuild_14--install: profile-do--xbuild_12--install -+ - # We don't want to run the tests in parallel. We want behaviour like -k. - profiles-do--run-test: - ret=:; $(foreach p,$(PROFILES), { $(MAKE) PROFILE=$(p) run-test || ret=false; }; ) $$ret
package/mono/0005-eglib-checking-for-locale_charset-function.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 026a8c44d332b3595814ce0aceba255467cd7b6d Mon Sep 17 00:00:00 2001 +From: Angelo Compagnucci <[email protected]> +Date: Sat, 5 Sep 2015 08:57:21 +0200 +Subject: [PATCH] eglib: checking for locale_charset function + +This patch checks if locale_charset function is availabe in +libiconv or libcharset and changes the linking options accordingly. + +Signed-off-by: Angelo Compagnucci <[email protected]> +--- + eglib/configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eglib/configure.ac b/eglib/configure.ac +index 9d094ea..5ea220e 100644 +--- a/eglib/configure.ac ++++ b/eglib/configure.ac +@@ -182,6 +182,7 @@ fi + AC_SUBST(G_HAVE_ISO_VARARGS) + + AC_CHECK_HEADERS(getopt.h sys/select.h sys/time.h sys/wait.h pwd.h langinfo.h iconv.h localcharset.h sys/types.h sys/resource.h) ++AC_CHECK_LIB([iconv], [locale_charset],[],[AC_CHECK_LIB([charset], [locale_charset],[LIBS+="-liconv -lcharset"])]) + AC_CHECK_HEADER(alloca.h, [HAVE_ALLOCA_H=1], [HAVE_ALLOCA_H=0]) + AC_SUBST(HAVE_ALLOCA_H) + +-- +1.9.1 +
package/mono/0006-Remove-unit-tests-from-mono-compilation.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 155f96953d1b898f04a4e708c9ebc1e450b2f63e Mon Sep 17 00:00:00 2001 +From: Angelo Compagnucci <[email protected]> +Date: Tue, 24 Nov 2015 23:11:10 +0100 +Subject: [PATCH] Remove unit-tests from mono compilation + +This patch fixes compiling errors with unit-tests under linux. + +Signed-off-by: Angelo Compagnucci <[email protected]> +--- + mono/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mono/Makefile.am b/mono/Makefile.am +index ef41dfe..7129507 100644 +--- a/mono/Makefile.am ++++ b/mono/Makefile.am +@@ -30,7 +30,7 @@ monotouch-do-clean: + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \ + done; + else +-SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler ++SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests benchmark profiler + endif + endif +-DIST_SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests unit-tests benchmark profiler ++DIST_SUBDIRS = arch utils io-layer cil metadata $(sgen_dirs) mini dis tests benchmark profiler +-- +1.9.1 +
package/mono/Config.in +0 -1
@@ -8,7 +8,6 @@ config BR2_PACKAGE_MONO depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET.
package/mono/mono.hash +1 -1
@@ -1,2 +1,2 @@ # sha256 locally computed -sha256 b074584eea5bbaaf29362486a69d70abe53d0d2feb334f231fa9c841cf6fd651 mono-4.0.2.5.tar.bz2 +sha256 b7b461fe04375f621d88166ba8c6f1cb33c439fd3e17136460f7d087a51ed792 mono-4.2.1.102.tar.bz2
package/mono/mono.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -MONO_VERSION = 4.0.2.5 +MONO_VERSION = 4.2.1.102 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
Signature · 1 line
1.9.1
PATCH 2/2 package/monolite: bump to version 138
In reply to Angelo CompagnucciThis patch bump to version 138 needed for mono 4.2.1.102
--- package/monolite/monolite.hash | 2 +- package/monolite/monolite.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/monolite/monolite.hash +1 -1
@@ -1,2 +1,2 @@ # sha256 locally computed -sha256 07a8573feef0053ec28b98355feba8c83dcfb3f99c2d0913a16a287382daf4b8 monolite-117-latest.tar.gz +sha256 0cf7aeafb22daeb7ed3398057f0ac88015440901f480ef84cba2431a753f8c1e monolite-138-latest.tar.gz
package/monolite/monolite.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -MONOLITE_VERSION = 117 +MONOLITE_VERSION = 138 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
Thomas Petazzoni
Appliedcover package/mono: bump to version 4.2.1.102
In reply to Angelo CompagnucciAngelo,
Quoted 5 lines · Angelo Compagnucci
This patch series bumps mono to version 4.2.1.102
Angelo Compagnucci (2):
package/mono: bump to version 4.2.1.102
package/monolite: bump to version 138
Applied to next, thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com