[Buildroot] [PATCH] qt: don't install translation files by default
Danomi Manchego
danomimanchego123 at gmail.com
Wed Aug 13 21:07:10 UTC 2014
On Wed, Aug 13, 2014 at 4:26 PM, Luca Ceresoli <luca at lucaceresoli.net> wrote:
> 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 defaults to yes.
>
> Given the relevant size of these files, and that they had never been
Nitpick: "relevant"? Do you mean "relative" or "relatively large"?
> installed by Buildroot versions before 2013.11, change the default to
> not installing these files.
>
> Interested users can still activate it as needed.
>
> Also update and improve a bit the help text.
/a bit the help text/the help text/
Otherwise:
Reviewed-by: Danomi Manchego <danomimanchego123 at gmail.com>
Danomi -
>
> Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
> Cc: Danomi Manchego <danomimanchego123 at gmail.com>
> Cc: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> package/qt/Config.in | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/qt/Config.in b/package/qt/Config.in
> index 93751cd..da159b4 100644
> --- a/package/qt/Config.in
> +++ b/package/qt/Config.in
> @@ -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)"
> --
> 1.9.1
>
More information about the buildroot
mailing list