Commit a27b3400 authored by Kathleen Brade's avatar Kathleen Brade Committed by Georg Koppen
Browse files

Bug #4234: Use the Firefox Update Process for Tor Browser.

New configure options:
  --with-tor-browser-version=VERSION # Pass TB version throughout build.
  --enable-tor-browser-update        # Enable bundle update behavior.
The following files are never updated:
  TorBrowser/Data/Browser/profiles.ini
  TorBrowser/Data/Browser/profile.default/bookmarks.html
  TorBrowser/Data/Tor/torrc
Mac OS: Store update metadata under TorBrowser/UpdateInfo.
Removed the %OS_VERSION% component from the update URL (13047) and
  added support for minSupportedOSVersion, an attribute of the
  <update> element that may be used to trigger Firefox's
  "unsupported platform" behavior.
Windows: disable "runas" code path in updater (15201).
Also includes fixes for tickets 13047, 13301, 13356, 13594, 15406,
  and 16014.
parent cb4de010
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -9,12 +9,16 @@ mk_add_options BUILD_OFFICIAL=1
ac_add_options --enable-optimize
#ac_add_options --disable-optimize
ac_add_options --enable-official-branding

ac_add_options --enable-tor-browser-update
ac_add_options --enable-update-packaging
ac_add_options --disable-verify-mar

ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-maintenance-service
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc
#ac_add_options --disable-ctypes
+5 −1
Original line number Diff line number Diff line
@@ -22,12 +22,16 @@ ac_add_options --disable-elf-hack
ac_add_options --enable-optimize
#ac_add_options --disable-optimize
ac_add_options --enable-official-branding

ac_add_options --enable-tor-browser-update
ac_add_options --enable-update-packaging
ac_add_options --disable-verify-mar

ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-maintenance-service
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-webrtc
#ac_add_options --disable-ctypes
+4 −0
Original line number Diff line number Diff line
@@ -23,6 +23,10 @@ ac_add_options --disable-debug

ac_add_options --with-macos-private-frameworks="$CROSS_PRIVATE_FRAMEWORKS"

ac_add_options --enable-tor-browser-update
ac_add_options --enable-update-packaging
ac_add_options --disable-verify-mar

ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --disable-webrtc
+3 −1
Original line number Diff line number Diff line
@@ -15,7 +15,9 @@ ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --enable-official-branding

ac_add_options --disable-updater
ac_add_options --enable-tor-browser-update
ac_add_options --enable-update-packaging
ac_add_options --disable-verify-mar

# ICU seems still to have cross-compiling issues:
# https://bugzilla.mozilla.org/show_bug.cgi?id=1019744#c19
+1 −2
Original line number Diff line number Diff line
@@ -4,9 +4,8 @@

// Please maintain unit tests at ./tbb-tests/browser_tor_TB4.js

// Disable browser auto updaters and associated homepage notifications
// Disable browser automatic updates and associated homepage notifications
pref("app.update.auto", false);
pref("app.update.enabled", false);
pref("browser.search.update", false);
pref("browser.rights.3.shown", true);
pref("browser.startup.homepage_override.mstone", "ignore");
Loading