From: Jan Rękorajski Date: Fri, 11 Aug 2017 12:32:39 +0000 (+0200) Subject: - up to 55.0.1 X-Git-Tag: auto/th/firefox-55.0.1-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffirefox.git;a=commitdiff_plain;h=7bdd344 - up to 55.0.1 --- diff --git a/firefox-prefs.patch b/firefox-prefs.patch index b3d6f73..7f50ff5 100644 --- a/firefox-prefs.patch +++ b/firefox-prefs.patch @@ -1,22 +1,25 @@ diff -ur mozilla.orig/browser/app/profile/firefox.js mozilla/browser/app/profile/firefox.js --- mozilla.orig/browser/app/profile/firefox.js 2008-06-21 12:55:30.000000000 +0200 +++ mozilla/browser/app/profile/firefox.js 2008-06-21 15:25:48.000000000 +0200 -@@ -94,7 +94,7 @@ pref("extensions.hotfix.certs.1.sha1Fingerprint", "F1:DB:F9:6A:7B:B8:04:FA:48:3C +@@ -65,7 +65,7 @@ pref("extensions.hotfix.certs.1.sha1Fingerprint", "F1:DB:F9:6A:7B:B8:04:FA:48:3C // Disable add-ons that are not installed by the user in all scopes by default. // See the SCOPE constants in AddonManager.jsm for values to use here. -pref("extensions.autoDisableScopes", 15); +pref("extensions.autoDisableScopes", 3); + // Scopes to scan for changes at startup. + pref("extensions.startupScanScopes", 0); - // Dictionary download preference - pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/"); -@@ -157,12 +157,12 @@ - pref("app.update.cert.checkAttributes", false); +@@ -130,7 +130,7 @@ + pref("app.update.backgroundMaxErrors", 10); // Whether or not app updates are enabled -pref("app.update.enabled", true); +pref("app.update.enabled", false); + // Whether or not to use the doorhanger application update UI. + pref("app.update.doorhanger", true); +@@ -150,7 +150,7 @@ // If set to true, the Update Service will automatically download updates when // app updates are enabled per the app.update.enabled preference and if the user // can apply updates. @@ -25,33 +28,33 @@ diff -ur mozilla.orig/browser/app/profile/firefox.js mozilla/browser/app/profile // If set to true, the Update Service will present no UI for any event. pref("app.update.silent", false); -@@ -252,7 +252,7 @@ - pref("general.useragent.complexOverride.moodle", false); // bug 797703 +@@ -242,7 +242,7 @@ + pref("browser.uidensity", 0); // At startup, check if we're the default browser and prompt user if not. -pref("browser.shell.checkDefaultBrowser", true); +pref("browser.shell.checkDefaultBrowser", false); pref("browser.shell.shortcutFavicons",true); + pref("browser.shell.mostRecentDateSetAsDefault", ""); + pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true); +@@ -494,6 +494,8 @@ - // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session -@@ -448,6 +448,8 @@ - // 0: no backups created (and deletes all existing backups) - pref("browser.bookmarks.max_backups", 10); + pref("browser.bookmarks.showRecentlyBookmarked", true); +pref("intl.locale.matchOS", true); + // Scripts & Windows prefs pref("dom.disable_open_during_load", true); pref("javascript.options.showInConsole", true); -@@ -574,7 +576,7 @@ - pref("alerts.totalOpenTime", 4000); +@@ -629,7 +629,7 @@ + pref("mousewheel.with_win.action", 1); pref("browser.xul.error_pages.enabled", true); -pref("browser.xul.error_pages.expert_bad_cert", false); +pref("browser.xul.error_pages.expert_bad_cert", true); - // Work Offline is best manually managed by the user. - pref("network.manage-offline-status", false); + // Enable captive portal detection. + pref("network.captive-portal-service.enabled", true); --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1510,7 +1510,7 @@ pref("layout.css.visited_links_enabled", true); diff --git a/firefox-system-virtualenv.patch b/firefox-system-virtualenv.patch index c97400c..fe9ce5c 100644 --- a/firefox-system-virtualenv.patch +++ b/firefox-system-virtualenv.patch @@ -4,8 +4,8 @@ @property def virtualenv_script_path(self): """Path to virtualenv's own populator script.""" -- return os.path.join(self.topsrcdir, 'python', 'virtualenv', -- 'virtualenv.py') +- return os.path.join(self.topsrcdir, 'third_party', 'python', +- 'virtualenv', 'virtualenv.py') + return '/usr/bin/virtualenv-2' @property diff --git a/firefox.spec b/firefox.spec index 8315423..d8f841e 100644 --- a/firefox.spec +++ b/firefox.spec @@ -26,18 +26,17 @@ Summary: Firefox web browser Summary(hu.UTF-8): Firefox web böngésző Summary(pl.UTF-8): Firefox - przeglądarka WWW Name: firefox -Version: 54.0.1 +Version: 55.0.1 Release: 1 License: MPL v2.0 Group: X11/Applications/Networking Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.xz -# Source0-md5: bb6cc95056feba6acc487d773bc13e71 +# Source0-md5: 53debc4c7edfaf84b42f040872771d9d Source3: %{name}.desktop Source4: %{name}.sh Source5: vendor.js Source6: vendor-ac.js Patch0: idl-parser.patch -Patch1: xulrunner-new-libxul.patch Patch2: xulrunner-paths.patch Patch4: %{name}-prefs.patch Patch5: %{name}-pld-bookmarks.patch @@ -193,7 +192,6 @@ Pliki nagłówkowe API GeckoMediaPlugins. echo 'LOCAL_INCLUDES += $(MOZ_HUNSPELL_CFLAGS)' >> extensions/spellcheck/src/Makefile.in %patch0 -p2 -%patch1 -p1 %patch2 -p2 %patch4 -p1 %patch5 -p1 @@ -247,14 +245,12 @@ ac_add_options --disable-tests %endif ac_add_options --disable-crashreporter ac_add_options --disable-gconf -ac_add_options --disable-gnomeui ac_add_options --disable-necko-wifi ac_add_options --disable-updater ac_add_options --enable-alsa ac_add_options --enable-chrome-format=omni ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2} ac_add_options --enable-extensions=default -ac_add_options --enable-gio ac_add_options --enable-readline ac_add_options --enable-safe-browsing %{?with_shared_js:ac_add_options --enable-shared-js} @@ -429,10 +425,13 @@ fi %{_libdir}/%{name}/browser/omni.ja %{_libdir}/%{name}/browser/features/aushelper@mozilla.org.xpi +%{_libdir}/%{name}/browser/features/clicktoplay-rollout@mozilla.org.xpi %{_libdir}/%{name}/browser/features/e10srollout@mozilla.org.xpi %{_libdir}/%{name}/browser/features/firefox@getpocket.com.xpi -%{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi +%{_libdir}/%{name}/browser/features/followonsearch@mozilla.com.xpi %{_libdir}/%{name}/browser/features/screenshots@mozilla.org.xpi +%{_libdir}/%{name}/browser/features/shield-recipe-client@mozilla.org.xpi +%{_libdir}/%{name}/browser/features/webcompat@mozilla.org.xpi %attr(755,root,root) %{_libdir}/%{name}/plugin-container %{_libdir}/%{name}/dictionaries diff --git a/xulrunner-new-libxul.patch b/xulrunner-new-libxul.patch deleted file mode 100644 index f4a527c..0000000 --- a/xulrunner-new-libxul.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruNp mozilla.orig/toolkit/mozapps/installer/packager.py mozilla/toolkit/mozapps/installer/packager.py ---- mozilla.orig/toolkit/mozapps/installer/packager.py 2015-04-03 04:30:06.000000000 +0200 -+++ mozilla/toolkit/mozapps/installer/packager.py 2015-04-10 14:52:45.133163567 +0200 -@@ -152,7 +152,7 @@ def precompile_cache(formatter, source_p - os.remove(cache) - - try: -- extra_env = {'MOZ_STARTUP_CACHE': cache} -+ extra_env = {'MOZ_STARTUP_CACHE': cache, 'LD_PRELOAD': os.path.join(gre_path, 'libxul.so')} - if buildconfig.substs.get('MOZ_TSAN'): - extra_env['TSAN_OPTIONS'] = 'report_bugs=0' - if launcher.launch(['xpcshell', '-g', gre_path, '-a', app_path,