![Vadim Kochan](/assets/img/avatar_default.png)
Add gettext-tiny package from the sabotage-linux project: 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. Some files were taken from gettext-gnu (some po/* files and gettextize script) to make possible perform gettextizing of packages. The main purpose of gettext-tiny is to replace gettext for the "host" if NLS support is not needed. There is no option to manually select gettext-gnu or gettext-tiny, it is done automatically by virtual gettext package. For the target gettext-tiny only installs gettext tool echo-wrapper which might be called from shell scripts (i.e. ecryptfs-utils). Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
19 lines
423 B
Plaintext
19 lines
423 B
Plaintext
config BR2_PACKAGE_GETTEXT
|
|
bool "gettext"
|
|
select BR2_PACKAGE_GETTEXT_GNU if BR2_SYSTEM_ENABLE_NLS
|
|
select BR2_PACKAGE_GETTEXT_TINY if !BR2_SYSTEM_ENABLE_NLS
|
|
|
|
config BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL
|
|
bool
|
|
default y if BR2_SYSTEM_ENABLE_NLS
|
|
depends on !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
|
|
|
|
config BR2_PACKAGE_HAS_GETTEXT
|
|
bool
|
|
|
|
config BR2_PACKAGE_PROVIDES_GETTEXT
|
|
string
|
|
|
|
config BR2_PACKAGE_PROVIDES_HOST_GETTEXT
|
|
string
|