[OE-core] locale data broken in gstreamer

Richard Purdie richard.purdie at linuxfoundation.org
Wed Nov 28 09:06:00 UTC 2012


On Wed, 2012-11-28 at 09:57 +0100, Martin Jansa wrote:
> On Tue, Nov 27, 2012 at 12:44:21PM -0600, Mark Hatle wrote:
> > On 11/27/12 12:23 PM, Martin Jansa wrote:
> > > In last rebuild from scratch I've noticed couple of weird locale data:
> > 
> > Paul E and I just observed this as well...  My build machine is an -old- FC13 
> > machine..  system we found it on was x86.
> 
> OK, the issue is triggered by:
> 
> commit 841ea3c1c18e50e77fccbd5f44d6a79a50913b67
> Author: Richard Purdie <richard.purdie at linuxfoundation.org>
> Date:   Thu Oct 11 08:43:01 2012 +0000
> 
>     autotools.bbclass: Fix gettext macro versions issues
> 
> Especially this part:
> -if [ -d ${S}/po/ -a ! -e ${S}/po/Makefile.in.in ]; then
> -     cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/
> +if [ -d ${S}/po/ ]; then
> +     cp ${STAGING_DATADIR}/gettext/po/Makefile.in.in ${S}/po/
> 
> And it influences gst* because they are hacking their po/Makefile.in.in in autogen.sh by this patch
> http://cgit.freedesktop.org/gstreamer/common/commit/gettext.patch?id=c81ad072c76522175cbddead96d6f3c448068d67
> 
> RP: do you remember why you removed "-e ${S}/po/Makefile.in.in" check?
> I guess it was because it can be from older gettext version (in gstreamer 
> case 0.17 instead of our 0.18)

Right, we have to ensure the file is the 0.18 version, whether it exists
already or not otherwise we get version mismatch issues.

> Is there some way to inject Makefile.in.in modification between this 
> gettext modifications and running autoreconf/configure? I don't see any 
> in run.do_configure, but I guess there is cleaner solution for upstream 
> to use.
> 
> As work around we can replace DOMAIN setting in po/Makevars in all gst* packages.

I don't quite understand what you mean here? 

We probably will have to hack/patch this somehow though, maybe adding a
hook so we can do what you describe above...

Cheers,

Richard





More information about the Openembedded-core mailing list