From 181c6d0d34df58fbf81e8c18f7d12a3d06d87dd0 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 | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/firefox.be0 b/firefox.be0 index f22bc7af9..328fc618b 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,6 +50,11 @@ 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} @@ -61,13 +74,13 @@ mee_install_post() { start_cmd mkdir -p ${D}${DATADIR}/applications start_cmd desktop-file-install --dir ${D}${DATADIR}/applications ${B}/firefox.desktop - cat <<-EOF >${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 +202,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