Skip to content

Refactor common mono build bits into mono.bbclass

Richard Tollerton yocto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11mono.bbclass: addclasses/mono.bbclass+32 -00 replies
2/11dbus-sharp-glib: use mono.bbclassrecipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc+2 -110 replies
3/11dbus-sharp: use mono.bbclassrecipes-mono/dbus-sharp/dbus-sharp.inc+1 -120 replies
4/11fsharp.inc: use mono.bbclassrecipes-mono/fsharp/fsharp.inc+1 -180 replies
5/11mono-addins: use mono.bbclassrecipes-mono/mono-addins/mono-addins.inc+2 -120 replies
6/11mono-helloworld: use mono.bbclassrecipes-mono/mono-helloworld/mono-helloworld.inc+1 -30 replies
7/11mono-xsp: use mono.bbclassrecipes-mono/mono-xsp/mono-xsp-3.x.inc+1 -20 replies
8/11mono-basic-4.xx.inc: use mono.bbclassrecipes-mono/mono-basic/mono-basic-4.xx.inc+1 -120 replies
9/11gtk-sharp.inc: use mono.bbclass and make some FILES fixesrecipes-mono/gtk-sharp/gtk-sharp.inc+4 -190 replies
10/11gtk-sharp-native: remove mono-native dependencyrecipes-mono/gtk-sharp/gtk-sharp-native_2.12.21.bb+1 -10 replies
11/11gtk-sharp: remove mono-native dependencyrecipes-mono/gtk-sharp/gtk-sharp_2.12.21.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [meta-mono] [PATCH 00/11] Refactor common mono build bits into mono.bbclass

Building CLI packages involves lots of boilerplate recipe settings, particularly involving FILES and DEPENDS. This is a first attempt at refactoring these settings into a single bbclass that can be inherited by all CLI packages that do not require unusual build settings.

I attempted to refactor every recipe in the layer with these exceptions:

- cefglue, because it doesn't actually install anything (!)
- monotools-server, because I haven't been able to build it successfully
- mono-upnp and taglib-sharp because I don't use them

The following changes since commit 136ed556de19bd497279d6c3ae8704551fb1ec4d:

mono-xsp-3.x.inc: use autogen.sh (2015-07-16 18:56:23 +0100)

are available in the git repository at:

git://github.com/rtollert/meta-mono dev/rtollert/v4/bbclass
https://github.com/rtollert/meta-mono/tree/dev/rtollert/v4/bbclass

Richard Tollerton (11):
mono.bbclass: add
dbus-sharp-glib: use mono.bbclass
dbus-sharp: use mono.bbclass
fsharp.inc: use mono.bbclass
mono-addins: use mono.bbclass
mono-helloworld: use mono.bbclass
mono-xsp: use mono.bbclass
mono-basic-4.xx.inc: use mono.bbclass gtk-sharp.inc: use mono.bbclass and make some FILES fixes
gtk-sharp-native: remove mono-native dependency
gtk-sharp: remove mono-native dependency

 classes/mono.bbclass                               | 32 ++++++++++++++++++++++
 recipes-mono/dbus-sharp-glib/dbus-sharp-glib.inc   | 13 ++-------
 recipes-mono/dbus-sharp/dbus-sharp.inc             | 13 +--------
 recipes-mono/fsharp/fsharp.inc                     | 19 +------------
 recipes-mono/gtk-sharp/gtk-sharp-native_2.12.21.bb |  2 +-
 recipes-mono/gtk-sharp/gtk-sharp.inc               | 23 +++-------------
 recipes-mono/gtk-sharp/gtk-sharp_2.12.21.bb        |  2 +-
 recipes-mono/mono-addins/mono-addins.inc           | 14 ++--------
 recipes-mono/mono-basic/mono-basic-4.xx.inc        | 13 +--------
 recipes-mono/mono-helloworld/mono-helloworld.inc   |  4 +--
 recipes-mono/mono-xsp/mono-xsp-3.x.inc             |  3 +-
 11 files changed, 47 insertions(+), 91 deletions(-)
 create mode 100644 classes/mono.bbclass
Signature · 1 line
2.4.4