From f294460faa741acbaf98531dbfe08d734999333b Mon Sep 17 00:00:00 2001 From: david Date: Thu, 15 Mar 2018 11:11:24 +0100 Subject: [PATCH] Firefox: Update from version 57 to 59 releasenotes: https://www.mozilla.org/en-US/firefox/59.0/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew also change sessionstore interval now 2.5 minutes to make the networktraffic to pummel/doener lower --- firefox.be0 | 52 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/firefox.be0 b/firefox.be0 index f22bc7af9..c28c6d1d8 100755 --- a/firefox.be0 +++ b/firefox.be0 @@ -2,23 +2,31 @@ #export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j80' -# BEE_VERSION firefox-57.0.4-0 +# BEE_VERSION firefox-59.0-0 -SRCURL[0]="https://ftp.mozilla.org/pub/firefox/releases/${PKGVERSION}/source/firefox-${PKGVERSION}.source.tar.xz" +SRCURL[0]="https://hg.mozilla.org/releases/mozilla-release/archive/c61f5f5ead48c78a80c80db5c489bdc7cfaf8175.tar.gz" BEE_BUILDTYPE=autotools mee_configure() { - "${S}"/configure \ - --prefix=/usr \ - --enable-application=browser \ - --disable-necko-wifi \ - --enable-official-branding \ - --without-system-icu \ - --without-system-nspr \ - --disable-dbus \ - --disable-tests \ - --enable-optimize + start_cmd cat > ${S}/mozconfig << EOF + ac_add_options --prefix=/usr + ac_add_options --enable-application=browser + ac_add_options --disable-necko-wifi + ac_add_options --enable-official-branding + ac_add_options --without-system-icu + ac_add_options --without-system-nspr + ac_add_options --disable-dbus + ac_add_options --disable-tests + ac_add_options --enable-optimize + mk_add_options MOZ_MAKE_FLAGS="${BEE_MAKEFLAGS}" + mk_add_options MOZ_OBJDIR=$B +EOF +} + +mee_build() { + cd $S + make } mee_build_post() { @@ -42,9 +50,20 @@ mee_build_post() { EOF } +mee_install() { + cd $B + start_cmd make install DESTDIR=$D +} + mee_install_post() { start_cmd install -d ${D}${LIBDIR}/mariux64 - start_cmd mv ${D}${BINDIR}/${PKGNAME} ${D}${LIBDIR}/mariux64/${PKGNAME} + start_cmd rm ${D}${BINDIR}/${PKGNAME} + + cat >${D}${LIBDIR}/mariux64/firefox<${D}${LIBDIR}/firefox-${PKGVERSION}/defaults/pref/autoconfig.js + cat <<-EOF >${D}${LIBDIR}/firefox/defaults/pref/autoconfig.js // Any comment. You must start the file with a comment! pref("general.config.filename", "default_config_mariux.cfg"); pref("general.config.obscure_value", 0); EOF - cat <<-EOF >${D}${LIBDIR}/firefox-${PKGVERSION}/default_config_mariux.cfg + cat <<-EOF >${D}${LIBDIR}/firefox/default_config_mariux.cfg // Any comment. You must start the file with a comment! pref("storage.nfs_filesystem", true); pref("network.captive-portal-service.enabled",false); @@ -189,6 +208,9 @@ defaultPref("dom.popup_allowed_events", "click dblclick"); //enable Firefox's built-in PDF reader defaultPref("pdfjs.disabled", false); +//session restore save time +defaultPref("browser.sessionstore.interval",150000); + //enable legacy extensions defaultPref("extensions.legacy.enabled",true); EOF