All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] python-smartpm: add gettext-native to DEPENDS
@ 2013-05-29 15:51 Paul Eggleton
  2013-05-29 17:41 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-05-29 15:51 UTC (permalink / raw)
  To: openembedded-core

Fixes the following failure at do_install 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

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 cfa2dba..0cf3847 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"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
 
-DEPENDS = "python rpm"
+DEPENDS = "python rpm gettext-native"
 PR = "r9"
 SRCNAME = "smart"
 
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] python-smartpm: add gettext-native to DEPENDS
  2013-05-29 15:51 [PATCH] python-smartpm: add gettext-native to DEPENDS Paul Eggleton
@ 2013-05-29 17:41 ` Khem Raj
  2013-05-29 17:51   ` Paul Eggleton
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2013-05-29 17:41 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]

On Wednesday, May 29, 2013, Paul Eggleton <paul.eggleton@linux.intel.com>
wrote:
> Fixes the following failure at do_install 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
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
>  meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python-smartpm_1.4.1.bbb/meta/recipes-devtools/python/
python-smartpm_1.4.1.bb
> index cfa2dba..0cf3847 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"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
>
> -DEPENDS = "python rpm"
> +DEPENDS = "python rpm gettext-native"

Why not inherit gettext ?


>  PR = "r9"
>  SRCNAME = "smart"
>
> --
> 1.8.1.2
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 2258 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] python-smartpm: add gettext-native to DEPENDS
  2013-05-29 17:41 ` Khem Raj
@ 2013-05-29 17:51   ` Paul Eggleton
  2013-05-29 18:22     ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2013-05-29 17:51 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Wednesday 29 May 2013 10:41:25 Khem Raj wrote:
> On Wednesday, May 29, 2013, Paul Eggleton <paul.eggleton@linux.intel.com>
> wrote:
> > -DEPENDS = "python rpm"
> > +DEPENDS = "python rpm gettext-native"
> 
> Why not inherit gettext ?

Because that doesn't work for python-smartpm-native - that will add gettext-
minimal-native to DEPENDS which does not provide msgfmt.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] python-smartpm: add gettext-native to DEPENDS
  2013-05-29 17:51   ` Paul Eggleton
@ 2013-05-29 18:22     ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2013-05-29 18:22 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core


On May 29, 2013, at 10:51 AM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:

> On Wednesday 29 May 2013 10:41:25 Khem Raj wrote:
>> On Wednesday, May 29, 2013, Paul Eggleton <paul.eggleton@linux.intel.com>
>> wrote:
>>> -DEPENDS = "python rpm"
>>> +DEPENDS = "python rpm gettext-native"
>> 
>> Why not inherit gettext ?
> 
> Because that doesn't work for python-smartpm-native - that will add gettext-
> minimal-native to DEPENDS which does not provide msgfmt.


Add that info to commit log please 

> 
> Cheers,
> Paul
> 
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-29 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-29 15:51 [PATCH] python-smartpm: add gettext-native to DEPENDS Paul Eggleton
2013-05-29 17:41 ` Khem Raj
2013-05-29 17:51   ` Paul Eggleton
2013-05-29 18:22     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.