adding German locale files to an image
Cliff Brake
cliff.brake at gmail.com
Wed Jun 4 20:59:05 UTC 2008
2008/6/2 Cliff Brake <cliff.brake at gmail.com>:
> 2008/6/2 Marcin Juszkiewicz <openembedded at haerwu.biz>:
>> Dnia piątek, 30 maja 2008, Cliff Brake napisał:
>>> Hello.
>>>
>>> Trying to figure out how to add glibc-locale-de and friends to an
>>> image.
>>
>> IMAGE_LINGUAS += "de" (or "de-de" as I do not remember now). Check
>> image.bbclass
>
> Thanks, that gets me a little further as it installs locale-base-de-de
> which has the following control info:
>
> Package: locale-base-de-de
> Version: 2.6.1-r4
> Depends: localedef, glibc-localedata-de-de, glibc-charmap-utf-8
> Provides: virtual-locale-de-de, virtual-locale-de
>
> However, it still does not pull in the glibc-locale-de package which
> provides the *.mo translation files. It is still a mystery to me how
> to convince opkg to include glibc-locale-de:
>
> Package: glibc-locale-de
> Version: 2.6.1-r4
> Depends: libc6, virtual-locale-de
> Provides: glibc-locale, de-translation
OK, making some progress. If I build a custom app with only one
locale, the following will add the locale package to an image:
Image recipe:
IMAGE_LINGUAS = "de-de"
IMAGE_INSTALL = "myapp-locale"
However, when I try to add glibc-locale to IMAGE_INSTALL, opkg has a
fit during packaging:
| Collected errors:
| Package=glibc-locale, 28 matching providers
| glibc-locale-be
| glibc-locale-ca
| glibc-locale-cs
| glibc-locale-da
| glibc-locale-de
| glibc-locale-el
| glibc-locale-en-gb
| glibc-locale-es
| glibc-locale-fi
| glibc-locale-fr
| glibc-locale-gl
| glibc-locale-hr
| glibc-locale-hu
| glibc-locale-it
| glibc-locale-ja
| glibc-locale-ko
| glibc-locale-locale.alias
| glibc-locale-nb
| glibc-locale-nl
| glibc-locale-pl
| glibc-locale-pt-br
| glibc-locale-ru
| glibc-locale-rw
| glibc-locale-sk
| glibc-locale-sv
| glibc-locale-tr
| glibc-locale-zh-cn
| glibc-locale-zh-tw
| Please select one with opkg install or opkg flag prefer
| Cannot find package glibc-locale.
| Check the spelling or perhaps run 'opkg update'
So the question is how to convince opkg to pull in the glibc-locale-de
with the following provides:
> Package: glibc-locale-de
> Version: 2.6.1-r4
> Depends: libc6, virtual-locale-de
> Provides: glibc-locale, de-translation
Any ideas before I instrument the opkg code?
Thanks,
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
More information about the Openembedded-users
mailing list