Re: [yocto] [meta-mono] [PATCH 00/11] Refactor common mono build bits into mono.bbclass

2015-07-17 Thread Alex J Lennon


On 17/07/2015 10:19, Alex J Lennon wrote:

 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


Richard,

I'm having some trouble with builds here since that latest patch.

Can you tell me, what version of Mono did you test against, and also did
you have Mono installed out of tree on the host system?
(I've had trouble in the past with the host mono being picked up
incorrectly)

Thanks,

Alex
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-mono] [PATCH 00/11] Refactor common mono build bits into mono.bbclass

2015-07-17 Thread Richard Tollerton
Alex J Lennon ajlen...@dynamicdevices.co.uk writes:

 Richard,

 I'm having some trouble with builds here since that latest patch.

 Can you tell me, what version of Mono did you test against, and also did
 you have Mono installed out of tree on the host system?
 (I've had trouble in the past with the host mono being picked up
 incorrectly)

Sorry for the inconvenience :(

I've been building mono 4.0.2.4 with these changes. I tested the build
both on archlinux, with mono installed on the host, and inside an ubuntu
12.04 chroot, with mono not installed.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-mono] [PATCH 00/11] Refactor common mono build bits into mono.bbclass

2015-07-17 Thread Alex J Lennon


On 17/07/2015 15:43, Richard Tollerton wrote:
 Alex J Lennon ajlen...@dynamicdevices.co.uk writes:

 Richard,

 I'm having some trouble with builds here since that latest patch.

 Can you tell me, what version of Mono did you test against, and also did
 you have Mono installed out of tree on the host system?
 (I've had trouble in the past with the host mono being picked up
 incorrectly)
 Sorry for the inconvenience :(

 I've been building mono 4.0.2.4 with these changes. I tested the build
 both on archlinux, with mono installed on the host, and inside an ubuntu
 12.04 chroot, with mono not installed.



Thanks for coming back to me so quickly. No worries. Perhaps it's finger
trouble on my part somehow as I took the opportunity to clean up the
4.xx build a little today too.

I'm using 4.0.2.4 here too, and have been testing also with 4.0.2.5
support I added in. No mono on the host. Simple tests of the
helloworld/helloworldform apps work fine under qemux86 but I'm seeing
trouble building those updated recipes for some reason.

I'll spend a bit of time investigating.

Cheers, Alex


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-mono] [PATCH 00/11] Refactor common mono build bits into mono.bbclass

2015-07-17 Thread Alex J Lennon


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

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto