[oe-commits] Paul Eggleton : Replace bb.data.* with d.*

git at git.openembedded.org git at git.openembedded.org
Tue Oct 30 08:50:19 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 3a30c562385cb3d9cd1b3043f6fe677a22024018
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3a30c562385cb3d9cd1b3043f6fe677a22024018

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Sun Oct 28 13:49:59 2012 +0000

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 at linux.intel.com>

---

 meta-efl/recipes-efl/efl/edje-fpu.inc              |    2 +-
 meta-efl/recipes-efl/efl/evas-generic-loaders.inc  |    2 +-
 meta-efl/recipes-efl/efl/evas.inc                  |    4 +-
 meta-gnome/recipes-gnome/abiword/abiword.inc       |    2 +-
 meta-gnome/recipes-gnome/abiword/abiword_2.8.6.bb  |   16 +++++-----
 .../recipes-gnome/gnome-vfs/gnome-vfs_2.24.4.bb    |    4 +-
 meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.3.bb       |    8 +++---
 meta-gnome/recipes-gnome/orbit2/orbit2_2.14.17.bb  |    2 +-
 .../recipes-support/goffice/goffice_0.8.17.bb      |    2 +-
 .../recipes-devtools/klibc/klibc-utils.inc         |    4 +-
 meta-oe/classes/gitpkgv.bbclass                    |    4 +-
 meta-oe/recipes-connectivity/dnsmasq/dnsmasq.inc   |    2 +-
 .../fakeroot/fakeroot-native_1.12.4.bb             |    4 +-
 meta-oe/recipes-core/glib-2.0/glibmm.inc           |    2 +-
 meta-oe/recipes-core/meta/distro-feed-configs.bb   |    4 +-
 .../proxy-libintl/proxy-libintl_20100902.bb        |    2 +-
 .../libcanberra/libcanberra_0.26.bb                |    2 +-
 meta-oe/recipes-devtools/libgee/libgee_0.6.4.bb    |    2 +-
 meta-oe/recipes-devtools/orc/orc.inc               |    2 +-
 meta-oe/recipes-devtools/vala/vala.inc             |    2 +-
 meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb  |    4 +-
 meta-oe/recipes-graphics/pango/pangomm_2.28.2.bb   |    2 +-
 .../recipes-graphics/ttf-fonts/ttf-mplus_027.bb    |    2 +-
 meta-oe/recipes-multimedia/libav/libav.inc         |    4 +-
 meta-oe/recipes-multimedia/libcdio/libcdio_0.82.bb |    2 +-
 meta-oe/recipes-multimedia/live555/live555.inc     |    2 +-
 meta-oe/recipes-navigation/navit/navit-fpu.inc     |    2 +-
 meta-oe/recipes-support/fltk/fltk_1.1.10.bb        |    4 +-
 meta-oe/recipes-support/freerdp/freerdp.inc        |    2 +-
 meta-oe/recipes-support/links/links.inc            |    2 +-
 meta-oe/recipes-support/lzma/lzma.inc              |    2 +-
 meta-oe/recipes-support/nano/nano.inc              |    2 +-
 meta-oe/recipes-support/opencv/opencv_2.4.bb       |   12 ++++----
 .../recipes-support/openldap/openldap_2.4.23.bb    |   16 +++++-----
 meta-oe/recipes-support/pidgin/pidgin.inc          |    6 ++--
 meta-oe/recipes-support/poppler/poppler-fpu.inc    |    2 +-
 meta-oe/recipes-support/vim/vim.inc                |    4 +-
 meta-systemd/classes/systemd.bbclass               |   28 ++++++++++----------
 .../xfwm4-themes/xfwm4-themes_4.10.0.bb            |    2 +-
 .../recipes-xfce/xfce4-panel/xfce4-panel_4.10.0.bb |    4 +-
 meta-xfce/recipes-xfce/xfwm4/xfwm4_4.10.0.bb       |    2 +-
 41 files changed, 89 insertions(+), 89 deletions(-)

Diff:   http://git.openembedded.org/?p=meta-openembedded.git/?a=commitdiff;h=3a30c562385cb3d9cd1b3043f6fe677a22024018




More information about the Openembedded-commits mailing list