Initial release for Brigantia
98
helpers/DATA/firefox/branding/Makefile.in
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Trisquel 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 mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Trisquel Foundation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2009
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Justin Dolske <dolske@mozilla.com> (original author)
|
||||
#
|
||||
# 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 = ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = \
|
||||
content \
|
||||
locales \
|
||||
$(NULL)
|
||||
|
||||
PREF_JS_EXPORTS = $(srcdir)/pref/abrowser-branding.js
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
WINDOWS_BRANDING_FILES = \
|
||||
abrowser.ico \
|
||||
document.ico \
|
||||
branding.nsi \
|
||||
wizHeader.bmp \
|
||||
wizHeaderRTL.bmp \
|
||||
wizWatermark.bmp \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_SPLASHSCREEN
|
||||
WINDOWS_BRANDING_FILES += splash.bmp
|
||||
endif
|
||||
|
||||
OSX_BRANDING_FILES = \
|
||||
background.png \
|
||||
abrowser.icns \
|
||||
disk.icns \
|
||||
document.icns \
|
||||
dsstore \
|
||||
$(NULL)
|
||||
|
||||
LINUX_BRANDING_FILES = \
|
||||
default16.png \
|
||||
default22.png \
|
||||
default24.png \
|
||||
default32.png \
|
||||
default48.png \
|
||||
default128.png \
|
||||
default256.png \
|
||||
document.png \
|
||||
mozicon128.png \
|
||||
$(NULL)
|
||||
|
||||
|
||||
export::
|
||||
$(NSINSTALL) -D $(DIST)/branding
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
||||
cp $(addprefix $(srcdir)/, $(WINDOWS_BRANDING_FILES)) $(DIST)/branding/
|
||||
endif
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
|
||||
cp $(addprefix $(srcdir)/, $(OSX_BRANDING_FILES)) $(DIST)/branding/
|
||||
endif
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
|
||||
cp $(addprefix $(srcdir)/, $(LINUX_BRANDING_FILES)) $(DIST)/branding/
|
||||
$(NSINSTALL) -D $(DIST)/install
|
||||
endif
|
||||
BIN
helpers/DATA/firefox/branding/abrowser.icns
Normal file
BIN
helpers/DATA/firefox/branding/abrowser.ico
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
helpers/DATA/firefox/branding/background.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
46
helpers/DATA/firefox/branding/branding.nsi
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Trisquel 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 Trisquel Installer code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Trisquel Foundation
|
||||
# Portions created by the Initial Developer are Copyright (C) 2006
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Robert Strong <robert.bugzilla@gmail.com>
|
||||
#
|
||||
# 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 branding defines for unofficial builds.
|
||||
# The official release build branding.nsi is located in other-license/branding/abrowser/
|
||||
# The nightly build branding.nsi is located in browser/installer/windows/nsis/
|
||||
|
||||
# BrandFullNameInternal is used for some registry and file system values
|
||||
# instead of BrandFullName and typically should not be modified.
|
||||
!define BrandFullNameInternal "Abrowser"
|
||||
!define CompanyName "Trisquel"
|
||||
!define URLInfoAbout "http://trisquel.info/browser"
|
||||
!define URLUpdateInfo "http://trisquel.info/wiki"
|
||||
1
helpers/DATA/firefox/branding/configure.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
MOZ_APP_DISPLAYNAME=Abrowser
|
||||
11
helpers/DATA/firefox/branding/content/Makefile.in
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Branding Makefile
|
||||
# - jars chrome artwork
|
||||
|
||||
DEPTH = ../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
BIN
helpers/DATA/firefox/branding/content/about-background.png
Normal file
|
After Width: | Height: | Size: 146 KiB |
BIN
helpers/DATA/firefox/branding/content/about-logo.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
helpers/DATA/firefox/branding/content/about-wordmark.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
helpers/DATA/firefox/branding/content/about.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
20
helpers/DATA/firefox/branding/content/aboutDialog.css
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#aboutDialogContainer {
|
||||
background-image: url("chrome://branding/content/about-background.png");
|
||||
background-repeat: no-repeat;
|
||||
background-color: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#rightBox {
|
||||
/* this margin prevents text from overlapping the planet image */
|
||||
margin-left: 280px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#bottomBox {
|
||||
background-color: rgba(0,0,0,.7);
|
||||
}
|
||||
BIN
helpers/DATA/firefox/branding/content/icon48.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
helpers/DATA/firefox/branding/content/icon64.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
11
helpers/DATA/firefox/branding/content/jar.mn
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
browser.jar:
|
||||
% content branding %content/branding/ contentaccessible=yes
|
||||
content/branding/about.png (about.png)
|
||||
content/branding/about-background.png (about-background.png)
|
||||
content/branding/about-logo.png (about-logo.png)
|
||||
content/branding/about-wordmark.png (about-wordmark.png)
|
||||
content/branding/icon48.png (icon48.png)
|
||||
content/branding/icon64.png (icon64.png)
|
||||
content/branding/icon128.png (../mozicon128.png)
|
||||
content/branding/icon16.png (../default16.png)
|
||||
content/branding/aboutDialog.css (aboutDialog.css)
|
||||
BIN
helpers/DATA/firefox/branding/default128.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
helpers/DATA/firefox/branding/default16.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
helpers/DATA/firefox/branding/default22.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
helpers/DATA/firefox/branding/default24.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
helpers/DATA/firefox/branding/default256.png
Normal file
|
After Width: | Height: | Size: 43 KiB |
BIN
helpers/DATA/firefox/branding/default32.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
helpers/DATA/firefox/branding/default48.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
helpers/DATA/firefox/branding/disk.icns
Normal file
BIN
helpers/DATA/firefox/branding/document.icns
Normal file
BIN
helpers/DATA/firefox/branding/document.ico
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
helpers/DATA/firefox/branding/document.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
helpers/DATA/firefox/branding/dsstore
Normal file
47
helpers/DATA/firefox/branding/locales/Makefile.in
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Trisquel 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 Trisquel Browser code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Benjamin Smedberg <benjamin@smedbergs.us>
|
||||
# Portions created by the Initial Developer are Copyright (C) 2004
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# 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 = ../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
relativesrcdir = browser/branding/unofficial/locales
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DEFINES += -DAB_CD=$(AB_CD) -DMOZ_DISTRIBUTION_ID_UNQUOTED=$(MOZ_DISTRIBUTION_ID)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
# Do NOT localize or otherwise change these values
|
||||
browser.startup.homepage=http://trisquel.info
|
||||
4
helpers/DATA/firefox/branding/locales/en-US/brand.dtd
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<!ENTITY brandShortName "Abrowser">
|
||||
<!ENTITY brandFullName "Abrowser">
|
||||
<!ENTITY vendorShortName "Trisquel">
|
||||
<!ENTITY trademarkInfo.part1 " ">
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
brandShortName=Abrowser
|
||||
brandFullName=Abrowser
|
||||
vendorShortName=Trisquel
|
||||
|
||||
syncBrandShortName=Sync
|
||||
8
helpers/DATA/firefox/branding/locales/jar.mn
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#filter substitution
|
||||
|
||||
@AB_CD@.jar:
|
||||
% locale branding @AB_CD@ %locale/branding/
|
||||
# Unofficial branding only exists in en-US
|
||||
locale/branding/brand.dtd (en-US/brand.dtd)
|
||||
* locale/branding/brand.properties (en-US/brand.properties)
|
||||
* locale/branding/browserconfig.properties (browserconfig.properties)
|
||||
BIN
helpers/DATA/firefox/branding/mozicon128.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
15
helpers/DATA/firefox/branding/pref/abrowser-branding.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
pref("startup.homepage_override_url","http://trisquel.info");
|
||||
pref("startup.homepage_welcome_url","http://trisquel.info/welcome");
|
||||
// The time interval between checks for a new version (in seconds)
|
||||
// nightly=8 hours, official=24 hours
|
||||
pref("app.update.interval", 86400);
|
||||
// The time interval between the downloading of mar file chunks in the
|
||||
// background (in seconds)
|
||||
pref("app.update.download.backgroundInterval", 60);
|
||||
// URL user can browse to manually if for some reason all update installation
|
||||
// attempts fail.
|
||||
pref("app.update.url.manual", "http://trisquel.info/browser");
|
||||
// A default value for the "More information about this update" link
|
||||
// supplied in the "An update is available" page of the update wizard.
|
||||
pref("app.update.url.details", "http://trisquel.info/browser");
|
||||
|
||||
BIN
helpers/DATA/firefox/branding/splash.bmp
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
helpers/DATA/firefox/branding/wizHeader.bmp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
helpers/DATA/firefox/branding/wizHeaderRTL.bmp
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
helpers/DATA/firefox/branding/wizWatermark.bmp
Normal file
|
After Width: | Height: | Size: 151 KiB |