[Buildroot] [PATCH v3 0/2] Add gettext-tiny package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Mar 11 08:02:35 UTC 2019


Hello,

On Mon, 11 Mar 2019 01:05:32 +0200
Vadim Kochan <vadim4j at gmail.com> wrote:

> But, it looks like that there should be no problem if NLS is disabled
> (host-gettext is provided by gettext-tiny) and gettext (target)
> (provided by gettext-gnu) are enabled in the same time (of course 1
> small fix is required in latest gettext-tiny series v3):
> 
> in file package/gettext/Config.in
> 
> > config BR2_PACKAGE_GETTEXT
> >          bool "gettext"
> >          select BR2_PACKAGE_HAS_GETTEXT  
> *remove -> depends on BR2_SYSTEM_ENABLE_NLS
> 		    
> remove dependens on NLS to select gettext-gnu for the target.
> 
> So, both host-gettext-tiny and gettext-gnu should coexist as they
> provides different instances, right ?
> 
> If this is ok, then of course ecryptfs-utils needs support the gettext-less
> version, but it might be done later out of this scope ?

I don't really like to do this. It's a lot better if we can avoid
gettext-gnu entirely if NLS is disabled. So I'd prefer if we could
stick to one of the two options I proposed in my reply to your v3:

Option 1: we fix ecryptfs-utils to not unconditionally use gettext.

Option 2: we improve gettext-tiny so that it provides a fake gettext
implementation, and we allow gettext-tiny as a gettext implementation
for the target.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list