ac_add_options --enable-system-cairo
ac_add_options --enable-system-lcms
ac_add_options --enable-system-sqlite
+ac_add_options --with-system-libvpx
ac_add_options --enable-startup-notification
ac_add_options --enable-svg
ac_add_options --disable-gnomevfs
-# uncomment this if you did not build curl
ac_add_options --disable-crashreporter
-
-# This option is added so that the Mozilla Installer program is not
-# built or installed. The program is not required for a BLFS
-# installation of Firefox.
ac_add_options --disable-installer
-
-# The updater is not useful if you build from source.
ac_add_options --disable-updater
-
-# Disable the a11y support in the Firefox binaries.
ac_add_options --disable-accessibility
-
-# This option is added so that test libraries and programs are not
-# built. These would only be required for debugging purposes.
ac_add_options --disable-tests
-
-# The mochitest is a separate test feature and has caused problems
-# in the past.
ac_add_options --disable-mochitest
# use the anti-phishing blacklist
if [ "x${HVLABEL}" = "x${FIREFOX}-browser" ]; then
# Point to the xulrunner libraries.
echo "ac_add_options --with-system-libxul" >> .mozconfig
- echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-${XULRUNNER_VER}" >> .mozconfig
+ echo "ac_add_options --with-libxul-sdk=/usr/lib/xulrunner-devel-${FIREFOX_VERSION}" >> .mozconfig
# This option causes the installed binaries to have the official
# Firefox name embedded in them.
if [ "x${HVLABEL}" = "x${FIREFOX}-xulrunner" ]; then
install -v -m755 -d /usr/lib/mozilla
+
# Remove old links (if applicable) and create new ones
rm -f /usr/lib/mozilla/plugins
- ln -sv /usr/lib/xulrunner-${XULRUNNER_VER}/plugins /usr/lib/mozilla
+ ln -sv /usr/lib/xulrunner-${FIREFOX_VERSION}/plugins /usr/lib/mozilla
chown -Rv root:root /usr/lib/xulrunner-* \
/usr/share/idl/xulrunner-* \
/usr/include/xulrunner-*
+
+ # Fixes the error "run-mozilla.sh: no such file or directory"
+ ln -s /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/sdk/bin/run-mozilla.sh /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/bin
+ ln -s /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/sdk/bin/xpcshell /usr/lib/xulrunner-devel-${FIREFOX_VERSION}/bin
+ else
+ rm /usr/bin/firefox
+ echo "#!/bin/bash" > /usr/bin/firefox
+ echo "/usr/lib/xulrunner-${FIREFOX_VERSION}/xulrunner /usr/lib/firefox-${FIREFOX_VERSION}/application.ini \"\${@}\"" >> /usr/bin/firefox
+ chmod 755 /usr/bin/firefox
fi
}