From c46005ffeaeca6442a59db492c9201de86a87f2c Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 9 May 2017 07:21:40 +0200 Subject: importing 38.6.0-1 sources from https://repomirror.parabola.nu/other/icedove/icedove_38.6.0-1.branding.tar.xz --- src/icedove-branding/Makefile.in | 58 +++++++++++++++++++++ src/icedove-branding/background.png | Bin 0 -> 1143 bytes src/icedove-branding/branding.nsi | 54 +++++++++++++++++++ src/icedove-branding/configure.sh | 1 + src/icedove-branding/content/about-credits.png | Bin 0 -> 24376 bytes src/icedove-branding/content/about-logo.png | Bin 0 -> 45823 bytes src/icedove-branding/content/about-wordmark.png | Bin 0 -> 4862 bytes src/icedove-branding/content/about.png | Bin 0 -> 40468 bytes src/icedove-branding/content/aboutDialog.css | 31 +++++++++++ .../content/featureConfigurator.jpg | Bin 0 -> 9849 bytes src/icedove-branding/jar.mn | 9 ++++ src/icedove-branding/locales/Makefile.in | 48 +++++++++++++++++ src/icedove-branding/locales/en-US/brand.dtd | 4 ++ .../locales/en-US/brand.properties | 3 ++ src/icedove-branding/locales/jar.mn | 6 +++ src/icedove-branding/locales/moz.build | 6 +++ src/icedove-branding/moz.build | 10 ++++ src/icedove-branding/thunderbird-branding.js | 13 +++++ 18 files changed, 243 insertions(+) create mode 100644 src/icedove-branding/Makefile.in create mode 100644 src/icedove-branding/background.png create mode 100644 src/icedove-branding/branding.nsi create mode 100644 src/icedove-branding/configure.sh create mode 100644 src/icedove-branding/content/about-credits.png create mode 100644 src/icedove-branding/content/about-logo.png create mode 100644 src/icedove-branding/content/about-wordmark.png create mode 100644 src/icedove-branding/content/about.png create mode 100644 src/icedove-branding/content/aboutDialog.css create mode 100644 src/icedove-branding/content/featureConfigurator.jpg create mode 100644 src/icedove-branding/jar.mn create mode 100644 src/icedove-branding/locales/Makefile.in create mode 100644 src/icedove-branding/locales/en-US/brand.dtd create mode 100644 src/icedove-branding/locales/en-US/brand.properties create mode 100644 src/icedove-branding/locales/jar.mn create mode 100644 src/icedove-branding/locales/moz.build create mode 100644 src/icedove-branding/moz.build create mode 100644 src/icedove-branding/thunderbird-branding.js (limited to 'src/icedove-branding') diff --git a/src/icedove-branding/Makefile.in b/src/icedove-branding/Makefile.in new file mode 100644 index 0000000..f307264 --- /dev/null +++ b/src/icedove-branding/Makefile.in @@ -0,0 +1,58 @@ +# ***** 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 ***** + +# 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) + cp $(srcdir)/mailicon16.png $(DIST)/branding/default16.png + cp $(srcdir)/mailicon22.png $(DIST)/branding/default22.png + cp $(srcdir)/mailicon24.png $(DIST)/branding/default24.png + cp $(srcdir)/mailicon32.png $(DIST)/branding/default32.png + cp $(srcdir)/mailicon48.png $(DIST)/branding/default48.png + cp $(srcdir)/mailicon256.png $(DIST)/branding/default256.png +endif diff --git a/src/icedove-branding/background.png b/src/icedove-branding/background.png new file mode 100644 index 0000000..e52f31d Binary files /dev/null and b/src/icedove-branding/background.png differ diff --git a/src/icedove-branding/branding.nsi b/src/icedove-branding/branding.nsi new file mode 100644 index 0000000..9d72455 --- /dev/null +++ b/src/icedove-branding/branding.nsi @@ -0,0 +1,54 @@ +# ***** 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 ***** + +# 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" +!define CompanyName "debian.org" +!define URLInfoAbout "http://www.mozilla.org/" +!define URLUpdateInfo "http://www.mozilla.org/products/thunderbird/" +!define SurveyURL "https://survey.mozilla.com/1/Mozilla%20Thunderbird/${AppVersion}/${AB_CD}/exit.html" + +# Everything below this line may be modified for Alpha / Beta releases. +!define BrandFullName "Icedove" + +# Add !define NO_INSTDIR_FROM_REG to prevent finding a non-default installation +# directory in the registry and using that as the default. This prevents +# Beta releases built with official branding from finding an existing install +# of an official release and defaulting to its installation directory. diff --git a/src/icedove-branding/configure.sh b/src/icedove-branding/configure.sh new file mode 100644 index 0000000..d8c4968 --- /dev/null +++ b/src/icedove-branding/configure.sh @@ -0,0 +1 @@ +MOZ_APP_DISPLAYNAME=Icedove diff --git a/src/icedove-branding/content/about-credits.png b/src/icedove-branding/content/about-credits.png new file mode 100644 index 0000000..dbc56c3 Binary files /dev/null and b/src/icedove-branding/content/about-credits.png differ diff --git a/src/icedove-branding/content/about-logo.png b/src/icedove-branding/content/about-logo.png new file mode 100644 index 0000000..23223eb Binary files /dev/null and b/src/icedove-branding/content/about-logo.png differ diff --git a/src/icedove-branding/content/about-wordmark.png b/src/icedove-branding/content/about-wordmark.png new file mode 100644 index 0000000..713eb27 Binary files /dev/null and b/src/icedove-branding/content/about-wordmark.png differ diff --git a/src/icedove-branding/content/about.png b/src/icedove-branding/content/about.png new file mode 100644 index 0000000..86d8502 Binary files /dev/null and b/src/icedove-branding/content/about.png differ diff --git a/src/icedove-branding/content/aboutDialog.css b/src/icedove-branding/content/aboutDialog.css new file mode 100644 index 0000000..c83aec0 --- /dev/null +++ b/src/icedove-branding/content/aboutDialog.css @@ -0,0 +1,31 @@ +#clientBox { + background-color: #F7F7F7; + color: #222222; +} + +#leftBox { + background-image: url("chrome://branding/content/about-logo.png"); + background-repeat: no-repeat; + /* min-width and min-height create room for the logo */ + min-width: 210px; + min-height: 210px; + margin-top:20px; + -moz-margin-start: 30px; +} + +#rightBox { + margin-left: 30px; + margin-right: 30px; +} + +#updateDeck > hbox > label:not([class="text-link"]) { + color: #909090; +} + +#trademark { + font-size: xx-small; + text-align: center; + color: #999999; + margin-top: 10px; + margin-bottom: 10px; +} diff --git a/src/icedove-branding/content/featureConfigurator.jpg b/src/icedove-branding/content/featureConfigurator.jpg new file mode 100644 index 0000000..a21ab45 Binary files /dev/null and b/src/icedove-branding/content/featureConfigurator.jpg differ diff --git a/src/icedove-branding/jar.mn b/src/icedove-branding/jar.mn new file mode 100644 index 0000000..2545a21 --- /dev/null +++ b/src/icedove-branding/jar.mn @@ -0,0 +1,9 @@ +messenger.jar: +% content branding %content/branding/ + content/branding/about-logo.png (content/about-logo.png) + content/branding/about-wordmark.png (content/about-wordmark.png) + content/branding/about.png (content/about.png) + 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) diff --git a/src/icedove-branding/locales/Makefile.in b/src/icedove-branding/locales/Makefile.in new file mode 100644 index 0000000..be2acfa --- /dev/null +++ b/src/icedove-branding/locales/Makefile.in @@ -0,0 +1,48 @@ +# ***** 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 ***** + +DEPTH = @DEPTH@ +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ +relativesrcdir = mail/branding/icedove/locales + +include $(DEPTH)/config/autoconf.mk + +DEFINES += -DAB_CD=$(AB_CD) -DMOZ_DISTRIBUTION_ID_UNQUOTED=$(MOZ_DISTRIBUTION_ID) + +include $(topsrcdir)/config/rules.mk diff --git a/src/icedove-branding/locales/en-US/brand.dtd b/src/icedove-branding/locales/en-US/brand.dtd new file mode 100644 index 0000000..54fcfe4 --- /dev/null +++ b/src/icedove-branding/locales/en-US/brand.dtd @@ -0,0 +1,4 @@ + + + + diff --git a/src/icedove-branding/locales/en-US/brand.properties b/src/icedove-branding/locales/en-US/brand.properties new file mode 100644 index 0000000..44bf191 --- /dev/null +++ b/src/icedove-branding/locales/en-US/brand.properties @@ -0,0 +1,3 @@ +brandShortName=Icedove +brandFullName=Icedove +vendorShortName=Mozilla diff --git a/src/icedove-branding/locales/jar.mn b/src/icedove-branding/locales/jar.mn new file mode 100644 index 0000000..708e5c9 --- /dev/null +++ b/src/icedove-branding/locales/jar.mn @@ -0,0 +1,6 @@ +#filter substitution + +@AB_CD@.jar: +% locale branding @AB_CD@ %locale/@AB_CD@/branding/ + locale/@AB_CD@/branding/brand.dtd (%brand.dtd) + locale/@AB_CD@/branding/brand.properties (%brand.properties) diff --git a/src/icedove-branding/locales/moz.build b/src/icedove-branding/locales/moz.build new file mode 100644 index 0000000..e0eb66a --- /dev/null +++ b/src/icedove-branding/locales/moz.build @@ -0,0 +1,6 @@ +# vim: set filetype=python: +# 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/. + +JAR_MANIFESTS += ['jar.mn'] diff --git a/src/icedove-branding/moz.build b/src/icedove-branding/moz.build new file mode 100644 index 0000000..1da4292 --- /dev/null +++ b/src/icedove-branding/moz.build @@ -0,0 +1,10 @@ +# vim: set filetype=python: +# 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/. + +DIRS += ['locales'] + +JAR_MANIFESTS += ['jar.mn'] + +JS_PREFERENCE_FILES += ['thunderbird-branding.js'] diff --git a/src/icedove-branding/thunderbird-branding.js b/src/icedove-branding/thunderbird-branding.js new file mode 100644 index 0000000..7caf6b6 --- /dev/null +++ b/src/icedove-branding/thunderbird-branding.js @@ -0,0 +1,13 @@ +// Default start page +//pref("mailnews.start_page.url", "chrome://messenger/content/start.xhtml"); +pref("mailnews.start_page.url", "about:"); + +// first launch welcome page +//pref("mailnews.start_page.welcome_url", "chrome://messenger/content/start.xhtml"); +pref("mailnews.start_page.welcome_url", "about:"); + +// start page override to load after an update +//pref("mailnews.start_page.override_url", "chrome://messenger/content/start.xhtml"); +pref("mailnews.start_page.override_url", "about:"); + +pref("app.vendorURL", "http://www.mozillamessaging.com/%LOCALE%/thunderbird/"); -- cgit v1.2.2