I’ve ditched Ubuntu’s version of Thunderbird and using the version from Mozilla now. For some mysterious reason 2.0.0.17 on Ubuntu occasionally forgets that I have a calendar and puts out numerous error messages concerning Lightning addon. Mozilla’s version doesn’t do that even if I use the exact same profile folder. Might give it another try when Ubuntu packages next version.
Successful mozilla calendar build notes to self
.mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-@CONFIG_GUESS@
mk_add_options MOZ_CO_PROJECT=calendar # We want to checkout calendar
mk_add_options MOZ_CO_USE_MIRROR=1 # use cvs-mirror
mk_add_options MOZ_CO_LOCALES=de,pl # Can be used to also checkout a language
mk_add_options MOZ_MAKE_FLAGS=”-j1″ # Can be used if you have multiple processors#mk_add_options JS_READLINE=1
ac_cv_visibility_pragma=no
ac_add_options –enable-application=calendar # We want to build calendar
ac_add_options –disable-tests # You should enable tests to make sure everything works before posting a patch
ac_add_options –enable-extensions=default,lightning,inspector,venkman # Some extensions in the /extensions directory
ac_add_options –disable-installer # Installer not needed for development
ac_add_options –enable-system-cairo # I needed this on linux#ac_add_options –enable-ui-locale=et
#ac_add_options –with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk # Needed on MAC
#ac_add_options –disable-airbag # I have had problems with airbag in the past
#ac_add_options –disable-crashreporter # (Optional) Disable if you don’t want it
#ac_add_options –enable-debugger-info-modules=yes # More debug info
#ac_add_options –enable-debug # (Optional) Lots of debugging. Maybe more than you actually want!# The following options can be used to reduce/disable debugging.
# ac_add_options –enable-optimize
# ac_add_options –disable-static –enable-shared
# ac_add_options –disable-debug
mozilla/layout/build/Makefile.in change:
ifdef MOZ_ENABLE_GTK2
EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
-lX11 -lXrender
$(NULL)
endif
Commands:
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk
cd mozilla
make -f client.mk checkout
LANG=C make -f client.mk build
It’s also good to check tinderboxes of locales!