[yocto] [meta-mono] [PATCH 00/11] Refactor common mono build bits into mono.bbclass
Alex J Lennon
ajlennon at dynamicdevices.co.uk
Fri Jul 17 02:19:53 PDT 2015
On 17/07/2015 00:16, Richard Tollerton wrote:
> 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
>
Great idea - applied thanks Richard
Cheers, Alex
More information about the yocto
mailing list