Thunderbird has landed
Last month I announced I got a working build of Thunderbird with
Addressbook integration. Unfortunately it was just a shared
library version only working on my machine. It was refering to
all the libraries on my machine – so no luck for other
people. So I had to look into how the guys from mozilla do their
releases. After harassing them on
IRC I was able to
fix a little bug in the static build and create the dmg. Their
tinderbox build logs
turned out to be very helpful for figuring out how. So basically
what I ended up doing is to look up the mozconfig of the
official builds. You can do that by specifying
“about:buildconfig” in the location for the startup
page.
mk_add_options MOZ_CO_PROJECT=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
ac_add_options --enable-application=mail
ac_add_options '--enable-optimize=-O2 -g'
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --enable-prebinding
ac_add_options --enable-update-packaging
ac_add_options --enable-update-channel=release
ac_add_options --enable-official-branding
Once you have the code base on your machine building is quite simple – it does take a while though. After doing a clean build with the patch applied you should end up with a Thunderbird.app folder in the dist directory that is about 450MB!! Packaging does the trick and strips down the binary so the final application is about 17MB. (Please note that a “make -f client.mk build” did not work as expected. You have to call the default target “make -f client.mk” as it fetches some more code from cvs)
make -f client.mk clean
make -f client.mk
make -C obj-powerpc-apple-darwin8.6.0/mail/installer
You should end up with a dmg in the dist folder. For convenience
I’ve provided a
copy of my build here. (This copy might go away at some stage) But be aware –
this patch has not even been committed to trunk yet. Although it
is
now marked as a “maybe blocker” for Thunderbird
2.0
(hurray!). It’s a developer build – not a stable
release. So better backup your profiles and addressbook before
you give it a go. (Actually starting with a new profile might be
a good idea to get the proper settings into your prefs.js)
If you like it – please provide feedback in bugzilla and continue to vote for the bug.



RobPieter LansbergenPieter LansbergenGunnar Grimnes