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 co mozilla/
cd mozilla
make -f checkout MOZ_CO_PROJECT=browser
cvs -d 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 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/

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.


Fastbet said...

I have not much time to visit many websites. But today I found this site accidently. I explored much information which is useful to my life. Thanks! La Liga Spanyol

Abal Abal 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.

Abal Abal 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

Abal Abal said...

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

Abal Abal 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

Abal Abal said...

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