[Buildroot] [PATCH] package/vdr-plugin-vnsiserver: package needs host-gettext to build correctly

Giulio Benetti giulio.benetti at micronovasrl.com
Thu Apr 11 14:50:06 UTC 2019


Hello Thomas,

Il 10/04/2019 12:05, Giulio Benetti ha scritto:
> Il 09/04/2019 23:21, Thomas Petazzoni ha scritto:
>> Hello Giulio,
>>
>> On Tue,  9 Apr 2019 19:45:35 +0200
>> Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:
>>
>>> During building msgmerge is used, so at the moment if build environment
>>> doesn't provide it, build will fail.
>>>
>>> Add host-gettext to VDR_PLUGIN_VNSISERVER_DEPENDENCIES.
>>>
>>> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
>>
>> In retrospect, I think http://patchwork.ozlabs.org/patch/1074926/ is better.
>>
>> In fact, my analysis of Fabrice's patch was wrong. Even if the
>> gettext-tiny issue gets resolved, vdr-plugin-vnsiserver (apparently)
>> still needs msgfmt/msgmerge unconditionally, so we would indeed need a
>> host-gettext dependency.
>>
>> But Fabrice's patch makes that not necessary, by only installing the
>> i18n files when BR2_SYSTEM_ENABLE_NLS=y.

So you mean we need to avoid build step using msgfmt/msgmerge and need 
to copy i18n files with something like "cp i18n-files target/i18n-files" ?

> 
> Ah ok, this is clever, since gettext-tiny maintainers pointed they only
> provide stubs and not complete gettext support(this is why it's called
> tiny):
> https://github.com/sabotage-linux/gettext-tiny/issues/42#issuecomment-480127106
> 
> Thanks for the explanation.
> Best regards
> 

-- 
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642



More information about the buildroot mailing list