qt: don't install translation files by default

Commit 93917b6980f7f2b51302e1a3fa451b07cf7d674e (2013.11) introduced
the installation of the binary .qm translation files, unconditionally.

However, the installed size is very large for some embedded systems
(about 8 MB), and they are not needed in many cases.

In order to avoid such a waste of storage space, commit
2ff329412f490dc916bab3377073ef5950a46298 (2014.08) made this
installation an option that could be disabled. For backward
compatibility, the option default was set to yes.

Given the size of these files, and that they had never been installed
by Buildroot versions before 2013.11, change the default to not
installing them.

Interested users can still activate it as needed.

Also update and improve the help text.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Danomi Manchego <danomimanchego123@gmail.com>
Cc: Danomi Manchego <danomimanchego123@gmail.com>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Luca Ceresoli 2014-08-15 10:31:27 +02:00 committed by Peter Korsgaard
parent 91ff861195
commit 533b17a65f

View File

@ -30,10 +30,10 @@ config BR2_PACKAGE_QT_DEMOS
config BR2_PACKAGE_QT_TRANSLATION_FILES config BR2_PACKAGE_QT_TRANSLATION_FILES
bool "Install translation files" bool "Install translation files"
default y
help help
Install binary .qm translation files. Install binary .qm translation files.
If unsure, say y. Say y if you need these files. They will take about 8 MB
on the target root filesystem.
config BR2_PACKAGE_QT_EXAMPLES config BR2_PACKAGE_QT_EXAMPLES
bool "Compile and install Qt examples (with code)" bool "Compile and install Qt examples (with code)"