Skip to content

Instantly share code, notes, and snippets.

@dynamis
Created April 17, 2014 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dynamis/10982511 to your computer and use it in GitHub Desktop.
Save dynamis/10982511 to your computer and use it in GitHub Desktop.
Firefox OS で日本語+英語の gaia をビルドして端末に焼き込むスクリプト
#!/bin/bash
# see follwoing pages:
# https://developer.mozilla.org/en-US/Firefox_OS/Platform/Gaia/Build_System_Primer
# https://developer.mozilla.org/en-US/Firefox_OS/Customization_with_the_.userconfig_file
# get locale files before use this script:
# cd locales
# hg clone http://hg.mozilla.org/gaia-l10n/en-US
# hg clone http://hg.mozilla.org/gaia-l10n/ja
# cd ..
export LOCALE_BASEDIR=locales/
export LOCALES_FILE=locales/languages.json
export GAIA_DEFAULT_LOCALE=ja
#export GAIA_INLINE_LOCALES=1
export B2G_SYSTEM_APPS=1
export PRODUCTION=1
#export CUSTOM_SETTINGS=build/config/custom-settings.json
export NOFTU=1
export DEVICE_DEBUG=1
export GAIA_DEVICE_TYPE=phone
#make
make reset-gaia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment