* [PATCH] qemu: add gettext to DEPENDS
@ 2018-05-11 16:35 Chris Patterson
2018-05-11 19:10 ` Christopher Larson
0 siblings, 1 reply; 5+ messages in thread
From: Chris Patterson @ 2018-05-11 16:35 UTC (permalink / raw)
To: openembedded-core; +Cc: Chris Patterson
From: Chris Patterson <pattersonc@ainfosec.com>
Otherwise QEMU build may fail with missing `msgfmt` command.
| make -C po install
| GEN bg.mo
| GEN tr.mo
| GEN de_DE.mo
| /bin/sh: msgfmt: command not found
| /bin/sh: msgfmt: command not found
Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
---
meta/recipes-devtools/qemu/qemu.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index dc73df8..ba1b9b2 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -1,7 +1,7 @@
SUMMARY = "Fast open source processor emulator"
HOMEPAGE = "http://qemu.org"
LICENSE = "GPLv2 & LGPLv2.1"
-DEPENDS = "glib-2.0 zlib pixman"
+DEPENDS = "glib-2.0 zlib pixman gettext"
RDEPENDS_${PN}_class-target += "bash"
require qemu-targets.inc
--
2.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] qemu: add gettext to DEPENDS
2018-05-11 16:35 [PATCH] qemu: add gettext to DEPENDS Chris Patterson
@ 2018-05-11 19:10 ` Christopher Larson
2018-05-11 21:21 ` Chris Patterson
0 siblings, 1 reply; 5+ messages in thread
From: Christopher Larson @ 2018-05-11 19:10 UTC (permalink / raw)
To: Chris Patterson
Cc: Chris Patterson, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1487 bytes --]
This is not a correct fix. We have a gettext bbclass for a reason.
On Fri, May 11, 2018 at 9:35 AM, Chris Patterson <cjp256@gmail.com> wrote:
> From: Chris Patterson <pattersonc@ainfosec.com>
>
> Otherwise QEMU build may fail with missing `msgfmt` command.
>
> | make -C po install
> | GEN bg.mo
> | GEN tr.mo
> | GEN de_DE.mo
> | /bin/sh: msgfmt: command not found
> | /bin/sh: msgfmt: command not found
>
> Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
> ---
> meta/recipes-devtools/qemu/qemu.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/qemu/qemu.inc
> b/meta/recipes-devtools/qemu/qemu.inc
> index dc73df8..ba1b9b2 100644
> --- a/meta/recipes-devtools/qemu/qemu.inc
> +++ b/meta/recipes-devtools/qemu/qemu.inc
> @@ -1,7 +1,7 @@
> SUMMARY = "Fast open source processor emulator"
> HOMEPAGE = "http://qemu.org"
> LICENSE = "GPLv2 & LGPLv2.1"
> -DEPENDS = "glib-2.0 zlib pixman"
> +DEPENDS = "glib-2.0 zlib pixman gettext"
> RDEPENDS_${PN}_class-target += "bash"
>
> require qemu-targets.inc
> --
> 2.1.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
--
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics
[-- Attachment #2: Type: text/html, Size: 2531 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] qemu: add gettext to DEPENDS
2018-05-11 19:10 ` Christopher Larson
@ 2018-05-11 21:21 ` Chris Patterson
2018-05-11 21:32 ` Martin Jansa
0 siblings, 1 reply; 5+ messages in thread
From: Chris Patterson @ 2018-05-11 21:21 UTC (permalink / raw)
To: Christopher Larson
Cc: Chris Patterson, Patches and discussions about the oe-core layer
On Fri, May 11, 2018 at 3:10 PM, Christopher Larson <kergoth@gmail.com> wrote:
> This is not a correct fix. We have a gettext bbclass for a reason.
>
I did look at that prior to doing this. It was my initial approach,
but inheriting gettext causes qemu build to fail when it modifies the
EXTRA_OECONF options with the nls flag (that qemu doesn't process).
There are quite a few other recipes using gettext-native in their
DEPENDS, and the reason for one over the other isn't quite clear.
In the other thread (v2), Khem requested it only be added
conditionally if the gtk packageconfig flag is enabled. Do you think
it would be appropriate to check packageconfig flag, then
conditionally inherit, then resolve (scrub) the unsupported configure
flags? Or modify the class such that modifying the OECONF is prevented
to begin with?
Cheers!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] qemu: add gettext to DEPENDS
2018-05-11 21:21 ` Chris Patterson
@ 2018-05-11 21:32 ` Martin Jansa
2018-05-11 21:37 ` Chris Patterson
0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2018-05-11 21:32 UTC (permalink / raw)
To: Chris Patterson
Cc: Chris Patterson, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]
On Fri, May 11, 2018 at 05:21:09PM -0400, Chris Patterson wrote:
> On Fri, May 11, 2018 at 3:10 PM, Christopher Larson <kergoth@gmail.com> wrote:
> > This is not a correct fix. We have a gettext bbclass for a reason.
> >
>
> I did look at that prior to doing this. It was my initial approach,
> but inheriting gettext causes qemu build to fail when it modifies the
> EXTRA_OECONF options with the nls flag (that qemu doesn't process).
> There are quite a few other recipes using gettext-native in their
> DEPENDS, and the reason for one over the other isn't quite clear.
>
> In the other thread (v2), Khem requested it only be added
> conditionally if the gtk packageconfig flag is enabled. Do you think
> it would be appropriate to check packageconfig flag, then
> conditionally inherit, then resolve (scrub) the unsupported configure
> flags? Or modify the class such that modifying the OECONF is prevented
> to begin with?
Are you using gtk PACKAGECONFIG for qemu-native (or nativesdk-qemu)?
Last time I've tried I've found that there are many things missing to
make it usable, see last few commits at:
http://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/qemu
I haven't tried gtk(3) for target build, it probably works better there.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] qemu: add gettext to DEPENDS
2018-05-11 21:32 ` Martin Jansa
@ 2018-05-11 21:37 ` Chris Patterson
0 siblings, 0 replies; 5+ messages in thread
From: Chris Patterson @ 2018-05-11 21:37 UTC (permalink / raw)
To: Martin Jansa
Cc: Chris Patterson, Patches and discussions about the oe-core layer
On Fri, May 11, 2018 at 5:32 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, May 11, 2018 at 05:21:09PM -0400, Chris Patterson wrote:
>> On Fri, May 11, 2018 at 3:10 PM, Christopher Larson <kergoth@gmail.com> wrote:
>> > This is not a correct fix. We have a gettext bbclass for a reason.
>> >
>>
>> I did look at that prior to doing this. It was my initial approach,
>> but inheriting gettext causes qemu build to fail when it modifies the
>> EXTRA_OECONF options with the nls flag (that qemu doesn't process).
>> There are quite a few other recipes using gettext-native in their
>> DEPENDS, and the reason for one over the other isn't quite clear.
>>
>> In the other thread (v2), Khem requested it only be added
>> conditionally if the gtk packageconfig flag is enabled. Do you think
>> it would be appropriate to check packageconfig flag, then
>> conditionally inherit, then resolve (scrub) the unsupported configure
>> flags? Or modify the class such that modifying the OECONF is prevented
>> to begin with?
>
> Are you using gtk PACKAGECONFIG for qemu-native (or nativesdk-qemu)?
> Last time I've tried I've found that there are many things missing to
> make it usable, see last few commits at:
> http://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/qemu
>
> I haven't tried gtk(3) for target build, it probably works better there.
>
I was looking to use it in my image (non-native). Thank you for the info!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-11 21:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-11 16:35 [PATCH] qemu: add gettext to DEPENDS Chris Patterson
2018-05-11 19:10 ` Christopher Larson
2018-05-11 21:21 ` Chris Patterson
2018-05-11 21:32 ` Martin Jansa
2018-05-11 21:37 ` Chris Patterson
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.