python-smartpm: add gettext-native to DEPENDS
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 30 May 2013 08:49:15 +0000 (09:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 May 2013 20:00:56 +0000 (21:00 +0100)
commit6073ffbcbd9020a8f2ac0367510d345bdd861ff7
tree17dd0be5e8ed3d64badb702abaef0e6523f1587f
parent0cb9b7193592080137b3b340b08df36df6e3900a
python-smartpm: add gettext-native to DEPENDS

Fixes the following failure at do_install building python-smartpm-native
if gettext-native has not already been built and gettext tools are not
installed on the host:

| compiling locale/it/LC_MESSAGES/smart.po -> locale/it/LC_MESSAGES/smart.mo
| sh: msgfmt: command not found
...
| creating $D/usr/share/share/locale/it/LC_MESSAGES
| error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or not a regular file

Note that we need gettext-native in DEPENDS and not "inherit gettext"
here because for native variants, gettext.bbclass instead adds
gettext-minimal-native to DEPENDS and that does not provide the msgfmt
command.

(From OE-Core rev: e8d903e2d5e0c0df18dfd9561c3f8ef340297f1f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python-smartpm_1.4.1.bb