I've just landed bug 884752 to master, and will be working to get it
uplifted to 1.2 soon. If you are in QA or automation or release
engineering and you need to produce Gaia builds, you should read the
rest of this message.
This patch allows the set of keyboard layouts and autocorrect
dictionaries to be specified at build time, and is necessary because we
had put so many dictionaries into the default build that we were running
out of space on some devices.
These two lines in the Makefile specify the default layouts:
# This variable is for customizing the keyboard layouts in a build.
GAIA_KEYBOARD_LAYOUTS?=en,pt-BR,es,de,fr,pl
This was my best guess and what a minimal set of keyboard layouts should
be. To create a build that includes other layouts, just specify this
environment variable when building:
GAIA_KEYBOARD_LAYOUTS=en,es,fr,zh-Hans-Pinyin make install-gaia
The set of available layouts is now in $GAIA/keyboard/layouts/ And the
dictionaries required by those layouts are in
$GAIA/keyboard/dictionaries. At build time, the necessary files are
copied to apps/keyboard/js/layouts/ and
apps/keyboard/js/imes/latin/dictionaries. The .gitignore file has been
modified to ignore these files that are copied into place at build time.
If you have any trouble creating builds or using the keyboard in the
coming days and think it is related to this change, please let me know.
David
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g