qt: don't install translation files by default
authorLuca Ceresoli <luca@lucaceresoli.net>
Fri, 15 Aug 2014 08:31:27 +0000 (10:31 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 15 Aug 2014 10:04:02 +0000 (12:04 +0200)
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>
package/qt/Config.in

index 93751cd3a7cf2380bdfc20b7e7827bf28429dd21..da159b4cb9b43d84f71bcd278e8cde9200ac5f96 100644 (file)
@@ -30,10 +30,10 @@ config BR2_PACKAGE_QT_DEMOS
 
 config BR2_PACKAGE_QT_TRANSLATION_FILES
        bool "Install translation files"
-       default y
        help
          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
        bool "Compile and install Qt examples (with code)"