[oe-commits] Paul Eggleton : python-smartpm: add gettext-native to DEPENDS

git at git.openembedded.org git at git.openembedded.org
Mon Jun 3 15:52:21 UTC 2013


Module: openembedded-core.git
Branch: dylan
Commit: 935506b3ea7a64a6c0f4b14c6c9931ccf8b98828
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=935506b3ea7a64a6c0f4b14c6c9931ccf8b98828

Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date:   Thu May 30 09:49:15 2013 +0100

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 master rev: e8d903e2d5e0c0df18dfd9561c3f8ef340297f1f)

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../python/python-smartpm_1.4.1.bb                 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
index 001d9e4..ce24cc4 100644
--- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
+++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb
@@ -10,7 +10,7 @@ SECTION = "devel/python"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
 
-DEPENDS = "python rpm"
+DEPENDS = "python rpm gettext-native"
 PR = "r9"
 SRCNAME = "smart"
 



More information about the Openembedded-commits mailing list