Added MOZ_LEGACY_PROFILES

This commit is contained in:
Алзим 2019-08-29 03:21:08 +03:00
parent f5b539deee
commit 241b642929
3 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,4 @@
sources:
cbindgen-vendor.tar.xz: 5ed5e4744f281d217e56035036af4cef24a29935
cbindgen-vendor.tar.xz: 1bd1da48ada449d8bee8f29417b891e40f423dcb
firefox-68.0.2.source.tar.xz: 1e532075b573148a88296aa56ab149ddbd786882
firefox-dictionary-61.0.2.tar.bz2: 25929c585dc8568a32d5be49aacc672f0ed2202f

View file

@ -16,5 +16,7 @@ pref("extensions.autoDisableScopes", 0);
pref("extensions.shownSelectionUI", true);
pref("network.manage-offline-status", true);
pref("layers.offmainthreadcomposition.enabled", false);
// autoupdated 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%");

View file

@ -37,7 +37,7 @@ Summary: Next generation web browser
Name: firefox
Version: %{major}
Epoch: %{ff_epoch}
Release: 1
Release: 2
License: MPLv1+
Group: Networking/WWW
Url: http://www.mozilla.com/firefox/
@ -324,8 +324,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