Building Mozilla, or geeky gluttony for punishment
Wednesday, November 2nd, 2005 10:44 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Mozilla is a good web browser, in many ways. However, it does have some flaws in it, one of which is that it doesn't render vowellated Hebrew properly in Linux: the vowels render between the letters, rather than above, below and within them.
Turns out, I learned from Bugzilla, that this is a known problem and at some point support for the native Linux renderer, Pango (which is capable of rendering Hebrew correctly) will be built in, though as the above bug has been open for five years now, I'm not holding my breath.
The solution, it seems, is to build Mozilla myself with --enable-pango, rather than just downloading a prebuilt executable.
So, I download the Mozilla source at work, stick it onto my USB fob, and bring it home. I open up the tarball, and start writing a .mozconfig file, as recommended, starting it with . $topsrcdir/browser/config/mozconfig. Only browser/ doesn't exist at all. I can't figure out what's going on here. The Mozilla source code tarball appears not to contain the source code for the Mozilla browser! Am I missing something here (apart from the code)? Apparently not: make -f client.mk build fails.
Running make -f client.mk checkout MOZ_CO_PROJECT=browser appears to be starting to get the missing code. But doing a CVS checkout of even only a portion of the codebase over a narrowband connection is almost certainly not a good idea (the part I already have comes to 319M uncompressed!).
Looks like I'm going to be taking my USB fob back along with me to work tomorrow. (Then rinse, lather and repeat.) Possibly the solution is to try building it there, then zip up the whole code hierarchy to bring home once I've got to the point where it builds successfully.
Turns out, I learned from Bugzilla, that this is a known problem and at some point support for the native Linux renderer, Pango (which is capable of rendering Hebrew correctly) will be built in, though as the above bug has been open for five years now, I'm not holding my breath.
The solution, it seems, is to build Mozilla myself with --enable-pango, rather than just downloading a prebuilt executable.
So, I download the Mozilla source at work, stick it onto my USB fob, and bring it home. I open up the tarball, and start writing a .mozconfig file, as recommended, starting it with . $topsrcdir/browser/config/mozconfig. Only browser/ doesn't exist at all. I can't figure out what's going on here. The Mozilla source code tarball appears not to contain the source code for the Mozilla browser! Am I missing something here (apart from the code)? Apparently not: make -f client.mk build fails.
Running make -f client.mk checkout MOZ_CO_PROJECT=browser appears to be starting to get the missing code. But doing a CVS checkout of even only a portion of the codebase over a narrowband connection is almost certainly not a good idea (the part I already have comes to 319M uncompressed!).
Looks like I'm going to be taking my USB fob back along with me to work tomorrow. (Then rinse, lather and repeat.) Possibly the solution is to try building it there, then zip up the whole code hierarchy to bring home once I've got to the point where it builds successfully.
no subject
Date: 2005-11-03 12:26 pm (UTC)I can also recommend Bulldog 8MBit/s broadband...
no subject
Date: 2005-11-03 01:17 pm (UTC)no subject
Date: 2005-11-03 09:03 pm (UTC)no subject
Date: 2005-11-04 01:50 pm (UTC)no subject
Date: 2005-11-04 01:53 pm (UTC)no subject
Date: 2005-11-05 08:48 pm (UTC)I've now got Mozilla 1.7.3 installed from Fedora Core 3. about:configure shows Pango is enabled. I've got the font set to one which can handle Hebrew vowels correctly. And yet it's still rendering it wrong. *sigh* Should have known it looked too easy a solution. :-S
Problem solved!
Date: 2005-11-05 08:57 pm (UTC)no subject
Date: 2005-11-05 10:24 am (UTC)no subject
Date: 2005-11-05 09:01 pm (UTC)