Commit Graph

13 Commits

Author SHA1 Message Date
Otavio Salvador 8b7d90d8e4 swig: Update to 3.0.2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-05 12:02:40 +02:00
Koen Kooi e2f0d002cb swig: use pkg-config for pcre detection.
OE-core commit 5870bd272b0b077d0826fb900b251884c1c05061 sabotaged the binconfig way.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 10:36:53 +02:00
Kang Kai 9a91c137a5 swig: add native wrapper for SWIGLIB
Native swig will read data from hard-coded SWIGLIB or the same
environment variable.

While using sstate, the hard-coded SWIGLIB will point to the project
that create original sstates. This would cause build issues, so add
a wrapper to set the environment variable SWIGLIB to a relative path
on current sysroot.

Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 11:24:30 +02:00
Philip Balister 6041efb602 swig: Update to version 2.0.12 and fix cmake find swig issue.
* Dropped PR and PR_INC due to PV change.
 * The cmake rule looks for swig2.0. For the sdk case, the host distro
may have a swig2.0 installed. If so the sdk would find the host swig. This
updates the sdk so it also has a swig2.0 soft linked to the swig binary in
the sdk.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 10:51:37 +02:00
Philip Balister 0e4ce4d2d7 swig: Update to version 2.0.10 and and add nativesdk support.
Build tested for armv7a machine.

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-12 16:23:22 +02:00
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