From c50be0b874b9a25c2d45f2e6fd404df1ea4a7e42 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 31 Oct 2019 15:29:17 +0100 Subject: [PATCH] Firefox: Update from version 69.0.2 to 70.0 remove annoying system dependencies add option to the firefox default config https://www.mozilla.org/en-US/firefox/70.0/releasenotes/ --- firefox.be0 | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/firefox.be0 b/firefox.be0 index 3c51ed1c6..72a58e194 100755 --- a/firefox.be0 +++ b/firefox.be0 @@ -2,7 +2,7 @@ #export BEE_TMP_TMPDIR=/dev/shm BEE_TMP_BUILDROOT=/dev/shm/bee-root BEE_MAKEFLAGS='-j80' -# BEE_VERSION firefox-69.0.2-0 +# BEE_VERSION firefox-70.0-0 #https://ftp.mozilla.org/pub/firefox/releases/$pkgversion/SOURCE to find the right download link SRCURL[0]="https://ftp.mozilla.org/pub/firefox/releases/${PKGVERSION}/source/firefox-${PKGVERSION}.source.tar.xz" @@ -19,10 +19,10 @@ mee_configure() { ac_add_options --enable-application=browser ac_add_options --disable-necko-wifi ac_add_options --enable-official-branding - ac_add_options --enable-system-sqlite + ac_add_options --disable-system-sqlite ac_add_options --enable-system-pixman ac_add_options --with-system-bz2 - ac_add_options --with-system-icu + ac_add_options --without-system-icu ac_add_options --without-system-nspr ac_add_options --disable-tests ac_add_options --enable-optimize @@ -37,6 +37,7 @@ mee_configure() { } mee_build() { + export CARGO_HOME=$B/.cargo ${S}/mach build } @@ -165,6 +166,33 @@ defaultPref("experiments.activeExperiment", false); // disable Mozilla permission to silently opt you into tests defaultPref("network.allow-experiments", false); +/* 0206: disable geographically specific results/search engines e.g. "browser.search.*.US" + * i.e. ignore all of Mozilla's various search engines in multiple locales ***/ +defaultPref("browser.search.geoSpecificDefaults", false); +defaultPref("browser.search.geoSpecificDefaults.url", ""); + +/* 0503: disable Normandy/Shield [FF60+] + * Shield is an telemetry system (including Heartbeat) that can also push and test "recipes" + * [1] https://wiki.mozilla.org/Firefox/Shield + * [2] https://github.com/mozilla/normandy ***/ +defaultPref("app.normandy.enabled", false); +defaultPref("app.normandy.api_url", ""); + +/* 0601: disable link prefetching + * [1] https://developer.mozilla.org/docs/Web/HTTP/Link_prefetching_FAQ ***/ +defaultPref("network.prefetch-next", false); +/* 0602: disable DNS prefetching + * [1] https://www.ghacks.net/2013/04/27/firefox-prefetching-what-you-need-to-know/ + * [2] https://developer.mozilla.org/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control ***/ +defaultPref("network.dns.disablePrefetch", true); +defaultPref("network.dns.disablePrefetchFromHTTPS", true); // [HIDDEN PREF ESR] [DEFAULT: true FF70+] +/* 0603: disable predictor / prefetching ***/ +defaultPref("network.predictor.enabled", false); +defaultPref("network.predictor.enable-prefetch", false); // [FF48+] + +/* 0320: disable about:addons' Recommendations pane (uses Google Analytics) ***/ +defaultPref("extensions.getAddons.showPane", false); // [HIDDEN PREF] + //disable pocket defaultPref("extensions.pocket.enabled", false);