官方網頁:
http://browser.garage.maemo.org/news/10/
自行編譯 64 位元版本請注意,不要用 gcc 4.3, 請用 4.2。
用 4.3 編不起來。
編譯方法:
1. 安裝 -dev 套件(可能不用裝這麼多)
- 代碼: 選擇全部
autotools-dev dpkg-dev libasound2-dev libatk1.0-dev libc6-dev libcairo2-dev libdbus-1-dev libdbus-glib-1-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev libice-dev libidl-dev libpango1.0-dev libpixman-1-dev libpng12-dev libpthread-stubs0-dev libqt4-dev libsm-dev libstdc++6-4.2-dev libstdc++6-4.3-dev libx11-dev libxau-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-xlib0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev libxt-dev linux-libc-dev x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zlib1g-dev
2. 把這個 .mozconfig 檔複製到 mozilla-qt 原始碼目錄裡(編譯選項和 32 位元相同)
- 代碼: 選擇全部
mk_add_options MOZ_CO_PROJECT=browser
ac_add_options --enable-application=browser
ac_add_options --disable-javaxpcom
ac_add_options --disable-js-static-build
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --disable-mochitest
ac_add_options --disable-dbus
ac_add_options --enable-default-toolkit=cairo-qt
ac_add_options --disable-elf-dynstr-gc
3. 執行
- 代碼: 選擇全部
make -f client.mk build
4. 編完 make install 就可以了