From 58c7b00e9977443e7eb43d3390a7d79c4688883c Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 18 Jan 2017 15:47:37 -0300 Subject: Import modifications from the 45.6.0 version that is the latest branding one --- icedove-branding/Makefile.in | 48 ++------------------- icedove-branding/branding.nsi | 39 ++--------------- icedove-branding/configure.sh | 4 ++ icedove-branding/content/about.png | Bin 40468 -> 40474 bytes icedove-branding/content/aboutDialog.css | 4 ++ icedove-branding/jar.mn | 8 +++- icedove-branding/thunderbird-branding.js | 4 ++ ...g-in-migration-wizard-and-the-addon-manag.patch | 39 ++++++++++------- patches/icedove/fix-installdir.patch | 6 +-- patches/icedove/no-dynamic-nss-softokn.patch | 21 --------- .../iceowl/Change-extension-s-name-to-Iceowl.patch | 4 +- patches/series | 1 - 12 files changed, 55 insertions(+), 123 deletions(-) delete mode 100644 patches/icedove/no-dynamic-nss-softokn.patch diff --git a/icedove-branding/Makefile.in b/icedove-branding/Makefile.in index f307264..456df11 100644 --- a/icedove-branding/Makefile.in +++ b/icedove-branding/Makefile.in @@ -1,54 +1,14 @@ -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is Thunderbird unofficial branding. -# -# The Initial Developer of the Original Code is -# Mozilla Messaging -# Portions created by the Initial Developer are Copyright (C) 2008 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# Mark Banner -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. # Branding Makefile for Icedove branding -DEPTH = @DEPTH@ -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - include $(topsrcdir)/config/rules.mk export:: $(NSINSTALL) -D $(DIST)/branding -ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) +ifdef MOZ_WIDGET_TOOLKIT cp $(srcdir)/mailicon16.png $(DIST)/branding/default16.png cp $(srcdir)/mailicon22.png $(DIST)/branding/default22.png cp $(srcdir)/mailicon24.png $(DIST)/branding/default24.png diff --git a/icedove-branding/branding.nsi b/icedove-branding/branding.nsi index 9d72455..89e1acf 100644 --- a/icedove-branding/branding.nsi +++ b/icedove-branding/branding.nsi @@ -1,42 +1,11 @@ -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is the Mozilla Installer code. -# -# The Initial Developer of the Original Code is Mozilla Foundation -# Portions created by the Initial Developer are Copyright (C) 2006 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# Robert Strong -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** +# This Source Code Form is subject to the terms of the Mozilla Public +# # License, v. 2.0. If a copy of the MPL was not distributed with this +# # file, You can obtain one at http://mozilla.org/MPL/2.0/. # NSIS defines for nightly builds. # The release build branding.nsi is located in other-license/branding/thunderbird/ !define BrandShortName "Icedove" + # BrandFullNameInternal is used for some registry and file system values # instead of BrandFullName and typically should not be modified. !define BrandFullNameInternal "Icedove Mail/News" diff --git a/icedove-branding/configure.sh b/icedove-branding/configure.sh index d8c4968..7d16233 100644 --- a/icedove-branding/configure.sh +++ b/icedove-branding/configure.sh @@ -1 +1,5 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + MOZ_APP_DISPLAYNAME=Icedove diff --git a/icedove-branding/content/about.png b/icedove-branding/content/about.png index 86d8502..c7f68be 100644 Binary files a/icedove-branding/content/about.png and b/icedove-branding/content/about.png differ diff --git a/icedove-branding/content/aboutDialog.css b/icedove-branding/content/aboutDialog.css index c83aec0..5a4da33 100644 --- a/icedove-branding/content/aboutDialog.css +++ b/icedove-branding/content/aboutDialog.css @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + #clientBox { background-color: #F7F7F7; color: #222222; diff --git a/icedove-branding/jar.mn b/icedove-branding/jar.mn index 2545a21..d3ceefb 100644 --- a/icedove-branding/jar.mn +++ b/icedove-branding/jar.mn @@ -1,3 +1,8 @@ +#filter substitution +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + messenger.jar: % content branding %content/branding/ content/branding/about-logo.png (content/about-logo.png) @@ -6,4 +11,5 @@ messenger.jar: content/branding/icon48.png (content/icon48.png) content/branding/icon64.png (content/icon64.png) content/branding/featureConfigurator.jpg (content/featureConfigurator.jpg) -* content/branding/aboutDialog.css (content/aboutDialog.css) + content/branding/aboutDialog.css (content/aboutDialog.css) + ../classic/skin/classic/messenger/icons/new-mail-alert.png (content/icon48.png) diff --git a/icedove-branding/thunderbird-branding.js b/icedove-branding/thunderbird-branding.js index 7caf6b6..cf45edb 100644 --- a/icedove-branding/thunderbird-branding.js +++ b/icedove-branding/thunderbird-branding.js @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + // Default start page //pref("mailnews.start_page.url", "chrome://messenger/content/start.xhtml"); pref("mailnews.start_page.url", "about:"); diff --git a/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch b/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch index 95c4b40..aaa72c5 100644 --- a/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch +++ b/patches/icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch @@ -8,20 +8,15 @@ addon-checking/installing/updating will work Closes: #565559 --- - mail/app/profile/all-thunderbird.js | 28 +++++++++++----------- + mail/app/profile/all-thunderbird.js | 33 +++++++++++----------- .../en-US/chrome/messenger/accountCreation.dtd | 2 +- - 2 files changed, 15 insertions(+), 15 deletions(-) + 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/mail/app/profile/all-thunderbird.js b/mail/app/profile/all-thunderbird.js -index e8db9cf..d607136 100644 +index db3b25d..ac240c6 100644 --- a/mail/app/profile/all-thunderbird.js +++ b/mail/app/profile/all-thunderbird.js -@@ -1,4 +1,3 @@ --/* -*- Mode: JavaScript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -@@ -120,7 +119,7 @@ pref("app.update.url", "https://aus4.mozilla.org/update/3/%PRODUCT%/%VERSION%/%B +@@ -118,7 +118,7 @@ pref("app.update.url", "https://aus5.mozilla.org/update/6/%PRODUCT%/%VERSION%/%B pref("app.update.url.manual", "http://www.getthunderbird.com"); // A default value for the "More information about this update" link // supplied in the "An update is available" page of the update wizard. @@ -30,7 +25,15 @@ index e8db9cf..d607136 100644 // User-settable override to app.update.url for testing purposes. //pref("app.update.url.override", ""); -@@ -149,7 +148,7 @@ pref("toolkit.crashreporter.infoURL", +@@ -140,14 +140,14 @@ pref("app.update.service.enabled", true); + #endif + + // Release notes URL +-pref("app.releaseNotesURL", "http://live.mozillamessaging.com/%APP%/releasenotes?locale=%LOCALE%&version=%VERSION%&os=%OS%&buildid=%APPBUILDID%"); ++pref("app.releaseNotesURL", "http://live.mozillamessaging.com/thunderbird/releasenotes?locale=%LOCALE%&version=%VERSION%&os=%OS%&buildid=%APPBUILDID%"); + + // URL for "Learn More" for Crash Reporter. + pref("toolkit.crashreporter.infoURL", "http://www.mozilla.org/thunderbird/legal/privacy/#crash-reporter");"); // Base URL for web-based support pages. @@ -39,17 +42,21 @@ index e8db9cf..d607136 100644 // Show error messages in error console. pref("javascript.options.showInConsole", true); -@@ -178,18 +177,18 @@ pref("extensions.autoDisableScopes", 15); +@@ -177,20 +177,20 @@ pref("extensions.autoDisableScopes", 15); // Preferences for AMO integration pref("extensions.getAddons.cache.enabled", true); pref("extensions.getAddons.maxResults", 15); -pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%"); -pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); +-pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/%APP%/"); +-pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=thunderbird"); -pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%"); -pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird"); -pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/%APP%/discovery/pane/%VERSION%/%OS%"); +pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%"); +pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/search/guid:%IDS%?src=thunderbird&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); ++pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/thunderbird/"); ++pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=thunderbird"); +pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/thunderbird/search?q=%TERMS%"); +pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=thunderbird"); +pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/thunderbird/discovery/pane/%VERSION%/%OS%"); @@ -65,7 +72,7 @@ index e8db9cf..d607136 100644 // Enables some extra Extension System Logging (can reduce performance) pref("extensions.logging.enabled", false); -@@ -209,7 +208,8 @@ pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla +@@ -210,7 +210,8 @@ pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla pref("extensions.update.interval", 86400); // Check for updates to Extensions and // Themes every day @@ -75,16 +82,16 @@ index e8db9cf..d607136 100644 pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://messenger/locale/messenger.properties"); -@@ -424,7 +424,7 @@ pref("browser.helperApps.deleteTempFileOnExit", true); +@@ -429,7 +430,7 @@ pref("browser.helperApps.deleteTempFileOnExit", true); pref("spellchecker.dictionary", ""); // Dictionary download preference -pref("spellchecker.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/%APP%/dictionaries/"); -+pref("spellchecker.dictionaries.download.url", "https://addons.mozilla.com/%LOCALE%/thunderbird/dictionaries/"); ++pref("spellchecker.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/thunderbird/dictionaries/"); // profile.force.migration can be used to bypass the migration wizard, forcing migration from a particular // mail application without any user intervention. Possible values are: -@@ -559,7 +559,7 @@ pref("mailnews.database.global.logging.console", true); +@@ -564,7 +565,7 @@ pref("mailnews.database.global.logging.console", true); pref("mailnews.database.global.search.msg.limit", 1000); // page to load to find good header add-ons @@ -93,7 +100,7 @@ index e8db9cf..d607136 100644 // Serif fonts look dated. Switching those language families to sans-serif // where we think it makes sense. Worth investigating for other font families -@@ -751,7 +751,7 @@ pref("plugins.hide_infobar_for_carbon_failure_plugin", false); +@@ -756,7 +757,7 @@ pref("plugins.hide_infobar_for_carbon_failure_plugin", false); pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/"); pref("plugins.update.notifyUser", false); diff --git a/patches/icedove/fix-installdir.patch b/patches/icedove/fix-installdir.patch index 36703fd..be2660b 100644 --- a/patches/icedove/fix-installdir.patch +++ b/patches/icedove/fix-installdir.patch @@ -7,10 +7,10 @@ Subject: fix installdir 1 file changed, 9 insertions(+) diff --git a/mail/app/Makefile.in b/mail/app/Makefile.in -index 8f81701..a65d48d 100644 +index 74c164b..1c9ea15 100644 --- a/mail/app/Makefile.in +++ b/mail/app/Makefile.in -@@ -108,11 +108,20 @@ libs:: $(addprefix icons/$(MOZ_WIDGET_TOOLKIT)/,$(DESKTOP_ICON_FILES)) +@@ -100,11 +100,20 @@ libs:: $(addprefix icons/$(MOZ_WIDGET_TOOLKIT)/,$(DESKTOP_ICON_FILES)) libs:: $(addprefix $(DIST)/branding/,$(BRANDED_ICON_FILES)) $(INSTALL) $(IFLAGS1) $^ $(DIST)/bin/chrome/icons/default @@ -22,7 +22,7 @@ index 8f81701..a65d48d 100644 + $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(installdir)/chrome/icons/default endif - ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) + ifdef MOZ_WIDGET_GTK libs:: $(INSTALL) $(IFLAGS1) $(DIST)/branding/default* $(DIST)/bin/chrome/icons/default + diff --git a/patches/icedove/no-dynamic-nss-softokn.patch b/patches/icedove/no-dynamic-nss-softokn.patch deleted file mode 100644 index 330ea12..0000000 --- a/patches/icedove/no-dynamic-nss-softokn.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Alexander Sack -Date: Wed, 27 Jan 2010 19:06:07 +0100 -Subject: no dynamic nss softokn - ---- - ldap/sdks/c-sdk/component_versions.mk | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/ldap/sdks/c-sdk/component_versions.mk b/ldap/sdks/c-sdk/component_versions.mk -index 2ad6347..5f61b57 100644 ---- a/ldap/sdks/c-sdk/component_versions.mk -+++ b/ldap/sdks/c-sdk/component_versions.mk -@@ -46,7 +46,7 @@ NSPR_RELEASE_TREE = $(COMPONENTS_DIR) - # NSS - Network Security Services - NSSVERS = 3 - NSS_RELEASE_TAG = NSS_3_9_3_RTM --NSS_DYNAMIC_SOFTOKN = 1 -+NSS_DYNAMIC_SOFTOKN = 0 - NSS_RELEASE_TREE = $(COMPONENTS_DIR) - - # SVRCORE - Client/server utility library diff --git a/patches/iceowl/Change-extension-s-name-to-Iceowl.patch b/patches/iceowl/Change-extension-s-name-to-Iceowl.patch index c0a5292..a73af99 100644 --- a/patches/iceowl/Change-extension-s-name-to-Iceowl.patch +++ b/patches/iceowl/Change-extension-s-name-to-Iceowl.patch @@ -22,7 +22,7 @@ index ae6dbd2..f71d848 100644 An integrated calendar for Thunderbird #ifdef LIGHTNING_PRERELEASE_VERSION diff --git a/calendar/locales/en-US/chrome/calendar/timezones.properties b/calendar/locales/en-US/chrome/calendar/timezones.properties -index 882cc70..8b395bd 100644 +index f15d3ab..ee96858 100644 --- a/calendar/locales/en-US/chrome/calendar/timezones.properties +++ b/calendar/locales/en-US/chrome/calendar/timezones.properties @@ -4,7 +4,7 @@ @@ -35,7 +35,7 @@ index 882cc70..8b395bd 100644 pref.timezone.floating=Local Time diff --git a/calendar/locales/en-US/chrome/lightning/lightning.properties b/calendar/locales/en-US/chrome/lightning/lightning.properties -index 78b15b6..6bf260f 100644 +index 3c61d82..2089f1c 100644 --- a/calendar/locales/en-US/chrome/lightning/lightning.properties +++ b/calendar/locales/en-US/chrome/lightning/lightning.properties @@ -3,12 +3,12 @@ diff --git a/patches/series b/patches/series index cf3f11b..3167ff9 100644 --- a/patches/series +++ b/patches/series @@ -1,4 +1,3 @@ icedove/fix-installdir.patch -icedove/no-dynamic-nss-softokn.patch icedove/fix-branding-in-migration-wizard-and-the-addon-manag.patch iceowl/Change-extension-s-name-to-Iceowl.patch -- cgit v1.2.3-54-g00ecf