Mozilla building
Release date: 15 Dec 2015
Get the source:
$ hg clone http://hg.mozilla.org/comm-central/ src $ cd src $ python2 client.py checkout $ cd mozilla $ ./mach mercurial-setup
Localization (if available):
Get locales:
$ mkdir l10n $ cd l10n $ hg clone http://hg.mozilla.org/l10n-central/[your_language]
[your_language] insert your own language abbreviation (e.g. Italy=it)
Install build prerequisites:
# apt-get install zip mercurial libcurl4-openssl-dev libxt-dev libiw-dev libidl-dev python-dev libgstreamer0.10-dev mercurial-git build-essential zip libasound2-dev libcurl4-gnutls-dev libnotify-dev mesa-common-dev autoconf2.13 libgtk2.0-dev gcc yasm libdbus-1-dev libdbus-glib-1-dev libgstreamer-plugins-base0.10-dev libgtk-3-dev libpulse-dev libgstreamer-plugins-base1.0-dev
Mozconfig (src folder).
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-sm-release ac_add_options --enable-application=suite ac_add_options --enable-default-toolkit=cairo-gtk3 ac_add_options --enable-gstreamer=1.0 ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --disable-tests mk_add_options MOZ_MAKE_FLAGS="-j4" export MOZ_DEBUG_SYMBOLS=1 export MOZILLA_OFFICIAL=1 mk_add_options MOZ_CO_LOCALES="[your_language]" ac_add_options --enable-ui-locale=[your_language] ac_add_options --with-l10n-base=/home/[your_user]/l10n mk_add_options PYTHON=/usr/bin/python2 ac_add_options --enable-extensions=default,-irc
[your_language] insert your own language abbreviation (e.g. Italy=it).
[your_user] insert your linux username.
BUILD:
Fixing dir
# export MOZCONFIG=/home/[user]/src/mozconfig
$ cd ~/src $ make -f client.mk
Build Errors & Fixes:
Error:
RuntimeError: File "debugQAEditorOverlay.dtd" not found in /home/[your_user]/l10n/en-US/suite/debugQA
Fix:
$ mkdir -p ~/l10n/en-US/suite/debugQA $ cp ~/src/suite/debugQA/locales/en-US/* ~/l10n/en-US/suite/debugQA
INSTALL:
$ cd ~/src/obj-sm-release $ su # make install
Installation directory:
/usr/local/lib/seamonkey-2.43a1
Use Alacarte to make links & icon.
Install Errors & Fixes:
Error:
Error: /home/[your_user]/src/obj-sm-release/suite/installer/package-manifest:655: Missing file(s): bin/distribution/extensions/langpack-[your_language]@chatzilla.mozilla.org.xpi
Fix:
$ cd ~/src/obj-sm-release/dist/bin/distribution/extensions $ wget https://addons.mozilla.org/seamonkey/downloads/latest/10226/addon-10226-latest.xpi $ mv addon-10226-latest.xpi langpack-[your_language]@chatzilla.mozilla.org.xpi
Error:
Error: /home/[your_user]/src/obj-sm-release/suite/installer/package-manifest:40: Missing file(s): bin/dictionaries/*
Fix:
$ mkdir ~/src/obj-sm-release/dist/bin/dictionaries $ cd ~/src/obj-sm-release/dist/bin/dictionaries $ wget https://addons.mozilla.org/seamonkey/downloads/latest/3053/platform:2/addon-3053-latest.xpi
addon-3053-latest.xpi is for Italian language. You can find the dictionary of your country on this page (click on Install Dictionary&Right-click on Continue to Download to retrieve link.
Error:
Error: /home/[your_user]/src/obj-sm-release/suite/installer/package-manifest:654: Missing file(s): bin/distribution/extensions/{59c81df5-4b7a-477b-912d-4e0fdf64e5f2}.xpi
Fix:
$ cd ~/src/obj-sm-release/dist/bin/distribution/extensions $ wget https://github.com/yardenac/stop-motion/raw/master/.mozilla/seamonkey/8j7twz7j.default/extensions/%7B59c81df5-4b7a-477b-912d-4e0fdf64e5f2%7D.xpi
Note:To remove Build ID in Window bar uninstall Debug and QA UI 1.0pre extension.
Thanks to UbuNuovo for suggestions.
Screenshots:
Leave a Reply