Monday, October 15, 2007

Building Firefox with Accessibility on OS X

I wanted to check out Minefield on Mac OS X so I went about doing what I do in my Ubuntu virtual machine. I ran into a few snags that were a result of my own silliness. Once I created a clean profile and ran Firefox the right way on Mac it was all good. Here's a rough log of what I did:

cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
cd mozilla
make -f client.mk checkout MOZ_CO_PROJECT=browser
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/browser/config/mozconfig

I created a .mozconfig file with debug options:

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-debug
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --disable-optimize
ac_add_options --enable-debug
ac_add_options --enable-accessibility


Then I installed some mac ports as suggested by the Mozilla docs.

sudo port selfupdate
sudo port install libidl
* this installed glib-2.14.1 for me
sudo port install autoconf213
make -f client.mk build MOZ_CURRENT_PROJECT=browser


Running ff-debug/dist/bin/firefox crashed so I got onto #developers and Colin Barrett (cbarrett) helped me out. I asked him if my FF2 addons could be interfereing and he suggested I create a clean profile. I forgot about this, arrg. After creating a clean profile ff-debug/dist/bin/firefox ran!
Still no apple menu though a bit more chatting and Colin mentioned I need to run the the Mac way: dist/MinefieldDebug.app/Contents/MacOS/firefox

Woohoo! VoiceOver is sorta working too, I just have to figure out why it reports Firefox is busy sometimes when it doesn't appear busy. I think HÃ¥kan Waara warned me about this.

13 comments:

Anonymous said...

Very rarely do I come across a blog that's both informative and entertaining, and let me tell you, you've hit the nail on the head. Your blog is important; the issue is something that not enough people are talking intelligently about.
sbobet

Anonymous said...

must say that overall I am really impressed with this blog. It is easy to see that you are passionate about your writing. If only I had your writing ability I look forward to more updates and will be returning.
togel hari ini

Anonymous said...

definitely a great post. Hats off to you! The information that you have provided is very helpful.
togel

Anonymous said...

Thank you for another fantastic posting. Where else could anyone get that kind of information in such a perfect way of writing? I have a speech next week, and I was looking for more info ;)
casino online

Anonymous said...

You should write about the model/version on the blog. You can expose it's perfect.
togel singapura

Aditya Yadav said...

happy new year


hotmail.co.uk

Aditya Yadav said...

TUTU HELPER

Aditya Yadav said...

TuTu Helper free download best info ever

Aditya Yadav said...

TuTuapp for ios best info ever

Aditya Yadav said...

mp board results 12th 2017

Hii you are providing good information.

Unknown said...

Best way to install netcut no root

Richard Majece said...

I am sure that on https://writemyessay4me.org/blog/research-paper you will read a huge amount of advices about writing a research paper. You can use it in your academic future

ade said...

I see this blog is good and creative yalla shoot