8 Commits

Author SHA1 Message Date
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Andreas Oberritter 9150eee6c4 swig: avoid host contamination, make build deterministic
* Explicitly disable all other languages than python, which was the
  only language listed in DEPENDS.

* Inherit pythonnative to make it find OE's python executable.

* Depend on libpcre in order to reliably enable Swig's regex feature.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-12 11:22:39 +01:00
Martin Jansa 6033ea7c61 swig: upgrade to 2.0.9 and add patch to fix swiglib
* FindSWIG.cmake is using swig -swiglib to find swig.swg and set
  SWIG_DIR without that patch swig -swiglib reports absolute path
  to datadir how it was on builder which created sstate archive,
  reusing swig from sstate results in invalid path hardcoded in
  swig binary and FindSWIG reporting missing swig

* unfortunately it's not using any config file we could make
  relocateble with SSTATE_SCAN_FILES

* LICENSE-UNIVERSITIES change is only formal

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-02-19 01:48:45 +01:00
Marcin Juszkiewicz 094f0476e4 swig: update gnu-config files 2012-10-10 09:47:33 +02:00
Koen Kooi 2eb27e123b swig 2.0.0: disable guile support
It's not in DEPENDS and it breaks on hosts with guile-dev installed:

configure:8391: checking whether Guile's SCM_ API works
configure:8403: ccache arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/home/foo/BeagleBone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone -o conftest -O2 -pipe -g -feliminate-unused-debug-types -Wall -W   -isystem /usr/include  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl     -lguile -lltdl -lgmp -lcrypt -lm -lltdl >&5
cc1: warning: include location "/usr/include" is unsafe for cross-compilation
In file included from /usr/include/libguile.h:24:0,
                 from conftest.c:1:
/usr/include/gmp.h:39:21: fatal error: gmp-arm.h: No such file or directory

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-03-01 17:12:18 +01:00
Andrei Gherzan a9e15d2584 In LICENSE "&&" should be replaced with "&" [forgot .inc files]
In this way meta-oe recipes will be parsed correctly in yocto.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-24 16:11:24 +01:00
Koen Kooi 6a9f3a15e4 swig: fix license checkums, delete old versions
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 20:41:25 +02:00
Koen Kooi c58cc7d379 move layer into meta-oe in preparation for future splits
As per TSC decision

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-17 21:41:22 +01:00