[OE-core] is the virtual package <locale>-tanslation correct?

Richard Purdie richard.purdie at linuxfoundation.org
Tue Apr 24 10:45:49 UTC 2012


On Tue, 2012-04-24 at 10:42 +0100, Phil Blundell wrote:
> On Tue, 2012-04-24 at 09:33 +0000, Lu, Lianhao wrote:
> > I found that in package.bbclass when generating the -locale packages, it sets RPROVIDES to provide the virtual packages <locale>-translation,
> >   d.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln))
> > 
> > This would result different real packages provide the same <locale>-translation, i.e. eglibc-locale-ca and glib-2.0-locale-ca will both RPROVIDES ca-translation, even though they contain different messages.
> > 
> > Is it desirable or should we remove the <locale>-translation in RPROVIDES?
> 
> Yes, that is the intended behaviour.  This is necessary to support
> dynamically installed language packs.

What uses this out of interest?

Cheers,

Richard





More information about the Openembedded-core mailing list