14 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
Paul Eggleton 3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

sed \
-e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Martin Jansa fc9386733a recipes: bump PR to rebuild after libffi5 -> libffi6
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-09-20 10:02:45 +02:00
Martin Jansa a1a9409931 glibmm: fix build with glib-2.32
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-05-06 09:37:09 +02:00
Martin Jansa d0028e40a3 recipes: bump PR to rebuild .la files without libz.la
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-02-13 16:59:29 +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
Martin Jansa 7d0a12d091 glib-2.0: drop 2.29.3+git from meta-oe, there should be 2.30.0 in oe-core
* see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/010447.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-12 13:02:55 +02:00
Koen Kooi b0bbfe2fb8 glibmm: add 2.28.2
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-12 12:25:23 +02:00
Koen Kooi 61743ca888 glib-2.0: sync with OE-core
remove 2.28.1 and merge in packaging changes

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-22 18:17:27 +02:00
Koen Kooi 556fd149ec glib-2.0: import 2.28.8 untill it gets into OE-core
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-06-19 20:41:26 +02:00
Martin Jansa 10d8c7ae11 glib-2.0: append libffi and python-argparse to DEPENDS_virtclass-native, drop gdbus-serialization test
* DEPENDS_virtclass-native is defined in glib.inc so normal DEPENDS are
  ignored for -native builds
* gdbus-serialization test causes circular dependency dbus-glib, and
  because we cannot add dbus to DEPENDS then we had to drop this test
  so apply dcf425c5472fdee74885c4f21a851e39c84e6642 from oe.dev

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-19 00:02:52 +02:00
Martin Jansa 9cb1277b5e glib-2.0: use PN instead of glib-2.0 in PACKAGES and FILES
* otherwise notes like this are shown:
  NOTE: multiple providers are available for runtime glib-2.0-utils (glib-2.0-nativesdk, glib-2.0)
  NOTE: consider defining a PREFERRED_PROVIDER entry to match glib-2.0-utils

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-19 00:02:52 +02:00
Otavio Salvador e55afd32d8 glib-2.0: depends on python-argparse-native
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-05-10 16:59:07 +02:00
Martin Jansa ee24b4ce36 glib-2.0: add git version for 2.29.3+git, which has gdbus-codegen included
* add negative DEFAULT_PREFERRENCE for now

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-10 13:57:34 +02:00