[yocto] [meta-mono][PATCH 0/7] Updates to meta-mono layer

Barry Grussling barry at grussling.com
Sat Nov 5 21:22:57 PDT 2016


I have a need to run Mono 4.6.1 on an ARM system.  The last commit to
the yocto meta-mono tree is over six months old so I figured I would take
a crack at it myself.  Hopefully these patches help somebody else.

I would appreciate other people testing them.  I have only ran non-gui apps
on the console, which is my primary use-case.  The 4.6.1 port seems to handle
that fine, but getting wider feedback and testing would be helpful.

Over the last year Mono has migrated from GPLv2 to MIT for the license.  This
required a little restructuring.  I introduced mono-mit.inc and mono-gplv2.inc
to support this.

I also included a previously submitted patch from
http://yocto.yoctoproject.narkive.com/yo6DAY92/meta-mono-patch-mono-4-xx-remove-disable-static-from-extra-oeconf
as I needed it to get Mono compiling on my platform.

I enhanced libgdiplus to allow it to be lighter weight and not necessarily
depend on meta-openembedded/meta-oe.  It now understands PACKAGECONFIG
flags for many common libraries.

Lastly, I have been having issues with Mono 4.6.1 as described at:
https://bugzilla.xamarin.com/show_bug.cgi?id=44918 regarding the
error I get: "No fast tls on device. Using fallbacks....".  I included
the upstream patch which attempts to fix the issue.  I am still
getting console output about TLS, but everything functions.

These commits start from commit bec66698046eb112df0be281e9d3e080e1c61cdb:

 README: add notes on testing mono 4.4.0.148

I am using meta-mono with poky krogoth.

Thanks,

   Barry
--

Barry Grussling (7):
  Add a base .gitignore
  Separate license from mono-4.xx.inc
  mono-4.xx: Remove --disable-static from EXTRA_OECONF
  Add the MIT license inc
  mono: add support for mono 4.6.1.5
  Allow PACKAGECONFIG to configure libgdiplus
  Add ARM patch for fast-tls

 .gitignore                                         |  7 +++++
 README.md                                          | 21 ++++++++++++---
 recipes-mono/libgdiplus/libgdiplus_2.10.8.bb       |  8 +++++-
 recipes-mono/mono/mono-4.6.1.5.inc                 |  2 ++
 .../ARM-Disable-fast-tls-on-embedded-mono.patch    | 30 ++++++++++++++++++++++
 .../mono/mono-4.6.1.5/dllmap-config.in.diff        | 29 +++++++++++++++++++++
 recipes-mono/mono/mono-4.xx.inc                    |  8 +++---
 recipes-mono/mono/mono-gplv2.inc                   |  3 +++
 recipes-mono/mono/mono-mit.inc                     |  3 +++
 recipes-mono/mono/mono-native_4.0.1.28.bb          |  1 +
 recipes-mono/mono/mono-native_4.0.1.34.bb          |  1 +
 recipes-mono/mono/mono-native_4.0.1.bb             |  1 +
 recipes-mono/mono/mono-native_4.0.2.4.bb           |  1 +
 recipes-mono/mono/mono-native_4.0.2.5.bb           |  1 +
 recipes-mono/mono/mono-native_4.0.3.13.bb          |  1 +
 recipes-mono/mono/mono-native_4.0.3.19.bb          |  1 +
 recipes-mono/mono/mono-native_4.0.3.20.bb          |  1 +
 recipes-mono/mono/mono-native_4.0.4.1.bb           |  1 +
 recipes-mono/mono/mono-native_4.2.0.179.bb         |  1 +
 recipes-mono/mono/mono-native_4.2.0.207.bb         |  1 +
 recipes-mono/mono/mono-native_4.2.1.102.bb         |  1 +
 recipes-mono/mono/mono-native_4.2.1.36.bb          |  1 +
 recipes-mono/mono/mono-native_4.2.1.60.bb          |  1 +
 recipes-mono/mono/mono-native_4.2.2.10.bb          |  1 +
 recipes-mono/mono/mono-native_4.2.2.29.bb          |  1 +
 recipes-mono/mono/mono-native_4.2.2.30.bb          |  1 +
 recipes-mono/mono/mono-native_4.3.2.467.bb         |  1 +
 recipes-mono/mono/mono-native_4.4.0.122.bb         |  1 +
 recipes-mono/mono/mono-native_4.4.0.148.bb         |  1 +
 recipes-mono/mono/mono-native_4.6.1.5.bb           |  4 +++
 recipes-mono/mono/mono_4.0.1.28.bb                 |  1 +
 recipes-mono/mono/mono_4.0.1.34.bb                 |  1 +
 recipes-mono/mono/mono_4.0.1.bb                    |  1 +
 recipes-mono/mono/mono_4.0.2.4.bb                  |  1 +
 recipes-mono/mono/mono_4.0.2.5.bb                  |  1 +
 recipes-mono/mono/mono_4.0.3.13.bb                 |  1 +
 recipes-mono/mono/mono_4.0.3.19.bb                 |  1 +
 recipes-mono/mono/mono_4.0.3.20.bb                 |  1 +
 recipes-mono/mono/mono_4.0.4.1.bb                  |  1 +
 recipes-mono/mono/mono_4.2.0.179.bb                |  1 +
 recipes-mono/mono/mono_4.2.0.207.bb                |  1 +
 recipes-mono/mono/mono_4.2.1.102.bb                |  1 +
 recipes-mono/mono/mono_4.2.1.36.bb                 |  1 +
 recipes-mono/mono/mono_4.2.1.60.bb                 |  1 +
 recipes-mono/mono/mono_4.2.2.10.bb                 |  1 +
 recipes-mono/mono/mono_4.2.2.29.bb                 |  1 +
 recipes-mono/mono/mono_4.2.2.30.bb                 |  1 +
 recipes-mono/mono/mono_4.3.2.467.bb                |  1 +
 recipes-mono/mono/mono_4.4.0.122.bb                |  1 +
 recipes-mono/mono/mono_4.4.0.148.bb                |  1 +
 recipes-mono/mono/mono_4.6.1.5.bb                  | 11 ++++++++
 51 files changed, 158 insertions(+), 8 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 recipes-mono/mono/mono-4.6.1.5.inc
 create mode 100644 recipes-mono/mono/mono-4.6.1.5/ARM-Disable-fast-tls-on-embedded-mono.patch
 create mode 100644 recipes-mono/mono/mono-4.6.1.5/dllmap-config.in.diff
 create mode 100644 recipes-mono/mono/mono-gplv2.inc
 create mode 100644 recipes-mono/mono/mono-mit.inc
 create mode 100644 recipes-mono/mono/mono-native_4.6.1.5.bb
 create mode 100644 recipes-mono/mono/mono_4.6.1.5.bb

-- 
2.10.2




More information about the yocto mailing list