[Buildroot] [PATCH 1/1] package/gettext-tiny: Add new package

Vadim Kochan vadim4j at gmail.com
Tue Aug 21 15:51:00 UTC 2018


On Tue, Aug 21, 2018 at 6:29 PM Thomas Petazzoni <
thomas.petazzoni at bootlin.com> wrote:

> Baruch, Vadim,
>
> On Tue, 21 Aug 2018 17:31:20 +0300, Baruch Siach wrote:
>
> > > gettext-tiny provides lightweight replacements for tools typically used
> > > from the GNU gettext suite, which is incredibly bloated and takes a lot
> > > of time to build (in the order of an hour on slow devices). the most
> > > notable component is msgfmt which is used to create binary translation
> > > files in the .mo format out of textual input files in .po format. this
> > > is the most important tool for building software from source, because
> it
> > > is used from the build processes of many software packages.
> >
> > Thanks. gettext is indeed a huge CPU cycles drain.
>
> Agreed, I was looking forward to someone taking over the task of
> packaging gettext-tiny. So thanks Vadim for taking on this task!
>
> However, packaging gettext-tiny requires a lot more than just creating
> a package for it. Indeed, how do you select whether you want to use
> gettext or gettext-tiny ? There should be some global knob that defines
> that, and which affects the TARGET_NLS_DEPENDENCIES variable.
>
> And then, there's the case of packages that need gettext even when NLS
> support is disabled.
>
> So: a big YES to adding gettext-tiny in Buildroot, but we want a proper
> clean integration, not just a separate package. Vadim: you can read
>
> https://buildroot.org/downloads/manual/manual.html#_gettext_integration_and_interaction_with_packages
> to learn a bit about the current gettext integration in Buildroot.
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com


OK!

I got the point, so it is not really useful to add gettext-tiny just as a
package but integrate it
as gettext alternative. So let me clarify - you expect to see this at least
as series:
1) add package
2) integrate it as gettext alternative

rather than just separate package.

Thank you,
Vadim Kochan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180821/a9b9ad02/attachment.html>


More information about the buildroot mailing list