![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>
25 lines
625 B
Plaintext
25 lines
625 B
Plaintext
config BR2_PACKAGE_GETTEXT_GNU
|
|
bool
|
|
depends on BR2_USE_WCHAR
|
|
select BR2_PACKAGE_HAS_GETTEXT
|
|
help
|
|
The GNU `gettext' utilities are a set of tools that provide a
|
|
framework to help other GNU packages produce multi-lingual
|
|
messages.
|
|
|
|
Only the libintl library will be installed in the
|
|
target. The full gettext suite, including tools, will be
|
|
installed in the staging directory.
|
|
|
|
http://www.gnu.org/software/gettext/
|
|
|
|
if BR2_PACKAGE_GETTEXT_GNU
|
|
|
|
config BR2_PACKAGE_PROVIDES_GETTEXT
|
|
default "gettext-gnu"
|
|
|
|
endif
|
|
|
|
config BR2_PACKAGE_PROVIDES_HOST_GETTEXT
|
|
default "host-gettext-gnu" if BR2_SYSTEM_ENABLE_NLS
|