mail/thunderbird: update to 78.3.0 (rc1)

https://www.thunderbird.net/en-US/thunderbird/78.3.0/releasenotes/ (soon)
This commit is contained in:
Christoph Moench-Tegeder 2020-09-19 22:47:30 +00:00
parent 56d2983160
commit c3ec356e1d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549075
3 changed files with 4 additions and 53 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= thunderbird
DISTVERSION= 78.2.2
DISTVERSION= 78.3.0
CATEGORIES= mail news net-im
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1599607340
SHA256 (thunderbird-78.2.2.source.tar.xz) = 63e8641551d21f6a185e100260bae33d4ab529e30eb0e4d85a57f3aed974ec67
SIZE (thunderbird-78.2.2.source.tar.xz) = 353246904
TIMESTAMP = 1600518543
SHA256 (thunderbird-78.3.0.source.tar.xz) = 72728883f8999a154769f879d9f5642d9a3a987ec8275353a1c33a151cd30a99
SIZE (thunderbird-78.3.0.source.tar.xz) = 354482972

View File

@ -1,49 +0,0 @@
# HG changeset patch
# User Rob Lemley <rob@thunderbird.net>
# Date 1600079976 -10800
# Node ID 6379c3b860f7a1acc01dc549b6ce3cedf250831b
# Parent d1ffffd30cb1c6b4c636f89006c89cfa73282216
Bug 1664607 - Don't try to load what's new page when built with updater disabled. r=mkmelin DONTBUILD
When Thunderbird is built with --disable-updater, as it done by most Linux
distributions, accessing the nsIUpdateManager service will throw an error
resulting in a broken UI. Check AppConstants.MOZ_UPDATER when using
nsIUpdateManger to prevent errors.
Differential Revision: https://phabricator.services.mozilla.com/D90023
diff --git a/mail/base/content/specialTabs.js b/mail/base/content/specialTabs.js
--- comm/mail/base/content/specialTabs.js
+++ comm/mail/base/content/specialTabs.js
@@ -1048,18 +1048,20 @@ var specialTabs = {
Services.prefs.setCharPref("mailnews.start_page_override.mstone", mstone);
}
- let update = Cc["@mozilla.org/updates/update-manager;1"].getService(
- Ci.nsIUpdateManager
- ).activeUpdate;
+ if (AppConstants.MOZ_UPDATER) {
+ let update = Cc["@mozilla.org/updates/update-manager;1"].getService(
+ Ci.nsIUpdateManager
+ ).activeUpdate;
- if (update && Services.vc.compare(update.appVersion, old_mstone) > 0) {
- let overridePage = Services.urlFormatter.formatURLPref(
- "mailnews.start_page.override_url"
- );
- overridePage = this.getPostUpdateOverridePage(update, overridePage);
- overridePage = overridePage.replace("%OLD_VERSION%", old_mstone);
- if (overridePage) {
- openLinkExternally(overridePage);
+ if (update && Services.vc.compare(update.appVersion, old_mstone) > 0) {
+ let overridePage = Services.urlFormatter.formatURLPref(
+ "mailnews.start_page.override_url"
+ );
+ overridePage = this.getPostUpdateOverridePage(update, overridePage);
+ overridePage = overridePage.replace("%OLD_VERSION%", old_mstone);
+ if (overridePage) {
+ openLinkExternally(overridePage);
+ }
}
}
},