Hi David,

that's great news.

I'm wondering though, should we make a reduced keyboard set opt-in rather than opt-out? In particular, on 1.2, I'm concerned about partners not getting the message until very late in the game, and then starting all kind of crunch panic.

Also, is there an option for "gimme all them keyboards!"?

Axel

On 10/18/13 10:42 PM, David Flanagan wrote:
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

Reply via email to