Thunderbird 3.x Intel Mac build

Last-modified: 2010-09-07 (火) 21:54:36 (8h)

Thunderbird 3.x を、Intel Mac 用に build しています。よろしければお試しください。Thunderbird | KNCN weblog もご覧下さい。

build 一覧

日本語化

http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.0*/mac/xpi/ から、ja-JP-mac.xpi をインストールし、Preferences の Advanced, Config Editor で general.useragent.locale を ja-JP-mac とすれば、メニューなどが日本語になります。 3.0a3 からja-JP-mac.xpi が用意されました。

build 方法

まずは、Mac OS X Build Prerequisites - MDC を参考に build 環境を整えておきます。libIDL と GLib などは The MacPorts Project -- Home を利用しました。 続いて、http://ftp.mozilla.org//pub/mozilla.org/thunderbird/ 以下から thunderbird-3.*-source.tar.bz2 などをダウンロード・伸張して出来た mozilla ディレクトリに、以下のような .mozconfig を用意します。

CC=”gcc-4.2 -arch i386″
CXX=”g++-4.2 -arch i386″
HOST_CC=”gcc-4.2″
HOST_CXX=”g++-4.2″
RANLIB=ranlib
AR=ar
AS=$CC
LD=ld
STRIP=”strip -x -S”
CROSS_COMPILE=1
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbird.obj
mk_add_options MOZ_MAKE_FLAGS=”-s -j4″
ac_add_options -target=i386-apple-darwin9.6.0
ac_add_options -enable-macos-target=10.5
ac_add_options -with-macos-sdk=/Developer/SDKs/MacOSX10.5.sdk
ac_add_options -enable-application=mail
ac_add_options -enable-optimize=”-O3 -march=core2 -msse3 -pipe”
ac_add_options -disable-debug
ac_add_options -disable-tests
ac_add_options -disable-mochitest
ac_add_options -disable-crashreporter
ac_add_options -enable-extensions=default
ac_add_options -enable-svg
ac_add_options -enable-strip
ac_add_options -disable-libxul
ac_add_options -enable-static
ac_add_options -enable-static-libs
ac_add_options -enable-canvas
ac_add_options -enable-pthreads
ac_add_options -enable-prebinding
ac_add_options -enable-update-packaging
ac_add_options -disable-pedantic
ac_add_options -disable-libIDLtest
ac_add_options -disable-glibtest

当該ディレクトリで

% make -f client.mk build
% cd thunderbird.obj/
% make package

とすれば、mozilla/thunderbird.obj/mozilla/dist/ に thunderbird-3.*.en-US.mac.dmg ができあがります。

その他のビルド

view 2251