I just happened to try and build a B2G desktop today on OS X following the instructions here:

https://developer.mozilla.org/en-US/Firefox_OS/Using_the_B2G_desktop_client

I used latest m-c (I'm testing the effect of recent changes on B2G) and latest gaia master.

The first issue I had was than the page says I need to use b2g-bin to run, but there is no such file anymore as far as I can tell. My build completed successfully, but I only have a 'b2g' file created.

I tried running these instructions using 'b2g' instead of 'b2g-bin', but just get a black screen:

https://developer.mozilla.org/en-US/Firefox_OS/Using_the_B2G_desktop_client#Running_on_Mac

It doesn't complain about the -profile argument, so presumably that is supported by 'b2g' now.

So I'm wondering if your changes could have caused this issue?

Then again maybe B2G desktop is just broken for m-c and gaia master right now. I also notice in the console that there's this assertion:

System JS : ERROR chrome://global/content/BrowserElementChild.js:23 - NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIDocShell.setFullscreenAllowed]

On 19/11/2013 20:53, Kevin Grandon wrote:
Apologies in advance, I may have broken your B2G desktop workflow. In a patch 
we moved shims from production gaia code into gaia extensions. These extensions 
are now being bundled by the DESKTOP_SHIMS=1 flag (included by default with 
DESKTOP=1 or DEBUG=1).

WTF, why are there so many flags?

Please see: https://bugzilla.mozilla.org/show_bug.cgi?id=940603

In this bug we are talking removing all gaia build flags for use of proper 
Makefile targets. Not only are targets the *right* way to do this, once we have 
them, we know never to break them. The details are in the bug, but I am 
proposing we support only two targets:

$ make - Default command, builds a profile for a device.
$ make desktop - Builds a profile for b2g desktop OR Firefox Nightly OR 
Simulator.

The gaia extensions will need some work, and they will need to be made context 
aware so they work for all environments. We can also tie this stuff into 
travis/TBPL and run gaia ui tests on different consumers of `desktop` targets 
to ensure things don't break.

Please let me know if you have any concerns/questions.

Best,
Kevin Grandon


_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to