Gaia/Hacking: Difference between revisions

clean up headline structure
(clean up headline structure)
Line 50: Line 50:
You can download a nightly build of B2G Desktop from [http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/] for Linux, OS X and Windows.
You can download a nightly build of B2G Desktop from [http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/ http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-central/] for Linux, OS X and Windows.


==== Build Your Own ====
=== Build Your Own B2G Desktop ===


If you prefer you can build B2G Desktop yourself by checking it out from mozilla-central using Mercurial:
If you prefer you can build B2G Desktop yourself by checking it out from mozilla-central using Mercurial:
Line 84: Line 84:


The build will appear in ../build (or whatever MOZ_OBJDIR is set to in your .mozconfig) and will take a ''long'' time the first time you build.
The build will appear in ../build (or whatever MOZ_OBJDIR is set to in your .mozconfig) and will take a ''long'' time the first time you build.
==== Running gaia on B2G ====


On Linux, once it's built you can run B2G with:
On Linux, once it's built you can run B2G with:
Line 112: Line 114:
  $ git pull
  $ git pull


==== Simulating Hardware Buttons ====
== Simulating Hardware Buttons ==


On a desktop B2G build, you don't have access to hardware buttons, but you can simulate them:
On a desktop B2G build, you don't have access to hardware buttons, but you can simulate them:
Line 121: Line 123:
* open Cards View: cmd + fn + left arrow (OS X)
* open Cards View: cmd + fn + left arrow (OS X)


=== B2G on a device ===
== B2G on a device ==


It is possible to build & run Firefox OS on a limited number of smartphones. Please see [https://github.com/mozilla-b2g/B2G/blob/master/README.md documentation here].
It is possible to build & run Firefox OS on a limited number of smartphones. Please see [https://github.com/mozilla-b2g/B2G/blob/master/README.md documentation here].
2

edits