diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-05-30 09:49:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-30 21:00:56 +0100 |
commit | 4c6939f6579563d1cdf7cd58820f432d5869d90a (patch) | |
tree | 9b804df7e764822ed58111972a37897794a2b0ff /meta/recipes-devtools | |
parent | 7285246deb55ed199c5f2a27d5771e1efec04e80 (diff) | |
download | poky-4c6939f6579563d1cdf7cd58820f432d5869d90a.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/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 cfa2dba795..0cf3847c77 100644 --- a/meta/recipes-devtools/python/python-smartpm_1.4.1.bb +++ b/meta/recipes-devtools/python/python-smartpm_1.4.1.bb | |||
@@ -8,7 +8,7 @@ SECTION = "devel/python" | |||
8 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" |
10 | 10 | ||
11 | DEPENDS = "python rpm" | 11 | DEPENDS = "python rpm gettext-native" |
12 | PR = "r9" | 12 | PR = "r9" |
13 | SRCNAME = "smart" | 13 | SRCNAME = "smart" |
14 | 14 | ||