From 02d750416f029ecb0dbfc7469500032c95918a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B7=D0=B8=D0=BC?= Date: Thu, 29 Aug 2019 10:42:19 +0300 Subject: [PATCH] Added MOZ_LEGACY_PROFILES --- firefox-esr68.spec | 10 +++++++++- firefox.cfg | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/firefox-esr68.spec b/firefox-esr68.spec index acb18d8..250b17d 100644 --- a/firefox-esr68.spec +++ b/firefox-esr68.spec @@ -38,7 +38,7 @@ Summary: Next generation web browser Name: firefox-esr68 Version: %{major} Epoch: %{ff_epoch} -Release: 1 +Release: 2 License: MPLv1+ Group: Networking/WWW Url: http://www.mozilla.com/firefox/ @@ -327,8 +327,16 @@ export LDFLAGS="%{ldflags} -Wl,--no-keep-memory" %else export LDFLAGS="%{ldflags} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif + export MOZ_SERVICES_SYNC="1" export STRIP=/bin/true + +# This is needed since Firefox 68, otherwise each language installation +# (and Firefox 68 from Mozilla binaries compared to old Firefox binaries +# from ROSA) will have their own profile (and users are missing bookmarks +# and such). +export MOZ_LEGACY_PROFILES="1" + ./mach build %install diff --git a/firefox.cfg b/firefox.cfg index 9e8d7c4..9e78b25 100644 --- a/firefox.cfg +++ b/firefox.cfg @@ -16,5 +16,7 @@ pref("extensions.autoDisableScopes", 0); pref("extensions.shownSelectionUI", true); pref("network.manage-offline-status", true); pref("layers.offmainthreadcomposition.enabled", false); +// autoupdate for ru-RU +// pref("intl.accept_languages", ""); pref("intl.locale.requested", ""); pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");