Bug 866903 - Remove Sunbird code from comm-central, r=Fallen
authorJoshua Cranmer <Pidgeot18@gmail.com>
Sun, 02 Jun 2013 13:17:30 -0500
changeset 12539 f2e605ee5475
parent 12538 170e76bf0acb
child 12540 6ea5e19539b8
push id9220
push userPidgeot18@gmail.com
push date2013-06-02 18:19 +0000
treeherdercomm-central@f2e605ee5475 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs866903
Bug 866903 - Remove Sunbird code from comm-central, r=Fallen

Sunbird has been unmaintained for several months prior to this commit, so there
is no guarantee that the code being removed would work in the first place.
Nevertheless, to anyone who wishes to resurrect Sunbird, the corresponding
changeset of mozilla-central to this code is d87eaee61930.
calendar/app-config.mk
calendar/app.mozbuild
calendar/build.mk
calendar/confvars.sh
calendar/installer/Makefile.in
calendar/installer/check-remove-files.pl
calendar/installer/moz.build
calendar/installer/removed-files.in
calendar/installer/windows/Makefile.in
calendar/installer/windows/app.tag
calendar/installer/windows/moz.build
calendar/installer/windows/nsis/defines.nsi.in
calendar/installer/windows/nsis/installer.nsi
calendar/installer/windows/nsis/shared.nsh
calendar/installer/windows/nsis/uninstaller.nsi
calendar/installer/windows/nsis/updater_append.ini
calendar/installer/windows/packages-static
calendar/lightning/Makefile.in
calendar/locales/Makefile.in
calendar/moz.build
calendar/sunbird/Makefile.in
calendar/sunbird/app/Makefile.in
calendar/sunbird/app/application.ini
calendar/sunbird/app/macbuild/Contents/Info.plist.in
calendar/sunbird/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in
calendar/sunbird/app/module.ver
calendar/sunbird/app/moz.build
calendar/sunbird/app/nsCalendarApp.cpp
calendar/sunbird/app/profile/channel-prefs.js
calendar/sunbird/app/profile/extensions/Extensions.rdf
calendar/sunbird/app/profile/extensions/installed-extensions.txt
calendar/sunbird/app/profile/extensions/moz.build
calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/Makefile.in
calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome.manifest
calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in
calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/moz.build
calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/Makefile.in
calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf.in
calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/moz.build
calendar/sunbird/app/profile/mimeTypes.rdf
calendar/sunbird/app/profile/prefs.js
calendar/sunbird/app/profile/sunbird.js
calendar/sunbird/app/splash.rc
calendar/sunbird/app/splashos2.rc
calendar/sunbird/app/sunbird.exe.manifest
calendar/sunbird/base/Makefile.in
calendar/sunbird/base/content/aboutDialog.css
calendar/sunbird/base/content/aboutDialog.js
calendar/sunbird/base/content/aboutDialog.xul
calendar/sunbird/base/content/applicationUtil.js
calendar/sunbird/base/content/calendar-doctype.inc
calendar/sunbird/base/content/calendar-gotodate-dialog.xul
calendar/sunbird/base/content/calendar-menubar.inc
calendar/sunbird/base/content/calendar-offline.js
calendar/sunbird/base/content/calendar-sets.inc
calendar/sunbird/base/content/calendar.xul
calendar/sunbird/base/content/credits.xhtml
calendar/sunbird/base/content/hiddenWindow.js
calendar/sunbird/base/content/hiddenWindow.xul
calendar/sunbird/base/content/sunbird-scripts.inc
calendar/sunbird/base/content/sunbird-toolbar.inc
calendar/sunbird/base/jar.mn
calendar/sunbird/base/moz.build
calendar/sunbird/base/themes/pinstripe/calendar.css
calendar/sunbird/base/themes/pinstripe/icon.png
calendar/sunbird/base/themes/pinstripe/offline-online.png
calendar/sunbird/base/themes/pinstripe/preview.png
calendar/sunbird/base/themes/pinstripe/toolbar.css
calendar/sunbird/base/themes/winstripe/calendar.css
calendar/sunbird/base/themes/winstripe/icon.png
calendar/sunbird/base/themes/winstripe/offline-online.png
calendar/sunbird/base/themes/winstripe/preview.png
calendar/sunbird/base/themes/winstripe/toolbar.css
calendar/sunbird/branding/nightly/Header.bmp
calendar/sunbird/branding/nightly/Makefile.in
calendar/sunbird/branding/nightly/Watermrk.bmp
calendar/sunbird/branding/nightly/background.png
calendar/sunbird/branding/nightly/branding.nsi
calendar/sunbird/branding/nightly/configure.sh
calendar/sunbird/branding/nightly/content/about.png
calendar/sunbird/branding/nightly/content/aboutCredits.png
calendar/sunbird/branding/nightly/content/aboutFooter.png
calendar/sunbird/branding/nightly/content/icon48.png
calendar/sunbird/branding/nightly/content/icon64.png
calendar/sunbird/branding/nightly/default.xpm
calendar/sunbird/branding/nightly/disk.icns
calendar/sunbird/branding/nightly/dsstore
calendar/sunbird/branding/nightly/jar.mn
calendar/sunbird/branding/nightly/license.txt
calendar/sunbird/branding/nightly/locales/Makefile.in
calendar/sunbird/branding/nightly/locales/en-US/brand.dtd
calendar/sunbird/branding/nightly/locales/en-US/brand.properties
calendar/sunbird/branding/nightly/locales/jar.mn
calendar/sunbird/branding/nightly/locales/moz.build
calendar/sunbird/branding/nightly/moz.build
calendar/sunbird/branding/nightly/mozicon128.png
calendar/sunbird/branding/nightly/mozicon16.xpm
calendar/sunbird/branding/nightly/mozicon50.xpm
calendar/sunbird/branding/nightly/sb_ICS.icns
calendar/sunbird/branding/nightly/sunbird-os2.ico
calendar/sunbird/branding/nightly/sunbird.icns
calendar/sunbird/branding/nightly/sunbird.ico
calendar/sunbird/branding/nightly/wizHeader.bmp
calendar/sunbird/branding/nightly/wizHeaderRTL.bmp
calendar/sunbird/branding/nightly/wizWatermark.bmp
calendar/sunbird/config/mozconfig
calendar/sunbird/locales/Makefile.in
calendar/sunbird/locales/jar.mn
calendar/sunbird/locales/moz.build
calendar/sunbird/modules/Makefile.in
calendar/sunbird/modules/moz.build
calendar/sunbird/moz.build
configure.in
other-licenses/branding/sunbird/Header.bmp
other-licenses/branding/sunbird/LICENSE
other-licenses/branding/sunbird/Makefile.in
other-licenses/branding/sunbird/Watermrk.bmp
other-licenses/branding/sunbird/background.png
other-licenses/branding/sunbird/branding.nsi
other-licenses/branding/sunbird/configure.sh
other-licenses/branding/sunbird/content/about.png
other-licenses/branding/sunbird/content/aboutCredits.png
other-licenses/branding/sunbird/content/aboutFooter.png
other-licenses/branding/sunbird/content/icon48.png
other-licenses/branding/sunbird/content/icon64.png
other-licenses/branding/sunbird/default.xpm
other-licenses/branding/sunbird/disk.icns
other-licenses/branding/sunbird/document.icns
other-licenses/branding/sunbird/dsstore
other-licenses/branding/sunbird/header.png
other-licenses/branding/sunbird/jar.mn
other-licenses/branding/sunbird/license.r
other-licenses/branding/sunbird/license.txt
other-licenses/branding/sunbird/locales/Makefile.in
other-licenses/branding/sunbird/locales/en-US/brand.dtd
other-licenses/branding/sunbird/locales/en-US/brand.properties
other-licenses/branding/sunbird/locales/jar.mn
other-licenses/branding/sunbird/locales/moz.build
other-licenses/branding/sunbird/moz.build
other-licenses/branding/sunbird/mozicon128.png
other-licenses/branding/sunbird/mozicon16.xpm
other-licenses/branding/sunbird/mozicon50.xpm
other-licenses/branding/sunbird/sb_ICS.icns
other-licenses/branding/sunbird/sunbird-os2.ico
other-licenses/branding/sunbird/sunbird.icns
other-licenses/branding/sunbird/sunbird.ico
other-licenses/branding/sunbird/watermark.png
other-licenses/branding/sunbird/wizHeader.bmp
other-licenses/branding/sunbird/wizHeaderRTL.bmp
other-licenses/branding/sunbird/wizWatermark.bmp
deleted file mode 100644
--- a/calendar/app-config.mk
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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_SUNBIRD = 1
-DEFINES += -DMOZ_SUNBIRD=1
deleted file mode 100644
--- a/calendar/app.mozbuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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/.
-
-app_libxul_dirs = []
-app_libxul_static_dirs = []
-
-# /mozilla build system.
-if not CONFIG['COMM_BUILD']:
-    if not CONFIG['LIBXUL_SDK']:
-        include('/toolkit/toolkit.mozbuild')
-
-    if CONFIG['MOZ_EXTENSIONS']:
-        add_tier_dir('app', '/toolkit/extensions')
-
-# Our build system.
-else:
-    add_tier_dir('app', [
-        CONFIG['MOZ_BRANDING_DIRECTORY'],
-        'calendar',
-        'calendar/sunbird',
-    ])
-
-    if CONFIG['MOZ_CALENDAR']:
-        add_tier_dir('app', 'calendar/lightning')
-
deleted file mode 100644
--- a/calendar/build.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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/.
-
-installer:
-	@$(MAKE) -C calendar/installer installer
-
-package:
-	@$(MAKE) -C calendar/installer
-
-package-compare:
-	@$(MAKE) -C calendar/installer package-compare
-
-source-package::
-	@$(MAKE) -C calendar/installer source-package
-
-upload::
-	@$(MAKE) -C calendar/installer upload
deleted file mode 100755
--- a/calendar/confvars.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/sh
-# 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_NAME=sunbird
-# This sets the default for nightly branding, and may get overriden by options
-# in configure.in depending on the arguments passed.
-MOZ_BRANDING_DIRECTORY=$MOZ_BUILD_APP/sunbird/branding/nightly
-MOZ_UPDATER=1
-MOZ_SUNBIRD=1
-MOZ_CALENDAR=1
-MOZ_NO_ACTIVEX_SUPPORT=1
-MOZ_ACTIVEX_SCRIPTING_SUPPORT=
-MOZ_MATHML=
-MOZ_EXTENSIONS_DEFAULT=
-MOZ_UNIVERSALCHARDET=
-
-MOZ_APP_VERSION_TXT=${_topsrcdir}/$MOZ_BUILD_APP/sunbird/config/version.txt
-MOZ_APP_VERSION=`cat $MOZ_APP_VERSION_TXT`
-SUNBIRD_VERSION=$MOZ_APP_VERSION
-MOZ_OFFICIAL_BRANDING_DIRECTORY=other-licenses/branding/sunbird
deleted file mode 100644
--- a/calendar/installer/Makefile.in
+++ /dev/null
@@ -1,91 +0,0 @@
-# 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/.
-
-DEPTH       = @DEPTH@
-topsrcdir   = @top_srcdir@
-srcdir      = @srcdir@
-VPATH       = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-STANDALONE_MAKEFILE := 1
-
-NO_PKG_FILES = \
-    sunbird-config \
-    regchrome* \
-    regxpcom* \
-    xpcshell* \
-    xpidl* \
-    xpt_dump* \
-    xpt_link* \
-    nspr-config \
-    $(NULL)
-
-include $(topsrcdir)/config/rules.mk
-
-MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in
-
-ifdef BUILD_STATIC_LIBS
-ifeq (WINNT,$(OS_ARCH))
-MOZ_PKG_MANIFEST_P = $(srcdir)/windows/packages-static
-# XXX Enable when landing unix installer
-# else
-# ifneq (,$(filter-out OS2 Darwin,$(OS_ARCH)))
-# MOZ_PKG_MANIFEST_P = $(srcdir)/unix/packages-static
-# endif
-endif
-else
-$(error you need a "--enable-static --disable-shared" build to create an installer)
-endif
-
-MOZ_NONLOCALIZED_PKG_LIST = \
-    xpcom \
-    calendar \
-    $(NULL)
-
-MOZ_LOCALIZED_PKG_LIST = $(AB_CD)
-
-DEFINES += -DAB_CD=$(AB_CD)
-
-ifdef MOZ_UPDATER
-DEFINES += -DMOZ_UPDATER=1
-endif
-
-ifdef MOZ_PKG_MANIFEST_P
-MOZ_PKG_MANIFEST = packages-static
-
-$(MOZ_PKG_MANIFEST): $(MOZ_PKG_MANIFEST_P) $(GLOBAL_DEPS)
-	$(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $< > $@
-endif
-
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-MOZ_PKG_MAC_DSSTORE=branding/dsstore
-MOZ_PKG_MAC_BACKGROUND=branding/background.png
-MOZ_PKG_MAC_ICON=branding/disk.icns
-endif
-
-include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/packager.mk
-
-ifeq (WINNT,$(OS_ARCH))
-PKGCOMP_FIND_OPTS = 
-else
-PKGCOMP_FIND_OPTS = -L
-endif
-
-package-compare::
-ifdef MOZ_PKG_MANIFEST_P
-	cd $(DIST); find $(PKGCOMP_FIND_OPTS) bin -type f | sort > bin-list.txt
-	grep "^bin" $(MOZ_PKG_MANIFEST) | sed -e 's/\\/\//g' | sort > $(DIST)/pack-list.txt
-	-diff -u $(DIST)/pack-list.txt $(DIST)/bin-list.txt
-endif
-
-installer:
-ifdef INSTALLER_DIR
-	$(MAKE) -C $(INSTALLER_DIR)
-endif
-
-make-package : removed-files-checked
-
-removed-files-checked : removed-files stage-package
-	$(PERL) $(srcdir)/check-remove-files.pl removed-files $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR)$(_BINPATH)
deleted file mode 100755
--- a/calendar/installer/check-remove-files.pl
+++ /dev/null
@@ -1,49 +0,0 @@
-#!perl
-#
-# 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/.
-
-usage() if $#ARGV != 1;
-
-# files to check but ignore...
-my @exceptions = ( "components/autocomplete.xpt" );
-
-my $filelist = $ARGV[0];
-open FILELIST,"$filelist" or die "can not open $filelist\n";
-my @rmfiles = <FILELIST>;
-close FILELIST or die "can not close $filelist\n";
-chomp @rmfilelist;
-
-my $startdir = $ARGV[1];
-
-die "no such directory: $startdir\n" if ! -d $startdir;
-
-my $probsfound = 0;
-my @foundlist = ();
-
-foreach my $onefile ( @rmfiles ) {
-    my $ignore = 0;
-	chomp $onefile;
-    foreach my $ignoreme ( @exceptions ) {
-        $ignore = 1 if "$onefile" eq "$ignoreme";
-    }
-    next if $ignore;
-	if ( -f "$startdir/$onefile" ) {
-#		print "found $startdir/$onefile\n";
-		push @foundlist, "$startdir/$onefile\n";
-		$probsfound = 1;
-	}
-}
-
-if ( $probsfound ) {
-	print STDERR "ERROR: files found that are listed in \"$filelist\" but exist in \"$startdir\":\n";
-	print STDERR "@foundlist\n";
-	exit 2;
-}
-
-sub usage
-{
-	print STDERR "\nusage: $0 <remove-files list> <lookup dir>\n\n";
-	exit 1;
-}
deleted file mode 100644
--- a/calendar/installer/moz.build
+++ /dev/null
@@ -1,5 +0,0 @@
-# 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/.
-
deleted file mode 100644
--- a/calendar/installer/removed-files.in
+++ /dev/null
@@ -1,483 +0,0 @@
-# These files are removed when upgrading over a previous installation.
-# This allows us to remove outdated cruft, and ensure that we are using the
-# newly installed version of critical components.
-chrome/US.jar
-chrome/en-win.jar
-chrome/chrome.rdf
-chrome/installed-chrome.txt
-chrome/app-chrome.manifest
-defaults/pref/all.js
-# Extensions no longer live in defaults/profile
-# {8af2d0a7-e394-4de2-ae55-2dae532a7a9b} = previous uuid of Sunbird default theme 
-defaults/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}/install.rdf
-defaults/profile/extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}/
-# {972ce4c6-7e08-4474-a285-3208198ce6fd} = uuid of toolkit app default theme
-defaults/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf
-defaults/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/
-defaults/profile/extensions/Extensions.rdf
-defaults/profile/extensions/installed-extensions.txt
-defaults/profile/extensions/
-defaults/profile/US/
-# {641d8d09-7dda-4850-8228-ac0ab65e2ac9} = DOM Inspector
-extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/install.rdf
-extensions/{641d8d09-7dda-4850-8228-ac0ab65e2ac9}/
-greprefs/all.js
-greprefs/security-prefs.js
-greprefs/xpinstall.js
-greprefs/
-components/component.reg
-components/compreg.dat
-components/xpti.dat
-components/xptitemp.dat
-components/nsBackgroundUpdateService.js
-components/nsCloseAllWindows.js
-#
-# Clean out old calendar components which didn't implement nsIModule
-# (see bug 320366)
-components/calAlarmService.js
-components/calAttachment.js
-components/calAttendee.js
-components/calCalendarManager.js
-components/calDateTimeFormatter.js
-components/calEvent.js
-components/calHtmlExport.js
-components/calIcsImportExport.js
-components/calItemBase.js
-components/calListFormatter.js
-components/calMonthGridPrinter.js
-components/calOutlookCSVImportExport.js
-components/calRecurrenceInfo.js
-components/calTodo.js
-components/calUtils.js
-components/calWeekTitleService.js
-#
-#ifdef XP_WIN
-#
-# Clean out obsolete files from Sunbird 0.2 installer
-#
-chrome/overlayinfo/
-chrome/calendar-ca-AD.jar
-chrome/calendar-cs-CZ.jar
-chrome/calendar-cy-GB.jar
-chrome/calendar-de-AT.jar
-chrome/calendar-fr-FR.jar
-chrome/calendar-hu-HU.jar
-chrome/calendar-it-IT.jar
-chrome/calendar-ja-JP.jar
-chrome/calendar-lt-LT.jar
-chrome/calendar-nl-NL.jar
-chrome/calendar-pl-PL.jar
-chrome/calendar-sk-SK.jar
-chrome/calendar-sl-SI.jar
-chrome/calendar-tr-TR.jar
-chrome/calendar-wen-DE.jar
-chrome/help.jar
-chrome/pipnss.jar
-components/browser.xpt
-components/feedProcessor.js
-components/nsSetDefaultBrowser.js
-defaults/profile/mimeTypes.rdf
-extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}/install.rdf
-extensions/{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}/
-extensions/Extensions.rdf
-extensions/installed-extensions-processed.txt
-res/builtin/platformHTMLBindings.xml
-res/builtin/
-res/platform-forms.css
-components.ini
-#
-# Clean out obsolete files from Sunbird 0.3a1/0.3a2 installer
-#
-chrome/chromelist.txt
-components/@DLL_PREFIX@webdav@DLL_SUFFIX@
-components/accessibility-msaa.xpt
-components/accessibility.xpt
-components/alerts.xpt
-components/appshell.xpt
-components/appstartup.xpt
-components/autocomplete.xpt
-components/autoconfig.xpt
-components/bookmarks.xpt
-components/calbase.xpt
-components/calbaseinternal.xpt
-components/caps.xpt
-components/chardet.xpt
-components/chrome.xpt
-components/commandhandler.xpt
-components/commandlines.xpt
-components/composer.xpt
-components/content_base.xpt
-components/content_html.xpt
-components/content_htmldoc.xpt
-components/content_xmldoc.xpt
-components/content_xslt.xpt
-components/content_xtf.xpt
-components/docshell_base.xpt
-components/dom.xpt
-components/dom_base.xpt
-components/dom_canvas.xpt
-components/dom_core.xpt
-components/dom_css.xpt
-components/dom_events.xpt
-components/dom_html.xpt
-components/dom_offline.xpt
-components/dom_range.xpt
-components/dom_sidebar.xpt
-components/dom_stylesheets.xpt
-components/dom_svg.xpt
-components/dom_traversal.xpt
-components/dom_views.xpt
-components/dom_xbl.xpt
-components/dom_xpath.xpt
-components/dom_xul.xpt
-components/downloads.xpt
-components/editor.xpt
-components/embed_base.xpt
-components/extensions.xpt
-components/exthandler.xpt
-components/fastfind.xpt
-components/feeds.xpt
-components/find.xpt
-components/gfx.xpt
-components/gksvgrenderer.xpt
-components/history.xpt
-components/htmlparser.xpt
-components/imgicon.xpt
-components/imglib2.xpt
-components/intl.xpt
-components/intlcmpt.xpt
-components/jar.xpt
-components/jsconsole.xpt
-components/jsdservice.xpt
-components/layout_base.xpt
-components/layout_printing.xpt
-components/layout_xul.xpt
-components/layout_xul_tree.xpt
-components/locale.xpt
-components/lwbrk.xpt
-components/mimetype.xpt
-components/mozbrwsr.xpt
-components/mozfind.xpt
-components/necko.xpt
-components/necko_about.xpt
-components/necko_cache.xpt
-components/necko_cookie.xpt
-components/necko_data.xpt
-components/necko_dns.xpt
-components/necko_file.xpt
-components/necko_ftp.xpt
-components/necko_http.xpt
-components/necko_res.xpt
-components/necko_socket.xpt
-components/necko_strconv.xpt
-components/necko_viewsource.xpt
-components/nsSetDefaultMail.js 
-components/nsUnsetDefaultMail.js
-components/oji.xpt
-components/passwordmgr.xpt
-components/pipboot.xpt
-components/pipnss.xpt
-components/pippki.xpt
-components/plugin.xpt
-components/pref.xpt
-components/prefetch.xpt
-components/profile.xpt
-components/progressDlg.xpt
-components/proxyObject.xpt
-components/rdf.xpt
-components/satchel.xpt
-components/saxparser.xpt
-components/shistory.xpt
-components/storage.xpt
-components/toolkitprofile.xpt
-components/txmgr.xpt
-components/txtsvc.xpt
-components/uconv.xpt
-components/unicharutil.xpt
-components/update.xpt
-components/uriloader.xpt
-components/webbrowserpersist.xpt
-components/webBrowser_core.xpt
-components/webdav.xpt
-components/webshell_idls.xpt
-components/websrvcs.xpt
-components/widget.xpt
-components/windowds.xpt
-components/windowwatcher.xpt
-components/winhooks.xpt
-components/xmlextras.xpt
-components/xpautocomplete.xpt
-components/xpcom_base.xpt
-components/xpcom_components.xpt
-components/xpcom_ds.xpt
-components/xpcom_io.xpt
-components/xpcom_obsolete.xpt
-components/xpcom_thread.xpt
-components/xpcom_xpti.xpt
-components/xpconnect.xpt
-components/xpinstall.xpt
-components/xulapp.xpt
-components/xuldoc.xpt
-components/xultmpl.xpt
-plugins/npnul32.dll
-res/dtd/mathml.dtd
-res/dtd/mathml20.properties
-res/entityTables/mathml20.properties
-res/fonts/mathfont.properties
-res/fonts/mathfontCMEX10.properties
-res/fonts/mathfontCMSY10.properties
-res/fonts/mathfontMath1.properties
-res/fonts/mathfontMath2.properties
-res/fonts/mathfontMath4.properties
-res/fonts/mathfontMTExtra.properties
-res/fonts/mathfontPUA.properties
-res/fonts/mathfontSymbol.properties
-res/html/gopher-audio.gif
-res/html/gopher-binary.gif
-res/html/gopher-find.gif
-res/html/gopher-image.gif
-res/html/gopher-menu.gif
-res/html/gopher-movie.gif
-res/html/gopher-sound.gif
-res/html/gopher-telnet.gif
-res/html/gopher-text.gif
-res/html/gopher-unknown.gif
-res/bloatcycle.html
-res/EditorOverride.css
-res/grabber.gif
-res/mathml.css
-res/table-add-column-after-active.gif
-res/table-add-column-after-hover.gif
-res/table-add-column-after.gif
-res/table-add-column-before-active.gif
-res/table-add-column-before-hover.gif
-res/table-add-column-before.gif
-res/table-add-row-after-active.gif
-res/table-add-row-after-hover.gif
-res/table-add-row-after.gif
-res/table-add-row-before-active.gif
-res/table-add-row-before-hover.gif
-res/table-add-row-before.gif
-res/table-remove-column-active.gif
-res/table-remove-column-hover.gif
-res/table-remove-column.gif
-res/table-remove-row-active.gif
-res/table-remove-row-hover.gif
-res/table-remove-row.gif
-res/viewer.properties
-dependentlibs.list
-mozctl.dll
-mozctlx.dll
-regxpcom.exe
-sunbird.url
-unins000.dat
-unins000.exe
-uninstall/UninstallSunbird.exe
-uninstall/uninst.exe
-xpcom_compat.dll
-components/nsInterfaceInfoToIDL.js
-xpcshell.exe
-xpidl.exe
-xpt_dump.exe
-xpt_link.exe
-#
-# Clean out obsolete files from Sunbird 0.5 installer
-#
-components/calAlarmService.js
-js/calWcapCachedCalendar.js
-#
-# Clean out obsolete files from Mozilla 1.9.1
-#
-components/nsPostUpdateWin.js
-#
-#endif
-#
-#ifndef XP_MACOSX
-components/autocomplete.xpt
-#endif
-@DLL_PREFIX@zlib@DLL_SUFFIX@
-extensions/inspector@mozilla.org/components/inspector.xpt
-extensions/inspector@mozilla.org/components/@DLL_PREFIX@inspector@DLL_SUFFIX@
-#
-#
-# Clean out obsolete Talkback files
-#
-extensions/talkback@mozilla.org/
-extensions/talkback@mozilla.org/install.rdf
-extensions/talkback@mozilla.org/chrome.manifest
-extensions/talkback@mozilla.org/components/qfaservices.xpt
-extensions/talkback@mozilla.org/components/@DLL_PREFIX@qfaservices@DLL_SUFFIX@
-#ifdef XP_WIN
-extensions/talkback@mozilla.org/components/BrandRes.dll
-extensions/talkback@mozilla.org/components/fullsoft.dll
-extensions/talkback@mozilla.org/components/master.ini
-extensions/talkback@mozilla.org/components/talkback-l10n.ini
-extensions/talkback@mozilla.org/components/talkback.cnt
-extensions/talkback@mozilla.org/components/talkback.exe
-extensions/talkback@mozilla.org/components/talkback.hlp
-extensions/talkback@mozilla.org/InstallDisabled
-#else
-#ifdef XP_MACOSX
-extensions/talkback@mozilla.org/components/talkback/master.ini
-extensions/talkback@mozilla.org/components/talkback/talkback@DLL_SUFFIX@
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Info.plist
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/MacOS/Talkback
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/pbdevelopment.plist
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/PkgInfo
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/delete.tiff
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/disable.tiff
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/enable.tiff
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/ArchivingSettings.nib/classes.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/ArchivingSettings.nib/info.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/ArchivingSettings.nib/objects.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/InfoPlist.strings
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/IntroWizard.nib/classes.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/IntroWizard.nib/info.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/IntroWizard.nib/objects.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/Localizable.strings
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/MainMenu.nib/classes.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/MainMenu.nib/info.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/MainMenu.nib/objects.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/ProxySettings.nib/classes.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/ProxySettings.nib/info.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/ProxySettings.nib/objects.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/SendingSettings.nib/classes.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/SendingSettings.nib/info.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/English.lproj/SendingSettings.nib/objects.nib
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/KeyInfoKeys.plist
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/KeyInfoSections.plist
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/send.tiff
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/sort_ascending.tiff
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/sort_descending.tiff
-extensions/talkback@mozilla.org/components/talkback/Talkback.app/Contents/Resources/Talkback.icns
-#else
-extensions/talkback@mozilla.org/components/talkback/talkback
-extensions/talkback@mozilla.org/components/talkback/XTalkback.ad
-extensions/talkback@mozilla.org/components/master.ini
-extensions/talkback@mozilla.org/components/talkback.so
-#endif
-#endif
-#
-# Clean out update service components if MOZ_UPDATER isn't defined
-#
-#ifndef MOZ_UPDATER
-components/nsUpdateService.js
-components/nsUpdateServiceStub.js
-#endif
-
-# bug 381049 (Moved crashreporter interface)
-components/crashreporter.xpt
-# bug 415330 (Remove XPInstall leftovers)
-@DLL_PREFIX@xpistub@DLL_SUFFIX@
-res/cmessage.txt
-#ifdef XP_WIN
-xpicleanup.exe
-#else
-xpicleanup
-#endif
-
-# bug 446366 (renamed interface)
-js/calWeekTitleService.js
-
-js/calItipProcessor.js
-
-# bug 431775 (remove unused gopher images)
-res/html/gopher-audio.gif
-res/html/gopher-binary.gif
-res/html/gopher-find.gif
-res/html/gopher-image.gif
-res/html/gopher-menu.gif
-res/html/gopher-movie.gif
-res/html/gopher-sound.gif
-res/html/gopher-telnet.gif
-res/html/gopher-text.gif
-res/html/gopher-unknown.gif
-
-# Bug 462393 - Sunbird tinderboxen busted [Error: mozilla/dist/bin/js: Not a directory]
-js/calAlarm.js
-js/calAlarmMonitor.js
-js/calAlarmService.js
-js/calAttachment.js
-js/calAttendee.js
-js/calAuthUtils.js
-js/calCachedCalendar.js
-js/calCalendarManager.js
-js/calCalendarSearchService.js
-js/calDateTimeFormatter.js
-js/calDavCalendar.js
-js/calEvent.js
-js/calFilter.js
-js/calFreeBusyService.js
-js/calHtmlExport.js
-js/calICSCalendar.js
-js/calIcsImportExport.js
-js/calIcsParser.js
-js/calIcsSerializer.js
-js/calItemBase.js
-js/calItipItem.js
-js/calItipProcessor.js
-js/calListFormatter.js
-js/calMemoryCalendar.js
-js/calMonthGridPrinter.js
-js/calOutlookCSVImportExport.js
-js/calProtocolHandler.js
-js/calProviderBase.js
-js/calProviderUtils.js
-js/calRecurrenceInfo.js
-js/calRelation.js
-js/calStorageCalendar.js
-js/calTimezoneService.js
-js/calTodo.js
-js/calTransactionManager.js
-js/calUtils.js
-js/calWcapCalendar.js
-js/calWcapCalendarItems.js
-js/calWcapErrors.js
-js/calWcapRequest.js
-js/calWcapSession.js
-js/calWcapUtils.js
-js/calWeekInfoService.js
-js/calWeekPrinter.js
-
-# Bug 462773 drop JSON.jsm
-modules/JSON.jsm
-
-# Bug 439620
-calendar-js/calProviderBase.js
-calendar-js/calProviderUtils.js
-calendar-js/calAuthUtils.js
-
-# Bug 420811 replace loading and broken image GIFs with PNGs
-res/broken-image.gif
-res/loading-image.gif
-
-#ifdef XP_WIN
-# Bug 504029
-js3250.dll
-#endif
-
-# bug 520394 - We now use Cocoa Printing instead of PrintPDE
-#ifdef XP_MACOSX
-../Plug-Ins/PrintPDE.plugin/Contents/Info.plist
-../Plug-Ins/PrintPDE.plugin/Contents/MacOS/PrintPDE
-../Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/Localizable.strings
-../Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/PrintPDE.nib/classes.nib
-../Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/PrintPDE.nib/info.nib
-../Plug-Ins/PrintPDE.plugin/Contents/Resources/English.lproj/PrintPDE.nib/objects.xib
-#endif
-
-# Bug 534408 - Core bug 514665 dropped/replaced USE_SHORT_LIBNAME uses: port that to c-c (apps)
-#ifdef XP_WIN
-components/calbscmp.dll
-#endif
-
-components/contentprefs.xpt
-
-# Bug 522712 - Port |Bug 511761 - Only use compatibility.ini (not .autoreg, or stat()s) to invalidate fastloads and other caches| to comm-central (apps)
-.autoreg
-
-# Bug 576746 - new xpcom registration, we're cleaning up some extra files here
-components/calStorageCalendarModule.js
-components/calMemoryCalendarModule.js
-components/calICSCalendarModule.js
-components/dom_loadsave.xpt
deleted file mode 100644
--- a/calendar/installer/windows/Makefile.in
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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/.
-
-DEPTH		= @DEPTH@
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/package-name.mk
-
-CONFIG_DIR = instgen
-SFX_MODULE = $(topsrcdir)/other-licenses/7zstub/sunbird/7zSD.sfx
-
-ifdef MOZ_UPDATER
-DEFINES += -DMOZ_UPDATER=1
-endif
-
-PP_LOCALIZED_FILES = \
-	packages-static \
-	$(NULL)
-
-INSTALLER_FILES = \
-	app.tag \
-	nsis/installer.nsi \
-	nsis/uninstaller.nsi \
-	nsis/shared.nsh \
-	$(NULL)
-
-BRANDING_FILES = \
-	branding.nsi \
-	wizHeader.bmp \
-	wizHeaderRTL.bmp \
-	wizWatermark.bmp \
-	$(NULL)
-
-DEFINES += \
-	-DAB_CD=$(AB_CD) \
-	-DPKG_BASENAME=$(PKG_BASENAME) \
-	-DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
-	-DMOZ_APP_DISPLAYNAME=${MOZ_APP_DISPLAYNAME} \
-	-DMOZILLA_VERSION=${MOZILLA_VERSION} \
-	$(NULL)
-
-include $(topsrcdir)/config/config.mk
-
-installer::
-	$(MAKE) -C .. installer-stage
-	$(MAKE) $(CONFIG_DIR)/setup.exe
-
-# For building the uninstaller during the application build so it can be
-# included for mar file generation.
-uninstaller::
-	$(RM) -rf $(CONFIG_DIR) && mkdir $(CONFIG_DIR)
-	$(INSTALL) $(addprefix $(srcdir)/,$(INSTALLER_FILES)) $(CONFIG_DIR)
-	$(INSTALL) $(addprefix $(DIST)/branding/,$(BRANDING_FILES)) $(CONFIG_DIR)
-	$(EXIT_ON_ERROR) \
-	for i in $(PP_LOCALIZED_FILES); do \
-	  $(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/$$i > $(CONFIG_DIR)/$$i; \
-	done
-	$(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py -Fsubstitution $(DEFINES) $(ACDEFINES) \
-	  $(srcdir)/nsis/defines.nsi.in > $(CONFIG_DIR)/defines.nsi
-	$(PYTHON) $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \
-	  --preprocess-locale $(MOZILLA_SRCDIR) \
-	  $(call EXPAND_LOCALE_SRCDIR,calendar/locales)/installer $(AB_CD) $(CONFIG_DIR)
-
-$(CONFIG_DIR)/setup.exe::
-	$(RM) -rf $(CONFIG_DIR) && mkdir $(CONFIG_DIR)
-	$(INSTALL) $(addprefix $(srcdir)/,$(INSTALLER_FILES)) $(CONFIG_DIR)
-	$(INSTALL) $(addprefix $(DIST)/branding/,$(BRANDING_FILES)) $(CONFIG_DIR)
-	$(PYTHON) $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \
-	  --convert-utf8-utf16le $(DIST)/branding/license.txt $(CONFIG_DIR)/license.txt
-	$(EXIT_ON_ERROR) \
-	for i in $(PP_LOCALIZED_FILES); do \
-	  $(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/$$i > $(CONFIG_DIR)/$$i; \
-	done
-	$(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py -Fsubstitution $(DEFINES) $(ACDEFINES) \
-	  $(srcdir)/nsis/defines.nsi.in > $(CONFIG_DIR)/defines.nsi
-	$(PYTHON) $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \
-	  --preprocess-locale $(MOZILLA_SRCDIR) \
-	  $(call EXPAND_LOCALE_SRCDIR,calendar/locales)/installer $(AB_CD) $(CONFIG_DIR)
-
-include $(topsrcdir)/config/rules.mk
-include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/windows/nsis/makensis.mk
deleted file mode 100644
--- a/calendar/installer/windows/app.tag
+++ /dev/null
@@ -1,4 +0,0 @@
-;!@Install@!UTF-8!
-Title="Mozilla Sunbird"
-RunProgram="setup.exe"
-;!@InstallEnd@!
\ No newline at end of file
deleted file mode 100644
--- a/calendar/installer/windows/moz.build
+++ /dev/null
@@ -1,5 +0,0 @@
-# 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/.
-
deleted file mode 100644
--- a/calendar/installer/windows/nsis/defines.nsi.in
+++ /dev/null
@@ -1,32 +0,0 @@
-#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/.
-
-
-# Win7: AppVendor, AppName, and AppVersion must match the application.ini values
-# of Vendor, Name, and Version. These values are used in registering shortcuts
-# with the taskbar. ExplicitAppUserModelID registration when the app launches is
-# handled in widget/src/windows/WinTaskbar.cpp.
-
-!define AppVendor             "Mozilla"
-!define AppName               "Sunbird"
-!define AppVersion            "@MOZ_APP_VERSION@"
-!define AppUserModelID        "${AppVendor}.${AppName}.${AppVersion}"
-!define GREVersion            @MOZILLA_VERSION@
-!define AB_CD                 "@AB_CD@"
-
-!define FileMainEXE           "sunbird.exe"
-!define WindowClass           "SunbirdMessageWindow"
-!define MinSupportedVer       "Microsoft Windows 2000"
-
-# File details shared by both the installer and uninstaller
-VIProductVersion "1.0.0.0"
-VIAddVersionKey "ProductName"     "${BrandShortName}"
-VIAddVersionKey "CompanyName"     "${CompanyName}"
-VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation."
-VIAddVersionKey "LegalCopyright"  "${CompanyName}"
-VIAddVersionKey "FileVersion"     "${AppVersion}"
-VIAddVersionKey "ProductVersion"  "${AppVersion}"
-# Comments is not used but left below commented out for future reference
-# VIAddVersionKey "Comments"        "Comments"
deleted file mode 100644
--- a/calendar/installer/windows/nsis/installer.nsi
+++ /dev/null
@@ -1,744 +0,0 @@
-# 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/.
-
-# Required Plugins:
-# AppAssocReg http://nsis.sourceforge.net/Application_Association_Registration_plug-in
-# ShellLink   http://nsis.sourceforge.net/ShellLink_plug-in
-# UAC         http://nsis.sourceforge.net/UAC_plug-in
-
-; Set verbosity to 3 (e.g. no script) to lessen the noise in the build logs
-!verbose 3
-
-; 7-Zip provides better compression than the lzma from NSIS so we add the files
-; uncompressed and use 7-Zip to create a SFX archive of it
-SetDatablockOptimize on
-SetCompress off
-CRCCheck on
-
-RequestExecutionLevel user
-
-!addplugindir ./
-
-Var TmpVal
-Var StartMenuDir
-Var InstallType
-Var AddStartMenuSC
-Var AddQuickLaunchSC
-Var AddDesktopSC
-
-; Other included files may depend upon these includes!
-; The following includes are provided by NSIS.
-!include FileFunc.nsh
-!include LogicLib.nsh
-!include MUI.nsh
-!include WinMessages.nsh
-!include WinVer.nsh
-!include WordFunc.nsh
-
-!insertmacro GetOptions
-!insertmacro GetParameters
-!insertmacro GetSize
-!insertmacro StrFilter
-!insertmacro WordReplace
-
-; The following includes are custom.
-!include branding.nsi
-!include defines.nsi
-!include common.nsh
-!include locales.nsi
-
-VIAddVersionKey "FileDescription" "${BrandShortName} Installer"
-VIAddVersionKey "OriginalFilename" "setup.exe"
-
-; Must be inserted before other macros that use logging
-!insertmacro _LoggingCommon
-
-; Most commonly used macros for managing shortcuts
-!insertmacro _LoggingShortcutsCommon
-
-!insertmacro ChangeMUIHeaderImage
-!insertmacro CheckForFilesInUse
-!insertmacro CleanUpdatesDir
-!insertmacro CopyFilesFromDir
-!insertmacro FindSMProgramsDir
-!insertmacro GetPathFromString
-!insertmacro GetParent
-!insertmacro ManualCloseAppPrompt
-!insertmacro RegCleanMain
-!insertmacro RegCleanUninstall
-!insertmacro SetBrandNameVars
-!insertmacro UnloadUAC
-!insertmacro WriteRegStr2
-!insertmacro WriteRegDWORD2
-
-!include shared.nsh
-
-; Helper macros for ui callbacks. Insert these after shared.nsh
-!insertmacro CheckCustomCommon
-!insertmacro InstallEndCleanupCommon
-!insertmacro InstallOnInitCommon
-!insertmacro InstallStartCleanupCommon
-!insertmacro LeaveDirectoryCommon
-!insertmacro OnEndCommon
-!insertmacro PreDirectoryCommon
-
-Name "${BrandFullName}"
-OutFile "setup.exe"
-InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${BrandFullNameInternal} (${AppVersion})" "InstallLocation"
-InstallDir "$PROGRAMFILES\${BrandFullName}\"
-ShowInstDetails nevershow
-
-################################################################################
-# Modern User Interface - MUI
-
-!define MUI_ABORTWARNING
-!define MUI_ICON setup.ico
-!define MUI_UNICON setup.ico
-!define MUI_WELCOMEPAGE_TITLE_3LINES
-!define MUI_HEADERIMAGE
-!define MUI_HEADERIMAGE_RIGHT
-!define MUI_WELCOMEFINISHPAGE_BITMAP wizWatermark.bmp
-
-; Use a right to left header image when the language is right to left
-!ifdef ${AB_CD}_rtl
-!define MUI_HEADERIMAGE_BITMAP_RTL wizHeaderRTL.bmp
-!else
-!define MUI_HEADERIMAGE_BITMAP wizHeader.bmp
-!endif
-
-/**
- * Installation Pages
- */
-; Welcome Page
-!define MUI_PAGE_CUSTOMFUNCTION_PRE preWelcome
-!insertmacro MUI_PAGE_WELCOME
-
-; License Page
-!define MUI_PAGE_CUSTOMFUNCTION_SHOW showLicense
-!define MUI_LICENSEPAGE_CHECKBOX
-!insertmacro MUI_PAGE_LICENSE license.txt
-
-; Custom Options Page
-Page custom preOptions leaveOptions
-
-; Select Install Directory Page
-!define MUI_PAGE_CUSTOMFUNCTION_PRE preDirectory
-!define MUI_PAGE_CUSTOMFUNCTION_LEAVE leaveDirectory
-!define MUI_DIRECTORYPAGE_VERIFYONLEAVE
-!insertmacro MUI_PAGE_DIRECTORY
-
-; Custom Shortcuts Page
-Page custom preShortcuts leaveShortcuts
-
-; Start Menu Folder Page Configuration
-!define MUI_PAGE_CUSTOMFUNCTION_PRE preStartMenu
-!define MUI_PAGE_CUSTOMFUNCTION_LEAVE leaveStartMenu
-!define MUI_STARTMENUPAGE_NODISABLE
-!insertmacro MUI_PAGE_STARTMENU Application $StartMenuDir
-
-; Custom Summary Page
-Page custom preSummary leaveSummary
-
-; Install Files Page
-!insertmacro MUI_PAGE_INSTFILES
-
-; Finish Page
-!define MUI_FINISHPAGE_TITLE_3LINES
-!define MUI_FINISHPAGE_RUN
-!define MUI_FINISHPAGE_RUN_FUNCTION LaunchApp
-!define MUI_FINISHPAGE_RUN_TEXT $(LAUNCH_TEXT)
-!define MUI_PAGE_CUSTOMFUNCTION_PRE preFinish
-!insertmacro MUI_PAGE_FINISH
-
-; Use the default dialog for IDD_VERIFY for a simple Banner
-ChangeUI IDD_VERIFY "${NSISDIR}\Contrib\UIs\default.exe"
-
-################################################################################
-# Install Sections
-
-; Cleanup operations to perform at the start of the installation.
-Section "-InstallStartCleanup"
-  SetDetailsPrint both
-  DetailPrint $(STATUS_CLEANUP)
-  SetDetailsPrint none
-
-  SetOutPath "$INSTDIR"
-  ${StartInstallLog} "${BrandFullName}" "${AB_CD}" "${AppVersion}" "${GREVersion}"
-
-  ; Delete the app exe to prevent launching the app while we are installing.
-  ClearErrors
-  ${DeleteFile} "$INSTDIR\${FileMainEXE}"
-  ${If} ${Errors}
-    ; If the user closed the application it can take several seconds for it to
-    ; shut down completely. If the application is being used by another user we
-    ; can rename the file and then delete is when the system is restarted.
-    Sleep 5000
-    ${DeleteFile} "$INSTDIR\${FileMainEXE}"
-    ClearErrors
-  ${EndIf}
-
-  ; Remove the updates directory for Vista and above
-  ${CleanUpdatesDir} "Mozilla\Sunbird"
-
-  ${InstallStartCleanupCommon}
-SectionEnd
-
-Section "-Application" APP_IDX
-  ${StartUninstallLog}
-
-  SetDetailsPrint both
-  DetailPrint $(STATUS_INSTALL_APP)
-  SetDetailsPrint none
-
-  ${LogHeader} "Installing Main Files"
-  ${CopyFilesFromDir} "$EXEDIR\nonlocalized" "$INSTDIR" \
-                      "$(ERROR_CREATE_DIRECTORY_PREFIX)" \
-                      "$(ERROR_CREATE_DIRECTORY_SUFFIX)"
-
-  ; Register DLLs
-  ; XXXrstrong - AccessibleMarshal.dll can be used by multiple applications but
-  ; is only registered for the last application installed. When the last
-  ; application installed is uninstalled AccessibleMarshal.dll will no longer be
-  ; registered. bug 338878
-  ${LogHeader} "DLL Registration"
-  ClearErrors
-  RegDLL "$INSTDIR\AccessibleMarshal.dll"
-  ${If} ${Errors}
-    ${LogMsg} "** ERROR Registering: $INSTDIR\AccessibleMarshal.dll **"
-  ${Else}
-    ${LogUninstall} "DLLReg: \AccessibleMarshal.dll"
-    ${LogMsg} "Registered: $INSTDIR\AccessibleMarshal.dll"
-  ${EndIf}
-
-  ; Write extra files created by the application to the uninstall log so they
-  ; will be removed when the application is uninstalled. To remove an empty
-  ; directory write a bogus filename to the deepest directory and all empty
-  ; parent directories will be removed.
-  ${LogUninstall} "File: \components\compreg.dat"
-  ${LogUninstall} "File: \components\xpti.dat"
-  ${LogUninstall} "File: \.autoreg"
-  ${LogUninstall} "File: \active-update.xml"
-  ${LogUninstall} "File: \install.log"
-  ${LogUninstall} "File: \install_status.log"
-  ${LogUninstall} "File: \install_wizard.log"
-  ${LogUninstall} "File: \updates.xml"
-
-  SetDetailsPrint both
-  DetailPrint $(STATUS_INSTALL_LANG)
-  SetDetailsPrint none
-
-  ${LogHeader} "Installing Localized Files"
-  ${CopyFilesFromDir} "$EXEDIR\localized" "$INSTDIR" \
-                      "$(ERROR_CREATE_DIRECTORY_PREFIX)" \
-                      "$(ERROR_CREATE_DIRECTORY_SUFFIX)"
-
-  ; Default for creating Start Menu folder and shortcuts
-  ; (1 = create, 0 = don't create)
-  ${If} $AddStartMenuSC == ""
-    StrCpy $AddStartMenuSC "1"
-  ${EndIf}
-
-  ; Default for creating Quick Launch shortcut (1 = create, 0 = don't create)
-  ${If} $AddQuickLaunchSC == ""
-    StrCpy $AddQuickLaunchSC "1"
-  ${EndIf}
-
-  ; Default for creating Desktop shortcut (1 = create, 0 = don't create)
-  ${If} $AddDesktopSC == ""
-    StrCpy $AddDesktopSC "1"
-  ${EndIf}
-
-  ${LogHeader} "Adding Registry Entries"
-  SetShellVarContext current  ; Set SHCTX to HKCU
-  ${RegCleanMain} "Software\Mozilla"
-  ${RegCleanUninstall}
-
-  ClearErrors
-  WriteRegStr HKLM "Software\Mozilla" "${BrandShortName}InstallerTest" "Write Test"
-  ${If} ${Errors}
-    StrCpy $TmpVal "HKCU" ; used primarily for logging
-  ${Else}
-    SetShellVarContext all  ; Set SHCTX to HKLM
-    DeleteRegValue HKLM "Software\Mozilla" "${BrandShortName}InstallerTest"
-    StrCpy $TmpVal "HKLM" ; used primarily for logging
-    ${RegCleanMain} "Software\Mozilla"
-    ${RegCleanUninstall}
-  ${EndIf}
-
-  ; The previous installer adds several regsitry values to both HKLM and HKCU.
-  ; We now try to add to HKLM and if that fails to HKCU
-
-  ; The order that reg keys and values are added is important if you use the
-  ; uninstall log to remove them on uninstall. When using the uninstall log you
-  ; MUST add children first so they will be removed first on uninstall so they
-  ; will be empty when the key is deleted. This allows the uninstaller to
-  ; specify that only empty keys will be deleted.
-  ${SetAppKeys}
-  
-  ; Uninstall keys can only exist under HKLM on some versions of windows. Since
-  ; it doesn't cause problems always add them.
-  ${SetUninstallKeys}
-
-  ; These need special handling on uninstall since they may be overwritten by
-  ; an install into a different location.
-  StrCpy $0 "Software\Microsoft\Windows\CurrentVersion\App Paths\${FileMainEXE}"
-  ${WriteRegStr2} $TmpVal "$0" "" "$INSTDIR\${FileMainEXE}" 0
-  ${WriteRegStr2} $TmpVal "$0" "Path" "$INSTDIR" 0
-
-  !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
-
-  ; Create shortcuts
-  ${LogHeader} "Adding Shortcuts"
-
-  ; Always add the relative path to the application's Start Menu directory and
-  ; the application's shortcuts to the shortcuts log ini file. The
-  ; DeleteShortcuts macro will do the right thing on uninstall if they don't
-  ; exist.
-  ${LogSMProgramsDirRelPath} "$StartMenuDir"
-  ${LogSMProgramsShortcut} "${BrandFullName}.lnk"
-  ${LogSMProgramsShortcut} "${BrandFullName} ($(SAFE_MODE)).lnk"
-  ${LogQuickLaunchShortcut} "${BrandFullName}.lnk"
-  ${LogDesktopShortcut} "${BrandFullName}.lnk"
-
-  ${If} $AddStartMenuSC == 1
-    ${Unless} ${FileExists} "$SMPROGRAMS\$StartMenuDir"
-      CreateDirectory "$SMPROGRAMS\$StartMenuDir"
-      ${LogMsg} "Added Start Menu Directory: $SMPROGRAMS\$StartMenuDir"
-    ${EndUnless}
-    CreateShortCut "$SMPROGRAMS\$StartMenuDir\${BrandFullName}.lnk" "$INSTDIR\${FileMainEXE}" "" "$INSTDIR\${FileMainEXE}" 0
-    ${LogMsg} "Added Shortcut: $SMPROGRAMS\$StartMenuDir\${BrandFullName}.lnk"
-    CreateShortCut "$SMPROGRAMS\$StartMenuDir\${BrandFullName} ($(SAFE_MODE)).lnk" "$INSTDIR\${FileMainEXE}" "-safe-mode" "$INSTDIR\${FileMainEXE}" 0
-    ${LogMsg} "Added Shortcut: $SMPROGRAMS\$StartMenuDir\${BrandFullName} ($(SAFE_MODE)).lnk"
-  ${EndIf}
-
-  ; perhaps use the uninstall keys
-  ${If} $AddQuickLaunchSC == 1
-    CreateShortCut "$QUICKLAUNCH\${BrandFullName}.lnk" "$INSTDIR\${FileMainEXE}" "" "$INSTDIR\${FileMainEXE}" 0
-    ${LogMsg} "Added Shortcut: $QUICKLAUNCH\${BrandFullName}.lnk"
-  ${EndIf}
-
-  ${If} $AddDesktopSC == 1
-    CreateShortCut "$DESKTOP\${BrandFullName}.lnk" "$INSTDIR\${FileMainEXE}" "" "$INSTDIR\${FileMainEXE}" 0
-    ${LogMsg} "Added Shortcut: $DESKTOP\${BrandFullName}.lnk"
-  ${EndIf}
-
-  !insertmacro MUI_STARTMENU_WRITE_END
-SectionEnd
-
-; Cleanup operations to perform at the end of the installation.
-Section "-InstallEndCleanup"
-  SetDetailsPrint both
-  DetailPrint "$(STATUS_CLEANUP)"
-  SetDetailsPrint none
-
-  ${LogHeader} "Updating Uninstall Log With Previous Uninstall Log"
-
-  ; Refresh desktop icons
-  System::Call "shell32::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)"
-
-  ${InstallEndCleanupCommon}
-
-  ; If we have to reboot give SHChangeNotify time to finish the refreshing
-  ; the icons so the OS doesn't display the icons from helper.exe
-  ${If} ${RebootFlag}
-    Sleep 10000
-    ${LogHeader} "Reboot Required To Finish Installation"
-    ; ${FileMainEXE}.moz-upgrade should never exist but just in case...
-    ${Unless} ${FileExists} "$INSTDIR\${FileMainEXE}.moz-upgrade"
-      Rename "$INSTDIR\${FileMainEXE}" "$INSTDIR\${FileMainEXE}.moz-upgrade"
-    ${EndUnless}
-
-    ${If} ${FileExists} "$INSTDIR\${FileMainEXE}"
-      ClearErrors
-      Rename "$INSTDIR\${FileMainEXE}" "$INSTDIR\${FileMainEXE}.moz-delete"
-      ${Unless} ${Errors}
-        Delete /REBOOTOK "$INSTDIR\${FileMainEXE}.moz-delete"
-      ${EndUnless}
-    ${EndUnless}
-
-    ${Unless} ${FileExists} "$INSTDIR\${FileMainEXE}"
-      CopyFiles /SILENT "$INSTDIR\uninstall\helper.exe" "$INSTDIR"
-      FileOpen $0 "$INSTDIR\${FileMainEXE}" w
-      FileWrite $0 "Will be deleted on restart"
-      Rename /REBOOTOK "$INSTDIR\${FileMainEXE}.moz-upgrade" "$INSTDIR\${FileMainEXE}"
-      FileClose $0
-      Delete "$INSTDIR\${FileMainEXE}"
-      Rename "$INSTDIR\helper.exe" "$INSTDIR\${FileMainEXE}"
-    ${EndUnless}
-  ${EndIf}
-SectionEnd
-
-################################################################################
-# Helper Functions
-
-Function CheckExistingInstall
-  ; If there is a pending file copy from a previous uninstall don't allow
-  ; installing until after the system has rebooted.
-  IfFileExists "$INSTDIR\${FileMainEXE}.moz-upgrade" +1 +4
-  MessageBox MB_YESNO "$(WARN_RESTART_REQUIRED_UPGRADE)" IDNO +2
-  Reboot
-  Quit
-
-  ; If there is a pending file deletion from a previous uninstall don't allow
-  ; installing until after the system has rebooted.
-  IfFileExists "$INSTDIR\${FileMainEXE}.moz-delete" +1 +4
-  MessageBox MB_YESNO "$(WARN_RESTART_REQUIRED_UNINSTALL)" IDNO +2
-  Reboot
-  Quit
-
-  ${If} ${FileExists} "$INSTDIR\${FileMainEXE}"
-    Banner::show /NOUNLOAD "$(BANNER_CHECK_EXISTING)"
-
-    ${If} "$TmpVal" == "FoundMessageWindow"
-      Sleep 5000
-    ${EndIf}
-
-    ${PushFilesToCheck}
-
-    ; Store the return value in $TmpVal so it is less likely to be accidentally
-    ; overwritten elsewhere.
-    ${CheckForFilesInUse} $TmpVal
-
-    Banner::destroy
-
-    ${If} "$TmpVal" == "true"
-      StrCpy $TmpVal "FoundMessageWindow"
-      ${ManualCloseAppPrompt} "${WindowClass}" "$(WARN_MANUALLY_CLOSE_APP_INSTALL)"
-      StrCpy $TmpVal "true"
-    ${EndIf}
-  ${EndIf}
-FunctionEnd
-
-Function LaunchApp
-  ClearErrors
-  ${GetParameters} $0
-  ${GetOptions} "$0" "/UAC:" $1
-  ${If} ${Errors}
-    ${ManualCloseAppPrompt} "${WindowClass}" "$(WARN_MANUALLY_CLOSE_APP_LAUNCH)"
-    Exec "$INSTDIR\${FileMainEXE}"
-  ${Else}
-    GetFunctionAddress $0 LaunchAppFromElevatedProcess
-    UAC::ExecCodeSegment $0
-  ${EndIf}
-FunctionEnd
-
-Function LaunchAppFromElevatedProcess
-  ${ManualCloseAppPrompt} "${WindowClass}" "$(WARN_MANUALLY_CLOSE_APP_LAUNCH)"
-
-  ; Find the installation directory when launching using GetFunctionAddress
-  ; from an elevated installer since $INSTDIR will not be set in this installer
-  ${StrFilter} "${FileMainEXE}" "+" "" "" $R9
-  ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${BrandFullNameInternal} (${AppVersion})" "DisplayIcon"
-  ${GetPathFromString} "$0" $0
-  ${GetParent} "$0" $1
-  ; Set our current working directory to the application's install directory
-  ; otherwise the 7-Zip temp directory will be in use and won't be deleted.
-  SetOutPath "$1"
-  Exec "$0"
-FunctionEnd
-
-################################################################################
-# Language
-
-!insertmacro MOZ_MUI_LANGUAGE 'baseLocale'
-!verbose push
-!verbose 3
-!include "overrideLocale.nsh"
-!include "customLocale.nsh"
-!verbose pop
-
-; Set this after the locale files to override it if it is in the locale
-; using " " for BrandingText will hide the "Nullsoft Install System..." branding
-BrandingText " "
-
-################################################################################
-# Page pre, show, and leave functions
-
-Function preWelcome
-  ${If} ${FileExists} "$EXEDIR\localized\distribution\modern-wizard.bmp"
-    Delete "$PLUGINSDIR\modern-wizard.bmp"
-    CopyFiles /SILENT "$EXEDIR\localized\distribution\modern-wizard.bmp" "$PLUGINSDIR\modern-wizard.bmp"
-  ${EndIf}
-FunctionEnd
-
-Function showLicense
-  ${If} ${FileExists} "$EXEDIR\localized\distribution\modern-header.bmp"
-  ${AndIf} $hHeaderBitmap == ""
-    Delete "$PLUGINSDIR\modern-header.bmp"
-    CopyFiles /SILENT "$EXEDIR\localized\distribution\modern-header.bmp" "$PLUGINSDIR\modern-header.bmp"
-    ${ChangeMUIHeaderImage} "$PLUGINSDIR\modern-header.bmp"
-  ${EndIf}
-FunctionEnd
-
-Function preOptions
-  !insertmacro MUI_HEADER_TEXT "$(OPTIONS_PAGE_TITLE)" "$(OPTIONS_PAGE_SUBTITLE)"
-  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "options.ini"
-FunctionEnd
-
-Function leaveOptions
-  ${MUI_INSTALLOPTIONS_READ} $0 "options.ini" "Settings" "State"
-  ${If} $0 != 0
-    Abort
-  ${EndIf}
-  ${MUI_INSTALLOPTIONS_READ} $R0 "options.ini" "Field 2" "State"
-  StrCmp $R0 "1" +1 +2
-  StrCpy $InstallType ${INSTALLTYPE_BASIC}
-  ${MUI_INSTALLOPTIONS_READ} $R0 "options.ini" "Field 3" "State"
-  StrCmp $R0 "1" +1 +2
-  StrCpy $InstallType ${INSTALLTYPE_CUSTOM}
-
-  ${If} $InstallType != ${INSTALLTYPE_CUSTOM}
-!ifndef NO_INSTDIR_FROM_REG
-    SetShellVarContext all      ; Set SHCTX to HKLM
-    ${GetSingleInstallPath} "Software\Mozilla\${BrandFullNameInternal}" $R9
-
-    StrCmp "$R9" "false" +1 fix_install_dir
-
-    SetShellVarContext current  ; Set SHCTX to HKCU
-    ${GetSingleInstallPath} "Software\Mozilla\${BrandFullNameInternal}" $R9
-
-    fix_install_dir:
-    StrCmp "$R9" "false" +2 +1
-    StrCpy $INSTDIR "$R9"
-!endif
-
-    Call CheckExistingInstall
-  ${EndIf}
-FunctionEnd
-
-Function preDirectory
-  ${PreDirectoryCommon}
-FunctionEnd
-
-Function leaveDirectory
-  ${LeaveDirectoryCommon} "$(WARN_DISK_SPACE)" "$(WARN_WRITE_ACCESS)"
-FunctionEnd
-
-Function preShortcuts
-  ${CheckCustomCommon}
-  !insertmacro MUI_HEADER_TEXT "$(SHORTCUTS_PAGE_TITLE)" "$(SHORTCUTS_PAGE_SUBTITLE)"
-  !insertmacro MUI_INSTALLOPTIONS_DISPLAY "shortcuts.ini"
-FunctionEnd
-
-Function leaveShortcuts
-  ${MUI_INSTALLOPTIONS_READ} $0 "shortcuts.ini" "Settings" "State"
-  ${If} $0 != 0
-    Abort
-  ${EndIf}
-  ${MUI_INSTALLOPTIONS_READ} $AddDesktopSC "shortcuts.ini" "Field 2" "State"
-  ${MUI_INSTALLOPTIONS_READ} $AddStartMenuSC "shortcuts.ini" "Field 3" "State"
-  ${MUI_INSTALLOPTIONS_READ} $AddQuickLaunchSC "shortcuts.ini" "Field 4" "State"
-FunctionEnd
-
-Function preStartMenu
-  ; With the Unicode installer the path to the application's Start Menu
-  ; directory relative to the Start Menu's Programs directory is written to the
-  ; shortcuts log ini file and is used to set the default Start Menu directory.
-  ${GetSMProgramsDirRelPath} $0
-  ${If} "$0" != ""
-    StrCpy $StartMenuDir "$0"
-  ${Else}
-    ; Prior to the Unicode installer the path to the application's Start Menu
-    ; directory relative to the Start Menu's Programs directory was written to
-    ; the registry and use this value to set the default Start Menu directory.
-    ClearErrors
-    ReadRegStr $0 HKLM "Software\Mozilla\${BrandFullNameInternal}\${AppVersion} (${AB_CD})\Main" "Start Menu Folder"
-    ${If} ${Errors}
-      ; Use the FindSMProgramsDir macro to find a previously used path to the
-      ; application's Start Menu directory relative to the Start Menu's Programs
-      ; directory in the uninstall log and use this value to set the default
-      ; Start Menu directory.
-      ${FindSMProgramsDir} $0
-      ${If} "$0" != ""
-        StrCpy $StartMenuDir "$0"
-      ${EndIf}
-    ${Else}
-      StrCpy $StartMenuDir "$0"
-    ${EndUnless}
-  ${EndIf}
-
-  ${CheckCustomCommon}
-  ${If} $AddStartMenuSC != 1
-    Abort
-  ${EndIf}
-FunctionEnd
-
-Function leaveStartMenu
-  ${If} $InstallType == ${INSTALLTYPE_CUSTOM}
-    Call CheckExistingInstall
-  ${EndIf}
-FunctionEnd
-
-Function preSummary
-  ; Setup the summary.ini file for the Custom Summary Page
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Settings" NumFields "3"
-
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 1" Type   "label"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 1" Text   "$(SUMMARY_INSTALLED_TO)"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 1" Left   "0"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 1" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 1" Top    "5"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 1" Bottom "15"
-
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" Type   "text"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" state  ""
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" Left   "0"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" Top    "17"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" Bottom "30"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 2" flags  "READONLY"
-
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 3" Type   "label"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 3" Text   "$(SUMMARY_CLICK)"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 3" Left   "0"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 3" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 3" Top    "130"
-  WriteINIStr "$PLUGINSDIR\summary.ini" "Field 3" Bottom "150"
-
-  ${If} "$TmpVal" == "true"
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Type   "label"
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Text   "$(SUMMARY_REBOOT_REQUIRED_INSTALL)"
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Left   "0"
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Right  "-1"
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Top    "35"
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Field 4" Bottom "45"
-
-    WriteINIStr "$PLUGINSDIR\summary.ini" "Settings" NumFields "4"
-  ${EndIf}
-
-  !insertmacro MUI_HEADER_TEXT "$(SUMMARY_PAGE_TITLE)" "$(SUMMARY_PAGE_SUBTITLE)"
-
-  ; The Summary custom page has a textbox that will automatically receive
-  ; focus. This sets the focus to the Install button instead.
-  !insertmacro MUI_INSTALLOPTIONS_INITDIALOG "summary.ini"
-  GetDlgItem $0 $HWNDPARENT 1
-  System::Call "user32::SetFocus(i r0, i 0x0007, i,i)i"
-  ${MUI_INSTALLOPTIONS_READ} $1 "summary.ini" "Field 2" "HWND"
-  SendMessage $1 ${WM_SETTEXT} 0 "STR:$INSTDIR"
-  !insertmacro MUI_INSTALLOPTIONS_SHOW
-FunctionEnd
-
-Function leaveSummary
-  ; Try to delete the app executable and if we can't delete it try to find the
-  ; app's message window and prompt the user to close the app. This allows
-  ; running an instance that is located in another directory. If for whatever
-  ; reason there is no message window we will just rename the app's files and
-  ; then remove them on restart.
-  ClearErrors
-  ${DeleteFile} "$INSTDIR\${FileMainEXE}"
-  ${If} ${Errors}
-    ${ManualCloseAppPrompt} "${WindowClass}" "$(WARN_MANUALLY_CLOSE_APP_INSTALL)"
-  ${EndIf}
-FunctionEnd
-
-; When we add an optional action to the finish page the cancel button is
-; enabled. This disables it and leaves the finish button as the only choice.
-Function preFinish
-  ${EndInstallLog} "${BrandFullName}"
-  !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "settings" "cancelenabled" "0"
-FunctionEnd
-
-################################################################################
-# Initialization Functions
-
-Function .onInit
-  StrCpy $LANGUAGE 0
-  ${SetBrandNameVars} "$EXEDIR\localized\distribution\setup.ini"
-
-  ${InstallOnInitCommon} "$(WARN_MIN_SUPPORTED_OS_MSG)"
-
-  !insertmacro InitInstallOptionsFile "options.ini"
-  !insertmacro InitInstallOptionsFile "shortcuts.ini"
-  !insertmacro InitInstallOptionsFile "summary.ini"
-
-  ; Setup the options.ini file for the Custom Options Page
-  WriteINIStr "$PLUGINSDIR\options.ini" "Settings" NumFields "5"
-
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 1" Type   "label"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 1" Text   "$(OPTIONS_SUMMARY)"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 1" Left   "0"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 1" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 1" Top    "0"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 1" Bottom "10"
-
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Type   "RadioButton"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Text   "$(OPTION_STANDARD_RADIO)"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Left   "15"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Top    "25"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Bottom "35"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" State  "1"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 2" Flags  "GROUP"
-
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" Type   "RadioButton"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" Text   "$(OPTION_CUSTOM_RADIO)"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" Left   "15"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" Top    "55"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" Bottom "65"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 3" State  "0"
-
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 4" Type   "label"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 4" Text   "$(OPTION_STANDARD_DESC)"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 4" Left   "30"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 4" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 4" Top    "37"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 4" Bottom "57"
-
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 5" Type   "label"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 5" Text   "$(OPTION_CUSTOM_DESC)"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 5" Left   "30"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 5" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 5" Top    "67"
-  WriteINIStr "$PLUGINSDIR\options.ini" "Field 5" Bottom "87"
-
-  ; Setup the shortcuts.ini file for the Custom Shortcuts Page
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Settings" NumFields "4"
-
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 1" Type   "label"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 1" Text   "$(CREATE_ICONS_DESC)"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 1" Left   "0"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 1" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 1" Top    "5"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 1" Bottom "15"
-
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Type   "checkbox"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Text   "$(ICONS_DESKTOP)"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Left   "15"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Top    "20"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Bottom "30"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" State  "1"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 2" Flags  "GROUP"
-
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" Type   "checkbox"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" Text   "$(ICONS_STARTMENU)"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" Left   "15"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" Top    "40"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" Bottom "50"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 3" State  "1"
-
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" Type   "checkbox"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" Text   "$(ICONS_QUICKLAUNCH)"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" Left   "15"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" Top    "60"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" Bottom "70"
-  WriteINIStr "$PLUGINSDIR\shortcuts.ini" "Field 4" State  "1"
-
-  ; There must always be nonlocalized and localized directories.
-  ${GetSize} "$EXEDIR\nonlocalized\" "/S=0K" $R5 $R7 $R8
-  ${GetSize} "$EXEDIR\localized\" "/S=0K" $R6 $R7 $R8
-  IntOp $R8 $R5 + $R6
-  SectionSetSize ${APP_IDX} $R8
-
-  ; Initialize $hHeaderBitmap to prevent redundant changing of the bitmap if
-  ; the user clicks the back button
-  StrCpy $hHeaderBitmap ""
-FunctionEnd
-
-Function .onGUIEnd
-  ${OnEndCommon}
-FunctionEnd
deleted file mode 100644
--- a/calendar/installer/windows/nsis/shared.nsh
+++ /dev/null
@@ -1,160 +0,0 @@
-# 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/.
-
-!macro PostUpdate
-  ${CreateShortcutsLog}
-
-  ; Remove registry entries for non-existent apps and for apps that point to our
-  ; install location in the Software\Mozilla key and uninstall registry entries
-  ; that point to our install location for both HKCU and HKLM.
-  SetShellVarContext current  ; Set SHCTX to the current user (e.g. HKCU)
-  ${RegCleanMain} "Software\Mozilla"
-  ${RegCleanUninstall}
-
-  ClearErrors
-  WriteRegStr HKLM "Software\Mozilla" "${BrandShortName}InstallerTest" "Write Test"
-  ${If} ${Errors}
-    StrCpy $TmpVal "HKCU" ; used primarily for logging
-  ${Else}
-    DeleteRegValue HKLM "Software\Mozilla" "${BrandShortName}InstallerTest"
-    SetShellVarContext all    ; Set SHCTX to all users (e.g. HKLM)
-    StrCpy $TmpVal "HKLM" ; used primarily for logging
-    ${RegCleanMain} "Software\Mozilla"
-    ${RegCleanUninstall}
-    ${SetUninstallKeys}
-  ${EndIf}
-
-  ; Add Software\Mozilla\ registry entries
-  ${SetAppKeys}
-
-  ; Remove files that may be left behind by the application in the
-  ; VirtualStore directory.
-  ${CleanVirtualStore}
-
-  ; Remove talkback if it is present (remove after bug 386760 is fixed)
-  ${If} ${FileExists} "$INSTDIR\extensions\talkback@mozilla.org\"
-    RmDir /r "$INSTDIR\extensions\talkback@mozilla.org\"
-  ${EndIf}
-!macroend
-!define PostUpdate "!insertmacro PostUpdate"
-
-!macro SetAsDefaultAppUser
-  ; This macro must be defined to use UninstallOnInitCommon in commmon.nsh
-!macroend
-!define SetAsDefaultAppUser "!insertmacro SetAsDefaultAppUser"
-
-!macro SetAsDefaultAppGlobal
-  ; This macro must be defined to use UninstallOnInitCommon in commmon.nsh
-!macroend
-!define SetAsDefaultAppGlobal "!insertmacro SetAsDefaultAppGlobal"
-
-!macro HideShortcuts
-  ; This macro must be defined to use UninstallOnInitCommon in commmon.nsh
-!macroend
-!define HideShortcuts "!insertmacro HideShortcuts"
-
-!macro ShowShortcuts
-  ; This macro must be defined to use UninstallOnInitCommon in commmon.nsh
-!macroend
-!define ShowShortcuts "!insertmacro ShowShortcuts"
-
-!macro SetAppKeys
-  ${GetLongPath} "$INSTDIR" $8
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal}\${AppVersion} (${AB_CD})\Main"
-  ${WriteRegStr2} $TmpVal "$0" "Install Directory" "$8" 0
-  ${WriteRegStr2} $TmpVal "$0" "PathToExe" "$8\${FileMainEXE}" 0
-
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal}\${AppVersion} (${AB_CD})\Uninstall"
-  ${WriteRegStr2} $TmpVal "$0" "Description" "${BrandFullNameInternal} (${AppVersion})" 0
-
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal}\${AppVersion} (${AB_CD})"
-  ${WriteRegStr2} $TmpVal  "$0" "" "${AppVersion} (${AB_CD})" 0
-
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal} ${AppVersion}\bin"
-  ${WriteRegStr2} $TmpVal "$0" "PathToExe" "$8\${FileMainEXE}" 0
-
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal} ${AppVersion}\extensions"
-  ${WriteRegStr2} $TmpVal "$0" "Components" "$8\components" 0
-  ${WriteRegStr2} $TmpVal "$0" "Plugins" "$8\plugins" 0
-
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal} ${AppVersion}"
-  ${WriteRegStr2} $TmpVal "$0" "GeckoVer" "${GREVersion}" 0
-
-  StrCpy $0 "Software\Mozilla\${BrandFullNameInternal}"
-  ${WriteRegStr2} $TmpVal "$0" "" "${GREVersion}" 0
-  ${WriteRegStr2} $TmpVal "$0" "CurrentVersion" "${AppVersion} (${AB_CD})" 0
-!macroend
-!define SetAppKeys "!insertmacro SetAppKeys"
-
-!macro SetUninstallKeys
-  StrCpy $0 "Software\Microsoft\Windows\CurrentVersion\Uninstall\${BrandFullNameInternal} (${AppVersion})"
-  ${GetLongPath} "$INSTDIR" $8
-
-  ; Write the uninstall registry keys
-  ${WriteRegStr2} $TmpVal "$0" "Comments" "${BrandFullNameInternal}" 0
-  ${WriteRegStr2} $TmpVal "$0" "DisplayIcon" "$8\${FileMainEXE},0" 0
-  ${WriteRegStr2} $TmpVal "$0" "DisplayName" "${BrandFullNameInternal} (${AppVersion})" 0
-  ${WriteRegStr2} $TmpVal "$0" "DisplayVersion" "${AppVersion} (${AB_CD})" 0
-  ${WriteRegStr2} $TmpVal "$0" "InstallLocation" "$8" 0
-  ${WriteRegStr2} $TmpVal "$0" "Publisher" "Mozilla" 0
-  ${WriteRegStr2} $TmpVal "$0" "UninstallString" "$8\uninstall\helper.exe" 0
-  ${WriteRegStr2} $TmpVal "$0" "URLInfoAbout" "${URLInfoAbout}" 0
-  ${WriteRegStr2} $TmpVal "$0" "URLUpdateInfo" "${URLUpdateInfo}" 0
-  ${WriteRegDWORD2} $TmpVal "$0" "NoModify" 1 0
-  ${WriteRegDWORD2} $TmpVal "$0" "NoRepair" 1 0
-!macroend
-!define SetUninstallKeys "!insertmacro SetUninstallKeys"
-
-; Creates the shortcuts log ini file with the appropriate entries if it doesn't
-; already exist.
-!macro CreateShortcutsLog
-  ${GetShortcutsLogPath} $0
-  ${Unless} ${FileExists} "$0"
-    ; Default to ${BrandFullName} for the Start Menu Folder
-    StrCpy $TmpVal "${BrandFullName}"
-    ; Prior to Unicode installer the Start Menu directory was written to the
-    ; registry and this value can be used to set the Start Menu directory.
-    ClearErrors
-    ReadRegStr $0 SHCTX "Software\Mozilla\${BrandFullNameInternal}\${AppVersion} (${AB_CD})\Main" "Start Menu Folder"
-    ${If} ${Errors}
-      ${FindSMProgramsDir} $0
-      ${If} "$0" != ""
-        StrCpy $TmpVal "$0"
-      ${EndIf}
-    ${Else}
-      StrCpy $TmpVal "$0"
-    ${EndUnless}
-
-    ${LogSMProgramsDirRelPath} "$TmpVal"
-    ${LogSMProgramsShortcut} "${BrandFullName}.lnk"
-    ${LogSMProgramsShortcut} "${BrandFullName} ($(SAFE_MODE)).lnk"
-    ${LogQuickLaunchShortcut} "${BrandFullName}.lnk"
-    ${LogDesktopShortcut} "${BrandFullName}.lnk"
-  ${EndUnless}
-!macroend
-!define CreateShortcutsLog "!insertmacro CreateShortcutsLog"
-
-; The files to check if they are in use during (un)install so the restart is
-; required message is displayed. All files must be located in the $INSTDIR
-; directory.
-!macro PushFilesToCheck
-  ; The first string to be pushed onto the stack MUST be "end" to indicate
-  ; that there are no more files to check in $INSTDIR and the last string
-  ; should be ${FileMainEXE} so if it is in use the CheckForFilesInUse macro
-  ; returns after the first check.
-  Push "end"
-  Push "AccessibleMarshal.dll"
-  Push "freebl3.dll"
-  Push "nssckbi.dll"
-  Push "nspr4.dll"
-  Push "nssdbm3.dll"
-  Push "sqlite3.dll"
-  Push "mozsqlite3.dll"
-  Push "xpcom.dll"
-  Push "crashreporter.exe"
-  Push "updater.exe"
-  Push "xpicleanup.exe"
-  Push "${FileMainEXE}"
-!macroend
-!define PushFilesToCheck "!insertmacro PushFilesToCheck"
deleted file mode 100755
--- a/calendar/installer/windows/nsis/uninstaller.nsi
+++ /dev/null
@@ -1,398 +0,0 @@
-# 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/.
-
-# Required Plugins:
-# AppAssocReg http://nsis.sourceforge.net/Application_Association_Registration_plug-in
-# ShellLink   http://nsis.sourceforge.net/ShellLink_plug-in
-# UAC         http://nsis.sourceforge.net/UAC_plug-in
-
-; Set verbosity to 3 (e.g. no script) to lessen the noise in the build logs
-!verbose 3
-
-; 7-Zip provides better compression than the lzma from NSIS so we add the files
-; uncompressed and use 7-Zip to create a SFX archive of it
-SetDatablockOptimize on
-SetCompress off
-CRCCheck on
-
-RequestExecutionLevel user
-
-!addplugindir ./
-
-; prevents compiling of the reg write logging.
-!define NO_LOG
-
-Var TmpVal
-
-; Other included files may depend upon these includes!
-; The following includes are provided by NSIS.
-!include FileFunc.nsh
-!include LogicLib.nsh
-!include MUI.nsh
-!include WinMessages.nsh
-!include WinVer.nsh
-!include WordFunc.nsh
-
-!insertmacro GetOptions
-!insertmacro GetParameters
-!insertmacro GetParent
-
-!insertmacro un.GetParent
-
-; The following includes are custom.
-!include branding.nsi
-!include defines.nsi
-!include common.nsh
-!include locales.nsi
-
-; This is named BrandShortName helper because we use this for software update
-; post update cleanup.
-VIAddVersionKey "FileDescription"  "${BrandShortName} Helper"
-VIAddVersionKey "OriginalFilename" "helper.exe"
-
-; Most commonly used macros for managing shortcuts
-!insertmacro _LoggingShortcutsCommon
-
-!insertmacro CleanVirtualStore
-!insertmacro FindSMProgramsDir
-!insertmacro GetLongPath
-!insertmacro RegCleanMain
-!insertmacro RegCleanUninstall
-!insertmacro SetBrandNameVars
-!insertmacro UnloadUAC
-!insertmacro UpdateShortcutAppModelIDs
-!insertmacro WriteRegDWORD2
-!insertmacro WriteRegStr2
-
-!insertmacro un.ChangeMUIHeaderImage
-!insertmacro un.CheckForFilesInUse
-!insertmacro un.CleanUpdatesDir
-!insertmacro un.CleanVirtualStore
-!insertmacro un.DeleteShortcuts
-!insertmacro un.GetLongPath
-!insertmacro un.GetSecondInstallPath
-!insertmacro un.ManualCloseAppPrompt
-!insertmacro un.ParseUninstallLog
-!insertmacro un.RegCleanMain
-!insertmacro un.RegCleanUninstall
-!insertmacro un.RemoveQuotesFromPath
-!insertmacro un.SetBrandNameVars
-
-!include shared.nsh
-
-; Helper macros for ui callbacks. Insert these after shared.nsh
-!insertmacro OnEndCommon
-!insertmacro UninstallOnInitCommon
-
-!insertmacro un.OnEndCommon
-
-Name "${BrandFullName}"
-OutFile "helper.exe"
-InstallDirRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${BrandFullNameInternal} (${AppVersion})" "InstallLocation"
-InstallDir "$PROGRAMFILES\${BrandFullName}"
-ShowUnInstDetails nevershow
-
-################################################################################
-# Modern User Interface - MUI
-
-!define MUI_ABORTWARNING
-!define MUI_ICON setup.ico
-!define MUI_UNICON setup.ico
-!define MUI_WELCOMEPAGE_TITLE_3LINES
-!define MUI_HEADERIMAGE
-!define MUI_HEADERIMAGE_RIGHT
-!define MUI_UNWELCOMEFINISHPAGE_BITMAP wizWatermark.bmp
-
-; Use a right to left header image when the language is right to left
-!ifdef ${AB_CD}_rtl
-!define MUI_HEADERIMAGE_BITMAP_RTL wizHeaderRTL.bmp
-!else
-!define MUI_HEADERIMAGE_BITMAP wizHeader.bmp
-!endif
-
-/**
- * Uninstall Pages
- */
-; Welcome Page
-!define MUI_PAGE_CUSTOMFUNCTION_PRE un.preWelcome
-!define MUI_PAGE_CUSTOMFUNCTION_LEAVE un.leaveWelcome
-!insertmacro MUI_UNPAGE_WELCOME
-
-; Custom Uninstall Confirm Page
-UninstPage custom un.preConfirm un.leaveConfirm
-
-; Remove Files Page
-!insertmacro MUI_UNPAGE_INSTFILES
-
-; Finish Page
-
-!insertmacro MUI_UNPAGE_FINISH
-
-; Use the default dialog for IDD_VERIFY for a simple Banner
-ChangeUI IDD_VERIFY "${NSISDIR}\Contrib\UIs\default.exe"
-
-################################################################################
-# Install Sections
-; Empty section required for the installer to compile as an uninstaller
-Section ""
-SectionEnd
-
-################################################################################
-# Uninstall Sections
-
-Section "Uninstall"
-  SetDetailsPrint textonly
-  DetailPrint $(STATUS_UNINSTALL_MAIN)
-  SetDetailsPrint none
-
-  ; Delete the app exe to prevent launching the app while we are uninstalling.
-  ClearErrors
-  ${DeleteFile} "$INSTDIR\${FileMainEXE}"
-  ${If} ${Errors}
-    ; If the user closed the application it can take several seconds for it to
-    ; shut down completely. If the application is being used by another user we
-    ; can still delete the files when the system is restarted. 
-    Sleep 5000
-    ${DeleteFile} "$INSTDIR\${FileMainEXE}"
-    ClearErrors
-  ${EndIf}
-
-  SetShellVarContext current  ; Set SHCTX to HKCU
-  ${un.RegCleanMain} "Software\Mozilla"
-  ${un.RegCleanUninstall}
-  ${un.DeleteShortcuts}
-
-  ClearErrors
-  WriteRegStr HKLM "Software\Mozilla" "${BrandShortName}InstallerTest" "Write Test"
-  ${If} ${Errors}
-    StrCpy $TmpVal "HKCU" ; used primarily for logging
-  ${Else}
-    SetShellVarContext all  ; Set SHCTX to HKLM
-    DeleteRegValue HKLM "Software\Mozilla" "${BrandShortName}InstallerTest"
-    StrCpy $TmpVal "HKLM" ; used primarily for logging
-    ${un.RegCleanMain} "Software\Mozilla"
-    ${un.RegCleanUninstall}
-    ${un.DeleteShortcuts}
-  ${EndIf}
-
-  SetShellVarContext all  ; Set SHCTX to HKLM
-  ${un.GetSecondInstallPath} "Software\Mozilla" $R9
-  ${If} $R9 == "false"
-    SetShellVarContext current  ; Set SHCTX to HKCU
-    ${un.GetSecondInstallPath} "Software\Mozilla" $R9
-  ${EndIf}
-
-  StrCpy $0 "Software\Microsoft\Windows\CurrentVersion\App Paths\${FileMainEXE}"
-  ${If} $R9 == "false"
-    DeleteRegKey HKLM "$0"
-    DeleteRegKey HKCU "$0"
-  ${Else}
-    ReadRegStr $R1 HKLM "$0" ""
-    ${un.RemoveQuotesFromPath} "$R1" $R1
-    ${un.GetParent} "$R1" $R1
-    ${If} "$INSTDIR" == "$R1"
-      WriteRegStr HKLM "$0" "" "$R9"
-      ${un.GetParent} "$R9" $R1
-      WriteRegStr HKLM "$0" "Path" "$R1"
-    ${EndIf}
-  ${EndIf}
-
-  ; Remove directories and files we always control before parsing the uninstall
-  ; log so empty directories can be removed.
-  ${If} ${FileExists} "$INSTDIR\updates"
-    RmDir /r /REBOOTOK "$INSTDIR\updates"
-  ${EndIf}
-  ${If} ${FileExists} "$INSTDIR\defaults\shortcuts"
-    RmDir /r /REBOOTOK "$INSTDIR\defaults\shortcuts"
-  ${EndIf}
-  ${If} ${FileExists} "$INSTDIR\distribution"
-    RmDir /r /REBOOTOK "$INSTDIR\distribution"
-  ${EndIf}
-  ${If} ${FileExists} "$INSTDIR\removed-files"
-    Delete /REBOOTOK "$INSTDIR\removed-files"
-  ${EndIf}
-
-  ; Remove the updates directory for Vista and above
-  ${un.CleanUpdatesDir} "Mozilla\Sunbird"
-
-  ; Remove files that may be left behind by the application in the
-  ; VirtualStore directory.
-  ${un.CleanVirtualStore}
-
-  ; Parse the uninstall log to unregister dll's and remove all installed
-  ; files / directories this install is responsible for.
-  ${un.ParseUninstallLog}
-
-  ; Remove the uninstall directory that we control
-  RmDir /r /REBOOTOK "$INSTDIR\uninstall"
-
-  ; Remove the installation directory if it is empty
-  ${RemoveDir} "$INSTDIR"
-
-  ; If thunderbird.exe was successfully deleted yet we still need to restart to
-  ; remove other files create a dummy thunderbird.exe.moz-delete to prevent the
-  ; installer from allowing an install without restart when it is required
-  ; to complete an uninstall.
-  ${If} ${RebootFlag}
-    ${Unless} ${FileExists} "$INSTDIR\${FileMainEXE}.moz-delete"
-      FileOpen $0 "$INSTDIR\${FileMainEXE}.moz-delete" w
-      FileWrite $0 "Will be deleted on restart"
-      Delete /REBOOTOK "$INSTDIR\${FileMainEXE}.moz-delete"
-      FileClose $0
-    ${EndUnless}
-  ${EndIf}
-
-  ; Refresh desktop icons otherwise the start menu internet item won't be
-  ; removed and other ugly things will happen like recreation of the app's
-  ; clients registry key by the OS under some conditions.
-  System::Call "shell32::SHChangeNotify(i, i, i, i) v (0x08000000, 0, 0, 0)"
-SectionEnd
-
-################################################################################
-# Language
-
-!insertmacro MOZ_MUI_LANGUAGE 'baseLocale'
-!verbose push
-!verbose 3
-!include "overrideLocale.nsh"
-!include "customLocale.nsh"
-!verbose pop
-
-; Set this after the locale files to override it if it is in the locale. Using
-; " " for BrandingText will hide the "Nullsoft Install System..." branding.
-BrandingText " "
-
-################################################################################
-# Page pre, show, and leave functions
-
-Function un.preWelcome
-  ${If} ${FileExists} "$INSTDIR\distribution\modern-wizard.bmp"
-    Delete "$PLUGINSDIR\modern-wizard.bmp"
-    CopyFiles /SILENT "$INSTDIR\distribution\modern-wizard.bmp" "$PLUGINSDIR\modern-wizard.bmp"
-  ${EndIf}
-FunctionEnd
-
-Function un.leaveWelcome
-  ${If} ${FileExists} "$INSTDIR\${FileMainEXE}"
-    Banner::show /NOUNLOAD "$(BANNER_CHECK_EXISTING)"
-
-    ${If} "$TmpVal" == "FoundMessageWindow"
-      Sleep 5000
-    ${EndIf}
-
-    ${PushFilesToCheck}
-
-    ${un.CheckForFilesInUse} $TmpVal
-
-    Banner::destroy
-
-    ${If} "$TmpVal" == "true"
-      StrCpy $TmpVal "FoundMessageWindow"
-      ${un.ManualCloseAppPrompt} "${WindowClass}" "$(WARN_MANUALLY_CLOSE_APP_UNINSTALL)"
-      StrCpy $TmpVal "true"
-    ${EndIf}
-  ${EndIf}
-FunctionEnd
-
-Function un.preConfirm
-  ${If} ${FileExists} "$INSTDIR\distribution\modern-header.bmp"
-  ${AndIf} $hHeaderBitmap == ""
-    Delete "$PLUGINSDIR\modern-header.bmp"
-    CopyFiles /SILENT "$INSTDIR\distribution\modern-header.bmp" "$PLUGINSDIR\modern-header.bmp"
-    ${un.ChangeMUIHeaderImage} "$PLUGINSDIR\modern-header.bmp"
-  ${EndIf}
-
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Settings" NumFields "3"
-
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 1" Type   "label"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 1" Text   "$(UN_CONFIRM_UNINSTALLED_FROM)"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 1" Left   "0"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 1" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 1" Top    "5"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 1" Bottom "15"
-
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" Type   "text"
-  ; The contents of this control must be set as follows in the pre function
-  ; ${MUI_INSTALLOPTIONS_READ} $1 "unconfirm.ini" "Field 2" "HWND"
-  ; SendMessage $1 ${WM_SETTEXT} 0 "STR:$INSTDIR"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" State  ""
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" Left   "0"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" Top    "17"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" Bottom "30"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 2" flags  "READONLY"
-
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 3" Type   "label"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 3" Text   "$(UN_CONFIRM_CLICK)"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 3" Left   "0"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 3" Right  "-1"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 3" Top    "130"
-  WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 3" Bottom "150"
-
-  ${If} "$TmpVal" == "true"
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 4" Type   "label"
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 4" Text   "$(SUMMARY_REBOOT_REQUIRED_UNINSTALL)"
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 4" Left   "0"
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 4" Right  "-1"
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 4" Top    "35"
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Field 4" Bottom "45"
-
-    WriteINIStr "$PLUGINSDIR\unconfirm.ini" "Settings" NumFields "4"
-  ${EndIf}
-
-  !insertmacro MUI_HEADER_TEXT "$(UN_CONFIRM_PAGE_TITLE)" "$(UN_CONFIRM_PAGE_SUBTITLE)"
-  ; The Summary custom page has a textbox that will automatically receive
-  ; focus. This sets the focus to the Install button instead.
-  !insertmacro MUI_INSTALLOPTIONS_INITDIALOG "unconfirm.ini"
-  GetDlgItem $0 $HWNDPARENT 1
-  System::Call "user32::SetFocus(i r0, i 0x0007, i,i)i"
-  ${MUI_INSTALLOPTIONS_READ} $1 "unconfirm.ini" "Field 2" "HWND"
-  SendMessage $1 ${WM_SETTEXT} 0 "STR:$INSTDIR"
-  !insertmacro MUI_INSTALLOPTIONS_SHOW
-FunctionEnd
-
-Function un.leaveConfirm
-  ; Try to delete the app executable and if we can't delete it try to find the
-  ; app's message window and prompt the user to close the app. This allows
-  ; running an instance that is located in another directory. If for whatever
-  ; reason there is no message window we will just rename the app's files and
-  ; then remove them on restart if they are in use.
-  ClearErrors
-  ${DeleteFile} "$INSTDIR\${FileMainEXE}"
-  ${If} ${Errors}
-    ${un.ManualCloseAppPrompt} "${WindowClass}" "$(WARN_MANUALLY_CLOSE_APP_UNINSTALL)"
-  ${EndIf}
-FunctionEnd
-
-################################################################################
-# Initialization Functions
-
-Function .onInit
-  ${UninstallOnInitCommon}
-FunctionEnd
-
-Function un.onInit
-  ${un.GetParent} "$INSTDIR" $INSTDIR
-  ${un.GetLongPath} "$INSTDIR" $INSTDIR
-  ${Unless} ${FileExists} "$INSTDIR\${FileMainEXE}"
-    Abort
-  ${EndUnless}
-
-  StrCpy $LANGUAGE 0
-  ${un.SetBrandNameVars} "$INSTDIR\distribution\setup.ini"
-
-  ; Initialize $hHeaderBitmap to prevent redundant changing of the bitmap if
-  ; the user clicks the back button
-  StrCpy $hHeaderBitmap ""
-
-  !insertmacro InitInstallOptionsFile "unconfirm.ini"
-FunctionEnd
-
-Function .onGUIEnd
-  ${OnEndCommon}
-FunctionEnd
-
-Function un.onGUIEnd
-  ${un.OnEndCommon}
-FunctionEnd
deleted file mode 100644
--- a/calendar/installer/windows/nsis/updater_append.ini
+++ /dev/null
@@ -1,16 +0,0 @@
-; 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/.
-
-
-; IMPORTANT: This file should always start with a newline in case a locale
-; provided updater.ini does not end with a newline.
-; Application to launch after an update has been successfully applied. This
-; must be in the same directory or a sub-directory of the directory of the
-; application executable that initiated the software update.
-[PostUpdateWin]
-; ExeRelPath is the path to the PostUpdateWin executable relative to the
-; application executable.
-ExeRelPath=uninstall\helper.exe
-; ExeArg is the argument to pass to the PostUpdateWin exe
-ExeArg=/PostUpdate
deleted file mode 100644
--- a/calendar/installer/windows/packages-static
+++ /dev/null
@@ -1,362 +0,0 @@
-; Package file for Win32 static Sunbird build.
-;
-; Packaging manifest is used to copy files from dist/bin
-; to the staging directory.
-; Some other files are built in the staging directory directly,
-; so they will be implicitly packaged too.
-;
-; File format:
-;
-; [] designates a toplevel component. Example: [xpcom]
-; - in front of a file specifies it to be removed from the destination
-; * wildcard support to recursively copy the entire directory
-; ; file comment
-;
-
-#filter substitution
-
-[@AB_CD@]
-bin\chrome\@AB_CD@.jar
-bin\chrome\@AB_CD@.manifest
-bin\chrome\calendar-@AB_CD@.jar
-bin\chrome\calendar-@AB_CD@.manifest
-bin\chrome\sunbird-@AB_CD@.jar
-bin\chrome\sunbird-@AB_CD@.manifest
-bin\defaults\pref\sunbird-l10n.js
-bin\defaults\profile\prefs.js
-bin\defaults\profile\chrome\*
-bin\dictionaries\*
-bin\uninstall\helper.exe
-bin\update.locale
-bin\updater.ini
-
-[xpcom]
-bin\components\components.list
-bin\mozjs.dll
-bin\plc4.dll
-bin\plds4.dll
-bin\xpcom.dll
-bin\xpcom_core.dll
-bin\nspr4.dll
-bin\components\xpinstal.dll
-bin\components\jar50.dll
-bin\Microsoft.VC80.CRT.manifest
-bin\msvcm80.dll
-bin\msvcp80.dll
-bin\msvcr80.dll
-
-[calendar]
-; [Base Calendar Files]
-bin\application.ini
-bin\LICENSE
-bin\platform.ini
-bin\README.txt
-bin\sqlite3.dll
-bin\sunbird.exe
-
-; [Components]
-bin\AccessibleMarshal.dll
-bin\components\accessibility.xpt
-bin\components\accessibility-msaa.xpt
-bin\components\alerts.xpt
-bin\components\appshell.xpt
-bin\components\appstartup.xpt
-bin\components\autocomplete.xpt
-bin\components\autoconfig.xpt
-bin\components\calbase.xpt
-bin\components\calbasecomps.dll
-bin\components\calbaseinternal.xpt
-bin\components\caldav.xpt
-bin\components\caps.xpt
-bin\components\chardet.xpt
-bin\components\chrome.xpt
-bin\components\commandhandler.xpt
-bin\components\commandlines.xpt
-bin\components\composer.xpt
-bin\components\content_base.xpt
-bin\components\content_canvas.xpt
-bin\components\content_events.xpt
-bin\components\content_html.xpt
-bin\components\content_htmldoc.xpt
-bin\components\content_xmldoc.xpt
-bin\components\content_xslt.xpt
-bin\components\content_xtf.xpt
-bin\components\cookie.xpt
-bin\components\docshell_base.xpt
-bin\components\dom.xpt
-bin\components\dom_base.xpt
-bin\components\dom_canvas.xpt
-bin\components\dom_core.xpt
-bin\components\dom_css.xpt
-bin\components\dom_events.xpt
-bin\components\dom_geolocation.xpt
-bin\components\dom_html.xpt
-bin\components\dom_indexeddb.xpt
-bin\components\dom_json.xpt
-bin\components\dom_offline.xpt
-bin\components\dom_range.xpt
-bin\components\dom_sidebar.xpt
-bin\components\dom_storage.xpt
-bin\components\dom_stylesheets.xpt
-bin\components\dom_svg.xpt
-bin\components\dom_threads.xpt
-bin\components\dom_traversal.xpt
-bin\components\dom_views.xpt
-bin\components\dom_xbl.xpt
-bin\components\dom_xpath.xpt
-bin\components\dom_xul.xpt
-bin\components\downloads.xpt
-bin\components\editor.xpt
-bin\components\embed_base.xpt
-bin\components\extensions.xpt
-bin\components\exthandler.xpt
-bin\components\exthelper.xpt
-bin\components\fastfind.xpt
-bin\components\feeds.xpt
-bin\components\find.xpt
-bin\components\gfx.xpt
-bin\components\htmlparser.xpt
-bin\components\imgicon.xpt
-bin\components\imglib2.xpt
-bin\components\inspector.xpt
-bin\components\intl.xpt
-bin\components\jar.xpt
-bin\components\jsd3250.dll
-bin\components\jsdservice.xpt
-bin\components\layout_base.xpt
-#ifdef NS_PRINTING
-bin\components\layout_printing.xpt
-#endif
-bin\components\layout_xul.xpt
-bin\components\layout_xul_tree.xpt
-bin\components\locale.xpt
-bin\components\loginmgr.xpt
-bin\components\lwbrk.xpt
-bin\components\mimetype.xpt
-bin\components\mozfind.xpt
-bin\components\necko.xpt
-bin\components\necko_about.xpt
-bin\components\necko_cache.xpt
-bin\components\necko_cookie.xpt
-bin\components\necko_dns.xpt
-bin\components\necko_file.xpt
-bin\components\necko_ftp.xpt
-bin\components\necko_http.xpt
-bin\components\necko_res.xpt
-bin\components\necko_socket.xpt
-bin\components\necko_strconv.xpt
-bin\components\necko_viewsource.xpt
-bin\components\necko_wifi.xpt
-bin\components\parentalcontrols.xpt
-bin\components\places.xpt
-bin\components\plugin.xpt
-bin\components\pref.xpt
-bin\components\prefetch.xpt
-bin\components\profile.xpt
-bin\components\rdf.xpt
-bin\components\satchel.xpt
-bin\components\saxparser.xpt
-bin\components\shistory.xpt
-bin\components\spellchecker.xpt
-bin\components\storage.xpt
-bin\components\toolkitprofile.xpt
-bin\components\txmgr.xpt
-bin\components\txtsvc.xpt
-bin\components\uconv.xpt
-bin\components\unicharutil.xpt
-bin\components\update.xpt
-bin\components\uriloader.xpt
-bin\components\urlformatter.xpt
-bin\components\wcap.xpt
-bin\components\webBrowser_core.xpt
-bin\components\webbrowserpersist.xpt
-bin\components\webshell_idls.xpt
-bin\components\widget.xpt
-bin\components\windowds.xpt
-bin\components\windowwatcher.xpt
-bin\components\xpautocomplete.xpt
-bin\components\xpcom_base.xpt
-bin\components\xpcom_components.xpt
-bin\components\xpcom_ds.xpt
-bin\components\xpcom_io.xpt
-bin\components\xpcom_system.xpt
-bin\components\xpcom_thread.xpt
-bin\components\xpcom_xpti.xpt
-bin\components\xpconnect.xpt
-bin\components\xpinstall.xpt
-bin\components\xulapp.xpt
-bin\components\xuldoc.xpt
-bin\components\xultmpl.xpt
-bin\components\zipwriter.xpt
-
-; JavaScript components
-bin\components\calCompositeCalendar.js
-bin\components\calDavCalendar.js
-bin\components\calendarService.js
-bin\components\calICSCalendar.js
-bin\components\calImportExportModule.js
-bin\components\calItemModule.js
-bin\components\calMemoryCalendar.js
-bin\components\calStorageCalendar.js
-bin\components\calWcapCalendarModule.js
-bin\components\jsconsole-clhandler.js
-bin\components\NetworkGeolocationProvider.js
-bin\components\nsAddonRepository.js
-bin\components\nsBadCertHandler.js
-bin\components\nsBlocklistService.js
-bin\components\nsContentDispatchChooser.js
-bin\components\nsContentPrefService.js
-bin\components\nsDefaultCLH.js
-bin\components\nsDownloadManagerUI.js
-bin\components\nsExtensionManager.js
-bin\components\nsHandlerService.js
-bin\components\nsHelperAppDlg.js
-bin\components\nsLoginInfo.js
-bin\components\nsLoginManager.js
-bin\components\nsLoginManagerPrompter.js
-bin\components\nsProgressDialog.js
-bin\components\nsTryToClose.js
-#ifdef MOZ_UPDATER
-bin\components\nsUpdateService.js
-bin\components\nsUpdateServiceStub.js
-#endif
-bin\components\nsUpdateTimerManager.js
-bin\components\nsURLFormatter.js
-bin\components\nsWebHandlerApp.js
-bin\components\pluginGlue.js
-bin\components\storage-Legacy.js
-bin\components\storage-mozStorage.js
-bin\components\txEXSLTRegExFunctions.js
-bin\calendar-js\calAlarm.js
-bin\calendar-js\calAlarmMonitor.js
-bin\calendar-js\calAlarmService.js
-bin\calendar-js\calAttachment.js
-bin\calendar-js\calAttendee.js
-bin\calendar-js\calCachedCalendar.js
-bin\calendar-js\calCalendarManager.js
-bin\calendar-js\calCalendarSearchService.js
-bin\calendar-js\calDateTimeFormatter.js
-bin\calendar-js\calDavRequestHandlers.js
-bin\calendar-js\calEvent.js
-bin\calendar-js\calFilter.js
-bin\calendar-js\calFreeBusyService.js
-bin\calendar-js\calHtmlExport.js
-bin\calendar-js\calIcsImportExport.js
-bin\calendar-js\calIcsParser.js
-bin\calendar-js\calIcsSerializer.js
-bin\calendar-js\calItemBase.js
-bin\calendar-js\calItipItem.js
-bin\calendar-js\calListFormatter.js
-bin\calendar-js\calMonthGridPrinter.js
-bin\calendar-js\calOutlookCSVImportExport.js
-bin\calendar-js\calProtocolHandler.js
-bin\calendar-js\calRecurrenceInfo.js
-bin\calendar-js\calRelation.js
-bin\calendar-js\calTimezoneService.js
-bin\calendar-js\calTodo.js
-bin\calendar-js\calTransactionManager.js
-bin\calendar-js\calUtils.js
-bin\calendar-js\calWcapCalendar.js
-bin\calendar-js\calWcapCalendarItems.js
-bin\calendar-js\calWcapErrors.js
-bin\calendar-js\calWcapRequest.js
-bin\calendar-js\calWcapSession.js
-bin\calendar-js\calWcapUtils.js
-bin\calendar-js\calWeekInfoService.js
-bin\calendar-js\calWeekPrinter.js
-
-; [Modules]
-bin\modules\*
-
-; [Calendar Chrome Files]
-bin\chrome\calendar.jar
-bin\chrome\calendar.manifest
-bin\chrome\sunbird.jar
-bin\chrome\sunbird.manifest
-bin\chrome\classic.jar
-bin\chrome\classic.manifest
-bin\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}\chrome.manifest
-bin\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}\icon.png
-bin\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}\install.rdf
-bin\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}\preview.png
-bin\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\chrome.manifest
-bin\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}\install.rdf
-bin\chrome\comm.jar
-bin\chrome\comm.manifest
-bin\chrome\toolkit.jar
-bin\chrome\toolkit.manifest
-; [Calendar Chrome Icons]
-bin\chrome\icons\default\calendar-alarm-dialog.ico
-bin\chrome\icons\default\calendar-event-dialog.ico
-bin\chrome\icons\default\calendar-event-summary-dialog.ico
-bin\chrome\icons\default\calendar-task-dialog.ico
-bin\chrome\icons\default\calendar-task-summary-dialog.ico
-
-; [calendar-timezones]
-bin\extensions\calendar-timezones@mozilla.org\install.rdf
-bin\extensions\calendar-timezones@mozilla.org\timezones.sqlite
-bin\extensions\calendar-timezones@mozilla.org\chrome.manifest
-bin\extensions\calendar-timezones@mozilla.org\chrome\calendar-timezones.jar
-bin\extensions\calendar-timezones@mozilla.org\chrome\calendar-timezones-@AB_CD@.jar
-bin\extensions\calendar-timezones@mozilla.org\defaults\preferences\preferences.js
-
-; [Default Preferences]
-; All the pref files must be part of base to prevent migration bugs
-bin\defaults\pref\sunbird.js
-bin\defaults\pref\channel-prefs.js
-bin\greprefs.js
-bin\defaults\autoconfig\platform.js
-bin\defaults\autoconfig\prefcalls.js
-
-; [Layout Engine Resources]
-; Style Sheets, Graphics and other Resources used by the layout engine.
-bin\res\hiddenWindow.html
-bin\res\ua.css
-bin\res\html.css
-bin\res\quirk.css
-bin\res\forms.css
-bin\res\svg.css
-
-bin\res\arrowd.gif
-bin\res\viewsource.css
-bin\res\arrow.gif
-bin\res\loading-image.png
-bin\res\broken-image.png
-bin\res\fonts\*
-bin\res\dtd\*
-bin\res\html\folder.png
-bin\res\contenteditable.css
-bin\res\designmode.css
-bin\res\wincharset.properties
-bin\res\charsetalias.properties
-bin\res\charsetData.properties
-bin\res\langGroups.properties
-bin\res\language.properties
-bin\res\entityTables\*
-
-; [Personal Security Manager]
-;
-; NSS libraries are signed in the staging directory,
-; meaning their .chk files are created there directly.
-;
-bin\freebl3.dll
-bin\nss3.dll
-bin\nssckbi.dll
-bin\nssdbm3.dll
-bin\nssutil3.dll
-bin\smime3.dll
-bin\softokn3.dll
-bin\ssl3.dll
-bin\chrome\pippki.jar
-bin\chrome\pippki.manifest
-bin\components\pipboot.xpt
-bin\components\pipnss.xpt
-bin\components\pippki.xpt
-
-; [Updater]
-;
-bin\updater.exe
-
-; [Crash Reporter]
-bin\crashreporter.exe
-bin\crashreporter.ini
--- a/calendar/lightning/Makefile.in
+++ b/calendar/lightning/Makefile.in
@@ -82,21 +82,19 @@ endif
 
 # include config.mk here so myconfig or app-config can set DISABLE_LIGHTNING_INSTALL
 include $(topsrcdir)/config/config.mk
 
 # installing lightning in a thunderbird build causes problems on tinderboxes
 # (see bug 406441 and bug 440017), so we need to provide a hook for the
 # tinderboxen to disable that.
 ifndef DISABLE_LIGHTNING_INSTALL
-ifndef MOZ_SUNBIRD
 # install Lightning as a global extension in dist/bin/extensions/
 INSTALL_EXTENSION_ID = $(XPI_EM_ID)
 endif
-endif
 
 ifneq (,$(filter gtk2 qt,$(MOZ_WIDGET_TOOLKIT)))
 THEME=linux
 else
 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 THEME=osx
 else
 THEME=windows
--- a/calendar/locales/Makefile.in
+++ b/calendar/locales/Makefile.in
@@ -20,30 +20,22 @@ run_for_effects := $(shell if test ! -d 
 
 SUBMAKEFILES += $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/Makefile
 
 # This makefile uses variable overrides from the libs-% target to
 # build non-default locales to non-default dist/ locations. Be aware!
 
 AB = $(firstword $(subst -, ,$(AB_CD)))
 
-ifdef MOZ_SUNBIRD
-APP_VERSION = $(SUNBIRD_VERSION)
-DEFINES += -DAPP_VERSION="$(APP_VERSION)"
-endif
-
 # These are defaulted to be compatible with the files the wget-en-US target
 # pulls. You may override them if you provide your own files. You _must_
 # override them when MOZ_PKG_PRETTYNAMES is defined - the defaults will not
 # work in that case.
 ZIP_IN ?= $(_ABS_DIST)/$(PACKAGE)
 WIN32_INSTALLER_IN ?= $(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe
-ifdef MOZ_SUNBIRD
-RETRIEVE_WINDOWS_INSTALLER = 1
-endif
 
 DEFINES += \
     -DAB_CD=$(AB_CD) \
     -DMOZ_LANGPACK_EID=langpack-$(AB_CD)@sunbird.mozilla.org \
     -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
     -DMOZ_APP_MAXVERSION=$(MOZ_APP_MAXVERSION) \
     -DLOCALE_SRCDIR=$(LOCALE_SRCDIR) \
     -DPKG_BASENAME="$(PKG_BASENAME)" \
@@ -53,19 +45,16 @@ DEFINES += \
 include $(topsrcdir)/config/rules.mk
 
 clobber-%:
 	$(RM) -rf $(DIST)/xpi-stage/locale-$*
 
 libs-%:
 	$(NSINSTALL) -D $(DIST)/install
 	@$(MAKE) -C ../../mozilla/toolkit/locales libs-$*
-ifdef MOZ_SUNBIRD
-	@$(MAKE) -C ../sunbird/locales libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref
-endif
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$*
 
 ifneq (,$(filter cocoa,$(MOZ_WIDGET_TOOLKIT)))
 MOZ_PKG_MAC_DSSTORE=$(_ABS_DIST)/branding/dsstore
 MOZ_PKG_MAC_BACKGROUND=$(_ABS_DIST)/branding/background.png
 MOZ_PKG_MAC_ICON=$(_ABS_DIST)/branding/disk.icns
 endif
--- a/calendar/moz.build
+++ b/calendar/moz.build
@@ -1,21 +1,12 @@
 # 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/.
 
 CONFIGURE_SUBST_FILES += ['installer/Makefile']
 
-if CONFIG['MOZ_SUNBIRD']:
-    DIRS += [
-        'libical',
-        'resources',
-        'base',
-        'providers',
-        'import-export',
-        'locales',
-    ]
-elif CONFIG['MOZ_CALENDAR']:
+if CONFIG['MOZ_CALENDAR']:
     DIRS += ['lightning']
 
 TEST_DIRS += ['test']
 
deleted file mode 100644
--- a/calendar/sunbird/Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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/.
-
-DEPTH		= @DEPTH@
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-ifeq ($(OS_ARCH),WINNT)
-
-# For Windows build the uninstaller during the application build since the
-# uninstaller is included with the application for mar file generation.
-libs::
-	$(MAKE) -C ../installer/windows uninstaller
-endif
-
-include $(topsrcdir)/config/rules.mk
deleted file mode 100644
--- a/calendar/sunbird/app/Makefile.in
+++ /dev/null
@@ -1,295 +0,0 @@
-# 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/.
-
-DEPTH		= @DEPTH@
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-PREF_JS_EXPORTS = \
-    $(srcdir)/profile/sunbird.js \
-    $(srcdir)/profile/channel-prefs.js \
-    $(NULL)
-
-# hardcode en-US for the moment
-AB_CD = en-US
-DEFINES += -DAB_CD=$(AB_CD)
-
-APP_VERSION = $(SUNBIRD_VERSION)
-DEFINES += -DAPP_VERSION="$(APP_VERSION)"
-
-APP_UA_NAME = $(shell echo $(MOZ_APP_DISPLAYNAME) | sed -e's/[^A-Za-z]//g')
-DEFINES += -DAPP_UA_NAME="$(APP_UA_NAME)"
-
-DIST_FILES = application.ini
-
-GRE_MILESTONE = $(shell $(PYTHON) $(MOZILLA_SRCDIR)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build Milestone)
-GRE_BUILDID = $(shell $(PYTHON) $(MOZILLA_SRCDIR)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build BuildID)
- 
-DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID)
-
-MOZ_SOURCE_STAMP ?= $(firstword $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null))
-ifdef MOZ_SOURCE_STAMP
-DEFINES += -DMOZ_SOURCE_STAMP="$(MOZ_SOURCE_STAMP)"
-endif
-
-SOURCE_REPO := $(shell hg -R $(topsrcdir) showconfig paths.default 2>/dev/null | sed -e "s/^ssh:/http:/")
-ifdef SOURCE_REPO
-DEFINES += -DMOZ_SOURCE_REPO="$(SOURCE_REPO)"
-endif
- 
-ifndef LIBXUL_SDK
-# Build a binary bootstrapping with XRE_main
-
-CPPSRCS = nsCalendarApp.cpp
-
-LOCAL_INCLUDES += \
-  -I$(MOZILLA_SRCDIR)/toolkit/xre \
-  -I$(MOZILLA_SRCDIR)/xpcom/base \
-  $(NULL)
-
-ifdef BUILD_STATIC_LIBS
-ifdef _MSC_VER
-STATIC_COMPONENTS_LINKER_PATH = -LIBPATH:$(DEPTH)/staticlib
-else
-STATIC_COMPONENTS_LINKER_PATH = -L$(DEPTH)/staticlib
-endif
-LIBS += $(MOZDEPTH)/toolkit/xre/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX)
-else
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-LIBS += $(DIST)/bin/XUL
-else
-EXTRA_DSO_LIBS += xul
-endif
-endif
-
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-TK_LIBS := -framework Cocoa $(TK_LIBS)
-ifdef BUILD_STATIC_LIBS
-TK_LIBS := -framework SystemConfiguration -framework CoreAudio -framework AudioToolbox -framework AudioUnit $(TK_LIBS)
-endif
-endif
-
-LIBS += \
-	$(STATIC_COMPONENTS_LINKER_PATH) \
-	$(EXTRA_DSO_LIBS) \
-	$(XPCOM_GLUE_LDOPTS) \
-	$(NSPR_LIBS) \
-	$(NULL)
-
-ifdef BUILD_STATIC_LIBS
-LIBS += \
-	$(MOZ_JS_LIBS) \
-	$(TK_LIBS) \
-	$(NULL)
-
-# Add explicit X11 dependency when building against X11 toolkits
-ifneq (,$(filter gtk gtk2 xlib,$(MOZ_WIDGET_TOOLKIT)))
-LIBS += $(XLDFLAGS) $(XLIBS)
-endif
-endif
-
-ifdef MOZ_JPROF
-LIBS += -ljprof
-endif
-
-ifdef MOZ_ENABLE_DBUS
-LIBS += $(MOZ_DBUS_GLIB_LIBS)
-endif
-
-ifndef MOZ_WINCONSOLE
-ifdef MOZ_DEBUG
-MOZ_WINCONSOLE = 1
-else
-MOZ_WINCONSOLE = 0
-endif
-endif
-
-NSDISTMODE = copy
-
-include $(topsrcdir)/config/config.mk
-
-ifdef _MSC_VER
-# Always enter a Windows program through wmain, whether or not we're
-# a console application.
-WIN32_EXE_LDFLAGS += -ENTRY:wmainCRTStartup
-endif
-
-ifndef BUILD_STATIC_LIBS
-
-else
-include $(topsrcdir)/config/static-config.mk
-
-EXTRA_DEPS	+= \
-	$(STATIC_EXTRA_DEPS) \
-	$(NULL)
-DEFINES		+= $(STATIC_DEFINES)
-CPPSRCS		+= $(STATIC_CPPSRCS)
-EXTRA_DSO_LIBS	+= $(STATIC_EXTRA_DSO_LIBS)
-EXTRA_LIBS	+= $(STATIC_EXTRA_LIBS)
-
-# OpenGL is required by (mozilla/)content/canvas: see (mozilla/)layout/build/Makefile.in.
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-OS_LIBS += -framework OpenGL
-endif
-
-endif # BUILD_STATIC_LIBS
-
-ifeq ($(OS_ARCH),WINNT)
-OS_LIBS += $(call EXPAND_LIBNAME,comctl32 comdlg32 uuid shell32 ole32 oleaut32 version winspool)
-OS_LIBS += $(call EXPAND_LIBNAME,usp10 msimg32)
-RCINCLUDE = splash.rc
-ifndef GNU_CC
-RCFLAGS += -DMOZ_SUNBIRD -I$(srcdir)
-else
-RCFLAGS += -DMOZ_SUNBIRD --include-dir $(srcdir)
-endif
-ifdef BUILD_STATIC_LIBS
-RCFLAGS += -DMOZ_STATIC_BUILD
-endif
-ifdef DEBUG
-RCFLAGS += -DDEBUG
-endif
-endif
-
-ifeq ($(OS_ARCH),BeOS)
-ifdef BUILD_STATIC_LIBS
-OS_LIBS += -ltracker -lgame
-endif
-endif
-
-ifeq ($(OS_ARCH),OS2)
-RESFILE=splashos2.res
-RCFLAGS += -DMOZ_SUNBIRD
-ifdef BUILD_STATIC_LIBS
-RCFLAGS += -DMOZ_STATIC_BUILD -i $(DIST)/include
-endif
-ifdef DEBUG
-RCFLAGS += -DDEBUG
-endif
-RCFLAGS += -DSUNBIRD_ICO=\"$(DIST)/branding/sunbird.ico\"
-endif
-
-include $(topsrcdir)/config/rules.mk
-
-ifdef MOZILLA_OFFICIAL
-DEFINES += -DMOZILLA_OFFICIAL
-endif
-
-DEFINES += -DSUNBIRD_ICO=\"$(DIST)/branding/sunbird.ico\"
-
-ifdef BUILD_STATIC_LIBS
-include $(topsrcdir)/config/static-rules.mk
-endif
-
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-ifdef BUILD_STATIC_LIBS
-LIBS	+= -framework QuickTime -framework IOKit
-endif
-endif
-
-ifeq ($(MOZ_WIDGET_TOOLKIT),photon)
-LIBS += -lphexlib
-endif
-
-ifeq ($(OS_ARCH),WINNT)
-#
-# Control the default heap size.
-# This is the heap returned by GetProcessHeap().
-# As we use the CRT heap, the default size is too large and wastes VM.
-#
-# The default heap size is 1MB on Win32.
-# The heap will grow if need be.
-#
-# Set it to 256k.  See bug 127069.
-#
-ifndef GNU_CC
-LDFLAGS += /HEAP:0x40000
-endif
-endif
-
-ifneq (,$(filter-out OS2 WINNT,$(OS_ARCH)))
-
-$(MOZ_APP_NAME):: $(MOZILLA_DIR)/build/unix/mozilla.in $(GLOBAL_DEPS) $(DEPTH)/config/autoconf.mk
-	cat $< | sed -e "s|%MOZAPPDIR%|$(installdir)|" \
-		-e "s|%MOZ_APP_DISPLAYNAME%|$(MOZ_APP_DISPLAYNAME)|" > $@
-	chmod +x $@
-
-libs:: $(MOZ_APP_NAME)
-	$(INSTALL) $< $(DIST)/bin
-
-install:: $(MOZ_APP_NAME)
-	$(SYSINSTALL) $< $(DESTDIR)$(bindir)
-
-GARBAGE += $(MOZ_APP_NAME)
-GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, sunbird.js)
-
-endif
-
-ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
-libs::
-	$(INSTALL) $(IFLAGS1) $(DIST)/branding/default* $(DIST)/bin/chrome/icons/default
-
-install::
-	$(SYSINSTALL) $(IFLAGS1) $(DIST)/branding/default* $(DESTDIR)$(mozappdir)/chrome/icons/default
-endif
-
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-
-APP_NAME = $(MOZ_APP_DISPLAYNAME)
-
-ifdef MOZ_DEBUG
-APP_NAME := $(APP_NAME)Debug
-endif
-
-MAC_CREATOR_CODE = MOZc
-
-AB_CD = $(MOZ_UI_LOCALE)
-
-AB := $(firstword $(subst -, ,$(AB_CD)))
-
-clean clobber repackage::
-	rm -rf $(DIST)/$(APP_NAME).app
-
-libs repackage:: $(PROGRAM)
-	mkdir -p $(DIST)/$(APP_NAME).app/Contents/MacOS
-	rsync -a --exclude CVS --exclude "*.in" $(srcdir)/macbuild/Contents $(DIST)/$(APP_NAME).app  --exclude English.lproj
-	mkdir -p $(DIST)/$(APP_NAME).app/Contents/Resources/$(AB).lproj
-	rsync -a --exclude CVS --exclude "*.in" $(srcdir)/macbuild/Contents/Resources/English.lproj/ $(DIST)/$(APP_NAME).app/Contents/Resources/$(AB).lproj
-	sed -e "s/%APP_VERSION%/$(APP_VERSION)/" -e "s/%APP_NAME%/$(APP_NAME)/" -e "s/%MAC_CREATOR_CODE%/$(MAC_CREATOR_CODE)/" $(srcdir)/macbuild/Contents/Info.plist.in > $(DIST)/$(APP_NAME).app/Contents/Info.plist
-# The application name shown in the upper left is found in the file:
-# MyApp.app/Contents/Resources/English.lproj/InfoPlist.strings
-# We pipe this file through sed for the find and replace, and then use iconv
-# to convert it to UTF-16.
-	sed -e "s/%APP_NAME%/$(APP_NAME)/" $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | \
-	  iconv -f UTF-8 -t UTF-16 > $(DIST)/$(APP_NAME).app/Contents/Resources/$(AB).lproj/InfoPlist.strings
-	rsync -a $(DIST)/bin/ $(DIST)/$(APP_NAME).app/Contents/MacOS
-	rm -f $(DIST)/$(APP_NAME).app/Contents/MacOS/$(PROGRAM) $(DIST)/$(APP_NAME).app/Contents/MacOS/mangle $(DIST)/$(APP_NAME).app/Contents/MacOS/shlibsign
-	rsync -aL $(PROGRAM) $(DIST)/$(APP_NAME).app/Contents/MacOS
-	-cp -L $(DIST)/bin/mangle $(DIST)/bin/shlibsign $(DIST)/$(APP_NAME).app/Contents/MacOS
-	cp -RL $(DIST)/branding/sunbird.icns $(DIST)/$(APP_NAME).app/Contents/Resources/sunbird.icns
-	cp -RL $(DIST)/branding/sb_ICS.icns $(DIST)/$(APP_NAME).app/Contents/Resources/sb_ICS.icns
-	printf APPL$(MAC_CREATOR_CODE) > $(DIST)/$(APP_NAME).app/Contents/PkgInfo
-#	remove CVS dirs from packaged app
-	find $(DIST)/$(APP_NAME).app -type d -name "CVS" -prune -exec rm -rf {} \;
-
-endif
-
-endif # LIBXUL_SDK
-
-libs::
-ifeq ($(OS_ARCH),WINNT)
-	$(EXIT_ON_ERROR) \
-	$(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $(MOZILLA_SRCDIR)/LICENSE > $(DIST)/bin/LICENSE
-else
-	$(INSTALL) $(MOZILLA_SRCDIR)/LICENSE $(DIST)/bin
-endif
-
-libs:: $(srcdir)/profile/prefs.js
-	$(INSTALL) -m 644 $^ $(DIST)/bin/defaults/profile
-
-install:: $(srcdir)/profile/prefs.js
-	$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile
deleted file mode 100644
--- a/calendar/sunbird/app/application.ini
+++ /dev/null
@@ -1,32 +0,0 @@
-; 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/.
-
-#filter substitution
-[App]
-Vendor=Mozilla
-Name=Sunbird
-Version=@APP_VERSION@
-BuildID=@GRE_BUILDID@
-#ifdef MOZ_SOURCE_REPO
-SourceRepository=@MOZ_SOURCE_REPO@
-#endif
-#ifdef MOZ_SOURCE_STAMP
-SourceStamp=@MOZ_SOURCE_STAMP@
-#endif
-Copyright=Copyright (c) 1998 - 2010 mozilla.org
-ID={718e30fb-e89b-41dd-9da7-e25a45638b28}
-
-[Gecko]
-MinVersion=@GRE_MILESTONE@
-MaxVersion=@GRE_MILESTONE@
-
-[XRE]
-EnableProfileMigrator=1
-EnableExtensionManager=1
-
-[Crash Reporter]
-#if MOZILLA_OFFICIAL
-Enabled=1
-#endif
-ServerURL=https://crash-reports.mozilla.com/submit
deleted file mode 100644
--- a/calendar/sunbird/app/macbuild/Contents/Info.plist.in
+++ /dev/null
@@ -1,72 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>English</string>
-	<key>CFBundleDocumentTypes</key>
-	<array>
-		<dict>
-			<key>CFBundleTypeExtensions</key>
-			<array>
-				<string>ics</string>
-			</array>
-			<key>CFBundleTypeIconFile</key>
-			<string>sb_ICS.icns</string>
-			<key>CFBundleTypeMIMETypes</key>
-			<array>
-				<string>text/calendar</string>
-			</array>
-			<key>CFBundleTypeName</key>
-			<string>iCalendar file</string>
-			<key>CFBundleTypeOSTypes</key>
-			<array>
-				<string>iCal</string>
-			</array>
-			<key>CFBundleTypeRole</key>
-			<string>Editor</string>
-		</dict>
-	</array>
-	<key>CFBundleExecutable</key>
-	<string>sunbird-bin</string>
-	<key>CFBundleGetInfoString</key>
-	<string>%APP_NAME% %APP_VERSION%, © 1998-2010 Contributors</string>
-	<key>CFBundleIconFile</key>
-	<string>sunbird</string>
-	<key>CFBundleIdentifier</key>
-	<string>org.mozilla.sunbird</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>%APP_NAME%</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>%APP_VERSION%</string>
-	<key>CFBundleSignature</key>
-	<string>%MAC_CREATOR_CODE%</string>
-	<key>CFBundleURLTypes</key>
-	<array>
-		<dict>
-			<key>CFBundleURLName</key>
-			<string>Remote Calendar URL</string>
-			<key>CFBundleURLSchemes</key>
-			<array>
-				<string>webcal</string>
-			</array>
-		</dict>
-		<dict>
-			<key>CFBundleURLName</key>
-			<string>Secure Remote Calendar URL</string>
-			<key>CFBundleURLSchemes</key>
-			<array>
-				<string>webcals</string>
-			</array>
-		</dict>	
-	</array>
-	<key>CFBundleVersion</key>
-	<string>%APP_VERSION%</string>
-	<key>NSAppleScriptEnabled</key>
-	<true/>
-</dict>
-</plist>
deleted file mode 100644
--- a/calendar/sunbird/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in
+++ /dev/null
@@ -1,7 +0,0 @@
-/* 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/. */
-
-/* Localized versions of Info.plist keys */
-
-CFBundleName = %APP_NAME%;
deleted file mode 100644
--- a/calendar/sunbird/app/module.ver
+++ /dev/null
@@ -1,8 +0,0 @@
-WIN32_MODULE_COMPANYNAME=Mozilla
-WIN32_MODULE_COPYRIGHT=©Sunbird and Mozilla Developers, according to the MPL 1.1/GPL 2.0/LGPL 2.1 licenses, as applicable.
-WIN32_MODULE_PRODUCTVERSION=@MOZ_APP_WINVERSION@
-WIN32_MODULE_PRODUCTVERSION_STRING=@MOZ_APP_VERSION@
-WIN32_MODULE_TRADEMARKS=Sunbird is a trademark of the Mozilla Foundation.
-WIN32_MODULE_DESCRIPTION=@MOZ_APP_DISPLAYNAME@
-WIN32_MODULE_PRODUCTNAME=@MOZ_APP_DISPLAYNAME@
-WIN32_MODULE_NAME=@MOZ_APP_DISPLAYNAME@
deleted file mode 100644
--- a/calendar/sunbird/app/moz.build
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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 += ['profile/extensions']
-
-if not CONFIG['LIBXUL_SDK']:
-    if CONFIG['OS_ARCH'] == "OS2" or CONFIG['OS_ARCH'] == "WINNT":
-        PROGRAM = CONFIG['MOZ_APP_NAME']
-    else
-        PROGRAM = CONFIG['MOZ_APP_NAME'] + '-bin'
deleted file mode 100644
--- a/calendar/sunbird/app/nsCalendarApp.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-/* -*- Mode: C++; 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/. */
-
-#include "nsXULAppAPI.h"
-#ifdef XP_WIN
-#include <windows.h>
-#include <stdlib.h>
-#endif
-
-#include <stdio.h>
-#include <stdarg.h>
-
-#include "nsCOMPtr.h"
-#include "nsIFile.h"
-#include "nsStringGlue.h"
-
-#ifdef XP_WIN
-#include "nsWindowsWMain.cpp"
-#endif
-
-static void Output(const char *fmt, ... )
-{
-  va_list ap;
-  va_start(ap, fmt);
-
-#if defined(XP_WIN) && !MOZ_WINCONSOLE
-  PRUnichar msg[2048];
-  _vsnwprintf(msg, sizeof(msg)/sizeof(msg[0]), NS_ConvertUTF8toUTF16(fmt).get(), ap);
-  MessageBoxW(NULL, msg, L"XULRunner", MB_OK | MB_ICONERROR);
-#else
-  vfprintf(stderr, fmt, ap);
-#endif
-
-  va_end(ap);
-}
-
-int main(int argc, char* argv[])
-{
-  nsCOMPtr<nsIFile> appini;
-  nsresult rv = XRE_GetBinaryPath(argv[0], getter_AddRefs(appini));
-  if (NS_FAILED(rv)) {
-    Output("Couldn't calculate the application directory.");
-    return 255;
-  }
-  appini->SetNativeLeafName(NS_LITERAL_CSTRING("application.ini"));
-
-  nsXREAppData *appData;
-  rv = XRE_CreateAppData(appini, &appData);
-  if (NS_FAILED(rv)) {
-    Output("Couldn't read application.ini");
-    return 255;
-  }
-
-  int result = XRE_main(argc, argv, appData, 0);
-  XRE_FreeAppData(appData);
-  return result;
-}
deleted file mode 100644
--- a/calendar/sunbird/app/profile/channel-prefs.js
+++ /dev/null
@@ -1,6 +0,0 @@
-#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/. */
-
-pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@");
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/Extensions.rdf
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0"?>
-<!-- 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/. -->
-
-
-<RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
-     xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-
-  <Seq about="urn:mozilla:extension:root"/>
-  <Seq about="urn:mozilla:theme:root"/>
-
-</RDF>
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/installed-extensions.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-theme,{972ce4c6-7e08-4474-a285-3208198ce6fd}
-extension,{e2fda1a4-762b-4020-b5ad-a41df1933103}
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/moz.build
+++ /dev/null
@@ -1,10 +0,0 @@
-# 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 += [
-    '{972ce4c6-7e08-4474-a285-3208198ce6fd}',
-    '{e2fda1a4-762b-4020-b5ad-a41df1933103}',
-]
-
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/Makefile.in
+++ /dev/null
@@ -1,33 +0,0 @@
-# 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/.
-
-DEPTH		= @DEPTH@
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-include $(topsrcdir)/config/rules.mk
-
-DEFINES += -DSUNBIRD_VERSION=$(SUNBIRD_VERSION)
-
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-THEME = osx
-else
-THEME = windows
-endif
-
-FILES := \
-	install.rdf \
-	$(srcdir)/chrome.manifest \
-	$(srcdir)/../../../../base/themes/$(THEME)/preview.png \
-	$(srcdir)/../../../../base/themes/$(THEME)/icon.png \
-	$(NULL)
-
-libs::
-	$(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/install.rdf.in > install.rdf
-	$(INSTALL) $(FILES) $(DIST)/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
- 
-install::
-	$(SYSINSTALL) $(IFLAGS1) $(FILES) $(DESTDIR)$(mozappdir)/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
deleted file mode 100644
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-<!-- 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/. -->
-
-
-#filter substitution
-
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-     xmlns:em="http://www.mozilla.org/2004/em-rdf#">
-
-  <Description about="urn:mozilla:install-manifest">
-    <em:id>{972ce4c6-7e08-4474-a285-3208198ce6fd}</em:id>
-    <em:version>2.0</em:version>
-
-    <!-- Target Application this theme can install into, 
-        with minimum and maximum supported versions. --> 
-    <em:targetApplication>
-      <Description>
-        <em:id>{718e30fb-e89b-41dd-9da7-e25a45638b28}</em:id>
-        <em:minVersion>@SUNBIRD_VERSION@</em:minVersion>
-        <em:maxVersion>@SUNBIRD_VERSION@</em:maxVersion>
-      </Description>
-    </em:targetApplication>
-
-    <!-- Front End MetaData -->
-    <em:name>Sunbird (default)</em:name>
-    <em:description>The default theme</em:description>
-
-    <!-- EXTENSION AUTHORS!
-         DO NOT COPY THIS PROPERTY INTO YOUR INSTALL RDF FILES
-         It will cause users not to be informed of incompatibilities 
-         with your extension when they are updated with Software Update
-         and your extension will become unavailable to them!
-         -->
-    <em:appManaged>true</em:appManaged>
-
-    <em:locked>true</em:locked>
-
-    <!-- Front End Integration Hooks (used by Theme Manager)-->
-    <!-- XXXben - preprocess this file to use different info for mac version -->
-    <em:creator>Carson, Gerich, Willis, et al</em:creator>
-    <em:contributor>Mozilla Contributors</em:contributor>
-
-    <em:internalName>classic/1.0</em:internalName>
-  </Description>
-
-</RDF>
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/moz.build
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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/.
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/Makefile.in
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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/.
-
-DEPTH		= @DEPTH@
-topsrcdir	= @top_srcdir@
-srcdir		= @srcdir@
-VPATH		= @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-include $(topsrcdir)/config/rules.mk
-
-DEFINES += -DSUNBIRD_VERSION=$(SUNBIRD_VERSION)
-
-FILES := \
-	install.rdf \
-	$(srcdir)/chrome.manifest \
-	$(NULL)
-
-libs::
-	$(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/install.rdf.in > install.rdf
-	$(INSTALL) $(FILES) $(DIST)/bin/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
- 
-install::
-	$(SYSINSTALL) $(IFLAGS1) $(FILES) $(DESTDIR)$(mozappdir)/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
deleted file mode 100644
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf.in
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0"?>
-<!-- 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/. -->
-
-#filter substitution
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-     xmlns:em="http://www.mozilla.org/2004/em-rdf#">
-
-  <Description about="urn:mozilla:install-manifest">
-    <!-- Target Application this extension can install into, 
-        with minimum and maximum supported versions. --> 
-    <em:targetApplication>
-      <Description>
-        <!-- Sunbird -->
-        <em:id>{718e30fb-e89b-41dd-9da7-e25a45638b28}</em:id>
-        <em:minVersion>@SUNBIRD_VERSION@</em:minVersion>
-        <em:maxVersion>@SUNBIRD_VERSION@</em:maxVersion>
-      </Description>
-    </em:targetApplication>
-
-    <em:id>{e2fda1a4-762b-4020-b5ad-a41df1933103}</em:id>
-    <em:name>Lightning stub extension for Sunbird</em:name>
-    <em:version>@SUNBIRD_VERSION@</em:version>
-    <em:description>Allows usage of &#60;em:require&#62; tags in Sunbird/Lightning extensions.</em:description>
-    <em:creator>Mozilla Calendar Project</em:creator>
-    <em:homepageURL>http://www.mozilla.org/projects/calendar/releases/sunbird@SUNBIRD_VERSION@.html</em:homepageURL>
-    <em:iconURL>chrome://calendar/skin/cal-icon32.png</em:iconURL>
-    <em:hidden>true</em:hidden>
-    <em:locked>true</em:locked>
-    <em:appManaged>true</em:appManaged>
-  </Description>
-</RDF>
deleted file mode 100644
--- a/calendar/sunbird/app/profile/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/moz.build
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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/.
deleted file mode 100644
--- a/calendar/sunbird/app/profile/mimeTypes.rdf
+++ /dev/null
@@ -1,93 +0,0 @@
-<?xml version="1.0"?>  
-<!-- 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/. -->
-
-
-<!--
- This file is used as a persistent data store for helper application
- information about both MIME type and protocol scheme helpers.
-
- The root of the data are the two containers
- <RDF:Seq about="urn:mimetypes:root"/> and <RDF:Seq about="urn:schemes:root"/>.
-
- These contain one <RDF:li/> entry per MIME type/protocol.  Each <RDF:li/> entry
- corresponds to a "urn:<class>:<type>" resource, where <class> is either
- "mimetype" or "scheme" and <type> is either a MIME type in "major/minor" format
- or a scheme.  For example, for HTML we would have "urn:mimetype:text/html",
- while for mailto: we would have "urn:scheme:mailto".
-
- Typically, this resource will be in the <RDF:Description/> node which has the
- corresponding "about" attribute.
-
- Each "urn:<class>:<type>" resource can have the following properties:
-
-   NC:Value - the MIME type or scheme string
-   NC:editable - a "true" or "false" depending on whether this entry is
-                 editable
-   NC:description - a description of the type ("HTML Document" for text/html)
-   NC:fileExtensions - for MIME types, there will be one of these properties
-                       per extension that corresponds to this MIME type,
-                       each one having a single extension as its value.
-   NC:handlerProp - the way the type should be handled.  This corresponds to a
-                    "urn:<class>:handler:<type>" resource.  Eg, the way HTML is
-                    handled would be stored in the
-                    "urn:mimetype:handler:text/html" resource.
-
- Each "urn:<class>:handler:<type>" resource can have the following properties:
-
-   NC:useSystemDefault - "true" if we should handle per default OS setting,
-                          "false" or not set otherwise
-   NC:saveToDisk - "true" if the data should be saved to disk, "false" or not
-                   set otherwise.
-     (Note - if both of these are false, that means "open in helper app")
-   NC:alwaysAsk - "true" if the user should always be prompted before handling
-                  data of this type, false otherwise.
-   NC:externalApplication - the preferred helper application to use for this
-                            type.  This corresponds to a
-                            "urn:<class>:externalApplication:<type>" resource.
-   NC:possibleApplication - a helper application that can be used for this type.
-                            Since there can be multiple possible applications,
-                            there can be multiple assertions in the graph with
-                            this property for a given handler resource.
-
- Each "urn:<class>:externalApplication:<type>" resource, and each resource
- that represents a possible application, can have the following property:
-
-   NC:prettyName - the "pretty name" of the application ("Acrobat Reader" for
-                   /usr/bin/acroread, eg).
-
- If the resource represents a local application, then it can have the following
- property:
-
-   NC:path - the path to the application on the local filesystem, for example
-             /usr/bin/test or C:\windows\system32\cmd.exe.
-
- If the resource represents a web application, then it can have the following
- property:
-
-   NC:uriTemplate - a URI pointing to the web application to which the type
-                    should be handed off, with %s in the template representing
-                    the place where the content should be inserted. For example,
-                    here is a URI template for a service that lets you email
-                    an address in a mailto: link:
-                      http://www.example.com/sendmail?link=%s
--->
-			
-<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-         xmlns:NC="http://home.netscape.com/NC-rdf#">
-
-  <RDF:Description about="urn:mimetypes"> 
-    <NC:MIME-types> 
-      <RDF:Seq about="urn:mimetypes:root">
-        <RDF:li resource="urn:mimetype:text/calendar"/>
-      </RDF:Seq>
-    </NC:MIME-types> 
-  </RDF:Description>
-  <RDF:Description about="urn:mimetype:text/calendar"
-                   NC:fileExtensions="ics"
-                   NC:description="iCalendar data file"
-                   NC:value="text/calendar"
-                   NC:editable="true">
-  </RDF:Description> 
-</RDF:RDF>
deleted file mode 100644
--- a/calendar/sunbird/app/profile/prefs.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/* 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/. */
-
-# Sunbird User Preferences
-
-/* Do not edit this file while Sunbird is running. If you do so, the changes
- * will be overwritten when the you quit Sunbird.
- *
- * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
- */
-pref("app.vendorURL", "http://www.mozilla.org/projects/%APP%/");
deleted file mode 100644
--- a/calendar/sunbird/app/profile/sunbird.js
+++ /dev/null
@@ -1,279 +0,0 @@
-/* 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/. */
-
-#filter substitution
-
-// Turns on basic calendar logging.
-pref("calendar.debug.log", false);
-// Turns on verbose calendar logging.
-pref("calendar.debug.log.verbose", false);
-
-// SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
-//  The first character after a period must be alphabetic.
-
-pref("calendar.alarms.show", true);
-pref("calendar.alarms.showmissed", true);
-pref("calendar.alarms.playsound", true);
-pref("calendar.alarms.soundURL", "chrome://calendar/content/sound.wav");
-pref("calendar.alarms.onforevents", 0); //XXX this should be a bool
-pref("calendar.alarms.onfortodos", 0); //XXX this should be a bool
-pref("calendar.alarms.eventalarmlen", 15);
-pref("calendar.alarms.todoalarmlen", 15);
-pref("calendar.alarms.eventalarmunit", "minutes");
-pref("calendar.alarms.todoalarmunit", "minutes");
-pref("calendar.alarms.defaultsnoozelength", 5);
-pref("calendar.alarms.indicator.show", true);
-pref("calendar.alarms.indicator.totaltime", 3600);
-pref("calendar.date.format", 0);
-pref("calendar.event.defaultlength", 60);
-// Do NOT set this.  If it is unset, we guess the timezone from the system
-//pref("calendar.timezone.local", "America/New_York);
-
-// Recent timezone list
-pref("calendar.timezone.recent", "[]");
-
-// start and end work hour for day and week views
-pref("calendar.view.daystarthour", 8);
-pref("calendar.view.dayendhour", 17);
-
-// number of visible hours for day and week views
-pref("calendar.view.visiblehours", 9);
-
-// If true, mouse scrolling via shift+wheel will be enabled
-pref("calendar.view.mousescroll", true);
-
-pref("calendar.weeks.inview", 4);
-pref("calendar.previousweeks.inview", 0);
-
-// Disable use of worker threads. Restart needed.
-pref("calendar.threading.disabled", false);
-
-// Enable support for multiple realms on one server with the payoff that you
-// will get multiple password dialogs (one for each calendar)
-pref("calendar.network.multirealm", false);
-
-// default transparency of allday items; could be switched to e.g. "OPAQUE":
-pref("calendar.allday.defaultTransparency", "TRANSPARENT");
-
-// whether "notify" is checked by default when creating new events/todos with attendees
-pref("calendar.itip.notify", true);
-
-// whether the organizer propagates replies of attendees
-pref("calendar.itip.notify-replies", false);
-
-// whether CalDAV (experimental) scheduling is enabled or not.
-pref("calendar.caldav.sched.enabled", false);
-
-// pref("startup.homepage_override_url","chrome://browser-region/locale/region.properties");
-pref("general.startup.calendar", true);
-
-pref("toolkit.defaultChromeURI","chrome://sunbird/content/calendar.xul");
-pref("browser.hiddenWindowChromeURL", "chrome://sunbird/content/hiddenWindow.xul");
-
-pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
-pref("xpinstall.dialog.progress", "chrome://mozapps/content/downloads/downloads.xul");
-pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul");
-pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul");
-pref("xpinstall.dialog.progress.type.skin", "Extension:Manager");
-pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager");
-pref("xpinstall.whitelist.add", "update.mozilla.org");
-pref("xpinstall.whitelist.add.103", "addons.mozilla.org");
-
-// App-specific update preferences
-
-// Whether or not app updates are enabled
-pref("app.update.enabled", true);
-
-// This preference turns on app.update.mode and allows automatic download and
-// install to take place. We use a separate boolean toggle for this to make
-// the UI easier to construct.
-pref("app.update.auto", true);
-
-// Defines how the Application Update Service notifies the user about updates:
-//
-// AUS Set to:  Minor Releases:     Major Releases:
-// 0            download no prompt  download no prompt
-// 1            download no prompt  download no prompt if no incompatibilities
-// 2            download no prompt  prompt
-//
-// See chart in nsUpdateService.js.in for more details
-//
-pref("app.update.mode", 1);
-
-// If set to true, the Update Service will present no UI for any event.
-pref("app.update.silent", false);
-
-// Update service URLs:
-pref("app.update.url", "https://aus2-community.mozilla.org/update/2/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/update.xml");
-// URL user can browse to manually if for some reason all update installation
-// attempts fail.
-pref("app.update.url.manual", "http://www.mozilla.org/projects/calendar/sunbird/");
-// 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://www.mozilla.org/projects/calendar/sunbird/");
-
-// User-settable override to app.update.url for testing purposes.
-//pref("app.update.url.override", "");
-
-// Interval: Time between checks for a new version (in seconds)
-//           default=1 day
-pref("app.update.interval", 86400);
-// Interval: Time before prompting the user again to restart to install the
-//           latest download (in seconds) default=1 day
-pref("app.update.nagTimer.restart", 86400);
-// Interval: When all registered timers should be checked (in milliseconds)
-//           default=10 minutes
-pref("app.update.timer", 600000);
-// Give the user x seconds to react before showing the big UI. default=12 hrs
-pref("app.update.promptWaitTime", 43200);
-// Show the Update Checking/Ready UI when the user was idle for x seconds
-pref("app.update.idletime", 60);
-
-// Whether or not we show a dialog box informing the user that the update was
-// successfully applied.
-pref("app.update.showInstalledUI", true);
-
-// 0 = suppress prompting for incompatibilities if there are updates available
-//     to newer versions of installed addons that resolve them.
-// 1 = suppress prompting for incompatibilities only if there are VersionInfo
-//     updates available to installed addons that resolve them, not newer
-//     versions.
-pref("app.update.incompatible.mode", 0);
-
-// Symmetric (can be overridden by individual extensions) update preferences.
-// e.g.
-//  extensions.{GUID}.update.enabled
-//  extensions.{GUID}.update.url
-//  extensions.{GUID}.update.interval
-//  .. etc ..
-//
-pref("extensions.update.enabled", true);
-pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%");
-pref("extensions.update.interval", 86400);
-
-// Non-symmetric (not shared by extensions) extension-specific [update] preferences
-pref("extensions.getMoreExtensionsURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/extensions/");
-pref("extensions.getMoreThemesURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/themes/");
-pref("extensions.getMorePluginsURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/%VERSION%/plugins/");
-pref("extensions.dss.enabled", false);          // Dynamic Skin Switching                                               
-pref("extensions.dss.switchPending", false);    // Non-dynamic switch pending after next
-                                                // restart.
-
-// Developers can set this to |true| if they are constantly changing files in their 
-// extensions directory so that the extension system does not constantly think that
-// their extensions are being updated and thus reregistered every time the app is
-// started.
-pref("extensions.ignoreMTimeChanges", false);
-
-// Enables some extra Extension System Logging (can reduce performance)
-pref("extensions.logging.enabled", false);
-
-// Preferences for the Get Add-ons pane
-pref("extensions.getAddons.showPane", true);
-pref("extensions.getAddons.browseAddons", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%");
-pref("extensions.getAddons.maxResults", 5);
-pref("extensions.getAddons.recommended.browseURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/recommended");
-pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/featured/all/10/%OS%/%VERSION%");
-pref("extensions.getAddons.search.browseURL", "https://%LOCALE%.add-ons.mozilla.com/%LOCALE%/%APP%/search?q=%TERMS%");
-pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%");
-pref("extensions.getAddons.cache.enabled", true);
-
-// Extension blocklist preferences
-pref("extensions.blocklist.enabled", true);
-pref("extensions.blocklist.interval", 86400);
-pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/2/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
-pref("extensions.blocklist.detailsURL", "http://%LOCALE%.www.mozilla.com/%LOCALE%/blocklist/");
-
-pref("general.useragent.locale", "@AB_CD@");
-pref("general.skins.selectedSkin", "classic/1.0");
-pref("calendar.useragent.extra", "@APP_UA_NAME@/@APP_VERSION@");
-
-// Scripts & Windows prefs
-pref("dom.disable_open_during_load",        true);
-pref("javascript.options.showInConsole",    true);
-
-// l12n and i18n
-pref("intl.accept_languages", "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.more1",  "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.more2",  "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.more3",  "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.more4",  "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.more5",  "chrome://global/locale/intl.properties");
-pref("intl.charsetmenu.browser.unicode",  "chrome://global/locale/intl.properties");
-pref("intl.charset.detector", "chrome://global/locale/intl.properties");
-pref("intl.charset.default",  "chrome://global-platform/locale/intl.properties");
-pref("font.language.group", "chrome://global/locale/intl.properties");
-pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
-pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
-
-// 0=lines, 1=pages, 2=history , 3=text size
-pref("mousewheel.withcontrolkey.action", 3);
-pref("mousewheel.withshiftkey.action", 0);
-pref("mousewheel.withaltkey.action", 0);
-pref("mousewheel.withnokey.action", 0);
-
-pref("profile.allow_automigration", false);   // setting to false bypasses automigration in the profile code
-
-// pref to control the alert notification 
-pref("alerts.slideIncrement", 1);
-pref("alerts.slideIncrementTime", 10);
-pref("alerts.totalOpenTime", 4000);
-
-pref("signon.rememberSignons",              true);
-pref("signon.SignonFileName",               "signons.txt");
-pref("signon.SignonFileName2",              "signons2.txt");
-pref("signon.SignonFileName3",              "signons3.txt");
-
-// We want to make sure mail URLs are handled externally...
-pref("network.protocol-handler.external.mailto", true); // for mail
-pref("network.protocol-handler.external.news", true);   // for news
-pref("network.protocol-handler.external.snews", true);  // for secure news
-pref("network.protocol-handler.external.nntp", true);   // also news
-// ...without warning dialogs
-pref("network.protocol-handler.warn-external.http", false);
-pref("network.protocol-handler.warn-external.https", false);
-pref("network.protocol-handler.warn-external.ftp", false);
-pref("network.protocol-handler.warn-external.mailto", false);
-pref("network.protocol-handler.warn-external.news", false);
-pref("network.protocol-handler.warn-external.snews", false);
-pref("network.protocol-handler.warn-external.nntp", false);
-
-pref("network.protocol-handler.expose-all", false);
-pref("network.protocol-handler.expose.webcal", true);
-
-pref("offline.autoDetect", true);
-
-// Default security warning dialogs to show once.
-pref("security.warn_entering_secure.show_once", true);
-pref("security.warn_entering_weak.show_once", true);
-pref("security.warn_leaving_secure.show_once", true);
-pref("security.warn_viewing_mixed.show_once", true);
-pref("security.warn_submit_insecure.show_once", true);
-
-// Preference viewer
-#ifdef XP_WIN
-pref("browser.preferences.instantApply", false);
-#else
-pref("browser.preferences.instantApply", true);
-#endif
-#ifdef XP_MACOSX
-pref("browser.preferences.animateFadeIn", true);
-#else
-pref("browser.preferences.animateFadeIn", false);
-#endif
-
-// Used by view-source
-pref("accessibility.typeaheadfind.flashBar", 1);
-pref("view_source.editor.path", "");
-pref("view_source.editor.external", false);
-pref("view_source.syntax_highlight", true);
-pref("view_source.wrap_long_lines", false);
-
-// The breakpad report server to link to in about:crashes
-pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
-
-// The Necko Disk Cache. Disable the cache until Sunbird makes correct use of it
-// and offers UI preferences to control it.
-pref("browser.cache.disk.enable", false);
deleted file mode 100644
--- a/calendar/sunbird/app/splash.rc
+++ /dev/null
@@ -1,55 +0,0 @@
-/* -*- Mode: C++; 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/. */
-#include <windows.h>
-#include "nsNativeAppSupportWin.h"
-
-1 24 "sunbird.exe.manifest"
-
-/* SUNBIRD_ICO is defined in ./Makefile for generic vs. official branding */
-IDI_APPICON ICON SUNBIRD_ICO
-IDI_APPLICATION ICON SUNBIRD_ICO
-
-STRINGTABLE DISCARDABLE
-BEGIN
-#ifdef DEBUG
-    IDS_STARTMENU_APPNAME,              "@MOZ_APP_DISPLAYNAME@ Debug"
-#else
-    IDS_STARTMENU_APPNAME,              "@MOZ_APP_DISPLAYNAME@"
-#endif
-END
-
-#ifdef MOZ_STATIC_BUILD
-
-// XXX This code is copied from resource.h and widget.rc.  It's a work-around
-// for the limitation that only one resource file can be used in an .exe.  We
-// should develop a method, for static builds only, to combine multiple .rc
-// files into a single .rc file, and then use that to build the single .res
-// file for the .exe.
-
-#define IDC_GRAB                        4101
-#define IDC_GRABBING                    4102
-#define IDC_CELL                        4103
-#define IDC_COPY                        4104
-#define IDC_ALIAS                       4105
-#define IDC_ZOOMIN                      4106
-#define IDC_ZOOMOUT                     4107
-#define IDC_COLRESIZE                   4108
-#define IDC_ROWRESIZE                   4109
-#define IDC_VERTICALTEXT                4110
-#define IDC_NONE                        4112
-
-IDC_GRAB                CURSOR  DISCARDABLE     "../../widget/src/build/res/grab.cur"
-IDC_GRABBING            CURSOR  DISCARDABLE     "../../widget/src/build/res/grabbing.cur"
-IDC_CELL                CURSOR  DISCARDABLE     "../../widget/src/build/res/cell.cur"
-IDC_COPY                CURSOR  DISCARDABLE     "../../widget/src/build/res/copy.cur"
-IDC_ALIAS               CURSOR  DISCARDABLE     "../../widget/src/build/res/aliasb.cur"
-IDC_ZOOMIN              CURSOR  DISCARDABLE     "../../widget/src/build/res/zoom_in.cur"
-IDC_ZOOMOUT             CURSOR  DISCARDABLE     "../../widget/src/build/res/zoom_out.cur"
-IDC_COLRESIZE           CURSOR  DISCARDABLE     "../../widget/src/build/res/col_resize.cur"
-IDC_ROWRESIZE           CURSOR  DISCARDABLE     "../../widget/src/build/res/row_resize.cur"
-IDC_VERTICALTEXT        CURSOR  DISCARDABLE     "../../widget/src/build/res/vertical_text.cur"
-IDC_NONE                CURSOR  DISCARDABLE     "../../widget/src/build/res/none.cur"
-
-#endif
deleted file mode 100644
--- a/calendar/sunbird/app/splashos2.rc
+++ /dev/null
@@ -1,44 +0,0 @@
-/* -*- Mode: C++; 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/. */
-#include <os2.h>
-
-// Splash screen dialog ID.
-#define IDD_SPLASH  100
-
-// Splash screen bitmap ID.
-#define IDB_SPLASH  101
-
-ICON 1 SUNBIRD_ICO
-
-DLGTEMPLATE IDD_SPLASH DISCARDABLE 
-BEGIN
-    DIALOG "", IDD_SPLASH, 0, 0, 390, 261, , FCF_BORDER
-    BEGIN
-    END
-END
-
-//BITMAP IDB_SPLASH "splash.bmp"
-
-#ifdef MOZ_STATIC_BUILD
-#include "wdgtos2rc.h"
-
-POINTER IDC_SELECTANCHOR   "..\\..\\..\\widget\\src\\os2\\res\\\select.ptr"
-POINTER IDC_GRAB           "..\\..\\..\\widget\\src\\os2\\res\\grab.ptr"
-POINTER IDC_GRABBING       "..\\..\\..\\widget\\src\\os2\\res\\grabbing.ptr"
-POINTER IDC_CELL           "..\\..\\..\\widget\\src\\os2\\res\\cell.ptr"
-POINTER IDC_COPY           "..\\..\\..\\widget\\src\\os2\\res\\copy.ptr"
-POINTER IDC_ALIAS          "..\\..\\..\\widget\\src\\os2\\res\\aliasb.ptr"
-POINTER IDC_ZOOMIN         "..\\..\\..\\widget\\src\\os2\\res\\zoom_in.ptr"
-POINTER IDC_ZOOMOUT        "..\\..\\..\\widget\\src\\os2\\res\\zoom_out.ptr"
-
-POINTER IDC_ARROWWAIT      "..\\..\\..\\widget\\src\\os2\\res\\arrow_wait.ptr"
-POINTER IDC_CROSS          "..\\..\\..\\widget\\src\\os2\\res\\crosshair.ptr"
-POINTER IDC_HELP           "..\\..\\..\\widget\\src\\os2\\res\\help.ptr"
-POINTER IDC_NONE           "..\\..\\..\\widget\\src\\os2\\res\\none.ptr"
-
-ICON    IDC_DNDURL         "..\\..\\..\\widget\\src\\os2\\res\\dndurl.ico"
-ICON    IDC_DNDTEXT        "..\\..\\..\\widget\\src\\os2\\res\\dndtext.ico"
-#endif
deleted file mode 100644
--- a/calendar/sunbird/app/sunbird.exe.manifest
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
-<assemblyIdentity
-        version="1.0.0.0"
-        processorArchitecture="*"
-        name="Sunbird"
-        type="win32"
-/>
-<description>Sunbird</description>
-<dependency>
-        <dependentAssembly>
-                <assemblyIdentity
-                        type="win32"
-                        name="Microsoft.Windows.Common-Controls"
-                        version="6.0.0.0"
-                        processorArchitecture="*"
-                        publicKeyToken="6595b64144ccf1df"
-                        language="*"
-                />
-        </dependentAssembly>
-</dependency>
-<ms_asmv3:trustInfo xmlns:ms_asmv3="urn:schemas-microsoft-com:asm.v3">
-  <ms_asmv3:security>
-    <ms_asmv3:requestedPrivileges>
-      <ms_asmv3:requestedExecutionLevel level="asInvoker" uiAccess="false" />
-    </ms_asmv3:requestedPrivileges>
-  </ms_asmv3:security>
-</ms_asmv3:trustInfo>
-  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
-    <application>
-      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
-    </application>
-  </compatibility>
-</assembly>
deleted file mode 100644
--- a/calendar/sunbird/base/Makefile.in
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# 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/.
-
-DEPTH   = @DEPTH@
-topsrcdir = @top_srcdir@
-srcdir    = @srcdir@
-VPATH   = @srcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-APP_VERSION = $(shell cat $(srcdir)/../config/version.txt)
-
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-THEME = osx
-else
-THEME = windows
-endif
-
-DEFINES += \
-    -DAPP_VERSION="$(APP_VERSION)" \
-    -DTHEME=$(THEME) \
-    $(NULL)
-
-ifdef MOZ_UPDATER
-DEFINES += -DMOZ_UPDATER=1
-endif
-
-include $(topsrcdir)/config/rules.mk
deleted file mode 100644
--- a/calendar/sunbird/base/content/aboutDialog.css
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- * -*- Mode: Java; tab-width: 20; 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/.
- */
-
- #aboutDialog {
-   padding: 0px 0px 10px;
- }
-
- #clientBox {
-   background-color: #FFFFFF;
-   background-image: url("chrome://branding/content/about.png");
-   background-repeat: no-repeat;
-   padding-top: 203px;
-   color: #000000;
- }
-
- #version {
-   font-weight: bold;
-   color: #909090;
-   margin-top: 1em;
-   margin-bottom: 10px;
-   -moz-margin-start: 17px;
-   -moz-margin-end: 0;
- }
-
- #copyright {
-   color: #000000;
-   margin: 0px 16px 3px;
-   text-align: justify;
- }
-
- #detailsBox {
-   padding-top: 8px;
-   padding-bottom: 10px;
-   -moz-padding-start: 8px;
-   -moz-padding-end: 10px;
- }
-
- #userAgent {
-   margin-top: 3px;
-   margin-bottom: 3px;
-   -moz-margin-start: 5px;
-   -moz-margin-end: 10px;
-   background-color: #FFFFFF;
-   color: #000000;
-   padding-top: 1px;
-   padding-bottom: 1px;
-   -moz-padding-start: 3px;
-   -moz-padding-end: 0;
-   -moz-appearance: none;
-   overflow: hidden;
-%ifdef XP_MACOSX
-   height: 3.8em;
-%else
-   height: 2.4em;
-%endif
-   border: none;
- }
-
- #creditsBox {
- }
-
- #creditsIframe {
-   cursor: default;
-   -moz-user-select: none;
- }
-
- #groove {
-   margin-top: 0px;
- }
-
- button[dlgtype="extra2"] {
-   -moz-margin-start: 13px;
- }
-
- button[dlgtype="accept"] {
-   -moz-margin-end: 13px;
- }
-
deleted file mode 100644
--- a/calendar/sunbird/base/content/aboutDialog.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: Java; tab-width: 20; 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/. */
-
-var gSelectedPage = 0;
-
-function init(aEvent) 
-{
-  if (aEvent.target != document)
-    return;
-  var userAgentField = document.getElementById("userAgent");
-  userAgentField.value = navigator.userAgent;
-
-  var button = document.documentElement.getButton("extra2");
-  button.setAttribute("label", document.documentElement.getAttribute("creditslabel"));
-  button.setAttribute("accesskey", document.documentElement.getAttribute("creditsaccesskey"));
-  button.addEventListener("command", switchPage, false);
-
-  document.documentElement.getButton("accept").focus();
-}
-
-function uninit(aEvent)
-{
-  if (aEvent.target != document)
-    return;
-  var iframe = document.getElementById("creditsIframe");
-  iframe.setAttribute("src", "");
-}
-
-function switchPage(aEvent)
-{
-  var button = aEvent.target;
-  if (button.localName != "button")
-    return;
-
-  var iframe = document.getElementById("creditsIframe");
-  if (gSelectedPage == 0) { 
-    iframe.setAttribute("src", "chrome://sunbird/content/credits.xhtml");
-    button.setAttribute("label", document.documentElement.getAttribute("aboutlabel"));
-    button.setAttribute("accesskey", document.documentElement.getAttribute("aboutaccesskey"));
-    gSelectedPage = 1;
-  }
-  else {
-    iframe.setAttribute("src", ""); 
-    button.setAttribute("label", document.documentElement.getAttribute("creditslabel"));
-    button.setAttribute("accesskey", document.documentElement.getAttribute("creditsaccesskey"));
-    gSelectedPage = 0;
-  }
-  var modes = document.getElementById("modes");
-  modes.setAttribute("selectedIndex", gSelectedPage);
-}
-
deleted file mode 100644
--- a/calendar/sunbird/base/content/aboutDialog.xul
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0"?>
-<!--
-# -*- Mode: Java; tab-width: 20; 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/.
--->
-
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-<?xml-stylesheet href="chrome://sunbird/content/aboutDialog.css" type="text/css"?>
-
-<!DOCTYPE window [
-<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
-%brandDTD;
-<!ENTITY % aboutDialogDTD SYSTEM "chrome://sunbird/locale/aboutDialog.dtd" >
-%aboutDialogDTD;
-]>
-
-<dialog xmlns:html="http://www.w3.org/1999/xhtml"
-        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        id="aboutDialog"
-        windowtype="Calendar:AboutDialog"
-        onload="init(event);" onunload="uninit(event);"
-#ifdef XP_MACOSX
-        buttons="extra2"
-        align="end"
-#else
-        title="&aboutDialog.title;"
-        buttons="accept,extra2"
-#endif
-        creditslabel="&copyright.label;"
-        creditsaccesskey="&copyright.accesskey;"
-        aboutlabel="&aboutLink.label;"
-        aboutaccesskey="&aboutLink.accesskey;"
-        style="width: 299px;height: 435px;">
-
-  <script type="application/javascript" src="chrome://sunbird/content/aboutDialog.js"/>
-
-  <deck id="modes" flex="1">
-    <vbox flex="1" id="clientBox">
-#expand <label id="version" value="&aboutVersion; __APP_VERSION__"/>
-      <description id="copyright">&copyrightText;</description>
-      <vbox id="detailsBox" align="center" flex="1">
-        <spacer flex="1"/>
-        <textbox flex="1" id="userAgent" multiline="true" readonly="true" cols="60"/>
-      </vbox>
-    </vbox>
-    <vbox flex="1" id="creditsBox">
-      <html:iframe style="border: 0px;" id="creditsIframe" 
-                   src="chrome://sunbird/content/credits.xhtml" flex="1"/>
-    </vbox>
-  </deck>
-  <separator class="groove" id="groove"/>
-
-# manually add Cmd+W until we add a menubar on mac
-#ifdef XP_MACOSX
-  <keyset id="mainKeyset">
-    <key id="keyClose"
-         modifiers="accel"
-         key="&cmdClose.macKey;"
-         oncommand="window.close();"/>
-  </keyset>
-#endif
-</dialog>
deleted file mode 100644
--- a/calendar/sunbird/base/content/applicationUtil.js
+++ /dev/null
@@ -1,198 +0,0 @@
-/* -*- Mode: javascript; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
- * 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/. */
-
-Components.utils.import("resource://gre/modules/Services.jsm");
-
-const nsIWindowMediator = Components.interfaces.nsIWindowMediator;
-
-function toOpenWindowByType(inType, uri)
-{
-    var windowManager = Services.wm.getService();
-    var windowManagerInterface = windowManager.QueryInterface(nsIWindowMediator);
-    var topWindow = windowManagerInterface.getMostRecentWindow(inType);
-
-    if (topWindow)
-        topWindow.focus();
-    else
-        window.open(uri, "_blank", "chrome,extrachrome,menubar,resizable,scrollbars,status,toolbar");
-}
-
-function toJavaScriptConsole()
-{
-    toOpenWindowByType("global:console", "chrome://global/content/console.xul");
-}
-
-function goToggleToolbar(id, elementID)
-{
-    var toolbar = document.getElementById(id);
-    var element = document.getElementById(elementID);
-    if (toolbar) {
-        var isHidden = toolbar.hidden;
-        toolbar.hidden = !isHidden;
-        document.persist(id, 'hidden');
-        if (element) {
-            element.setAttribute("checked", isHidden ? "true" : "false");
-            document.persist(elementID, 'checked');
-        }
-    }
-}
-
-
-function goOpenAddons()
-{
-    const EMTYPE = "Extension:Manager";
-    var theEM = Services.wm.getMostRecentWindow(EMTYPE);
-    if (theEM) {
-        theEM.focus();
-        return;
-    }
-
-    const EMURL = "chrome://mozapps/content/extensions/extensions.xul";
-    const EMFEATURES = "chrome,menubar,extra-chrome,toolbar,dialog=no,resizable";
-    window.openDialog(EMURL, "", EMFEATURES);
-}
-
-/**
- * We recreate the View > Toolbars menu each time it is opened to include any
- * user-created toolbars.
- */
-function sbOnViewToolbarsPopupShowing(aEvent)
-{
-    var popup = aEvent.target;
-    var i;
-
-    // Empty the menu
-    for (i = popup.childNodes.length-1; i >= 0; i--) {
-        var deadItem = popup.childNodes[i];
-        if (deadItem.hasAttribute("toolbarindex")) {
-            deadItem.removeEventListener("command", sbOnViewToolbarCommand, false);
-            popup.removeChild(deadItem);
-        }
-    }
-
-    var firstMenuItem = popup.firstChild;
-
-    var toolbox = document.getElementById("calendar-toolbox");
-    for (i = 0; i < toolbox.childNodes.length; i++) {
-        var toolbar = toolbox.childNodes[i];
-        var toolbarName = toolbar.getAttribute("toolbarname");
-        var type = toolbar.getAttribute("type");
-        if (toolbarName && type != "menubar") {
-            var menuItem = document.createElement("menuitem");
-            menuItem.setAttribute("toolbarindex", i);
-            menuItem.setAttribute("type", "checkbox");
-            menuItem.setAttribute("label", toolbarName);
-            menuItem.setAttribute("accesskey", toolbar.getAttribute("accesskey"));
-            menuItem.setAttribute("checked", toolbar.getAttribute("collapsed") != "true");
-            popup.insertBefore(menuItem, firstMenuItem);
-
-            menuItem.addEventListener("command", sbOnViewToolbarCommand, false);
-        }
-    }
-}
-
-/**
- * Toggles the visibility of the associated toolbar when fired.
- */
-function sbOnViewToolbarCommand(aEvent)
-{
-    var toolbox = document.getElementById("calendar-toolbox");
-    var index = aEvent.originalTarget.getAttribute("toolbarindex");
-    var toolbar = toolbox.childNodes[index];
-
-    toolbar.collapsed = (aEvent.originalTarget.getAttribute("checked") != "true");
-    document.persist(toolbar.id, "collapsed");
-}
-
-#ifdef MOZ_UPDATER
-/**
- * Checks for available updates using AUS
- */
-function sbCheckForUpdates()
-{
-    var um = Components.classes["@mozilla.org/updates/update-manager;1"]
-                       .getService(Components.interfaces.nsIUpdateManager);
-    var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"]
-                             .createInstance(Components.interfaces.nsIUpdatePrompt);
-
-    // If there's an update ready to be applied, show the "Update Downloaded"
-    // UI instead and let the user know they have to restart the application
-    // for the changes to be applied.
-    if (um.activeUpdate && um.activeUpdate.state == "pending") {
-        prompter.showUpdateDownloaded(um.activeUpdate);
-    } else {
-        prompter.checkForUpdates();
-    }
-}
-#endif
-
-/** 
- * Controls the update check menu item
- */
-function sbUpdateItem()
-{
-#ifdef MOZ_UPDATER
-    var updateService = Components.classes["@mozilla.org/updates/update-service;1"]
-                                  .getService(Components.interfaces.nsIApplicationUpdateService);
-    var updateManager = Components.classes["@mozilla.org/updates/update-manager;1"]
-                                  .getService(Components.interfaces.nsIUpdateManager);
-
-    // Disable the UI if the update enabled pref has been locked by the 
-    // administrator or if we cannot update for some other reason
-    var checkForUpdates = document.getElementById("checkForUpdates");
-    var canUpdate = updateService.canUpdate;
-    checkForUpdates.setAttribute("disabled", !canUpdate);
-    if (!canUpdate) {
-        return;
-    } 
-
-    var activeUpdate = updateManager.activeUpdate;
-
-    // By default, show "Check for Updates..."
-    var key = "default";
-    if (activeUpdate) {
-        switch (activeUpdate.state) {
-            case "downloading":
-                // If we're downloading an update at present, show the text:
-                // "Downloading Sunbird x.x..." otherwise we're paused, and show
-                // "Resume Downloading Sunbird x.x..."
-                key = updateService.isDownloading ? "downloading" : "resume";
-                break;
-            case "pending":
-                // If we're waiting for the user to restart, show: "Apply Downloaded
-                // Updates Now..."
-                key = "pending";
-                break;
-        }
-    }
-
-    // If there's an active update, substitute its name into the label
-    // we show for this item, otherwise display a generic label.
-    if (activeUpdate && activeUpdate.name) {
-        checkForUpdates.label = calGetString("calendar", "updatesItem_" + key, [activeUpdate.name]);
-    } else {
-        checkForUpdates.label = calGetString("calendar", "updatesItem_" + key + "Fallback");
-    }
-
-    if (updateManager.activeUpdate && updateService.isDownloading) {
-        checkForUpdates.setAttribute("loading", "true");
-    }
-    else {
-        checkForUpdates.removeAttribute("loading");
-    }
-#else
-#ifndef XP_MACOSX
-  // Some extensions may rely on these being present so only hide the updates
-  // separator when there are no elements besides the check for updates menuitem
-  // in between the about separator and the updates separator.
-  var updatesSeparator = document.getElementById("menu_HelpUpdatesSeparator");
-  var aboutSeparator = document.getElementById("menu_HelpAboutSeparator");
-  var checkForUpdates = document.getElementById("checkForUpdates");
-  if (updatesSeparator.nextSibling === checkForUpdates &&
-      checkForUpdates.nextSibling === aboutSeparator)
-    updatesSeparator.hidden = true;
-#endif
-#endif
-}
deleted file mode 100644
--- a/calendar/sunbird/base/content/calendar-doctype.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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/.
-
-<!-- DTD File with all strings specific to the calendar -->
-<!DOCTYPE window
-[
-  <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
-  <!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
-  <!ENTITY % sunbirdDTD SYSTEM "chrome://sunbird/locale/sunbird.dtd" > %sunbirdDTD;
-  <!ENTITY % calendarMenuOverlayDTD SYSTEM "chrome://calendar/locale/menuOverlay.dtd" > %calendarMenuOverlayDTD;
-  <!ENTITY % sunbirdMenuOverlayDTD SYSTEM "chrome://sunbird/locale/menuOverlay.dtd" > %sunbirdMenuOverlayDTD;
-  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > %brandDTD;
-  <!ENTITY % calendar-event-dialogDTD SYSTEM "chrome://calendar/locale/calendar-event-dialog.dtd">
-  %calendar-event-dialogDTD;
-]>
deleted file mode 100644
--- a/calendar/sunbird/base/content/calendar-gotodate-dialog.xul
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0"?>
-<!-- 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/. -->
-
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/content/datetimepickers/datetimepickers.css" type="text/css"?>
-
-<!DOCTYPE dialog SYSTEM "chrome://sunbird/locale/sunbird.dtd" >
-
-<!-- When opening calendar-gotodate-dialog.xul, you can supply an object argument
-     that contains following named keys:
-     * callback - function that should be called with datepicker value as argument
-                  when clicking OK button
-     * date (optional) - initially selected date in datepicker -->
-<dialog id="calendar-gotodate-dialog"
-        title="&sunbird.flat.topbar.choosedate;"
-        windowtype="Calendar:GoToDateDialog"
-        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        onload="document.getElementById('datepicker').value = window.arguments[0].date || new Date();"
-        buttons="accept,cancel"
-        ondialogaccept="window.arguments[0].callback(document.getElementById('datepicker').value);"
-        ondialogcancel="return true;">
-  <script type="application/javascript" src="chrome://calendar/content/calUtils.js"/>
-  <hbox align="center">
-    <label control="datepicker">&sunbird.flat.topbar.choosedate;</label>
-    <datepicker id="datepicker"/>
-  </hbox>
-</dialog>
deleted file mode 100644
--- a/calendar/sunbird/base/content/calendar-menubar.inc
+++ /dev/null
@@ -1,471 +0,0 @@
-# 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/.
-
-     <menubar id="main-menubar" style="border:0px;padding:0px;margin:0px;-moz-appearance:none">
-       <menu id="menu_File"
-             label="&fileMenu.label;"
-             accesskey="&fileMenu.accesskey;">
-         <menupopup id="menu_FilePopup">
-
-           <!-- create new event or task (top of 1st menu, for new users) -->
-           <menuitem id="calendar-new-event-menu"
-                     key="calendar-new-event-key"
-                     label="&event.new.event;"
-                     accesskey="&event.new.event.accesskey;"
-                     observes="calendar_new_event_command"/>
-           <menuitem id="calendar-new-todo-menu"
-                     key="calendar-new-todo-key"
-                     label="&event.new.task;"
-                     accesskey="&event.new.task.accesskey;"
-                     observes="calendar_new_todo_command"/>
-           <menuitem id="calendar-new-calendar-menu"
-                     key="new_calendar_key"
-                     label="&calendar.new.server.label;"
-                     accesskey="&calendar.new.server.accesskey;"
-                     observes="calendar_new_calendar_command"/>
-           <menuitem id="calendar-open-calendar-menu"
-                     key="open_calendar_key"
-                     label="&calendar.open.file.label;"
-                     accesskey="&calendar.open.file.accesskey;"
-                     observes="open_local_calendar_command"/>
-           <menuitem id="calendar-addserver-menu"
-                     label="&calendar.subscribe.label;"
-                     accesskey="&calendar.subscribe.accesskey;"
-                     observes="calendar_new_calendar_command"/>
-           <menuseparator id="calendar-new-sep"/>
-
-           <!-- import: pulling data into existing files -->
-           <menuitem id="calendar-import-menu"
-                     key="import_key"
-                     label="&calendar.import.label;"
-                     accesskey="&calendar.import.accesskey;"
-                     observes="calendar_import_command"/>
-           <!-- export: getting data out of existing files -->
-           <menuitem id="calendar-export-menu"
-                     label="&calendar.export.selection.label;"
-                     accesskey="&calendar.export.selection.accesskey;"
-                     observes="calendar_export_selection_command"/>
-           <menuitem id="calendar-export-calendar-menu"
-                     label="&sunbird.export.calendar.label;"
-                     accesskey="&sunbird.export.calendar.accesskey;"
-                     observes="calendar_export_command"/>
-           <menuseparator id="calendar-importexport-sep"/>
-           <menuitem id="calendar-publish-menu"
-                     label="&calendar.publish.selection.label;"
-                     accesskey="&calendar.publish.selection.accesskey;"
-                     observes="calendar_publish_selected_events_command"/>
-           <menuitem id="calendar-publish-calendar-menu"
-                     label="&calendar.publish.calendar.label;"
-                     accesskey="&calendar.publish.calendar.accesskey;"
-                     observes="calendar_publish_calendar_command"/>
-           <menuseparator id="calendar-publish-sep"/>
-
-           <menuitem id="calendar-synccalendars-menu"
-                     key="reload_server_key"
-                     label="&calendar.synccalendars.label;"
-                     accesskey="&calendar.synccalendars.accesskey;"
-                     observes="calendar_reload_remote_calendars"/>
-           <menuseparator id="calendar-reload-sep"/>
-
-           <menuitem id="calendar-page-setup-menu"
-                     label="&calendar.pagesetup.label;"
-                     accesskey="&calendar.pagesetup.accesskey;"
-                     observes="cmd_pageSetup"/>
-           <menuitem id="calendar-print-menu"
-                     key="print_key"
-                     label="&calendar.print.label;"
-                     accesskey="&calendar.print.accesskey;"
-                     observes="cmd_print"/>
-#ifdef XP_MACOSX
-           <menuitem id="menu_FileQuitItem"
-                     label="&calendar.quit.label.mac;"
-                     key="key_quitApplication"
-                     command="cmd_quitApplication"/>
-#else
-           <menuseparator id="calendar-print-sep"/>
-#ifdef XP_WIN
-           <menuitem id="calendar-quit-menu"
-                     label="&calendar.exit.label;"
-                     accesskey="&calendar.exit.accesskey;"
-                     oncommand="goQuitApplication()"/>
-#else
-           <menuitem id="calendar-quit-menu"
-                     label="&calendar.quit.label;"
-                     accesskey="&calendar.quit.accesskey;"
-                     key="key_quitApplication"
-                     command="cmd_quitApplication"/>
-#endif
-#endif
-         </menupopup>
-       </menu>
-
-       <menu id="menu_Edit"
-             label="&editMenu.label;"
-              accesskey="&editMenu.accesskey;">
-         <menupopup id="mppEdit">
-           <menuitem id="calendar-undo-menu"
-                     key="undo_key"
-                     accesskey="&calendar.undo.accesskey;"
-                     label="&calendar.undo.label;"
-                     observes="cmd_undo"/>
-           <menuitem id="calendar-redo-menu"
-                     key="redo_key"
-                     accesskey="&calendar.redo.accesskey;"
-                     label="&calendar.redo.label;"
-                     observes="cmd_redo"/>
-           <menuseparator id="before-undo-Section"/>
-           <menuitem id="calendar-cut-menu"
-                     key="key_cut"
-                     label="&calendar.cut.label;"
-                     accesskey="&calendar.cut.accesskey;"
-                     observes="cmd_cut"/>
-           <menuitem id="calendar-copy-menu"
-                     key="key_copy"
-                     label="&calendar.copy.label;"
-                     accesskey="&calendar.copy.accesskey;"
-                     observes="cmd_copy"/>
-           <menuitem id="calendar-paste-menu"
-                     key="key_paste"
-                     label="&calendar.paste.label;"
-                     accesskey="&calendar.paste.accesskey;"
-                     observes="cmd_paste"/>
-           <menuitem id="unifinder-modify-menu"
-                     key="modify_event_key"
-                     label="&event.edit.event;"
-                     accesskey="&event.edit.event.accesskey;"
-                     observes="calendar_modify_focused_item_command"/>
-           <menuitem id="unifinder-remove-event-menu"
-                     label="&event.delete.event;"
-                     accesskey="&event.delete.event.accesskey;"
-                     observes="calendar_delete_event_command"/>
-           <menuitem id="unifinder-remove-task-menu"
-                     label="&event.delete.tasks;"
-                     accesskey="&event.delete.tasks.accesskey;"
-                     observes="calendar_delete_todo_command" />
-           <menuitem id="calendar-selectall-menu"
-                     key="key_selectAll"
-                     label="&calendar.selectall.label;"
-                     accesskey="&calendar.selectall.accesskey;"
-                     observes="cmd_selectAll"/>
-           <menuseparator id="before-Unifinder-Section"/>
-           <menuitem id="calendar-show-unifinder-menu"
-                     type="checkbox"
-                     label="&showUnifinderCmd.label;"
-                     observes="calendar_show_unifinder_command"
-                     accesskey="&showUnifinderCmd.accesskey;"
-                     checked="true"/>
-#ifdef XP_UNIX
-#ifndef XP_MACOSX
-           <menuseparator/>
-           <menuitem id="menu_preferences_unix"
-                     label="&preferencesCmd.label;"
-                     accesskey="&preferencesCmd.accesskey;"
-                     oncommand="openPreferences();"/>
-#endif
-#endif
-         </menupopup>
-       </menu>
-
-       <menu id="menu_View"
-             label="&viewMenu.label;"
-             accesskey="&viewMenu.accesskey;">
-         <menupopup id="menu_viewPopup">
-           <menu id="menu_Toolbars"
-                 label="&toolbarsMenu.label;"
-                 accesskey="&toolbarsMenu.accesskey;"
-                 onpopupshowing="sbOnViewToolbarsPopupShowing(event);">
-             <menupopup>
-               <menuseparator/>
-               <menuitem id="calendar-view-menu-customize"
-                         observes="cmd_CustomizeToolbars"
-                         label="&sunbird.menu.customize.label;"
-                         accesskey="&sunbird.menu.customize.accesskey;"/>
-             </menupopup>
-           </menu>
-           <menuitem id="menu_showStatusBar"
-                     type="checkbox"
-                     label="&showStatusBarCmd.label;"
-                     command="cmd_showStatusBar"
-                     accesskey="&showStatusBarCmd.accesskey;"
-                     checked="true"/>
-           <menuitem id="menu_showTaskBox"
-                     type="checkbox"
-                     label="&showTaskBoxCmd.label;"
-                     command="cmd_showTaskBox"
-                     accesskey="&showTaskBoxCmd.accesskey;"
-                     checked="true"/>
-           <menuseparator/>
-           <menuitem id="calendar-view-menu-day"
-                     type="radio"
-                     name="calendarMenuViews"
-                     key="calendar-day-view-key"
-                     label="&sunbird.flat.topbar.dayview;"
-                     accesskey="&sunbird.dayview.accesskey;"
-                     observes="calendar_day-view_command"/>
-           <menuitem id="calendar-view-menu-week"
-                     type="radio"
-                     name="calendarMenuViews"
-                     key="calendar-week-view-key"
-                     label="&sunbird.flat.topbar.weekview;"
-                     accesskey="&sunbird.weekview.accesskey;"
-                     observes="calendar_week-view_command"/>
-           <menuitem id="calendar-view-menu-multiweek"
-                     type="radio"
-                     name="calendarMenuViews"
-                     key="calendar-multiweek-view-key"
-                     label="&sunbird.flat.topbar.multiweekview;"
-                     accesskey="&sunbird.multiweekview.accesskey;"
-                     observes="calendar_multiweek-view_command"/>
-           <menuitem id="calendar-view-menu-month"
-                     type="radio"
-                     name="calendarMenuViews"
-                     key="calendar-month-view-key"
-                     label="&sunbird.flat.topbar.monthview;"
-                     accesskey="&sunbird.monthview.accesskey;"
-                     observes="calendar_month-view_command"/>
-           <menuseparator/>
-           <menuitem id="calendar_view_orientation"
-                     type="checkbox"
-                     label="&calendar.orientation.label;"
-                     accesskey="&calendar.orientation.accesskey;"
-                     observes="calendar_toggle_orientation_command"/>
-           <menuitem id="only-workday-checkbox-1"
-                     type="checkbox"
-                     label="&calendar.onlyworkday.checkbox.label;"
-                     accesskey="&calendar.onlyworkday.checkbox.accesskey;"
-                     observes="calendar_toggle_workdays_only_command"/>
-           <menuitem id="display-todo-inview-checkbox-1"
-                     type="checkbox"
-                     label="&calendar.displaytodos.checkbox.label;"
-                     accesskey="&calendar.displaytodos.checkbox.accesskey;"
-                     observes="calendar_toggle_tasks_in_view_command"/>
-           <menuitem id="completed-tasks-inview-checkbox-1"
-                     type="checkbox"
-                     label="&calendar.completedtasks.checkbox.label;"
-                     accesskey="&calendar.completedtasks.checkbox.accesskey;"
-                     observes="calendar_toggle_show_completed_in_view_command"/>
-           <menu id="menu-numberofweeks-inview"
-                 label="&sunbird.menu.numberofweeks.label;"
-                 accesskey="&sunbird.menu.numberofweeks.accesskey;"
-                 oncommand="changeNumberOfWeeks(event.target)"
-                 disabled="true">
-           <menupopup onpopupshowing="this.childNodes.item(currentView().weeksInView - 1).setAttribute('checked', true);">
-             <menuitem type="radio"
-                       value="1"
-                       name="menunbofweeks"
-                       accesskey="1"
-                       label="&sunbird.menu.numberofweeks.1;"/>
-             <menuitem type="radio"
-                       value="2"
-                       name="menunbofweeks"
-                       accesskey="2"
-                       label="&sunbird.menu.numberofweeks.2;"/>
-             <menuitem type="radio"
-                       value="3"
-                       name="menunbofweeks"
-                       accesskey="3"
-                       label="&sunbird.menu.numberofweeks.3;"/>
-             <menuitem type="radio"
-                       value="4"
-                       name="menunbofweeks"
-                       accesskey="4"
-                       label="&sunbird.menu.numberofweeks.4;"/>
-             <menuitem type="radio"
-                       value="5"
-                       name="menunbofweeks"
-                       accesskey="5"
-                       label="&sunbird.menu.numberofweeks.5;"/>
-             <menuitem type="radio"
-                       value="6"
-                       name="menunbofweeks"
-                       accesskey="6"
-                       label="&sunbird.menu.numberofweeks.6;"/>
-           </menupopup>
-           </menu>
-           <menuseparator/>
-           <!-- XXX lilmatt: Finish this! -->
-           <menuitem id="calendar-fullscreen-menu"
-                     label="&calendar.fullscreen.label;"
-                     accesskey="&calendar.fullscreen.accesskey;"
-                     disabled="true"/>
-         </menupopup>
-       </menu>
-
-       <menu id="menu_Go"
-             label="&goMenu.label;"
-             accesskey="&goMenu.accesskey;">
-         <menupopup id="mppView">
-           <menuitem id="calendar-go-menu-today"
-                     key="calendar-go-to-today-key"
-                     label="&goTodayCmd.label;"
-                     accesskey="&goTodayCmd.accesskey;"
-                     observes="calendar_go_to_today_command"/>
-           <menuitem id="calendar-go-menu-date"
-                     key="go_to_date_key"
-                     label="&goDateCmd.label;"
-                     accesskey="&goDateCmd.accesskey;"
-                     observes="go_date_command"/>
-           <menuseparator/>
-           <!-- Label is set up automatically using the view id. When writing a
-                view extension, overlay this menuitem and add a label-<myviewtype>
-                attribute with the correct label -->
-           <menuitem id="calendar-go-menu-previous"
-                     label=""
-                     accesskey=""
-                     label-day="&calendar.prevday.label;"
-                     label-week="&calendar.prevweek.label;"
-                     label-multiweek="&calendar.prevweek.label;"
-                     label-month="&calendar.prevmonth.label;"
-                     accesskey-day="&calendar.prevday.accesskey;"
-                     accesskey-week="&calendar.prevweek.accesskey;"
-                     accesskey-multiweek="&calendar.prevweek.accesskey;"
-                     accesskey-month="&calendar.prevmonth.accesskey;"
-                     observes="calendar_view_prev_command"/>
-           <menuitem id="calendar-go-menu-next"
-                     label=""
-                     accesskey=""
-                     label-day="&calendar.nextday.label;"
-                     label-week="&calendar.nextweek.label;"
-                     label-multiweek="&calendar.nextweek.label;"
-                     label-month="&calendar.nextmonth.label;"
-                     accesskey-day="&calendar.nextday.accesskey;"
-                     accesskey-week="&calendar.nextweek.accesskey;"
-                     accesskey-multiweek="&calendar.nextweek.accesskey;"
-                     accesskey-month="&calendar.nextmonth.accesskey;"
-                     observes="calendar_view_next_command"/>
-         </menupopup>
-       </menu>
-
-       <menu id="menu_Tools"
-             label="&toolsMenu.label;"
-             accesskey="&toolsMenu.accesskey;">
-         <menupopup id="menu_ToolsPopup">
-           <menuitem id="addonsManager"
-                     label="&calendar.addons.label;"
-                     accesskey="&calendar.addons.accesskey;"
-                     command="Tools:Addons"/>
-           <menuseparator id="devToolsSeparator"/>
-           <menuitem id="javascriptConsole"
-                     label="&errorConsoleCmd.label;"
-                     accesskey="&errorConsoleCmd.accesskey;"
-                     oncommand="toJavaScriptConsole();"/>
-<!-- The ids of the following menuseparator and menuitem must remain as they are to be
-   - automatically hidden on Mac OS X - See mozilla/widget/src/mac/nsMenuBarX.cpp -->
-#ifndef XP_UNIX
-           <menuseparator id="menu_PrefsSeparator"/>
-               <menuitem id="menu_preferences"
-                         label="&optionsCmd.label;"
-                         accesskey="&optionsCmd.accesskey;"
-                         oncommand="openPreferences();"/>
-#endif
-#ifdef XP_MACOSX
-# -- ifdef UNIX also covers Mac OS X, so we have to explicitly enable this menuitem
-           <menuseparator id="menu_PrefsSeparator"/>
-               <menuitem id="menu_preferences"
-                         label="&preferencesCmdMac.label;"
-                         key="key_preferencesCmdMac"
-                         oncommand="openPreferences();"/>
-#endif
-         </menupopup>
-       </menu>
-
-#ifdef XP_MACOSX
-<!-- Mac OS X only "Window" menu -->
-       <menu id="windowMenu"
-             label="&windowMenu.label;"
-             datasources="rdf:window-mediator"
-             ref="NC:WindowMediatorRoot"
-             onpopupshown="checkFocusedWindow();">
-         <template>
-           <rule>
-             <menupopup>
-               <menuitem uri="rdf:*"
-                         label="rdf:http://home.netscape.com/NC-rdf#Name"
-                         type="radio"
-                         name="windowList"
-                         oncommand="ShowWindowFromResource(event.target)"/>
-             </menupopup>
-           </rule>
-         </template>
-         <menupopup id="windowPopup">
-           <menuitem id="minimizeWindow"
-                     key="key_minimizeWindow"
-                     label="&minimizeWindow.label;"
-                     command="minimizeWindowCmd"/>
-           <menuitem id="zoomWindow"
-                     label="&zoomWindow.label;"
-                     command="zoomWindowCmd"/>
-           <menuseparator/>
-           <menuitem id="bringAllToFront"
-                     label="&bringAllToFront.label;"
-                     command="bringAllToFront"
-                     disabled="true"/>
-           <menuseparator id="sep-window-list"/>
-         </menupopup>
-# We just need this node to exist in order to get Gecko to create a Services
-# menu for us under Cocoa widgets. It will be automatically hidden.
-         <menuitem id="menu_mac_services"
-                   label="&servicesMenuMac.label;"/>
-# We just need this node to exist in order to get Gecko to create a "Hide [app]"
-# menu for us under Cocoa widgets. It will be automatically hidden.
-         <menuitem id="menu_mac_hide_app"
-                   label="&hideThisAppCmdMac.label;"
-                   key="key_hideThisAppCmdMac"/>
-# We just need this node to exist in order to get Gecko to create a "Hide Others"
-# menu for us under Cocoa widgets. It will be automatically hidden.
-         <menuitem id="menu_mac_hide_others"
-                   label="&hideOtherAppsCmdMac.label;"
-                   key="key_hideOtherAppsCmdMac"/>
-# We just need this node to exist in order to get Gecko to create a "Show All"
-# menu for us under Cocoa widgets. It will be automatically hidden.
-         <menuitem id="menu_mac_show_all"
-                   label="&showAllAppsCmdMac.label;"/>
-       </menu>
-#endif
-
-#ifdef XP_WIN
-   <menu id="menu_Help"
-         label="&helpMenuWin.label;"
-         accesskey="&helpMenuWin.accesskey;">
-#else
-   <menu id="menu_Help"
-         label="&helpMenu.label;"
-         accesskey="&helpMenu.accesskey;">
-#endif
-         <menupopup id="menu_HelpPopup" onpopupshowing="sbUpdateItem();">
-           <!-- XXX lilmatt: Finish this!  oncommand="openTopWin('&helpURL;');" -->
-           <menuitem label="&sunbird.help.label;"
-                     accesskey="&sunbird.help.accesskey;"
-                     disabled="true"/>
-           <menuitem accesskey="&releaseCmd.accesskey;"
-                     label="&releaseCmd.label;"
-                     oncommand="openReleaseNotes();"/>
-           <menuseparator id="menu_HelpUpdatesSeparator"/>
-           <menuitem id="checkForUpdates"
-                     class="menuitem-iconic"
-                     label="&updateCmd.label;"
-                     accesskey="&updateCmd.accesskey;"
-#ifdef MOZ_UPDATER
-                     oncommand="sbCheckForUpdates();"/>
-#else
-                     hidden="true"/>
-#endif
-
-# On Mac OS X, the "About Sunbird" menuitem belongs under the "Sunbird" menu.
-# We hide it (and its separator) here, but we don't ifdef the entire menuitem
-# out, as doing so will prevent it from appearing in either place at all!
-#
-#ifndef XP_MACOSX
-           <menuseparator id="menu_HelpAboutSeparator"/>
-#endif
-           <menuitem id="aboutName"
-                     label="&aboutCmd.label;"
-                     accesskey="&aboutCmd.accesskey;"
-#ifdef XP_MACOSX
-                     hidden="true"
-#endif
-                     oncommand="openAboutDialog();"/>
-         </menupopup>
-       </menu>
-     </menubar>
deleted file mode 100644
--- a/calendar/sunbird/base/content/calendar-offline.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/* 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/. */
-
-Components.utils.import("resource://gre/modules/Services.jsm");
-
-if (!calendarOfflineManager) {
-    Components.utils.reportError("calendar-management.js not included!");
-}
-
-// In addition to what the base calendar offline manager does, we need to make
-// the offline commands work in sunbird. Extend the offline manager here.
-var baseUpdateOfflineUI = calendarOfflineManager.updateOfflineUI;
-calendarOfflineManager.updateOfflineUI = function sunbird_updateOfflineUI(aIsOffline) {
-    var propName = (aIsOffline ? "offlineTooltip" : "onlineTooltip")
-    var tooltip = calGetString("calendar", propName);
-
-    setElementValue("offline-status", aIsOffline && "true", "offline");
-    setElementValue("offline-status", tooltip, "tooltiptext");
-
-    baseUpdateOfflineUI(aIsOffline);
-};
-
-calendarOfflineManager.toggleOfflineStatus = function sunbird_toggleOfflineStatus() {
-    var ioService = Services.io;
-    if (ioService.offline) {
-        // Going online
-        ioService.offline = false;
-        try {
-            // Alternatively we could check for @mozilla.org/network/network-link-service;1 here
-            // instead of using a try-catch block, but the dependency on that service is rather an
-            // implementation detail of the IO service.
-            ioService.manageOfflineStatus = getPrefSafe("offline.autoDetect", true);
-        } catch (exc) {
-        }
-    } else {
-        // Going offline
-        ioService.manageOfflineStatus = false;
-        ioService.offline = true;
-    }
-};
deleted file mode 100644
--- a/calendar/sunbird/base/content/calendar-sets.inc
+++ /dev/null
@@ -1,90 +0,0 @@
-# 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/.
-
-<broadcasterset id="calendar_broadcasters"/>
-
-<commandset id="calendar_commands">
-  <!-- These commands already exist in thunderbird -->
-  <command id="cmd_undo" oncommand="goDoCommand('cmd_undo')"/>
-  <command id="cmd_redo" oncommand="goDoCommand('cmd_redo')"/>
-  <command id="cmd_cut" oncommand="goDoCommand('cmd_cut')"/>
-  <command id="cmd_copy" oncommand="goDoCommand('cmd_copy')"/>
-  <command id="cmd_paste" oncommand="goDoCommand('cmd_paste')"/>
-  <command id="cmd_selectAll" oncommand="goDoCommand('cmd_selectAll')"/>
-  <command id="cmd_pageSetup" oncommand="goDoCommand('cmd_pageSetup')"/>
-  <command id="cmd_print" oncommand="goDoCommand('cmd_print')"/>
-  <command id="cmd_fullZoomReduce" oncommand="goDoCommand('cmd_fullZoomReduce')"/>
-  <command id="cmd_fullZoomEnlarge" oncommand="goDoCommand('cmd_fullZoomEnlarge')"/>
-  <command id="cmd_fullZoomReset" oncommand="goDoCommand('cmd_fullZoomReset')"/>
-
-  <command id="cmd_CustomizeToolbars" oncommand="CalendarCustomizeToolbar()"/>
-  <command id="cmd_showStatusBar" oncommand="goToggleToolbar('status-bar', 'menu_showStatusBar');"/>
-  <command id="cmd_showTaskBox" oncommand="goToggleToolbar('todo-tab-panel', 'menu_showTaskBox'); goToggleToolbar('calendar-todo-splitter');"/>
-
-  <command id="Tools:Addons" oncommand="goOpenAddons();"/>
-
-  <!-- Sunbird specific commands -->
-  <command id="open_local_calendar_command" oncommand="openLocalCalendar()"/>
-
-  <command id="go_date_command" oncommand="pickAndGoToDate()"/>
-  <command id="cmd_quitApplication"     oncommand="goQuitApplication()"/>
-	
-  <command id="close_calendar_command" oncommand="closeCalendar()"/>
-  <command id="calendar_go_to_today_command" oncommand="goToDate(now())"/>
-
-#ifdef XP_MACOSX
-  <command id="minimizeWindowCmd" oncommand="window.minimize();"/>
-  <command id="zoomWindowCmd" oncommand="zoomWindow();"/>
-#endif
-</commandset>
-
-<keyset id="calendar-keys">
-  <key id="calendar-new-event-key" key="&event.new.event.key;"             observes="calendar_new_event_command"  modifiers="accel"/>
-  <key id="calendar-new-todo-key" key="&event.new.task.key;"              observes="calendar_new_todo_command"   modifiers="accel"/>
-  <key id="modify_event_key"     key="&event.edit.event.key;"            observes="calendar_modify_event_command"  modifiers="accel"/>
-  <key id="new_calendar_key"     key="&calendar.new.server.key;"         observes="calendar_new_calendar_command"  modifiers="accel"/>
-  <key id="open_calendar_key"    key="&calendar.open.file.key;"          observes="open_local_calendar_command" modifiers="accel"/>
-  <key id="key_close"            key="&sunbird.close.key;"               observes="close_calendar_command"      modifiers="accel"/>
-  <key id="print_key"            key="&calendar.print.key;"              observes="cmd_print"                   modifiers="accel"/>
-
-  <key id="undo_key"             key="&calendar.undo.key;"               observes="cmd_undo"                    modifiers="accel"/>
-#ifdef XP_UNIX
-  <key id="redo_key"             key="&calendar.undo.key;"               observes="cmd_redo"                    modifiers="shift, accel"/>
-#else
-  <key id="redo_key"             key="&calendar.redo.key;"               observes="cmd_redo"                    modifiers="accel"/>
-#endif
-
-  <key id="key_cut"              key="&calendar.cut.key;"                observes="cmd_cut"                     modifiers="accel"/>
-  <key id="key_copy"             key="&calendar.copy.key;"               observes="cmd_copy"                    modifiers="accel"/>
-  <key id="key_paste"            key="&calendar.paste.key;"              observes="cmd_paste"                   modifiers="accel"/>
-  <key id="key_selectAll"        key="&calendar.selectall.key;"          observes="cmd_selectAll"               modifiers="accel"/>
-
-  <key id="go_to_date_key"       keycode="VK_UP"                         observes="go_date_command"             modifiers="accel"/>
-
-  <key id="import_key"           key="&calendar.import.key;"             observes="calendar_import_command"              modifiers="accel"/>
-  <key id="reload_server_key"    key="&calendar.synccalendars.key;"      observes="calendar_reload_remote_calendars"     modifiers="accel"/>
-
-# TODO L10N These keys need localization
-  <key id="key_fullZoomReduce"   key="-"                                 observes="cmd_fullZoomReduce"          modifiers="accel"/>
-  <key id="key_fullZoomEnlarge"  key="+"                                 observes="cmd_fullZoomEnlarge"         modifiers="accel"/>
-  <key id="key_fullZoomEnlarge2" key="="                                 observes="cmd_fullZoomEnlarge"         modifiers="accel"/>
-  <key id="key_fullZoomReset"    key="0"                                 observes="cmd_fullZoomReset"           modifiers="accel"/>
-
-  <key id="find_key"
-       key="&sunbird.find.key;"
-       modifiers="accel"
-       oncommand="focusSearch();"/>
-
-#ifdef XP_MACOSX
-  <key id="key_minimizeWindow"   key="&minimizeWindow.key;"              command="minimizeWindow"               modifiers="accel"/>
-  <key id="key_preferencesCmdMac" key="&preferencesCmdMac.commandkey;" modifiers="&preferencesCmdMac.modifiers;"/>
-  <key id="key_hideThisAppCmdMac" key="&hideThisAppCmdMac.commandkey;" modifiers="&hideThisAppCmdMac.modifiers;"/>
-  <key id="key_hideOtherAppsCmdMac" key="&hideOtherAppsCmdMac.commandkey;" modifiers="&hideOtherAppsCmdMac.modifiers;"/>
-#endif
-#ifdef XP_UNIX
-  <key id="key_quitApplication" key="&calendar.quit.key;" command="cmd_quitApplication" modifiers="accel"/>
-#endif
-</keyset>
-
-<keyset id="tasksKeys"/>
deleted file mode 100644
--- a/calendar/sunbird/base/content/calendar.xul
+++ /dev/null
@@ -1,168 +0,0 @@
-<?xml version="1.0"?>
-<!-- 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/. -->
-
-<!-- Style sheets -->
-
-<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
-<?xml-stylesheet href="chrome://sunbird/skin/calendar.css" type="text/css"?>
-<?xml-stylesheet href="chrome://sunbird/skin/toolbar.css" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/skin/calendar-views.css" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/skin/widgets/minimonth.css" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/skin/widgets/calendar-widgets.css" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/content/calendar-bindings.css" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/content/calendar-view-bindings.css" type="text/css"?>
-<?xml-stylesheet href="chrome://calendar/content/widgets/calendar-widget-bindings.css" type="text/css"?>
-
-<!-- Overlays -->
-<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
-<?xul-overlay href="chrome://calendar/content/calendar-calendars-list.xul"?>
-<?xul-overlay href="chrome://calendar/content/calendar-unifinder.xul"?>
-<?xul-overlay href="chrome://calendar/content/calendar-unifinder-todo.xul"?>
-<?xul-overlay href="chrome://calendar/content/calendar-common-sets.xul"?>
-<?xul-overlay href="chrome://calendar/content/calendar-views.xul"?>
-
-<!-- All DTD information is stored in a separate file so that it can be shared by
-     hiddenWindow.xul. -->
-#include calendar-doctype.inc
-
-<!-- The Window  -->
-
-<window id="calendar-window"
-        title="&mainWindow.title;"
-        onload="calendarInit()"
-        onunload="calendarFinish()"
-        windowtype="calendarMainWindow"
-        xmlns:html="http://www.w3.org/1999/xhtml"
-        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        persist="screenX screenY width height sizemode"
-        height="550"
-        width="710">
-
-<!-- All sets except for popupsets (commands, keys, stringbundles and broadcasters) *must* go
-     into the calendar-sets.inc file for sharing with hiddenWindow.xul. -->
-#include calendar-sets.inc
-
-<!-- All JS files that calendar.xul wishes to include *must* go into the calendar-scripts.inc
-     file (all scripts shared with Lightning) or sunbird-scripts.inc file (scripts relevant 
-     for Sunbird-only)so that they can be shared by hiddenWindow.xul.-->
-#include ../../../base/content/calendar-scripts.inc
-#include sunbird-scripts.inc
-
-<!-- Those scripts are not used by the hidden window, and thus can be put in here. The
-     scripts assume that they are part of calendar.xul, so they actually must not be
-     in sunbird-scripts.inc. (see bug 413296 comment 13) -->
-  <script type="application/javascript" src="chrome://calendar/content/calendar-unifinder.js"/>
-  <script type="application/javascript" src="chrome://calendar/content/calendar-unifinder-todo.js"/>
-
-<!-- GENERAL CONTEXT MENU -->
-<popupset id="calendar-popupset">
-  <menupopup id="toolbar-context-menu">
-    <menuitem command="cmd_CustomizeToolbars"
-              id="toolbar-context-menu-customize"
-              label="&sunbird.context.customize.label;"
-              accesskey="&sunbird.context.customize.accesskey;"/>
-  </menupopup>
-</popupset>
-
-<commandset id="commands"/>
-
-<toolbox id="calendar-toolbox" class="toolbox-top" mode="full"
-         defaultmode="full">
-  <!-- Menu -->
-  <toolbar type="menubar" id="main-toolbar" class="chromeclass-menubar" customizable="true"
-           defaultset="menubar-items"
-           mode="full" iconsize="small" context="toolbar-context-menu">
-    <toolbaritem id="menubar-items" align="center">
-<!-- The entire main menubar is placed into calendar-menubar.inc, so that it can be shared by
-     hiddenWindow.xul. -->
-#include calendar-menubar.inc
-    </toolbaritem>
-  </toolbar>
-
-  <toolbarpalette id="calendarToolbarPalette">
-#include sunbird-toolbar.inc
-    <toolbaritem id="throbber-box" align="center" pack="center">
-      <button id="navigator-throbber"
-              oncommand="openAboutDialog();"
-              tooltiptext="&aboutCmd.label;"/>
-    </toolbaritem>
-  </toolbarpalette>
-  <toolbar class="toolbar-primary chromeclass-toolbar" id="calendar-bar"
-           iconsize="large"
-           defaultset="calendar-new-event-button,calendar-new-task-button,calendar-edit-button,calendar-delete-button,separator,calendar-go-to-today-button,separator,calendar-unifinder-button,spring,throbber-box"
-           customizable="true" mode="full"
-           toolbarname="&sunbird.maintoolbar.name;" accesskey="&sunbird.maintoolbar.accesskey;"
-           context="toolbar-context-menu"/>
-  <toolbarset id="customToolbars" context="toolbar-context-menu"/>
-</toolbox>
-
-
-<!-- V I S I B L E  C O N T E N T  -->
-
-<vbox id="calendar-top-box"
-      flex="1"
-      ondraggesture="nsDragAndDrop.startDrag(event,calendarViewDNDObserver);"
-      ondragover="nsDragAndDrop.dragOver(event,calendarViewDNDObserver);"
-      ondragdrop="nsDragAndDrop.drop(event,calendarViewDNDObserver);">
-
-  <!-- Calendar Controls-->
- 
-  <hbox id="calendar-content-box" flex="1">
-
-    <vbox id="left-hand-content" persist="width">
-      <tabbox id="tablist" persist="selectedIndex" flex="1">
-        <tabs>
-          <tab label="&sunbird.calendartab.label;"/>
-          <tab label="&sunbird.listofcalendarstab.label;"/>
-        </tabs>
-        <tabpanels flex="1">
-          <tabpanel>
-            <vbox flex="1" align="center">
-              <spacer id="spaceaboveleftminimonth" flex="1" orient="vertical"/>
-              <minimonth id="calMinimonth"
-                         maxheight="300"
-                         freebusy="true"
-                         onchange="minimonthPick(this.value);"/>
-              <spacer id="spacebelowleftminimonth" flex="1" orient="vertical"/>
-            </vbox>
-          </tabpanel>
-      
-          <tabpanel id="tablist-calendarlist">
-            <!-- This will be overlayed by calendar-calendars-list.xul -->
-            <calendar-list-tree id="calendar-list-tree-widget" flex="1"/>
-          </tabpanel>
-        </tabpanels>
-      </tabbox>
-
-      <splitter id="calendar-todo-splitter" collapse="before"
-                persist="state,collapsed" orient="vertical">
-        <grippy/>
-      </splitter>
-
-      <vbox id="todo-tab-panel" persist="height,collapsed" flex="1"/>
-    </vbox>
-
-    <splitter id="calsidebar_splitter" collapse="before"
-              persist="state" orient="horizontal">
-      <grippy/>
-    </splitter>
-    <!-- vbox "calendar-view-box will be overlayed..." -->
-    <vbox id="calendar-view-box" flex="1"/>
-  </hbox> <!-- End: box with unifinder on left, calendar on right -->
-</vbox>
-
-<statusbar id="status-bar" class="chromeclass-status">
-  <statusbarpanel id="offline-status"
-                  class="statusbarpanel-iconic"
-                  offline="true"
-                  oncommand="calendarOfflineManager.toggleOfflineStatus()"/>
-  <statusbarpanel id="statusText"
-                  flex="1"/>
-  <statusbarpanel class="statusbarpanel-progress" collapsed="true" id="statusbar-progresspanel">
-      <progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
-  </statusbarpanel>
-</statusbar>
-
-</window>
deleted file mode 100644
--- a/calendar/sunbird/base/content/credits.xhtml
+++ /dev/null
@@ -1,258 +0,0 @@
-<!-- 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/. -->
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
-                      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
-  [
-    <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
-    %brandDTD;
-    <!ENTITY % creditsDTD SYSTEM "chrome://sunbird/locale/aboutDialog.dtd">
-    %creditsDTD;
-  ]
->
-
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
-    <title>&brandFullName; Credits</title>
-
-    <style>
-      html {
-        background-color: white;
-        color: black;
-      }
-
-      * {
-        cursor: default;
-        -moz-user-select: none;
-      }
-
-      #titleBox {
-        position: fixed;
-        left: 0px;
-        top: 0px;
-        right: 0px;
-        bottom: auto;
-        z-index: 999;
-      }
-
-      #footerBox {
-        position: fixed;
-        left: 0px;
-        top: auto;
-        right: 0px;
-        bottom: 0px;
-        z-index: 999;
-      }
-
-      #creditsBox {
-        position: absolute;
-        left: 0px;
-        top: 0px;
-        overflow: hidden;
-        z-index: 1;
-        height: 380px;
-        width: 279px;
-        -moz-margin-start: 10px;
-        -moz-margin-end: 10px;
-        font-family: Arial, sans-serif;
-        font-size: small;
-      }
-
-      h3 {
-        font-weight: bold;
-        font-size: small;
-        text-align: center;
-        margin: 15px 0px 5px;
-      }
-
-      .creditsGroup {
-        margin-bottom: 1px;
-        text-align: center;
-      }
-
-      .footnote {
-        font-size: x-small;
-        text-align: justify;
-      }
-
-      h2.title {
-        margin-top: 200px;
-        margin-bottom: 200px;
-        text-align: center;
-      }
-
-      .motto {
-        margin-top: 2px;
-        font-style: italic;
-        font-size: small;
-        font-weight: normal;
-        -moz-padding-start: 2em;
-      }
-
-      #gecko {
-        margin-top:    100px;
-        margin-bottom: 100px;
-        font-size: medium;
-      }
-
-      a {
-        color: blue;
-        text-decoration: underline;
-      }
-
-      ul {
-        margin-top: 0px;
-        -moz-margin-start: 0px;
-        -moz-padding-start: 0px;
-      }
-
-      li {
-        list-style-type: none;
-      }
-
-      .center {
-        text-align: center;
-      }
-    </style>
-
-    <script type="application/javascript" src="chrome://global/content/globalOverlay.js"></script>
-    <script type="application/javascript">
-    <![CDATA[
-
-      var gCreditsInterval = -1;
-
-      function uninit()
-      {
-        if (gCreditsInterval > -1)
-          clearInterval(gCreditsInterval);
-      }
-
-      function init()
-      {
-        var cb = document.getElementById("creditsBox");
-        cb.scrollTop = 0;
-        setTimeout(runCredits, 3000);
-      }
-
-      function runCredits()
-      {
-        gCreditsInterval = setInterval("creditsCallback()", 25);
-      }
-
-      function creditsCallback()
-      {
-        var cb = document.getElementById("creditsBox");
-        var newtop = cb.scrollTop + 1;
-        cb.scrollTop = newtop;
-        if (cb.scrollTop != newtop) {
-          // we're at the bottom
-          clearInterval(gCreditsInterval);
-          setTimeout(function() { cb.scrollTop = 0 }, 3000);
-        }
-      }
-
-    ]]>
-    </script>
-  </head>
-  <body onload="init();" onunload="uninit();">
-    <div id="titleBox">
-      <img src="chrome://branding/content/aboutCredits.png" />
-    </div>
-
-    <div id="creditsBox">
-        <h2 class="title">&brandFullName;&trade;
-          <div class="motto">&brandMotto;</div>
-        </h2>
-
-        <div class="creditsGroup">
-          <ul>
-            <li>Markus Adrario</li>
-            <li>Omar B.</li>
-            <li>Mike Beltzner</li>
-            <li>Thomas Benisch</li>
-            <li>Daniel Boelzle</li>
-            <li>Bruno Browning</li>
-            <li>Michael BĂĽttner</li>
-            <li>Mark Carson</li>
-            <li>Mike Connor</li>
-            <li>Majken "Lucy" Connor</li>
-            <li>CĂ©dric Corazza</li>
-            <li>Berend Cornelius</li>
-            <li>Robin Edrenius</li>
-            <li>gekacheka</li>
-            <li>Sven Giermann</li>
-            <li>Tony Goold</li>
-            <li>Ferdinand Grassmann</li>
-            <li>Mostafa Hosseini</li>
-            <li>Michael Hovis</li>
-            <li>Christian Jansen</li>
-            <li>Philipp Kewisch</li>
-            <li>Michiel van Leeuwen</li>
-            <li>Gary van der Merwe</li>
-            <li>Joey Minta</li>
-            <li>Luc Mousseau</li>
-            <li>Dan Mosedale</li>
-            <li>Simon Paquet</li>
-            <li>Stuart Parmenter</li>
-            <li>Norbert PĂĽschel</li>
-            <li>Reid Rankin</li>
-            <li>Phil Ringnalda</li>
-            <li>Wolfgang Rosenauer</li>
-            <li>Stephan Schaefer</li>
-            <li>Martin Schröder</li>
-            <li>Sebastian Schwieger</li>
-            <li>Mike Shaver</li>
-            <li>Stefan Sitter</li>
-            <li>Ulf Stroehler</li>
-            <li>Robert Strong</li>
-            <li>Damian Szczepanik</li>
-            <li>Clint Talbert</li>
-            <li>Andreas Treumann</li>
-            <li>Vladimir Vukićević</li>
-            <li>Matthew Willis</li>
-          </ul>
-
-          &credit.translation;
-        </div>
-
-        <!-- organizational supporters -->
-        <div class="creditsGroup">
-          <h3>&credit.thanks;</h3>
-          <ul>
-            <li>Axentra Corporation</li>
-            <li>eCornell</li>
-            <li>Oracle Corporation</li>
-            <li>Simdesk Technologies</li>
-            <li>Sun Microsystems</li>
-            <li>MozillaZine Community</li>
-            <li>MozillaZine</li>
-            <li>MozDev</li>
-          </ul>
-        </div>
-
-        <p id="gecko" class="center">&credit.powered; Gecko&trade;</p>
-
-        <p class="footnote">
-          Mozilla Sunbird&trade; and the Sunbird logo are trademarks of the Mozilla
-          Foundation. You are not granted rights or licenses to the trademarks
-          of the Mozilla Foundation or any party, including without limitation the
-          Sunbird name or logo.</p>
-
-        <p class="footnote">
-          U.S. GOVERNMENT END USERS. The Software is a &ldquo;commercial item,&rdquo;
-          as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of
-          &ldquo;commercial computer software&rdquo; and &ldquo;commercial computer software
-          documentation,&rdquo; as such terms are used in 48 C.F.R. 12.212 (Sept. 1995).
-          Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through
-          227.7202-4 (June 1995), all U.S. Government End Users acquire the
-          Software with only those rights set forth herein.</p>
-
-    </div>
-
-    <div id="footerBox">
-      <img src="chrome://branding/content/aboutFooter.png" />
-    </div>
-  </body>
-</html>
deleted file mode 100644
--- a/calendar/sunbird/base/content/hiddenWindow.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/* 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/. */
-
-#ifdef XP_MACOSX
-function hiddenWindowStartup() {
-    // focus the hidden window
-    window.focus();
-
-    // Disable menus which are not appropriate
-    var disabledItems = ['calendar_new_event_command',
-                         'calendar_modify_event_command',
-                         'calendar_delete_event_command',
-                         'calendar_new_todo_command',
-                         'calendar_delete_todo_command',
-                         'calendar_new_calendar_command',
-                         'calendar_edit_calendar_command',
-                         'calendar_delete_calendar_command',
-                         'calendar_import_command',
-                         'calendar_export_command',
-                         'calendar_export_selection_command',
-                         'calendar_publish_calendar_command',
-                         'calendar_publish_selected_calendar_command',
-                         'calendar_publish_selected_events_command',
-                         'calendar_reload_remote_calendars',
-                         'calendar_day-view_command',
-                         'calendar_week-view_command',
-                         'calendar_multiweek-view_command',
-                         'calendar_month-view_command',
-                         'calendar_view_prev_command',
-                         'calendar_view_next_command',
-                         'calendar_go_to_today_command',
-                         'close_calendar_command',
-                         'cmd_cut',
-                         'cmd_copy',
-                         'cmd_paste',
-                         'cmd_undo',
-                         'cmd_redo',
-                         'cmd_print',
-                         'cmd_selectAll',
-                         'cmd_pageSetup',
-                         'cmd_CustomizeToolbars',
-                         'go_date_command',
-                         'calendar_edit_calendar_command',
-                         'minimizeWindowCmd',
-                         'zoomWindowCmd'];
-    for each (var id in disabledItems) {
-        var broadcaster = document.getElementById(id);
-        if (broadcaster) {
-            broadcaster.setAttribute("disabled", "true");
-        }
-    }
-}
-
-// Mac OS X "Window" menu functions
-const nsIWindowDataSource = Components.interfaces.nsIWindowDataSource;
-
-function checkFocusedWindow()
-{
-  var windowManagerDS = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(nsIWindowDataSource);
-
-  var sep = document.getElementById("sep-window-list");
-  // Using double parens to avoid warning
-  while ((sep = sep.nextSibling)) {
-    var url = sep.getAttribute('id');
-    var win = windowManagerDS.getWindowForResource(url);
-    if (win == window) {
-      sep.setAttribute("checked", "true");
-      break;
-    }
-  }
-}
-
-function toOpenWindow( aWindow )
-{
-  aWindow.document.commandDispatcher.focusedWindow.focus();
-}
-
-function ShowWindowFromResource( node )
-{
-  var windowManagerDS = Components.classes['@mozilla.org/rdf/datasource;1?name=window-mediator'].getService(nsIWindowDataSource);
-
-  var desiredWindow = null;
-  var url = node.getAttribute('id');
-  desiredWindow = windowManagerDS.getWindowForResource( url );
-  if ( desiredWindow )
-  {
-    toOpenWindow(desiredWindow);
-  }
-}
-
-function zoomWindow()
-{
-  if (window.windowState == STATE_NORMAL)
-    window.maximize();
-  else
-    window.restore();
-}
-#endif
deleted file mode 100644
--- a/calendar/sunbird/base/content/hiddenWindow.xul
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0"?>
-<!-- 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/. -->
-
-#ifdef XP_MACOSX
-
-<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
-<?xul-overlay href="chrome://calendar/content/calendar-common-sets.xul"?>
-
-<!-- All DTD information is stored in a separate file so that it can be shared by
-     hiddenWindow.xul. -->
-#include calendar-doctype.inc
-
-<!-- The Window  -->
-<window id="hidden-window"
-        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
-        windowtype="Calendar:HiddenWindow"
-        onload="hiddenWindowStartup();">
-
-<!-- All sets except for popupsets (commands, keys, stringbundles and broadcasters) *must* go
-     into the calendar-sets.inc file for sharing with hiddenWindow.xul. -->
-#include calendar-sets.inc
-
-<!-- All JS files that calendar.xul wishes to include *must* go into the calendar-scripts.inc
-     file so that they can be shared by hiddenWindow.xul. -->
-#include ../../../base/content/calendar-scripts.inc
-#include sunbird-scripts.inc
-
-  <toolbox id="calendar-toolbox" class="toolbox-top">
-    <toolbar type="menubar" id="main-toolbar" class="chromeclass-menubar"
-             customizable="true" defaultset="menubar-items"
-             mode="icons" iconsize="small"> <!-- context="toolbar-context-menu"> -->
-      <toolbaritem id="menubar-items" align="center">
-<!-- The entire main menubar is placed into calendar-menubar.inc, so that it can be shared by
-     hiddenWindow.xul. -->
-#include calendar-menubar.inc
-
-      </toolbaritem>
-    </toolbar>
-  </toolbox>
-</window>
-
-#endif
deleted file mode 100644
--- a/calendar/sunbird/base/content/sunbird-scripts.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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/.
-
-#ifdef XP_MACOSX
-  <!-- Needed for Mac OS X "Window" menu -->
-  <script type="application/javascript" src="chrome://sunbird/content/hiddenWindow.js"/>
-#endif
-
-  <script type="application/javascript" src="chrome://calendar/content/calendar.js"/>
-  <script type="application/javascript" src="chrome://sunbird/content/calendar-offline.js"/>
-  <script type="application/javascript" src="chrome://calendar/content/calendar-migration-dialog.js"/>
-
-  <!-- NEEDED FOR APPLICATION SUPPORT -->
-  <script type="application/javascript" src="chrome://sunbird/content/applicationUtil.js"/>
-  <script type="application/javascript" src="chrome://calendar/content/calApplicationUtils.js"/>
-  <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
-  <script type="application/javascript" src="chrome://global/content/printUtils.js"/>
deleted file mode 100644
--- a/calendar/sunbird/base/content/sunbird-toolbar.inc
+++ /dev/null
@@ -1,87 +0,0 @@
-# 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/.
-
-<toolbarbutton id="calendar-new-event-button"
-               class="cal-toolbarbutton-1"
-               label="&calendar.newevent.button.label;"
-               tooltiptext="&calendar.newevent.button.tooltip;"
-               observes="calendar_new_event_command"/>
-<toolbarbutton id="calendar-new-task-button"
-               class="cal-toolbarbutton-1"
-               label="&calendar.newtask.button.label;"
-               tooltiptext="&calendar.newtask.button.tooltip;"
-               observes="calendar_new_todo_command"/>
-<toolbarbutton class="cal-toolbarbutton-1"
-               id="calendar-edit-button"
-               label="&sunbird.edit.button.label;"
-               tooltiptext="&sunbird.edit.button.tooltip;"
-               observes="calendar_modify_focused_item_command"/>
-<toolbarbutton class="cal-toolbarbutton-1"
-               id="calendar-delete-button"
-               label="&sunbird.delete.button.label;"
-               tooltiptext="&sunbird.delete.button.tooltip;"
-               observes="calendar_delete_focused_item_command"/>
-<toolbarbutton class="cal-toolbarbutton-1"
-               id="calendar-cut-button"
-               label="&sunbird.cut.button.label;"
-               tooltiptext="&sunbird.cut.button.tooltip;"
-               observes="cmd_cut"/>
-<toolbarbutton class="cal-toolbarbutton-1"
-               id="calendar-copy-button"
-               label="&sunbird.copy.button.label;"
-               tooltiptext="&sunbird.copy.button.tooltip;"
-               observes="cmd_copy"/>
-<toolbarbutton class="cal-toolbarbutton-1"
-               id="calendar-paste-button"
-               label="&sunbird.paste.button.label;"
-               tooltiptext="&sunbird.paste.button.tooltip;"
-               observes="cmd_paste"/>
-<toolbarbutton class="cal-toolbarbutton-1"
-               id="calendar-choose-date-button"
-               label="&sunbird.choosedate.button.label;"
-               tooltiptext="&sunbird.choosedate.button.tooltip;"
-               observes="go_date_command"/>
-<toolbarbutton id="calendar-go-to-today-button"
-               class="cal-toolbarbutton-1"
-               label="&calendar.today.button.label;"
-               tooltiptext="&calendar.today.button.tooltip;"
-               observes="calendar_go_to_today_command"/>
-<toolbarbutton id="calendar-print-button"
-               class="cal-toolbarbutton-1"
-               label="&calendar.print.button.label;"
-               tooltiptext="&sunbird.print.button.tooltip;"
-               observes="cmd_print"/>
-<toolbarbutton id="calendar-remote-reload-button"
-               class="cal-toolbarbutton-1"
-               label="&sunbird.remotereload.button.label;"
-               tooltiptext="&sunbird.remotereload.button.tooltip;"
-               observes="calendar_reload_remote_calendars"/>
-<toolbarbutton id="calendar-import-button"
-               class="cal-toolbarbutton-1"
-               label="&sunbird.import.button.label;"
-               tooltiptext="&sunbird.import.button.tooltip;"
-               observes="calendar_import_command"/>
-<toolbarbutton id="calendar-export-button"
-               class="cal-toolbarbutton-1"
-               label="&sunbird.export.button.label;"
-               tooltiptext="&sunbird.export.button.tooltip;"
-               observes="calendar_export_command"/>
-<toolbarbutton id="calendar-subscribe-button"
-               class="cal-toolbarbutton-1"
-               label="&sunbird.subscribe.button.label;"
-               tooltiptext="&sunbird.subscribe.button.tooltip;"
-               observes="calendar_new_calendar_command"/>
-<toolbarbutton id="calendar-publish-button"
-               class="cal-toolbarbutton-1"
-               label="&sunbird.publish.button.label;"
-               tooltiptext="&sunbird.publish.button.tooltip;"
-               observes="calendar_publish_calendar_command"/>
-<toolbarbutton id="calendar-unifinder-button"
-               class="cal-toolbarbutton-1"
-               type="checkbox"
-               checked="true"
-               label="&sunbird.unifinder.button.label;"
-               tooltiptext="&sunbird.unifinder.button.tooltip;"
-               observes="calendar_show_unifinder_command"
-               command="calendar_show_unifinder_command"/>
deleted file mode 100644
--- a/calendar/sunbird/base/jar.mn
+++ /dev/null
@@ -1,24 +0,0 @@
-#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/.
-
-sunbird.jar:
-% content sunbird %content/sunbird/
-% style chrome://global/content/customizeToolbar.xul chrome://sunbird/skin/calendar.css
-% style chrome://global/content/customizeToolbar.xul chrome://sunbird/skin/toolbar.css
-% style chrome://global/content/customizeToolbar.xul chrome://calendar/skin/calendar-event-dialog.css
-*   content/sunbird/aboutDialog.css                        (content/aboutDialog.css)
-    content/sunbird/aboutDialog.js                         (content/aboutDialog.js)
-*   content/sunbird/aboutDialog.xul                        (content/aboutDialog.xul)
-*   content/sunbird/applicationUtil.js                     (content/applicationUtil.js)
-*   content/sunbird/calendar.xul                           (content/calendar.xul)
-    content/sunbird/calendar-gotodate-dialog.xul           (content/calendar-gotodate-dialog.xul)
-    content/sunbird/calendar-offline.js                    (content/calendar-offline.js)
-    content/sunbird/credits.xhtml                          (content/credits.xhtml)
-*   content/sunbird/hiddenWindow.xul                       (content/hiddenWindow.xul)
-*   content/sunbird/hiddenWindow.js                        (content/hiddenWindow.js)
-% skin sunbird classic/1.0 %skin/sunbird/
-    skin/sunbird/calendar.css                              (themes/@THEME@/calendar.css)
-    skin/sunbird/toolbar.css                               (themes/@THEME@/toolbar.css)
-    skin/sunbird/offline-online.png                        (themes/@THEME@/offline-online.png)
deleted file mode 100644
--- a/calendar/sunbird/base/moz.build
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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/.
deleted file mode 100644
--- a/calendar/sunbird/base/themes/pinstripe/calendar.css
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
-# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-# 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/.
-*/
-
-/*--------------------------------------------------------------------
- *   MAIN view deck - contains nav buttons and views
- *-------------------------------------------------------------------*/
-#view-deck {
-  background: #FFFFFF;
-  padding: 0px;
-}
-
-/*--------------------------------------------------------------------
- *   Throbber button
- *-------------------------------------------------------------------*/
-
-/* "Chasing pipes" Mac-style throbber */
-#navigator-throbber {
-  -moz-appearance: none;
-  -moz-user-focus: ignore;
-  -moz-box-pack: center;
-  margin: 0px 1px !important;
-  border: none !important;
-  padding: 0px !important;
-  min-width: 0;
-  background-color: transparent;
-  list-style-image: url("chrome://global/skin/icons/notloading_16.png");
-  padding: 8px !important;
-}
-
-#navigator-throbber[busy="true"] {
-  list-style-image: url("chrome://global/skin/icons/loading_16.png");
-}
-
-toolbar[iconsize="small"] #navigator-throbber,
-toolbar[mode="text"] #navigator-throbber {
-  list-style-image: url("chrome://global/skin/icons/notloading_16.png");
-  padding: 4px !important;
-}
-toolbar[iconsize="small"] #navigator-throbber[busy="true"],
-toolbar[mode="text"] #navigator-throbber[busy="true"] {
-  list-style-image: url("chrome://global/skin/icons/loading_16.png");
-}
-
-toolbarbutton.chevron {
-  list-style-image: url("chrome://global/skin/icons/chevron.png") !important;
-}
-
-toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
-  display: none;
-}
-
-/*--------------------------------------------------------------------
- * print preview
- *-------------------------------------------------------------------*/
-toolbar[printpreview="true"] {
-  -moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
-}
-
-/*--------------------------------------------------------------------
- * Offline Status
- *-------------------------------------------------------------------*/
-#offline-status {
-    list-style-image: url(chrome://sunbird/skin/offline-online.png);
-    -moz-image-region: rect(0px, 32px, 16px, 16px);
-}
-
-#offline-status[offline="true"] {
-    -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
deleted file mode 100644
index 58b8d8befb3823474d30e5a852a938b377af1190..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 7829403a25fdcc3a703672fe0fc454d304d318d3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index bcdb4fc2ec30fa5e9b2e5e295acdd4b4eaeb88b3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/base/themes/pinstripe/toolbar.css
+++ /dev/null
@@ -1,538 +0,0 @@
-/* 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/. */
-
-/*--------------------------------------------------------------------
- *   Primary toolbar buttons
- *-------------------------------------------------------------------*/
-
-.cal-toolbarbutton-1 {
-    -moz-box-orient: vertical;
-    min-width: 0px;
-    list-style-image: url("chrome://calendar/skin/toolbar-large.png");
-}
-
-.cal-toolbarbutton-1[type="menu"] {
-  -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical");
-}
-
-toolbar[mode="full"] .cal-toolbarbutton-1 {
-    min-width: 55px;
-}
-
-/*--------------------------------------------------------------------
- *   Primary toolbar buttons - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] .cal-toolbarbutton-1 {
-    -moz-box-orient: vertical;
-    min-width: 0px;
-    list-style-image: url("chrome://calendar/skin/toolbar-small.png");
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Cut"
- *-------------------------------------------------------------------*/
-
-#calendar-cut-button {
-    -moz-image-region: rect(0px 256px 32px 224px);
-}
-#calendar-cut-button:active {
-    -moz-image-region: rect(32px 256px 64px 224px);
-}
-#calendar-cut-button[disabled="true"] {
-    -moz-image-region: rect(64px 256px 96px 224px);
-}
-
-toolbar[iconsize="small"] #calendar-cut-button {
-    -moz-image-region: rect(0px 192px 24px 168px);
-}
-toolbar[iconsize="small"] #calendar-cut-button:active {
-    -moz-image-region: rect(24px 192px 48px 168px);
-}
-toolbar[iconsize="small"] #calendar-cut-button[disabled="true"] {
-    -moz-image-region: rect(48px 192px 72px 168px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Copy"
- *-------------------------------------------------------------------*/
-
-#calendar-copy-button {
-    -moz-image-region: rect(0px 288px 32px 256px);
-}
-#calendar-copy-button:active {
-    -moz-image-region: rect(32px 288px 64px 256px);
-}
-#calendar-copy-button[disabled="true"] {
-    -moz-image-region: rect(64px 288px 96px 256px);
-}
-
-toolbar[iconsize="small"] #calendar-copy-button {
-    -moz-image-region: rect(0px 216px 24px 192px);
-}
-toolbar[iconsize="small"] #calendar-copy-button:active {
-    -moz-image-region: rect(24px 216px 48px 192px);
-}
-toolbar[iconsize="small"] #calendar-copy-button[disabled="true"] {
-    -moz-image-region: rect(48px 216px 72px 192px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Paste"
- *-------------------------------------------------------------------*/
-
-#calendar-paste-button {
-    -moz-image-region: rect(0px 320px 32px 288px);
-}
-#calendar-paste-button:active {
-    -moz-image-region: rect(32px 320px 64px 288px);
-}
-#calendar-paste-button[disabled="true"] {
-    -moz-image-region: rect(64px 320px 96px 288px);
-}
-
-toolbar[iconsize="small"] #calendar-paste-button {
-    -moz-image-region: rect(0px 240px 24px 216px);
-}
-toolbar[iconsize="small"] #calendar-paste-button:active {
-    -moz-image-region: rect(24px 240px 48px 216px);
-}
-toolbar[iconsize="small"] #calendar-paste-button[disabled="true"] {
-    -moz-image-region: rect(48px 240px 72px 216px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Choose Date"
- *-------------------------------------------------------------------*/
-
-#calendar-choose-date-button {
-    -moz-image-region: rect(0px 576px 32px 544px);
-}
-#calendar-choose-date-button:active {
-    -moz-image-region: rect(32px 576px 64px 544px);
-}
-#calendar-choose-date-button[disabled="true"] {
-    -moz-image-region: rect(64px 576px 96px 544px);
-}
-
-toolbar[iconsize="small"] #calendar-choose-date-button {
-    -moz-image-region: rect(0px 432px 24px 408px);
-}
-toolbar[iconsize="small"] #calendar-choose-date-button:active {
-    -moz-image-region: rect(24px 432px 48px 408px);
-}
-toolbar[iconsize="small"] #calendar-choose-date-button[disabled="true"] {
-    -moz-image-region: rect(48px 432px 72px 408px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "New Event"
- *-------------------------------------------------------------------*/
-
-#calendar-new-event-button {
-    -moz-image-region: rect(0px 32px 32px 0px);
-}
-#calendar-new-event-button:active {
-    -moz-image-region: rect(32px 32px 64px 0px);
-}
-#calendar-new-event-button[disabled="true"] {
-    -moz-image-region: rect(64px 32px 96px 0px);
-}
-
-toolbar[iconsize="small"] #calendar-new-event-button {
-    -moz-image-region: rect(0px 24px 24px 0px);
-}
-toolbar[iconsize="small"] #calendar-new-event-button:active {
-    -moz-image-region: rect(24px 24px 48px 0px);
-}
-toolbar[iconsize="small"] #calendar-new-event-button[disabled="true"] {
-    -moz-image-region: rect(48px 24px 72px 0px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "New Task"
- *-------------------------------------------------------------------*/
-
-#calendar-new-task-button {
-    -moz-image-region: rect(0px 512px 32px 480px);
-}
-#calendar-new-task-button:active {
-    -moz-image-region: rect(32px 512px 64px 480px);
-}
-#calendar-new-task-button[disabled="true"] {
-    -moz-image-region: rect(64px 512px 96px 480px);
-}
-
-toolbar[iconsize="small"] #calendar-new-task-button {
-    -moz-image-region: rect(0px 384px 24px 360px);
-}
-toolbar[iconsize="small"] #calendar-new-task-button:active {
-    -moz-image-region: rect(24px 384px 48px 360px);
-}
-toolbar[iconsize="small"] #calendar-new-task-button[disabled="true"] {
-    -moz-image-region: rect(48px 384px 72px 360px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Delete"
- *-------------------------------------------------------------------*/
-
-#calendar-delete-button {
-    -moz-image-region: rect(0px 96px 32px 64px);
-}
-#calendar-delete-button:active {
-    -moz-image-region: rect(32px 96px 64px 64px);
-}
-#calendar-delete-button[disabled="true"] {
-    -moz-image-region: rect(64px 96px 96px 64px);
-}
-
-toolbar[iconsize="small"] #calendar-delete-button {
-    -moz-image-region: rect(0px 72px 24px 48px);
-}
-toolbar[iconsize="small"] #calendar-delete-button:active {
-    -moz-image-region: rect(24px 72px 48px 48px);
-}
-toolbar[iconsize="small"] #calendar-delete-button[disabled="true"] {
-    -moz-image-region: rect(48px 72px 72px 48px);
-}
-
-/*--------------------------------------------------------------------
- *   Go To Today button
- *-------------------------------------------------------------------*/
-
-#calendar-go-to-today-button {
-    -moz-image-region: rect(0px 544px 32px 512px);
-}
-#calendar-go-to-today-button:active {
-    -moz-image-region: rect(32px 544px 64px 512px);
-}
-#calendar-go-to-today-button[disabled="true"] {
-    -moz-image-region: rect(64px 544px 96px 512px);
-}
-
-toolbar[iconsize="small"] #calendar-go-to-today-button {
-    -moz-image-region: rect(0px 408px 24px 384px);
-}
-toolbar[iconsize="small"] #calendar-go-to-today-button:active {
-    -moz-image-region: rect(24px 408px 48px 384px);
-}
-toolbar[iconsize="small"] #calendar-go-to-today-button[disabled="true"] {
-    -moz-image-region: rect(48px 408px 72px 384px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: (Remote) "Reload"
- *-------------------------------------------------------------------*/
-
-#calendar-remote-reload-button {
-    -moz-image-region: rect(0px 640px 32px 608px);
-}
-#calendar-remote-reload-button:active {
-    -moz-image-region: rect(32px 640px 64px 608px);
-}
-#calendar-remote-reload-button[disabled="true"] {
-    -moz-image-region: rect(64px 640px 96px 608px);
-}
-
-toolbar[iconsize="small"] #calendar-remote-reload-button {
-    -moz-image-region: rect(0px 480px 24px 456px);
-}
-
-toolbar[iconsize="small"] #calendar-remote-reload-button:active {
-    -moz-image-region: rect(24px 480px 48px 456px);
-}
-
-toolbar[iconsize="small"] #calendar-remote-reload-button[disabled="true"] {
-    -moz-image-region: rect(48px 480px 72px 456px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Edit"
- *-------------------------------------------------------------------*/
-
-#calendar-edit-button {
-    -moz-image-region: rect(0px 64px 32px 32px);
-}
-#calendar-edit-button:active {
-    -moz-image-region: rect(32px 64px 64px 32px);
-}
-#calendar-edit-button[disabled="true"] {
-    -moz-image-region: rect(64px 64px 96px 32px);
-}
-
-toolbar[iconsize="small"] #calendar-edit-button {
-    -moz-image-region: rect(0px 48px 24px 24px);
-}
-toolbar[iconsize="small"] #calendar-edit-button:active {
-    -moz-image-region: rect(24px 48px 48px 24px);
-}
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"] {
-    -moz-image-region: rect(48px 48px 72px 24px);
-}
-
-/*--------------------------------------------------------------------
- *   Unifinder button
- *-------------------------------------------------------------------*/
-
-#calendar-unifinder-button {
-    -moz-image-region: rect(0px 704px 32px 672px);
-}
-#calendar-unifinder-button:active {
-    -moz-image-region: rect(32px 704px 64px 672px);
-}
-#calendar-unifinder-button[disabled="true"] {
-    -moz-image-region: rect(64px 704px 96px 672px);
-}
-
-toolbar[iconsize="small"] #calendar-unifinder-button {
-    -moz-image-region: rect(0px 528px 24px 504px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button:active {
-    -moz-image-region: rect(24px 528px 48px 504px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"] {
-    -moz-image-region: rect(48px 528px 72px 504px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Import"
- *-------------------------------------------------------------------*/
-
-#calendar-import-button {
-    -moz-image-region: rect(0px 352px 32px 320px);
-}
-#calendar-import-button:active {
-    -moz-image-region: rect(32px 352px 64px 320px);
-}
-#calendar-import-button[disabled="true"] {
-    -moz-image-region: rect(64px 352px 96px 320px);
-}
-
-toolbar[iconsize="small"] #calendar-import-button {
-    -moz-image-region: rect(0px 264px 24px 240px);
-}
-toolbar[iconsize="small"] #calendar-import-button:active {
-    -moz-image-region: rect(24px 264px 48px 240px);
-}
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"] {
-    -moz-image-region: rect(48px 264px 72px 240px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Export"
- *-------------------------------------------------------------------*/
-
-#calendar-export-button {
-    -moz-image-region: rect(0px 384px 32px 352px);
-}
-#calendar-export-button:active {
-    -moz-image-region: rect(32px 384px 64px 352px);
-}
-#calendar-export-button[disabled="true"] {
-    -moz-image-region: rect(64px 384px 96px 352px);
-}
-
-toolbar[iconsize="small"] #calendar-export-button {
-    -moz-image-region: rect(0px 288px 24px 264px);
-}
-toolbar[iconsize="small"] #calendar-export-button:active {
-    -moz-image-region: rect(24px 288px 48px 264px);
-}
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"] {
-    -moz-image-region: rect(48px 288px 72px 264px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Subscribe"
- *-------------------------------------------------------------------*/
-
-#calendar-subscribe-button {
-    -moz-image-region: rect(0px 416px 32px 384px);
-}
-#calendar-subscribe-button:active {
-    -moz-image-region: rect(32px 416px 64px 384px);
-}
-#calendar-subscribe-button[disabled="true"] {
-    -moz-image-region: rect(64px 416px 96px 384px);
-}
-
-toolbar[iconsize="small"] #calendar-subscribe-button {
-    -moz-image-region: rect(0px 312px 24px 288px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button:active {
-    -moz-image-region: rect(24px 312px 48px 288px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"] {
-    -moz-image-region: rect(48px 312px 72px 288px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Publish"
- *-------------------------------------------------------------------*/
-
-#calendar-publish-button {
-    -moz-image-region: rect(0px 448px 32px 416px);
-}
-#calendar-publish-button:active {
-    -moz-image-region: rect(32px 448px 64px 416px);
-}
-#calendar-publish-button[disabled="true"] {
-    -moz-image-region: rect(64px 448px 96px 416px);
-}
-
-toolbar[iconsize="small"] #calendar-publish-button {
-    -moz-image-region: rect(0px 336px 24px 312px);
-}
-toolbar[iconsize="small"] #calendar-publish-button:active {
-    -moz-image-region: rect(24px 336px 48px 312px);
-}
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"] {
-    -moz-image-region: rect(48px 336px 72px 312px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Edit"
- *-------------------------------------------------------------------*/
-
-#calendar-edit-button {
-    -moz-image-region: rect(0px 64px 32px 32px);
-}
-#calendar-edit-button:active {
-    -moz-image-region: rect(32px 64px 64px 32px);
-}
-#calendar-edit-button[disabled="true"] {
-    -moz-image-region: rect(64px 64px 96px 32px);
-}
-
-toolbar[iconsize="small"] #calendar-edit-button {
-    -moz-image-region: rect(0px 48px 24px 24px);
-}
-toolbar[iconsize="small"] #calendar-edit-button:active {
-    -moz-image-region: rect(24px 48px 48px 24px);
-}
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"] {
-    -moz-image-region: rect(48px 48px 72px 24px);
-}
-
-/*--------------------------------------------------------------------
- *   Unifinder button
- *-------------------------------------------------------------------*/
-
-#calendar-unifinder-button {
-    -moz-image-region: rect(0px 704px 32px 672px);
-}
-#calendar-unifinder-button:active {
-    -moz-image-region: rect(32px 704px 64px 672px);
-}
-#calendar-unifinder-button[disabled="true"] {
-    -moz-image-region: rect(64px 704px 96px 672px);
-}
-
-toolbar[iconsize="small"] #calendar-unifinder-button {
-    -moz-image-region: rect(0px 528px 24px 504px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button:active {
-    -moz-image-region: rect(24px 528px 48px 504px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"] {
-    -moz-image-region: rect(48px 528px 72px 504px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Import"
- *-------------------------------------------------------------------*/
-
-#calendar-import-button {
-    -moz-image-region: rect(0px 352px 32px 320px);
-}
-#calendar-import-button:active {
-    -moz-image-region: rect(32px 352px 64px 320px);
-}
-#calendar-import-button[disabled="true"] {
-    -moz-image-region: rect(64px 352px 96px 320px);
-}
-
-toolbar[iconsize="small"] #calendar-import-button {
-    -moz-image-region: rect(0px 264px 24px 240px);
-}
-toolbar[iconsize="small"] #calendar-import-button:active {
-    -moz-image-region: rect(24px 264px 48px 240px);
-}
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"] {
-    -moz-image-region: rect(48px 264px 72px 240px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Export"
- *-------------------------------------------------------------------*/
-
-#calendar-export-button {
-    -moz-image-region: rect(0px 384px 32px 352px);
-}
-#calendar-export-button:active {
-    -moz-image-region: rect(32px 384px 64px 352px);
-}
-#calendar-export-button[disabled="true"] {
-    -moz-image-region: rect(64px 384px 96px 352px);
-}
-
-toolbar[iconsize="small"] #calendar-export-button {
-    -moz-image-region: rect(0px 288px 24px 264px);
-}
-toolbar[iconsize="small"] #calendar-export-button:active {
-    -moz-image-region: rect(24px 288px 48px 264px);
-}
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"] {
-    -moz-image-region: rect(48px 288px 72px 264px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Subscribe"
- *-------------------------------------------------------------------*/
-
-#calendar-subscribe-button {
-    -moz-image-region: rect(0px 416px 32px 384px);
-}
-#calendar-subscribe-button:active {
-    -moz-image-region: rect(32px 416px 64px 384px);
-}
-#calendar-subscribe-button[disabled="true"] {
-    -moz-image-region: rect(64px 416px 96px 384px);
-}
-
-toolbar[iconsize="small"] #calendar-subscribe-button {
-    -moz-image-region: rect(0px 312px 24px 288px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button:active {
-    -moz-image-region: rect(24px 312px 48px 288px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"] {
-    -moz-image-region: rect(48px 312px 72px 288px);
-}
-
-/*--------------------------------------------------------------------
- *   Button: "Publish"
- *-------------------------------------------------------------------*/
-
-#calendar-publish-button {
-    -moz-image-region: rect(0px 448px 32px 416px);
-}
-#calendar-publish-button:active {
-    -moz-image-region: rect(32px 448px 64px 416px);
-}
-#calendar-publish-button[disabled="true"] {
-    -moz-image-region: rect(64px 448px 96px 416px);
-}
-
-toolbar[iconsize="small"] #calendar-publish-button {
-    -moz-image-region: rect(0px 336px 24px 312px);
-}
-toolbar[iconsize="small"] #calendar-publish-button:active {
-    -moz-image-region: rect(24px 336px 48px 312px);
-}
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"] {
-    -moz-image-region: rect(48px 336px 72px 312px);
-}
-
deleted file mode 100644
--- a/calendar/sunbird/base/themes/winstripe/calendar.css
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
-# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
-# 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/.
-*/
-
-/*--------------------------------------------------------------------
- *   MAIN view deck - contains nav buttons and views
- *-------------------------------------------------------------------*/
-#view-deck {
-  background: #FFFFFF;
-  padding: 0px;
-}
-
-/*--------------------------------------------------------------------
- *   menubar
- *-------------------------------------------------------------------*/
-#menubar-items {
-  -moz-box-orient: vertical; /* for flex hack */
-}
-
-#menubar-items > menubar {
-  -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
-}
-
-/*--------------------------------------------------------------------
- *   Throbber button
- *-------------------------------------------------------------------*/
-
-/* "Chasing dots" throbber */
-#navigator-throbber {
-  -moz-appearance: none;
-  -moz-user-focus: ignore;
-  margin: 0 !important;
-  border: none !important;
-  padding: 0px !important;
-  min-width: 0;
-  background-color: transparent;
-  list-style-image: url("chrome://global/skin/icons/notloading_16.png");
-}
-
-#navigator-throbber[busy="true"] {
-  list-style-image: url("chrome://global/skin/icons/loading_16.png");
-}
-
-toolbar[iconsize="small"] #navigator-throbber {
-  list-style-image: url("chrome://global/skin/icons/notloading_16.png");
-}
-
-toolbar[iconsize="small"] #navigator-throbber[busy="true"] {
-  list-style-image: url("chrome://global/skin/icons/loading_16.png");
-}
-
-/*--------------------------------------------------------------------
- * print preview
- *-------------------------------------------------------------------*/
-toolbar[printpreview="true"] {
-  -moz-binding: url("chrome://global/content/printPreviewBindings.xml#printpreviewtoolbar");
-}
-
-/*--------------------------------------------------------------------
- * Offline Status
- *-------------------------------------------------------------------*/
-
-#offline-status {
-    list-style-image: url(chrome://sunbird/skin/offline-online.png);
-    -moz-image-region: rect(0px, 28px, 14px, 14px);
-    padding: 0px 2px;
-}
-
-#offline-status[offline="true"] {
-    -moz-image-region: rect(0px, 14px, 14px, 0px);
-}
deleted file mode 100644
index e0c368a84e405767012671880d307fe79ea687cc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 0f5d6c290087c44ba0589198ade39b8b926ee545..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index e70f218b8a41d248d6b63b044693cd082a5c2be6..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/base/themes/winstripe/toolbar.css
+++ /dev/null
@@ -1,777 +0,0 @@
-/* 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/. */
-
-/*--------------------------------------------------------------------
- *   Primary toolbar buttons
- *-------------------------------------------------------------------*/
-
-.cal-toolbarbutton-1 {
-    -moz-box-orient: vertical;
-    min-width: 0px;
-    list-style-image: url("chrome://calendar/skin/toolbar-large.png");
-}
-
-.cal-toolbarbutton-1[type="menu"] {
-    -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical");
-}
-
-toolbarbutton[type="menu-button"] {
-    -moz-box-orient: horizontal;
-}
-
-toolbarbutton[type="menu-button"] > toolbarbutton {
-    -moz-box-orient: vertical !important;
-}
-
-.cal-toolbarbutton-1,
-.cal-toolbarbutton-menubutton-button {
-   padding-top: 5px;
-   padding-bottom: 6px;
-   -moz-padding-start: 4px;
-   -moz-padding-end: 5px;
-}
-
-.cal-toolbarbutton-1:hover:active:not([disabled]),
-.cal-toolbarbutton-1[open="true"],
-.cal-toolbarbutton-menubutton-button:hover:active:not([disabled]),
-.cal-toolbarbutton-menubutton-button[open="true"] {
-   padding-top: 6px;
-   padding-bottom: 5px;
-   -moz-padding-start: 5px;
-   -moz-padding-end: 4px;
-}
- 
-.cal-toolbarbutton-1[checked="true"] {
-   padding-top: 6px !important;
-   padding-bottom: 5px !important;
-   -moz-padding-start: 5px !important;
-   -moz-padding-end: 4px !important;
-}
- 
- 
-.toolbarbutton-menu-dropmarker {
-   -moz-padding-start: 3px;
-}
-
-.cal-toolbarbutton-1 .toolbarbutton-icon {
-    -moz-margin-end: 0px;
-}
-
-toolbar[mode="full"] .cal-toolbarbutton-1 {
-    min-width: 55px;
-}
-
-/*--------------------------------------------------------------------
- *   Primary toolbar buttons - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] .cal-toolbarbutton-1 {
-    -moz-box-orient: vertical;
-    min-width: 0px;
-    list-style-image: url("chrome://calendar/skin/toolbar-small.png");
-}
-
-/*--------------------------------------------------------------------
- *   Cut button
- *-------------------------------------------------------------------*/
-
-#calendar-cut-button {
-    -moz-image-region: rect(0px 192px 24px 168px);
-}
-#calendar-cut-button[disabled="true"],
-#calendar-cut-button[disabled="true"]:hover,
-#calendar-cut-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 192px 72px 168px);
-}
-#calendar-cut-button:hover {
-    -moz-image-region: rect(24px 192px 48px 168px);
-}
-
-/*--------------------------------------------------------------------
- *   Cut button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-cut-button {
-    -moz-image-region: rect(0px 128px 16px 112px);
-}
-toolbar[iconsize="small"] #calendar-cut-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-cut-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-cut-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 128px 48px 112px);
-}
-toolbar[iconsize="small"] #calendar-cut-button:hover {
-    -moz-image-region: rect(16px 128px 32px 112px);
-}
-
-/*--------------------------------------------------------------------
- *   Copy button
- *-------------------------------------------------------------------*/
-
-#calendar-copy-button {
-    -moz-image-region: rect(0px 216px 24px 192px);
-}
-#calendar-copy-button[disabled="true"],
-#calendar-copy-button[disabled="true"]:hover,
-#calendar-copy-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 216px 72px 192px);
-}
-#calendar-copy-button:hover {
-    -moz-image-region: rect(24px 216px 48px 192px);
-}
-
-/*--------------------------------------------------------------------
- *   Copy button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-copy-button {
-    -moz-image-region: rect(0px 144px 16px 128px);
-}
-toolbar[iconsize="small"] #calendar-copy-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-copy-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-copy-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 144px 48px 128px);
-}
-toolbar[iconsize="small"] #calendar-copy-button:hover {
-    -moz-image-region: rect(16px 144px 32px 128px);
-}
-
-/*--------------------------------------------------------------------
- *   Paste button
- *-------------------------------------------------------------------*/
-
-#calendar-paste-button {
-    -moz-image-region: rect(0px 240px 24px 216px);
-}
-#calendar-paste-button[disabled="true"],
-#calendar-paste-button[disabled="true"]:hover,
-#calendar-paste-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 240px 72px 216px);
-}
-#calendar-paste-button:hover {
-    -moz-image-region: rect(24px 240px 48px 216px);
-}
-
-/*--------------------------------------------------------------------
- *   Paste button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-paste-button {
-    -moz-image-region: rect(0px 160px 16px 144px);
-}
-toolbar[iconsize="small"] #calendar-paste-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-paste-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-paste-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 160px 48px 144px);
-}
-toolbar[iconsize="small"] #calendar-paste-button:hover {
-    -moz-image-region: rect(16px 160px 32px 144px);
-}
-
-/*--------------------------------------------------------------------
- *   Choose date button
- *-------------------------------------------------------------------*/
-
-#calendar-choose-date-button {
-    -moz-image-region: rect(0px 432px 24px 408px);
-}
-#calendar-choose-date-button[disabled="true"],
-#calendar-choose-date-button[disabled="true"]:hover,
-#calendar-choose-date-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 432px 72px 408px);
-}
-#calendar-choose-date-button:hover {
-    -moz-image-region: rect(24px 432px 48px 408px);
-}
-
-/*--------------------------------------------------------------------
- *   Choose date button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-choose-date-button {
-    -moz-image-region: rect(0px 288px 16px 272px);
-}
-toolbar[iconsize="small"] #calendar-choose-date-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-choose-date-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-choose-date-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 288px 48px 272px);
-}
-toolbar[iconsize="small"] #calendar-choose-date-button:hover {
-    -moz-image-region: rect(16px 288px 32px 272px);
-}
-
-/*--------------------------------------------------------------------
- *   delete event button
- *-------------------------------------------------------------------*/
-
-#calendar-delete-button {
-    -moz-image-region: rect(0px 72px 24px 48px);
-}
-#calendar-delete-button[disabled="true"],
-#calendar-delete-button[disabled="true"]:hover,
-#calendar-delete-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 72px 72px 48px);
-}
-#calendar-delete-button:hover {
-    -moz-image-region: rect(24px 72px 48px 48px);
-}
-
-/*--------------------------------------------------------------------
- *   delete event button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-delete-button {
-    -moz-image-region: rect(0px 48px 16px 32px);
-}
-toolbar[iconsize="small"] #calendar-delete-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-delete-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-delete-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 48px 48px 32px);
-}
-toolbar[iconsize="small"] #calendar-delete-button:hover {
-    -moz-image-region: rect(16px 48px 32px 32px);
-}
-
-/*--------------------------------------------------------------------
- *   Print button
- *-------------------------------------------------------------------*/
-
-#calendar-print-button {
-    -moz-image-region: rect(0px 360px 24px 336px);
-}
-#calendar-print-button[disabled="true"],
-#calendar-print-button[disabled="true"]:hover,
-#calendar-print-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 360px 72px 336px);
-}
-#calendar-print-button:hover {
-    -moz-image-region: rect(24px 360px 48px 336px);
-}
-
-/*--------------------------------------------------------------------
- *   Print button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-print-button {
-    -moz-image-region: rect(0px 240px 16px 224px);
-}
-toolbar[iconsize="small"] #calendar-print-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-print-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-print-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 240px 48px 224px);
-}
-toolbar[iconsize="small"] #calendar-print-button:hover {
-    -moz-image-region: rect(16px 240px 32px 224px);
-}
-
-/*--------------------------------------------------------------------
- *   Go To Today button
- *-------------------------------------------------------------------*/
-
-#calendar-go-to-today-button {
-    -moz-image-region: rect(0px 408px 24px 384px);
-}
-#calendar-go-to-today-button[disabled="true"],
-#calendar-go-to-today-button[disabled="true"]:hover,
-#calendar-go-to-today-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 408px 72px 384px);
-}
-#calendar-go-to-today-button:hover {
-    -moz-image-region: rect(24px 408px 48px 384px);
-}
-
-/*--------------------------------------------------------------------
- *   Go To Today button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-go-to-today-button {
-    -moz-image-region: rect(0px 272px 16px 256px);
-}
-toolbar[iconsize="small"] #calendar-go-to-today-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-go-to-today-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-go-to-today-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 272px 48px 256px);
-}
-toolbar[iconsize="small"] #calendar-go-to-today-button:hover {
-    -moz-image-region: rect(16px 272px 32px 256px);
-}
-
-/*--------------------------------------------------------------------
- *   Remote Reload button
- *-------------------------------------------------------------------*/
-
-#calendar-remote-reload-button {
-    -moz-image-region: rect(0px 480px 24px 456px);
-}
-#calendar-remote-reload-button[disabled="true"],
-#calendar-remote-reload-button[disabled="true"]:hover,
-#calendar-remote-reload-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 480px 72px 456px);
-}
-#calendar-remote-reload-button:hover {
-    -moz-image-region: rect(24px 480px 48px 456px);
-}
-
-/*--------------------------------------------------------------------
- *   Remote Reload button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-remote-reload-button {
-    -moz-image-region: rect(0px 320px 16px 304px);
-}
-toolbar[iconsize="small"] #calendar-remote-reload-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-remote-reload-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-remote-reload-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 320px 48px 304px);
-}
-toolbar[iconsize="small"] #calendar-remote-reload-button:hover {
-    -moz-image-region: rect(16px 320px 32px 304px);
-}
-
-/*--------------------------------------------------------------------
- *   new event button
- *-------------------------------------------------------------------*/
-
-#calendar-new-event-button {
-    -moz-image-region: rect(0px 24px 24px 0px);
-}
-#calendar-new-event-button[disabled="true"],
-#calendar-new-event-button[disabled="true"]:hover,
-#calendar-new-event-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 24px 72px 0px);
-}
-#calendar-new-event-button:hover {
-    -moz-image-region: rect(24px 24px 48px 0px);
-}
-
-/*--------------------------------------------------------------------
- *   new event button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-new-event-button {
-    -moz-image-region: rect(0px 16px 16px 0px);
-}
-toolbar[iconsize="small"] #calendar-new-event-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-new-event-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-new-event-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 16px 48px 0px);
-}
-toolbar[iconsize="small"] #calendar-new-event-button:hover {
-    -moz-image-region: rect(16px 16px 32px 0px);
-}
-
-/*--------------------------------------------------------------------
- *   New Task button
- *-------------------------------------------------------------------*/
-
-#calendar-new-task-button {
-    -moz-image-region: rect(0px 384px 24px 360px);
-}
-#calendar-new-task-button[disabled="true"],
-#calendar-new-task-button[disabled="true"]:hover,
-#calendar-new-task-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 384px 72px 360px);
-}
-#calendar-new-task-button:hover {
-    -moz-image-region: rect(24px 384px 48px 360px);
-}
-
-/*--------------------------------------------------------------------
- *   New Task button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-new-task-button {
-    -moz-image-region: rect(0px 256px 16px 240px);
-}
-toolbar[iconsize="small"] #calendar-new-task-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-new-task-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-new-task-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 256px 48px 240px);
-}
-toolbar[iconsize="small"] #calendar-new-task-button:hover {
-    -moz-image-region: rect(16px 256px 32px 240px);
-}
-
-/*--------------------------------------------------------------------
- *   edit event button
- *-------------------------------------------------------------------*/
-
-#calendar-edit-button {
-    -moz-image-region: rect(0px 48px 24px 24px);
-}
-#calendar-edit-button[disabled="true"],
-#calendar-edit-button[disabled="true"]:hover,
-#calendar-edit-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 48px 72px 24px);
-}
-#calendar-edit-button:hover {
-    -moz-image-region: rect(24px 48px 48px 24px);
-}
-
-/*--------------------------------------------------------------------
- *   edit event button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-edit-button {
-    -moz-image-region: rect(0px 32px 16px 16px);
-}
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 32px 48px 16px);
-}
-toolbar[iconsize="small"] #calendar-edit-button:hover {
-    -moz-image-region: rect(16px 32px 32px 16px);
-}
-
-/*--------------------------------------------------------------------
- *   Unifinder button
- *-------------------------------------------------------------------*/
-
-#calendar-unifinder-button {
-    -moz-image-region: rect(0px 528px 24px 504px);
-}
-#calendar-unifinder-button[disabled="true"],
-#calendar-unifinder-button[disabled="true"]:hover,
-#calendar-unifinder-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 528px 72px 504px);
-}
-#calendar-unifinder-button:hover {
-    -moz-image-region: rect(24px 528px 48px 504px);
-}
-
-/*--------------------------------------------------------------------
- *   Unifinder button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-unifinder-button {
-    -moz-image-region: rect(0px 352px 16px 336px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 352px 48px 336px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button:hover {
-    -moz-image-region: rect(16px 352px 32px 336px);
-}
-
-/*--------------------------------------------------------------------
- *   Import button
- *-------------------------------------------------------------------*/
-
-#calendar-import-button {
-    -moz-image-region: rect(0px 264px 24px 240px);
-}
-#calendar-import-button[disabled="true"],
-#calendar-import-button[disabled="true"]:hover,
-#calendar-import-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 264px 72px 240px);
-}
-#calendar-import-button:hover {
-    -moz-image-region: rect(24px 264px 48px 240px);
-}
-
-/*--------------------------------------------------------------------
- *   Import button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-import-button {
-    -moz-image-region: rect(0px 176px 16px 160px);
-}
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 176px 48px 160px);
-}
-toolbar[iconsize="small"] #calendar-import-button:hover {
-    -moz-image-region: rect(16px 176px 32px 160px);
-}
-
-/*--------------------------------------------------------------------
- *   Export button
- *-------------------------------------------------------------------*/
-
-#calendar-export-button {
-    -moz-image-region: rect(0px 288px 24px 264px);
-}
-#calendar-export-button[disabled="true"],
-#calendar-export-button[disabled="true"]:hover,
-#calendar-export-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 288px 72px 264px);
-}
-#calendar-export-button:hover {
-    -moz-image-region: rect(24px 288px 48px 264px);
-}
-
-/*--------------------------------------------------------------------
- *   Export button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-export-button {
-    -moz-image-region: rect(0px 192px 16px 176px);
-}
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 192px 48px 176px);
-}
-toolbar[iconsize="small"] #calendar-export-button:hover {
-    -moz-image-region: rect(16px 192px 32px 176px);
-}
-
-/*--------------------------------------------------------------------
- *   Subscribe button
- *-------------------------------------------------------------------*/
-
-#calendar-subscribe-button {
-    -moz-image-region: rect(0px 312px 24px 288px);
-}
-#calendar-subscribe-button[disabled="true"],
-#calendar-subscribe-button[disabled="true"]:hover,
-#calendar-subscribe-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 312px 72px 288px);
-}
-#calendar-subscribe-button:hover {
-    -moz-image-region: rect(24px 312px 48px 288px);
-}
-
-/*--------------------------------------------------------------------
- *   Subscribe button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-subscribe-button {
-    -moz-image-region: rect(0px 208px 16px 192px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 208px 48px 192px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button:hover {
-    -moz-image-region: rect(16px 208px 32px 192px);
-}
-
-/*--------------------------------------------------------------------
- *   Publish button
- *-------------------------------------------------------------------*/
-
-#calendar-publish-button {
-    -moz-image-region: rect(0px 336px 24px 312px);
-}
-#calendar-publish-button[disabled="true"],
-#calendar-publish-button[disabled="true"]:hover,
-#calendar-publish-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 336px 72px 312px);
-}
-#calendar-publish-button:hover {
-    -moz-image-region: rect(24px 336px 48px 312px);
-}
-
-/*--------------------------------------------------------------------
- *   Publish button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-publish-button {
-    -moz-image-region: rect(0px 224px 16px 208px);
-}
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 224px 48px 208px);
-}
-toolbar[iconsize="small"] #calendar-publish-button:hover {
-    -moz-image-region: rect(16px 224px 32px 208px);
-}
-
-/*--------------------------------------------------------------------
- *   edit event button
- *-------------------------------------------------------------------*/
-
-#calendar-edit-button {
-    -moz-image-region: rect(0px 48px 24px 24px);
-}
-#calendar-edit-button[disabled="true"],
-#calendar-edit-button[disabled="true"]:hover,
-#calendar-edit-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 48px 72px 24px);
-}
-#calendar-edit-button:hover {
-    -moz-image-region: rect(24px 48px 48px 24px);
-}
-
-/*--------------------------------------------------------------------
- *   edit event button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-edit-button {
-    -moz-image-region: rect(0px 32px 16px 16px);
-}
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-edit-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 32px 48px 16px);
-}
-toolbar[iconsize="small"] #calendar-edit-button:hover {
-    -moz-image-region: rect(16px 32px 32px 16px);
-}
-
-/*--------------------------------------------------------------------
- *   Unifinder button
- *-------------------------------------------------------------------*/
-
-#calendar-unifinder-button {
-    -moz-image-region: rect(0px 528px 24px 504px);
-}
-#calendar-unifinder-button[disabled="true"],
-#calendar-unifinder-button[disabled="true"]:hover,
-#calendar-unifinder-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 528px 72px 504px);
-}
-#calendar-unifinder-button:hover {
-    -moz-image-region: rect(24px 528px 48px 504px);
-}
-
-/*--------------------------------------------------------------------
- *   Unifinder button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-unifinder-button {
-    -moz-image-region: rect(0px 352px 16px 336px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-unifinder-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 352px 48px 336px);
-}
-toolbar[iconsize="small"] #calendar-unifinder-button:hover {
-    -moz-image-region: rect(16px 352px 32px 336px);
-}
-
-/*--------------------------------------------------------------------
- *   Import button
- *-------------------------------------------------------------------*/
-
-#calendar-import-button {
-    -moz-image-region: rect(0px 264px 24px 240px);
-}
-#calendar-import-button[disabled="true"],
-#calendar-import-button[disabled="true"]:hover,
-#calendar-import-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 264px 72px 240px);
-}
-#calendar-import-button:hover {
-    -moz-image-region: rect(24px 264px 48px 240px);
-}
-
-/*--------------------------------------------------------------------
- *   Import button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-import-button {
-    -moz-image-region: rect(0px 176px 16px 160px);
-}
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-import-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 176px 48px 160px);
-}
-toolbar[iconsize="small"] #calendar-import-button:hover {
-    -moz-image-region: rect(16px 176px 32px 160px);
-}
-
-/*--------------------------------------------------------------------
- *   Export button
- *-------------------------------------------------------------------*/
-
-#calendar-export-button {
-    -moz-image-region: rect(0px 288px 24px 264px);
-}
-#calendar-export-button[disabled="true"],
-#calendar-export-button[disabled="true"]:hover,
-#calendar-export-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 288px 72px 264px);
-}
-#calendar-export-button:hover {
-    -moz-image-region: rect(24px 288px 48px 264px);
-}
-
-/*--------------------------------------------------------------------
- *   Export button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-export-button {
-    -moz-image-region: rect(0px 192px 16px 176px);
-}
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-export-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 192px 48px 176px);
-}
-toolbar[iconsize="small"] #calendar-export-button:hover {
-    -moz-image-region: rect(16px 192px 32px 176px);
-}
-
-/*--------------------------------------------------------------------
- *   Subscribe button
- *-------------------------------------------------------------------*/
-
-#calendar-subscribe-button {
-    -moz-image-region: rect(0px 312px 24px 288px);
-}
-#calendar-subscribe-button[disabled="true"],
-#calendar-subscribe-button[disabled="true"]:hover,
-#calendar-subscribe-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 312px 72px 288px);
-}
-#calendar-subscribe-button:hover {
-    -moz-image-region: rect(24px 312px 48px 288px);
-}
-
-/*--------------------------------------------------------------------
- *   Subscribe button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-subscribe-button {
-    -moz-image-region: rect(0px 208px 16px 192px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-subscribe-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 208px 48px 192px);
-}
-toolbar[iconsize="small"] #calendar-subscribe-button:hover {
-    -moz-image-region: rect(16px 208px 32px 192px);
-}
-
-/*--------------------------------------------------------------------
- *   Publish button
- *-------------------------------------------------------------------*/
-
-#calendar-publish-button {
-    -moz-image-region: rect(0px 336px 24px 312px);
-}
-#calendar-publish-button[disabled="true"],
-#calendar-publish-button[disabled="true"]:hover,
-#calendar-publish-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(48px 336px 72px 312px);
-}
-#calendar-publish-button:hover {
-    -moz-image-region: rect(24px 336px 48px 312px);
-}
-
-/*--------------------------------------------------------------------
- *   Publish button - small
- *-------------------------------------------------------------------*/
-
-toolbar[iconsize="small"] #calendar-publish-button {
-    -moz-image-region: rect(0px 224px 16px 208px);
-}
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"],
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"]:hover,
-toolbar[iconsize="small"] #calendar-publish-button[disabled="true"]:hover:active {
-    -moz-image-region: rect(32px 224px 48px 208px);
-}
-toolbar[iconsize="small"] #calendar-publish-button:hover {
-    -moz-image-region: rect(16px 224px 32px 208px);
-}
deleted file mode 100644
index 66f66335c64ffe8eb2d2c11ca98eeefbec857afa..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/Makefile.in
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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/.
-
-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 ($(OS_ARCH),WINNT)
-	cp $(srcdir)/sunbird.ico       $(DIST)/branding/sunbird.ico
-	cp $(srcdir)/sunbird.ico       $(DIST)/branding/app.ico
-	cp $(srcdir)/sunbird.ico       $(DIST)/branding/document.ico
-	cp $(srcdir)/branding.nsi      $(DIST)/branding/branding.nsi
-	cp $(srcdir)/wizHeader.bmp     $(DIST)/branding/wizHeader.bmp
-	cp $(srcdir)/wizHeaderRTL.bmp  $(DIST)/branding/wizHeaderRTL.bmp
-	cp $(srcdir)/wizWatermark.bmp  $(DIST)/branding/wizWatermark.bmp
-	cp $(srcdir)/license.txt       $(DIST)/branding/license.txt
-	cp $(srcdir)/Header.bmp        $(DIST)/branding/Header.bmp
-	cp $(srcdir)/Watermrk.bmp      $(DIST)/branding/Watermrk.bmp
-endif
-ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
-	cp $(srcdir)/sunbird.icns      $(DIST)/branding/sunbird.icns
-	cp $(srcdir)/sb_ICS.icns       $(DIST)/branding/sb_ICS.icns
-	cp $(srcdir)/background.png    $(DIST)/branding/background.png
-	cp $(srcdir)/dsstore           $(DIST)/branding/dsstore
-	cp $(srcdir)/disk.icns         $(DIST)/branding/disk.icns
-endif
-ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
-	cp $(srcdir)/mozicon128.png    $(DIST)/branding/default128.png
-	cp $(srcdir)/mozicon50.xpm     $(DIST)/branding/default50.xpm
-	cp $(srcdir)/mozicon16.xpm     $(DIST)/branding/default16.xpm
-	cp $(srcdir)/default.xpm       $(DIST)/branding/default.xpm
-endif
-ifeq ($(OS_ARCH),OS2)
-	cp $(srcdir)/sunbird-os2.ico   $(DIST)/branding/sunbird.ico
-endif
deleted file mode 100644
index 8fca9edc0359b9601af948f97a0381fe75d0f829..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index f7ba577653783d1ece58c7adc5b0b3670dca526d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100755
--- a/calendar/sunbird/branding/nightly/branding.nsi
+++ /dev/null
@@ -1,14 +0,0 @@
-# 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-licenses/branding/sunbird/
-!define BrandShortName        "Calendar"
-!define BrandFullName         "Calendar"
-# BrandFullNameInternal is used for some registry and file system values that
-# should not contain release that may be in the BrandFullName (e.g. Beta 1, etc.)
-!define BrandFullNameInternal "Mozilla Sunbird"
-!define CompanyName           "Mozilla"
-!define URLInfoAbout          "http://www.mozilla.org/"
-!define URLUpdateInfo         "http://www.mozilla.org/projects/calendar/sunbird/"
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/configure.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# 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=Calendar
deleted file mode 100644
index 53232115bd5fda0f092f0d9401361aa78d48d458..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 044294a194950157b593ceedc3dce91bcb0e15f4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 6ee41679f54f8e4762672445641f59a666b7da27..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 00bcedaf86f5fbc091e85b8ccaf25fa1314e5c2f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index cbcd5de0c8ca395276f6908bffbf1804ede236c1..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/default.xpm
+++ /dev/null
@@ -1,315 +0,0 @@
-/* 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/. */
-
-/* XPM */
-static char * default[] = {
-/* columns rows colors chars-per-pixel */
-"48 48 257 2",
-"   c #010101",
-".  c #0A0A08",
-"X  c #0B0B12",
-"o  c #151517",
-"O  c #18160E",
-"+  c #1A1C26",
-"@  c #211D11",
-"#  c #24221A",
-"$  c #272628",
-"%  c #3B3827",
-"&  c #292A35",
-"*  c #393B44",
-"=  c #37464B",
-"-  c #3C5154",
-";  c #403D2B",
-":  c #4C4834",
-">  c #4C4C52",
-",  c #575965",
-"<  c #546A65",
-"1  c #736F54",
-"2  c #6C747B",
-"3  c #78726B",
-"4  c #7A7773",
-"5  c #6E6C6C",
-"6  c #784A42",
-"7  c #757D85",
-"8  c #7B8289",
-"9  c #7F9297",
-"0  c #BE1D18",
-"q  c #A83831",
-"w  c #BD572D",
-"e  c #9A504B",
-"r  c #807A5E",
-"t  c #817E67",
-"y  c #837D75",
-"u  c #9D7870",
-"i  c #A95A56",
-"p  c #AC6A5D",
-"a  c #AC7D70",
-"s  c #B16E6C",
-"d  c #DE1500",
-"f  c #DF1800",
-"g  c #DD3400",
-"h  c #D93B00",
-"j  c #DE270A",
-"k  c #C63C33",
-"l  c #D03D34",
-"z  c #D7362F",
-"x  c #E11C00",
-"c  c #FB1B00",
-"v  c #E90F00",
-"b  c #E32104",
-"n  c #E82708",
-"m  c #E53902",
-"M  c #F12E10",
-"N  c #EA342A",
-"B  c #D84901",
-"V  c #DE4A1D",
-"C  c #DB471B",
-"Z  c #D55507",
-"A  c #D95518",
-"S  c #CF5816",
-"D  c #C05428",
-"F  c #CB5F34",
-"G  c #D0433C",
-"H  c #CF462E",
-"J  c #D5641F",
-"K  c #D27439",
-"L  c #CF672E",
-"P  c #E34300",
-"I  c #E54B02",
-"U  c #E84507",
-"Y  c #E04D19",
-"T  c #E24B15",
-"R  c #E65506",
-"E  c #E0501A",
-"W  c #E55A13",
-"Q  c #E25C18",
-"!  c #F75501",
-"~  c #F14505",
-"^  c #CF4E4B",
-"/  c #D04A44",
-"(  c #D04D49",
-")  c #CD5754",
-"_  c #CF7E45",
-"`  c #C96F51",
-"'  c #C56766",
-"]  c #C67876",
-"[  c #8B8754",
-"{  c #888266",
-"}  c #8B847A",
-"|  c #938A7A",
-" . c #99947A",
-".. c #9C976A",
-"X. c #A5A170",
-"o. c #A7857A",
-"O. c #D28B57",
-"+. c #C8807E",
-"@. c #D39567",
-"#. c #D4A379",
-"$. c #8B8580",
-"%. c #89898D",
-"&. c #898886",
-"*. c #838A90",
-"=. c #8D8E92",
-"-. c #8F9093",
-";. c #8E909A",
-":. c #918E89",
-">. c #918C83",
-",. c #959289",
-"<. c #999688",
-"1. c #929396",
-"2. c #999A9C",
-"3. c #989896",
-"4. c #9D9EA3",
-"5. c #9EA0A3",
-"6. c #A49E98",
-"7. c #A99993",
-"8. c #A9A487",
-"9. c #A9A493",
-"0. c #A6A296",
-"q. c #B3AD8B",
-"w. c #B1AD97",
-"e. c #B8B488",
-"r. c #B9B598",
-"t. c #A3A3A4",
-"y. c #A3A5AC",
-"u. c #A9A9AC",
-"i. c #ACA4A2",
-"p. c #ABADB2",
-"a. c #AEB0B7",
-"s. c #B8B3A8",
-"d. c #B7B8BA",
-"f. c #BBB4B2",
-"g. c #BCBDBE",
-"h. c #B7B6B8",
-"j. c #B6AEAC",
-"k. c #BCBDC2",
-"l. c #BFC0C2",
-"z. c #C98B8A",
-"x. c #C98482",
-"c. c #D09797",
-"v. c #C4B89A",
-"b. c #D7B08C",
-"n. c #C2BAA7",
-"m. c #C2BCB5",
-"M. c #DCBDA2",
-"N. c #C0BAC3",
-"B. c #C8C39C",
-"V. c #D1CB9F",
-"C. c #CCC9AA",
-"Z. c #C9C5A8",
-"A. c #C3C2BC",
-"S. c #C9C3B3",
-"D. c #C9C5BA",
-"F. c #CCC9B4",
-"G. c #CBC9BB",
-"H. c #C5C2B2",
-"J. c #D2CCAD",
-"K. c #D2CDA1",
-"L. c #D3CDB4",
-"P. c #D4CEB8",
-"I. c #DBC9B1",
-"U. c #D9D5AE",
-"Y. c #D5D0B5",
-"T. c #D5D1BB",
-"R. c #D9D4B6",
-"E. c #DAD5BB",
-"W. c #DDD9BC",
-"Q. c #EAC19F",
-"!. c #E1DCAC",
-"~. c #E2DCBD",
-"^. c #E0D8B6",
-"/. c #E0CBB1",
-"(. c #E5E0BC",
-"). c #EAE5BC",
-"_. c #EBE6B8",
-"`. c #EDE8B9",
-"'. c #C3C4C2",
-"]. c #CCCAC2",
-"[. c #CBCBCC",
-"{. c #C5C4C7",
-"}. c #C9CAD1",
-"|. c #CED0D0",
-" X c #CDDAD8",
-".X c #D2CEC6",
-"XX c #D5D3C2",
-"oX c #D4D3CB",
-"OX c #D9D6C3",
-"+X c #D8D5CA",
-"@X c #DDDAC3",
-"#X c #DDDACB",
-"$X c #D1D1D2",
-"%X c #D6D5DA",
-"&X c #DCDAD2",
-"*X c #DADBDB",
-"=X c #D9D8D7",
-"-X c #D1CFD0",
-";X c #DDDEE1",
-":X c #D5D3E3",
-">X c #DDE9D3",
-",X c #DBE5CF",
-"<X c #DBF2F5",
-"1X c #E2DDC3",
-"2X c #E1DECA",
-"3X c #E2D5C3",
-"4X c #E1DDD3",
-"5X c #E0DCE4",
-"6X c #E5E1C2",
-"7X c #E4E1CB",
-"8X c #E9E5C3",
-"9X c #E9E5CA",
-"0X c #EDE9C3",
-"qX c #ECE9CC",
-"wX c #E3E2D3",
-"eX c #E4E3DA",
-"rX c #ECEAD2",
-"tX c #ECEBDC",
-"yX c #E8E6D6",
-"uX c #ECF2DD",
-"iX c #F1EBC3",
-"pX c #F2EDCB",
-"aX c #F2E7C3",
-"sX c #F2EDD3",
-"dX c #F0EEDB",
-"fX c #F5F1CC",
-"gX c #F9F4CC",
-"hX c #FAF4C6",
-"jX c #F5F1D3",
-"kX c #F5F2DB",
-"lX c #FAF5D4",
-"zX c #FAF5DB",
-"xX c #FDFAD3",
-"cX c #FDFBDC",
-"vX c #F6F8D9",
-"bX c #E4E3E3",
-"nX c #EBEAE3",
-"mX c #ECECEA",
-"MX c #E7E6E8",
-"NX c #EAEAF1",
-"BX c #ECF7E7",
-"VX c #EBF9F4",
-"CX c #F0EEEA",
-"ZX c #F0EFE2",
-"AX c #F4F3E4",
-"SX c #F3F3EC",
-"DX c #F5F9EC",
-"FX c #F9F5E3",
-"GX c #F8F6EA",
-"HX c #FDFBE3",
-"JX c #FDFCEB",
-"KX c #F3F3F3",
-"LX c #F4FCFD",
-"PX c #FDFDF2",
-"IX c #FEFEFD",
-"UX c #F5F5F7",
-"YX c None",
-/* pixels */
-"YXYXYXYXYX7.q i i e e s c.c.z.z.z.z.z.z.x.x.x.+.+.+.] ] ] ] ] ' ] ' ' ' ' ' ' ' i ) i ( e < A.YX",
-"YXYXYXYX Xs 0 k k k q / ^ ^ ^ ^ ^ ^ / / ( ( ( / / / / / / / G G G G l l l l l l z z N N 6 = s.YX",
-"YXYXYXYXp v c j M n M x d d d d d d v d x d f f d x x v x f x x x x x b b x n x n j c n < - 3 YX",
-"YXYXYXYXp m T H C C V V V V V V V V V V V V V V V C C V V V V V V V V C C V V V V V M H 9 8 | YX",
-"YXYXYXYX` B U Y T Y Y Y E A E E V E A Y E E E Y E Y E Y V Y Y Y E E A Y Y Y T A E A ~ C *.2 | l.",
-"YXYXYXYXw g j g g g m g m m m P U U P I I I I W W R W W Q Q Q Q Q Q W W Q Q Q W Q A ! W 8 2 y t.",
-"YXYXYXYXn.b.b.b.#.@.O.O.O.K K L S S S Z B B B h h h B m B P P P I I I I I R R R R R ! W 9 7 y u.",
-"YXYXYXYX,XDXIXPXIXLXIXIXVXDXVXBXBXuXuX2X2X1XI.M.M.b.#.#.@.O.K O.K L J J Z Z Z B I Z ~ B *.8 } 0.",
-"YXYXYXYXL.0XiX^.1X8X6X8XqXvXvXHXJXPXPXPXIXIXIXIXIXIXIXLXIXLXLXLXLXUXVXmXeX4X2X3XI.I.Q.b.} 4 $.y.",
-"YXYXYXYXL.pX6XY.6X~.~.~.@XW.W.~.W.W.W.~.~.W.1X8X0XsXsXzXzXHXPXPXPXPXIXIXIXIXIXIXIXIXLXLX} 5 &.t.",
-"YXYXYXYXL.0X1X6XlXgXjXjXpXpXfXqXpX9X9X9XP.1X7XwX+XF.E.OXOXXXT.@X2X2X7XrXdXZXdXkXHXFXPXCX&.3 >.0.",
-"YXYXYXYXP.aX8X8XlXpXpXpXjXfXjXjXpXvXcXzX1XxXcXPXSXOXgXkXAXmXT.0X9XrXeXF.R.W.#X+XoXFXIXnX&.3 >.t.",
-"YXYXYXYXL.pX8XR.aX8XpXgXjXjXfXlXzXvXfXpX@XjXkXJXCX#XgXFXPXPX#XgXzXJXJX#XgXxXFXJX#XtXIXmX>.4 :.5.",
-"YXYXYXYXL.pX(.T.9X2X@XT.W.1X1XqXpXyXlXsX7XHXJXPXKX1XcXFXJXGX@XjXdXJXGX#XjXFXcXJX*XdXIXCX>.y ,.0.",
-"YXYXYXYXF.aX~.6XcXzXGX+X).qXtX+XF.3X2X1XP.wXtXSXmX#XHXPXIXUXwXxXFXJXPX2XfXkXFXPX4XtXIXmX>.4 ,.2.",
-"YXYXYXYXL.pX1X9XcXzXPX2XpXzXPXyX~.xXkXAXXXU.@XyX$XD.6X&XbXbX+XdXGXLXUXwXcXJXPXIX4XkXIXCX,.} ,.u.",
-"YXYXYXYXF.iX(.2XJXJXIXwXpXzXJXtX1XcXFXJX2XfXcXHXdXW.pX9XrXwXF.W.OX#X*X].7XtXSXUX*XkXIXSX,.} } =X",
-"YXYXYXYXXXgX(.H.2XyXbXoXrXJXIXmX9XcXHXPX2XpXvXJXZX#XxXcXJXGX1XfXsXvXtXP.~.2X#X+X[.AXIXmX<.} >.|.",
-"YXYXYXYX&XhX1X(.pX9XwXF.R.2XeX[.P.dXGXLX*XlXJXPXKX@XfXkXJXAX#XfXzXJXGX#XgXlXFXFX&XAXIXCX<.| >.oX",
-"YXYXYXYXF.xXW.0XcXcXPX6XiXfXrX+XL.~.1X=XG.@XdXKXNX2XHXPXPXUX2XjXkXJXAX#XfXzXHXJXwXZXIXCX3.} ,.|.",
-"YXYXYXYXT.xXE.7XcXJXUX@XgXzXJXtX8XxXlXuXT.~.1X2XoXD.2XtXmXNX&XzXJXPXIXwXlXzXFXJX*XAXIXCX6.| <.|.",
-"YXYXYXP.8XxXF.T.W.nXbXOXlXcXPXeX6XgXHXGXW.gXxXcXtXY.).~.2X#XF.@X#XnXNX#XkXJXPXIXbXkXIXCX0.| <.|.",
-"YXYXYXf.fXqXR.fX8XtXoXZ.@XwXmX#X8XzXPXSXE.gXzXJXtX~.gXlXHXkX~.).6X9X&XD.T.#XeXNX*XGXIXKX0.>.<.-X",
-"YXYXYXm.xX8X~.cXcXPX#X).fXrXwXH.~.2XnX*X~.zXHXPXeX8XlXsXHXtX6XgXzXcXFXW.`.pXqX1X].DXIXCX0. .<.=X",
-"YXYXYXE.lXY.qXcXJXPXXXfXzXJXZX~.gXpXyXG.R.7X2XSX&X8XcXzXPXmX~.gXrXHXCXE.gXcXzXcX4XSXIXnX9.<.<.{.",
-"YXYXm.pXxXm.T.7XZXbX6XcXzXJX*X(.gXFXPX@X`.fXyXtXD.L.1XyXKXeX1XcXHXPXnXE.pXsXzXFX*XSXIXeX9.9.6.6.",
-"YXYXm.xX1X1XfX9XwXA.Y.9XdXPX#XgXzXJXSXE.pXzXJXAXW.iXqX9XyX].Y.7XwXGXeX0XcXzXJXJXyXPXIX+Xw.w.,.:.",
-"YXi.3XcXL.jXcXHXPX@X0X1XwX&Xm.~.dXPX*X0XcXsXPX4XR.xXzXcXDXOX0X8X2X>X'.L.7XrXGXCXbXPXIXH.w.r.:.2.",
-"YXA.xX~.1XcXvXPXbX~.xXcXPX4XR.qX1X&XA.~.rXzXIXyXaXlXsXJXCXR.xXlXJXPXP.(.9X2X#X].nXIXIXs.w.r.:.YX",
-"h.qXcXW.P.9XAXIX#XfXzXFXPXXXgXcXJXeXL.8XT.wX*XF.qXzXHXPX*X0XlXdXJXnX~.xXcXzXFX&XmXIXCXr.n.8.%.YX",
-"n.0XcXHXjX@X2X].C.jXFXIX4X6XlXsXJX&X0XcXvXJX&XC.1XOXwXnXT.iXcXFXPX4X(.lXrXFXFXbXPXIX+Xw.R.{ -.YX",
-"A. .r.2XqXcXcXfXqXOXW.*XG.0XcXPXCXY.gXvXHXPX#XhXcXrXtXoXXX7X2XkXbXR.gXcXzXJXyXbXIXIXF.r.W.y 8 YX",
-"YX7.{ v.~.R.3X9XzXJXcX9X@XR.#XeX].iXcXzXPXbXW.gXjXzXJXeXGXPXnXnX+XOX7X7XzXJX=XPXIXMXr.L.B.3 YXYX",
-"YXYX1.@ : 8.U.R.W.E.yXcXPXJXkX#XP.W.@XkXUXOXhXcXkXJXyXeXJXJXPXJXPXPXnXwXtX$X*XIXIXOXq.8X ., YXYX",
-"YXYXYX* * o # 1 q.I.~.L.L.yXHXJXPXAX7XwXG.F.qXsXHXDXeXAXJXAXFXGXJXPXPXIXPXoXSXIXMXZ.Z.iX> 7 YXYX",
-"YXYXYXYXYXa.8 + . ; r v.iX~.L.XXwXJXIXJXFXZX#XT.eXoXwXPXPXJXJXPXGXFXPXIXnXUXIX*XZ.B.qXU.$ YXYXYX",
-"YXYXYXYXYXYXYXYXk.> $ $ ; { U.`.~.Y.P.yXPXIXPXPXtX2XeXeXwXtXPXAXGXIXIXIXIXmXf.B.U.L.JX: > YXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYX%.* & O : q.!.).~.L.E.tXPXIXIXPXFXnXtXwXZXIXbX . .9.8.B.`.J.zXB.  [.YXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYX4 , X o 1 8.!.gX^.Y.OXyXGXPXIXIXIXKXs.1 [ [ ..B.^.C.(.JX@ > YXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXbX1.+ . # 1 v.hXhX^.L.F.T.@XG.q.X.q.e.e.J.C.K.U.PX{   YXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX[.2 * o # 3 K.hXxXhXK.e.e.Z.U.U.).).(.U.PXT.  %.YXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXy.7 & . % t B.cXJXlX).`.iX).0X_.cXGX  = YXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXk., X O % { 7XJXcXxX`.!.xXIX# o YXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX4.= $   % 8.gXcXPXIX$   bXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXy., . . 1 A.@   %XYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX4.= . o *XYXYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX4.u.YXYXYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX"
-};
deleted file mode 100644
index b9e9bafa94505715dc38ee9341bb36f28eddcf18..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 3fb631fc0605707e9989a6bc8c88cd1baf9beda0..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/jar.mn
+++ /dev/null
@@ -1,11 +0,0 @@
-# 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/.
-
-sunbird.jar:
-% content branding %content/branding/
-    content/branding/about.png                             (content/about.png)
-    content/branding/aboutCredits.png                      (content/aboutCredits.png)
-    content/branding/aboutFooter.png                       (content/aboutFooter.png)
-    content/branding/icon64.png                            (content/icon64.png)
-    content/branding/icon48.png                            (content/icon48.png)
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/license.txt
+++ /dev/null
@@ -1,113 +0,0 @@
-MOZILLA FOUNDATION
-CALENDAR END-USER SOFTWARE LICENSE AGREEMENT
-
-Version 1.1
-
-A SOURCE CODE VERSION OF CERTAIN CALENDAR FUNCTIONALITY THAT
-YOU MAY USE, MODIFY AND DISTRIBUTE IS AVAILABLE TO YOU FREE-OF-CHARGE
-FROM WWW.MOZILLA.ORG UNDER THE MOZILLA PUBLIC LICENSE and other open
-source software licenses.
-
-The accompanying executable code version of Calendar software and
-related documentation (the "Product") is made available to you under
-the terms of this CALENDAR END-USER SOFTWARE LICENSE AGREEMENT
-(THE "AGREEMENT"). BY CLICKING THE "ACCEPT" BUTTON, OR BY INSTALLING
-OR USING THE CALENDAR SOFTWARE, YOU ARE CONSENTING TO BE BOUND
-BY THE AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF
-THIS AGREEMENT, DO NOT CLICK THE "ACCEPT" BUTTON, AND DO NOT INSTALL
-OR USE ANY PART OF THE CALENDAR SOFTWARE.
-
-DURING THE CALENDAR INSTALLATION PROCESS, AND AT LATER TIMES,
-YOU MAY BE GIVEN THE OPTION OF INSTALLING ADDITIONAL COMPONENTS FROM
-THIRD-PARTY SOFTWARE PROVIDERS. THE INSTALLATION AND USE OF THOSE
-THIRD-PARTY COMPONENTS MAY BE GOVERNED BY ADDITIONAL LICENSE
-AGREEMENTS.
-
-1. LICENSE GRANT. The Mozilla Foundation grants you a non-exclusive
-license to use the executable code version of the Product. This
-Agreement will also govern any software upgrades provided by Mozilla
-that replace and/or supplement the original Product, unless such
-upgrades are accompanied by a separate license, in which case the
-terms of that license will govern.
-
-2. TERMINATION. If you breach this Agreement your right to use the
-Product will terminate immediately and without notice, but all
-provisions of this Agreement except the License Grant (Paragraph 1)
-will survive termination and continue in effect. Upon termination, you
-must destroy all copies of the Product.
-
-3. PROPRIETARY RIGHTS. Portions of the Product are available in source
-code form under the terms of the Mozilla Public License and other open
-source licenses (collectively, "Open Source Licenses") at
-http://www.mozilla.org. Nothing in this Agreement will be construed to
-limit any rights granted under the Open Source Licenses. Subject to
-the foregoing, Mozilla, for itself and on behalf of its licensors,
-hereby reserves all intellectual property rights in the Product,
-except for the rights expressly granted in this Agreement. You may not
-remove or alter any trademark, logo, copyright or other proprietary
-notice in or on the Product. This license does not grant you any right
-to use the trademarks, service marks or logos of Mozilla or its
-licensors.
-
-4. DISCLAIMER OF WARRANTY. THE PRODUCT IS PROVIDED "AS IS" WITH ALL
-FAULTS. TO THE EXTENT PERMITTED BY LAW, MOZILLA AND MOZILLA'S
-DISTRIBUTORS, LICENSORS HEREBY DISCLAIM ALL WARRANTIES, WHETHER
-EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES THAT THE
-PRODUCT IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE
-AND NON-INFRINGING. YOU BEAR ENTIRE RISK AS TO SELECTING THE PRODUCT
-FOR YOUR PURPOSES AND AS TO THE QUALITY AND PERFORMANCE OF THE
-PRODUCT. THIS LIMITATION WILL APPLY NOTWITHSTANDING THE FAILURE OF
-ESSENTIAL PURPOSE OF ANY REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE
-EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES, SO THIS DISCLAIMER MAY
-NOT APPLY TO YOU.
-
-5. LIMITATION OF LIABILITY. EXCEPT AS REQUIRED BY LAW, MOZILLA AND ITS
-DISTRIBUTORS, DIRECTORS, LICENSORS, CONTRIBUTORS AND AGENTS
-(COLLECTIVELY, THE "MOZILLA GROUP") WILL NOT BE LIABLE FOR ANY
-INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES
-ARISING OUT OF OR IN ANY WAY RELATING TO THIS AGREEMENT OR THE USE OF
-OR INABILITY TO USE THE PRODUCT, INCLUDING WITHOUT LIMITATION DAMAGES
-FOR LOSS OF GOODWILL, WORK STOPPAGE, LOST PROFITS, LOSS OF DATA, AND
-COMPUTER FAILURE OR MALFUNCTION, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES AND REGARDLESS OF THE THEORY (CONTRACT, TORT OR
-OTHERWISE) UPON WHICH SUCH CLAIM IS BASED. THE MOZILLA GROUP'S
-COLLECTIVE LIABILITY UNDER THIS AGREEMENT WILL NOT EXCEED THE GREATER
-OF $500 (FIVE HUNDRED DOLLARS) AND THE FEES PAID BY YOU UNDER THIS
-LICENSE (IF ANY). SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
-LIMITATION OF INCIDENTAL, CONSEQUENTIAL OR SPECIAL DAMAGES, SO THIS
-EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
-
-6. EXPORT CONTROLS. This license is subject to all applicable export
-restrictions. You must comply with all export and import laws and
-restrictions and regulations of any United States or foreign agency or
-authority relating to the Product and its use.
-
-7. U.S. GOVERNMENT END-USERS. The Product is a "commercial item," as
-that term is defined in 48 C.F.R. 2.101, consisting of "commercial
-computer software" and "commercial computer software documentation,"
-as such terms are used in 48 C.F.R. 12.212 (Sept. 1995) and 48
-C.F.R. 227.7202 (June 1995). Consistent with 48 C.F.R. 12.212, 48
-C.F.R. 27.405(b)(2) (June 1998) and 48 C.F.R. 227.7202, all
-U.S. Government End Users acquire the Product with only those rights
-as set forth herein.
-
-8. MISCELLANEOUS. (a) This Agreement constitutes the entire agreement
-between Mozilla and you concerning the subject matter hereof, and it
-may only be modified by a written amendment signed by an authorized
-executive of Mozilla. (b) Except to the extent applicable law, if any,
-provides otherwise, this Agreement will be governed by the laws of the
-state of California, U.S.A., excluding its conflict of law
-provisions. (c) This Agreement will not be governed by the United
-Nations Convention on Contracts for the International Sale of
-Goods. (d) If any part of this Agreement is held invalid or
-unenforceable, that part will be construed to reflect the parties'
-original intent, and the remaining portions will remain in full force
-and effect. (e) A waiver by either party of any term or condition of
-this Agreement or any breach thereof, in any one instance, will not
-waive such term or condition or any subsequent breach thereof. (f)
-Except as required by law, the controlling language of this Agreement
-is English. (g) You may assign your rights under this Agreement to any
-party that consents to, and agrees to be bound by, its terms; the
-Mozilla Foundation may assign its rights under this Agreement without
-condition. (h) This Agreement will be binding upon and will inure to
-the benefit of the parties, their successors and permitted assigns.
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/locales/Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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/.
-
-DEPTH          = @DEPTH@
-topsrcdir      = @top_srcdir@
-srcdir         = @srcdir@
-VPATH          = @srcdir@
-relativesrcdir = @relativesrcdir@
-
-include $(DEPTH)/config/autoconf.mk
-
-DEFINES += -DAB_CD=$(AB_CD) -DMOZ_DISTRIBUTION_ID_UNQUOTED=$(MOZ_DISTRIBUTION_ID)
-
-include $(topsrcdir)/config/rules.mk
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/locales/en-US/brand.dtd
+++ /dev/null
@@ -1,6 +0,0 @@
-<!-- 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/. -->
-
-<!ENTITY  brandShortName        "Calendar">
-<!ENTITY  brandFullName         "Calendar">
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/locales/en-US/brand.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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/.
-
-brandShortName=Calendar
-brandFullName=Calendar
-vendorShortName=Mozilla
-
-# LOCALIZATION NOTE (releaseNotesURL):
-#   For nightly builds, direct the user to an appropriate, yet non-version
-#   specific project site.
-#
-#   %s is replaced by __MOZ_APP_VERSION__
-#
-#   example:
-#     __MOZ_APP_VERSION__: 0.4
-#     releaseNotesUrl: http://www.mozilla.foo/sunbird%S.html
-#     result: http://www.mozilla.foo/sunbird0.4.html
-#
-releaseNotesURL=http://www.mozilla.org/projects/calendar/
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/locales/jar.mn
+++ /dev/null
@@ -1,11 +0,0 @@
-#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/.
-
-
-@AB_CD@.jar:
-% locale branding @AB_CD@ %locale/branding/
-# Calendar branding only exists in en-US
-  locale/branding/brand.dtd                                (en-US/brand.dtd)
-* locale/branding/brand.properties                         (en-US/brand.properties)
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/locales/moz.build
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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/.
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/moz.build
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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']
-
deleted file mode 100644
index 00f1d1f722922c55523f05016e3493763141852a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/mozicon16.xpm
+++ /dev/null
@@ -1,211 +0,0 @@
-/* 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/. */
-
-/* XPM */
-static char * mozicon16[] = {
-/* columns rows colors chars-per-pixel */
-"16 16 185 2",
-"   c #9D382F",
-".  c #A73D14",
-"X  c #B8291A",
-"o  c #B17648",
-"O  c #DF2800",
-"+  c #DF2900",
-"@  c #DD3D31",
-"#  c #E02700",
-"$  c #E12900",
-"%  c #E02B00",
-"&  c #E12B00",
-"*  c #E12D00",
-"=  c #E02E00",
-"-  c #E22F00",
-";  c #EE2C00",
-":  c #E53700",
-">  c #F62700",
-",  c #C24337",
-"<  c #CF483E",
-"1  c #D04B41",
-"2  c #D14F45",
-"3  c #D15248",
-"4  c #D2554B",
-"5  c #D2574D",
-"6  c #D2594F",
-"7  c #D35C52",
-"8  c #D45C52",
-"9  c #C2785E",
-"0  c #8C8A70",
-"q  c #8E8A79",
-"w  c #8F8B78",
-"e  c #918D6C",
-"r  c #F38C3F",
-"t  c #E99758",
-"y  c #E89C5F",
-"u  c #E7A268",
-"i  c #E7AF77",
-"p  c #E8A970",
-"a  c #E5B17D",
-"s  c #8D8B85",
-"d  c #8F8D84",
-"f  c #969486",
-"g  c #9B9781",
-"h  c #9B998E",
-"j  c #969591",
-"k  c #9D9896",
-"l  c #9E9D98",
-"z  c #9BA6AD",
-"x  c #96AFB6",
-"c  c #A29E82",
-"v  c #A09E8D",
-"b  c #A29F9C",
-"n  c #A6A186",
-"m  c #A6A39F",
-"M  c #B1AC90",
-"N  c #B3AE92",
-"B  c #B5B198",
-"V  c #BFBA98",
-"C  c #A4A4A8",
-"Z  c #A8A7A4",
-"A  c #ABA9A2",
-"S  c gray68",
-"D  c #AEB9B5",
-"F  c #B1AEA4",
-"G  c #B1AEA5",
-"H  c #B5B2A6",
-"J  c #BEBCA6",
-"K  c #B3B3B6",
-"L  c #BCBCBF",
-"P  c #ABC0C6",
-"I  c #C2BF9E",
-"U  c #DCB0AB",
-"Y  c #E6B988",
-"T  c #E5BF8F",
-"R  c #CEC99E",
-"E  c #C4C2B7",
-"W  c #C1C0B9",
-"Q  c #C1C7BF",
-"!  c #C7C4B8",
-"~  c #C9C5B2",
-"^  c #CAC7B5",
-"/  c #CBC8BC",
-"(  c #D1CCA2",
-")  c #D2CEB1",
-"_  c #D7D3A2",
-"`  c #D5D2B6",
-"'  c #DCD3BF",
-"]  c #E5C597",
-"[  c #E6CB9E",
-"{  c #E8D1A0",
-"}  c #F2EEB8",
-"|  c #C7C7CC",
-" . c #CAC5C5",
-".. c #C9C9D0",
-"X. c #CECFD4",
-"o. c #D1CEC1",
-"O. c #D1CFC0",
-"+. c #D3D0C3",
-"@. c #DAD4C2",
-"#. c #D3D3D6",
-"$. c #D5D4D9",
-"%. c #DAD6D8",
-"&. c #D9DADF",
-"*. c #E0DBC4",
-"=. c #E1DDC1",
-"-. c #E7E2CF",
-";. c #E8E3C3",
-":. c #EAE5C2",
-">. c #EAE7CF",
-",. c #ECE8C8",
-"<. c #EFEBCA",
-"1. c #E6E2D2",
-"2. c #E6E7D9",
-"3. c #EBE7D0",
-"4. c #E8E5D6",
-"5. c #E9E6DC",
-"6. c #EBE8D6",
-"7. c #ECE8D0",
-"8. c #EEEAD2",
-"9. c #EEEBD2",
-"0. c #EEEBD3",
-"q. c #ECE8D4",
-"w. c #EDEAD4",
-"e. c #EEEBD4",
-"r. c #EEEBD5",
-"t. c #EFECD5",
-"y. c #EFECD6",
-"u. c #EEEBD9",
-"i. c #EEEBDA",
-"p. c #EFECDA",
-"a. c #EFEDDA",
-"s. c #EAF4D1",
-"d. c #F0ECD1",
-"f. c #F2EED0",
-"g. c #F0EDD7",
-"h. c #F4EFD0",
-"j. c #F1EED9",
-"k. c #F4F1DD",
-"l. c #F4F1DF",
-"z. c #F6F4DF",
-"x. c #F0FBDD",
-"c. c #FCF8D4",
-"v. c #FCF8DC",
-"b. c #E0E1E2",
-"n. c #E6E2E6",
-"m. c #EBE8E6",
-"M. c #E9E8EB",
-"N. c #EEFFE9",
-"B. c #EAF3F3",
-"V. c #EFFFF4",
-"C. c #F7F5E8",
-"Z. c #F2FFE4",
-"A. c #F4FFEA",
-"S. c #F8F5E2",
-"D. c #FFFDE9",
-"F. c #FFFFEE",
-"G. c #F1F0F5",
-"H. c gray97",
-"J. c #F0F1F8",
-"K. c #F0FFF3",
-"L. c #F0FFF5",
-"P. c #F0FFF6",
-"I. c #F1FFF6",
-"U. c #FCFBF7",
-"Y. c #FCFCF4",
-"T. c #FCFCF5",
-"R. c #FCFCF6",
-"E. c #FEFFF4",
-"W. c #FFFFF5",
-"Q. c #FEFEF6",
-"!. c #FFFFF6",
-"~. c #FFFFF7",
-"^. c #F8F8F8",
-"/. c #F9F9F9",
-"(. c gray98",
-"). c #FBFBFA",
-"_. c #FBFBFB",
-"`. c #F8F9FC",
-"'. c #FAFBFF",
-"]. c #FBFFFF",
-"[. c gray99",
-"{. c #FFFFFC",
-"}. c #FEFEFE",
-"|. c gray100",
-" X c None",
-/* pixels */
-" XU X , 8 7 6 5 4 3 2 1 1 @   D ",
-" X9 ; : = % + + # % % % = > . x ",
-" X' { [ ] T Y a i p u y t r o z ",
-" X2.s.x.Z.A.N.K.K.I.V.I.K.}.Q k ",
-" X4.;.f.j j j j j j j j j ~.E b ",
-" X1.<.i.j i.j q.j a.j a.j U.! m ",
-" X@.<.q.j j j j j j j j j T./ A ",
-" X*.f.g.j q.j >.j 0.j q.j T.o.G ",
-"m.;.f.g.j j j j j j j j j E.O.G ",
-"-.c.a./ j 9.j q.j 9.j 9.j U.^ H ",
-"~ V f.g.j j j j j j j j S.T.B W ",
-"b.d q n ) v.D.z.l.C.T.}.~.k.c #.",
-" X X XS d w M =.F.T.5.J ` R h  X",
-" X X X X XX.Z f g N ( _ } 0 .. X",
-" X X X X X X X X| l v I e C  X X",
-" X X X X X X X X X X XL K  X X X"
-};
deleted file mode 100644
--- a/calendar/sunbird/branding/nightly/mozicon50.xpm
+++ /dev/null
@@ -1,315 +0,0 @@
-/* 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/. */
-
-/* XPM */
-static char * mozicon50[] = {
-/* columns rows colors chars-per-pixel */
-"48 48 257 2",
-"   c #010101",
-".  c #0A0A08",
-"X  c #0B0B12",
-"o  c #151517",
-"O  c #18160E",
-"+  c #1A1C26",
-"@  c #211D11",
-"#  c #24221A",
-"$  c #272628",
-"%  c #3B3827",
-"&  c #292A35",
-"*  c #393B44",
-"=  c #37464B",
-"-  c #3C5154",
-";  c #403D2B",
-":  c #4C4834",
-">  c #4C4C52",
-",  c #575965",
-"<  c #546A65",
-"1  c #736F54",
-"2  c #6C747B",
-"3  c #78726B",
-"4  c #7A7773",
-"5  c #6E6C6C",
-"6  c #784A42",
-"7  c #757D85",
-"8  c #7B8289",
-"9  c #7F9297",
-"0  c #BE1D18",
-"q  c #A83831",
-"w  c #BD572D",
-"e  c #9A504B",
-"r  c #807A5E",
-"t  c #817E67",
-"y  c #837D75",
-"u  c #9D7870",
-"i  c #A95A56",
-"p  c #AC6A5D",
-"a  c #AC7D70",
-"s  c #B16E6C",
-"d  c #DE1500",
-"f  c #DF1800",
-"g  c #DD3400",
-"h  c #D93B00",
-"j  c #DE270A",
-"k  c #C63C33",
-"l  c #D03D34",
-"z  c #D7362F",
-"x  c #E11C00",
-"c  c #FB1B00",
-"v  c #E90F00",
-"b  c #E32104",
-"n  c #E82708",
-"m  c #E53902",
-"M  c #F12E10",
-"N  c #EA342A",
-"B  c #D84901",
-"V  c #DE4A1D",
-"C  c #DB471B",
-"Z  c #D55507",
-"A  c #D95518",
-"S  c #CF5816",
-"D  c #C05428",
-"F  c #CB5F34",
-"G  c #D0433C",
-"H  c #CF462E",
-"J  c #D5641F",
-"K  c #D27439",
-"L  c #CF672E",
-"P  c #E34300",
-"I  c #E54B02",
-"U  c #E84507",
-"Y  c #E04D19",
-"T  c #E24B15",
-"R  c #E65506",
-"E  c #E0501A",
-"W  c #E55A13",
-"Q  c #E25C18",
-"!  c #F75501",
-"~  c #F14505",
-"^  c #CF4E4B",
-"/  c #D04A44",
-"(  c #D04D49",
-")  c #CD5754",
-"_  c #CF7E45",
-"`  c #C96F51",
-"'  c #C56766",
-"]  c #C67876",
-"[  c #8B8754",
-"{  c #888266",
-"}  c #8B847A",
-"|  c #938A7A",
-" . c #99947A",
-".. c #9C976A",
-"X. c #A5A170",
-"o. c #A7857A",
-"O. c #D28B57",
-"+. c #C8807E",
-"@. c #D39567",
-"#. c #D4A379",
-"$. c #8B8580",
-"%. c #89898D",
-"&. c #898886",
-"*. c #838A90",
-"=. c #8D8E92",
-"-. c #8F9093",
-";. c #8E909A",
-":. c #918E89",
-">. c #918C83",
-",. c #959289",
-"<. c #999688",
-"1. c #929396",
-"2. c #999A9C",
-"3. c #989896",
-"4. c #9D9EA3",
-"5. c #9EA0A3",
-"6. c #A49E98",
-"7. c #A99993",
-"8. c #A9A487",
-"9. c #A9A493",
-"0. c #A6A296",
-"q. c #B3AD8B",
-"w. c #B1AD97",
-"e. c #B8B488",
-"r. c #B9B598",
-"t. c #A3A3A4",
-"y. c #A3A5AC",
-"u. c #A9A9AC",
-"i. c #ACA4A2",
-"p. c #ABADB2",
-"a. c #AEB0B7",
-"s. c #B8B3A8",
-"d. c #B7B8BA",
-"f. c #BBB4B2",
-"g. c #BCBDBE",
-"h. c #B7B6B8",
-"j. c #B6AEAC",
-"k. c #BCBDC2",
-"l. c #BFC0C2",
-"z. c #C98B8A",
-"x. c #C98482",
-"c. c #D09797",
-"v. c #C4B89A",
-"b. c #D7B08C",
-"n. c #C2BAA7",
-"m. c #C2BCB5",
-"M. c #DCBDA2",
-"N. c #C0BAC3",
-"B. c #C8C39C",
-"V. c #D1CB9F",
-"C. c #CCC9AA",
-"Z. c #C9C5A8",
-"A. c #C3C2BC",
-"S. c #C9C3B3",
-"D. c #C9C5BA",
-"F. c #CCC9B4",
-"G. c #CBC9BB",
-"H. c #C5C2B2",
-"J. c #D2CCAD",
-"K. c #D2CDA1",
-"L. c #D3CDB4",
-"P. c #D4CEB8",
-"I. c #DBC9B1",
-"U. c #D9D5AE",
-"Y. c #D5D0B5",
-"T. c #D5D1BB",
-"R. c #D9D4B6",
-"E. c #DAD5BB",
-"W. c #DDD9BC",
-"Q. c #EAC19F",
-"!. c #E1DCAC",
-"~. c #E2DCBD",
-"^. c #E0D8B6",
-"/. c #E0CBB1",
-"(. c #E5E0BC",
-"). c #EAE5BC",
-"_. c #EBE6B8",
-"`. c #EDE8B9",
-"'. c #C3C4C2",
-"]. c #CCCAC2",
-"[. c #CBCBCC",
-"{. c #C5C4C7",
-"}. c #C9CAD1",
-"|. c #CED0D0",
-" X c #CDDAD8",
-".X c #D2CEC6",
-"XX c #D5D3C2",
-"oX c #D4D3CB",
-"OX c #D9D6C3",
-"+X c #D8D5CA",
-"@X c #DDDAC3",
-"#X c #DDDACB",
-"$X c #D1D1D2",
-"%X c #D6D5DA",
-"&X c #DCDAD2",
-"*X c #DADBDB",
-"=X c #D9D8D7",
-"-X c #D1CFD0",
-";X c #DDDEE1",
-":X c #D5D3E3",
-">X c #DDE9D3",
-",X c #DBE5CF",
-"<X c #DBF2F5",
-"1X c #E2DDC3",
-"2X c #E1DECA",
-"3X c #E2D5C3",
-"4X c #E1DDD3",
-"5X c #E0DCE4",
-"6X c #E5E1C2",
-"7X c #E4E1CB",
-"8X c #E9E5C3",
-"9X c #E9E5CA",
-"0X c #EDE9C3",
-"qX c #ECE9CC",
-"wX c #E3E2D3",
-"eX c #E4E3DA",
-"rX c #ECEAD2",
-"tX c #ECEBDC",
-"yX c #E8E6D6",
-"uX c #ECF2DD",
-"iX c #F1EBC3",
-"pX c #F2EDCB",
-"aX c #F2E7C3",
-"sX c #F2EDD3",
-"dX c #F0EEDB",
-"fX c #F5F1CC",
-"gX c #F9F4CC",
-"hX c #FAF4C6",
-"jX c #F5F1D3",
-"kX c #F5F2DB",
-"lX c #FAF5D4",
-"zX c #FAF5DB",
-"xX c #FDFAD3",
-"cX c #FDFBDC",
-"vX c #F6F8D9",
-"bX c #E4E3E3",
-"nX c #EBEAE3",
-"mX c #ECECEA",
-"MX c #E7E6E8",
-"NX c #EAEAF1",
-"BX c #ECF7E7",
-"VX c #EBF9F4",
-"CX c #F0EEEA",
-"ZX c #F0EFE2",
-"AX c #F4F3E4",
-"SX c #F3F3EC",
-"DX c #F5F9EC",
-"FX c #F9F5E3",
-"GX c #F8F6EA",
-"HX c #FDFBE3",
-"JX c #FDFCEB",
-"KX c #F3F3F3",
-"LX c #F4FCFD",
-"PX c #FDFDF2",
-"IX c #FEFEFD",
-"UX c #F5F5F7",
-"YX c None",
-/* pixels */
-"YXYXYXYXYX7.q i i e e s c.c.z.z.z.z.z.z.x.x.x.+.+.+.] ] ] ] ] ' ] ' ' ' ' ' ' ' i ) i ( e < A.YX",
-"YXYXYXYX Xs 0 k k k q / ^ ^ ^ ^ ^ ^ / / ( ( ( / / / / / / / G G G G l l l l l l z z N N 6 = s.YX",
-"YXYXYXYXp v c j M n M x d d d d d d v d x d f f d x x v x f x x x x x b b x n x n j c n < - 3 YX",
-"YXYXYXYXp m T H C C V V V V V V V V V V V V V V V C C V V V V V V V V C C V V V V V M H 9 8 | YX",
-"YXYXYXYX` B U Y T Y Y Y E A E E V E A Y E E E Y E Y E Y V Y Y Y E E A Y Y Y T A E A ~ C *.2 | l.",
-"YXYXYXYXw g j g g g m g m m m P U U P I I I I W W R W W Q Q Q Q Q Q W W Q Q Q W Q A ! W 8 2 y t.",
-"YXYXYXYXn.b.b.b.#.@.O.O.O.K K L S S S Z B B B h h h B m B P P P I I I I I R R R R R ! W 9 7 y u.",
-"YXYXYXYX,XDXIXPXIXLXIXIXVXDXVXBXBXuXuX2X2X1XI.M.M.b.#.#.@.O.K O.K L J J Z Z Z B I Z ~ B *.8 } 0.",
-"YXYXYXYXL.0XiX^.1X8X6X8XqXvXvXHXJXPXPXPXIXIXIXIXIXIXIXLXIXLXLXLXLXUXVXmXeX4X2X3XI.I.Q.b.} 4 $.y.",
-"YXYXYXYXL.pX6XY.6X~.~.~.@XW.W.~.W.W.W.~.~.W.1X8X0XsXsXzXzXHXPXPXPXPXIXIXIXIXIXIXIXIXLXLX} 5 &.t.",
-"YXYXYXYXL.0X1X6XlXgXjXjXpXpXfXqXpX9X9X9XP.1X7XwX+XF.E.OXOXXXT.@X2X2X7XrXdXZXdXkXHXFXPXCX&.3 >.0.",
-"YXYXYXYXP.aX8X8XlXpXpXpXjXfXjXjXpXvXcXzX1XxXcXPXSXOXgXkXAXmXT.0X9XrXeXF.R.W.#X+XoXFXIXnX&.3 >.t.",
-"YXYXYXYXL.pX8XR.aX8XpXgXjXjXfXlXzXvXfXpX@XjXkXJXCX#XgXFXPXPX#XgXzXJXJX#XgXxXFXJX#XtXIXmX>.4 :.5.",
-"YXYXYXYXL.pX(.T.9X2X@XT.W.1X1XqXpXyXlXsX7XHXJXPXKX1XcXFXJXGX@XjXdXJXGX#XjXFXcXJX*XdXIXCX>.y ,.0.",
-"YXYXYXYXF.aX~.6XcXzXGX+X).qXtX+XF.3X2X1XP.wXtXSXmX#XHXPXIXUXwXxXFXJXPX2XfXkXFXPX4XtXIXmX>.4 ,.2.",
-"YXYXYXYXL.pX1X9XcXzXPX2XpXzXPXyX~.xXkXAXXXU.@XyX$XD.6X&XbXbX+XdXGXLXUXwXcXJXPXIX4XkXIXCX,.} ,.u.",
-"YXYXYXYXF.iX(.2XJXJXIXwXpXzXJXtX1XcXFXJX2XfXcXHXdXW.pX9XrXwXF.W.OX#X*X].7XtXSXUX*XkXIXSX,.} } =X",
-"YXYXYXYXXXgX(.H.2XyXbXoXrXJXIXmX9XcXHXPX2XpXvXJXZX#XxXcXJXGX1XfXsXvXtXP.~.2X#X+X[.AXIXmX<.} >.|.",
-"YXYXYXYX&XhX1X(.pX9XwXF.R.2XeX[.P.dXGXLX*XlXJXPXKX@XfXkXJXAX#XfXzXJXGX#XgXlXFXFX&XAXIXCX<.| >.oX",
-"YXYXYXYXF.xXW.0XcXcXPX6XiXfXrX+XL.~.1X=XG.@XdXKXNX2XHXPXPXUX2XjXkXJXAX#XfXzXHXJXwXZXIXCX3.} ,.|.",
-"YXYXYXYXT.xXE.7XcXJXUX@XgXzXJXtX8XxXlXuXT.~.1X2XoXD.2XtXmXNX&XzXJXPXIXwXlXzXFXJX*XAXIXCX6.| <.|.",
-"YXYXYXP.8XxXF.T.W.nXbXOXlXcXPXeX6XgXHXGXW.gXxXcXtXY.).~.2X#XF.@X#XnXNX#XkXJXPXIXbXkXIXCX0.| <.|.",
-"YXYXYXf.fXqXR.fX8XtXoXZ.@XwXmX#X8XzXPXSXE.gXzXJXtX~.gXlXHXkX~.).6X9X&XD.T.#XeXNX*XGXIXKX0.>.<.-X",
-"YXYXYXm.xX8X~.cXcXPX#X).fXrXwXH.~.2XnX*X~.zXHXPXeX8XlXsXHXtX6XgXzXcXFXW.`.pXqX1X].DXIXCX0. .<.=X",
-"YXYXYXE.lXY.qXcXJXPXXXfXzXJXZX~.gXpXyXG.R.7X2XSX&X8XcXzXPXmX~.gXrXHXCXE.gXcXzXcX4XSXIXnX9.<.<.{.",
-"YXYXm.pXxXm.T.7XZXbX6XcXzXJX*X(.gXFXPX@X`.fXyXtXD.L.1XyXKXeX1XcXHXPXnXE.pXsXzXFX*XSXIXeX9.9.6.6.",
-"YXYXm.xX1X1XfX9XwXA.Y.9XdXPX#XgXzXJXSXE.pXzXJXAXW.iXqX9XyX].Y.7XwXGXeX0XcXzXJXJXyXPXIX+Xw.w.,.:.",
-"YXi.3XcXL.jXcXHXPX@X0X1XwX&Xm.~.dXPX*X0XcXsXPX4XR.xXzXcXDXOX0X8X2X>X'.L.7XrXGXCXbXPXIXH.w.r.:.2.",
-"YXA.xX~.1XcXvXPXbX~.xXcXPX4XR.qX1X&XA.~.rXzXIXyXaXlXsXJXCXR.xXlXJXPXP.(.9X2X#X].nXIXIXs.w.r.:.YX",
-"h.qXcXW.P.9XAXIX#XfXzXFXPXXXgXcXJXeXL.8XT.wX*XF.qXzXHXPX*X0XlXdXJXnX~.xXcXzXFX&XmXIXCXr.n.8.%.YX",
-"n.0XcXHXjX@X2X].C.jXFXIX4X6XlXsXJX&X0XcXvXJX&XC.1XOXwXnXT.iXcXFXPX4X(.lXrXFXFXbXPXIX+Xw.R.{ -.YX",
-"A. .r.2XqXcXcXfXqXOXW.*XG.0XcXPXCXY.gXvXHXPX#XhXcXrXtXoXXX7X2XkXbXR.gXcXzXJXyXbXIXIXF.r.W.y 8 YX",
-"YX7.{ v.~.R.3X9XzXJXcX9X@XR.#XeX].iXcXzXPXbXW.gXjXzXJXeXGXPXnXnX+XOX7X7XzXJX=XPXIXMXr.L.B.3 YXYX",
-"YXYX1.@ : 8.U.R.W.E.yXcXPXJXkX#XP.W.@XkXUXOXhXcXkXJXyXeXJXJXPXJXPXPXnXwXtX$X*XIXIXOXq.8X ., YXYX",
-"YXYXYX* * o # 1 q.I.~.L.L.yXHXJXPXAX7XwXG.F.qXsXHXDXeXAXJXAXFXGXJXPXPXIXPXoXSXIXMXZ.Z.iX> 7 YXYX",
-"YXYXYXYXYXa.8 + . ; r v.iX~.L.XXwXJXIXJXFXZX#XT.eXoXwXPXPXJXJXPXGXFXPXIXnXUXIX*XZ.B.qXU.$ YXYXYX",
-"YXYXYXYXYXYXYXYXk.> $ $ ; { U.`.~.Y.P.yXPXIXPXPXtX2XeXeXwXtXPXAXGXIXIXIXIXmXf.B.U.L.JX: > YXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYX%.* & O : q.!.).~.L.E.tXPXIXIXPXFXnXtXwXZXIXbX . .9.8.B.`.J.zXB.  [.YXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYX4 , X o 1 8.!.gX^.Y.OXyXGXPXIXIXIXKXs.1 [ [ ..B.^.C.(.JX@ > YXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXbX1.+ . # 1 v.hXhX^.L.F.T.@XG.q.X.q.e.e.J.C.K.U.PX{   YXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX[.2 * o # 3 K.hXxXhXK.e.e.Z.U.U.).).(.U.PXT.  %.YXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXy.7 & . % t B.cXJXlX).`.iX).0X_.cXGX  = YXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXk., X O % { 7XJXcXxX`.!.xXIX# o YXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX4.= $   % 8.gXcXPXIX$   bXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXy., . . 1 A.@   %XYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX4.= . o *XYXYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX4.u.YXYXYXYXYXYXYXYXYXYX",
-"YXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYXYX"
-};
deleted file mode 100644
index 1e328efac3be1fa75599afbac15886c8c3340aa3..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index f81cb265cc9eb6279d98e84d8e6bcd28925bb413..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 9792f7239f18e8ab8e480624bbfa2e1ca52849dc..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 93bad89b7c485e15bc793969eb67f1f1e67ca07a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100755
index ada41b461f2bb41e0e6c3433fbce4c6926245395..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100755
index 17d22db3773545385b689000453c344249592e0e..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100755
index 400b75ae0481f7b25cd50fde084ea7c227db6c3a..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
--- a/calendar/sunbird/config/mozconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-# 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/.
-
-# This file specifies the build flags for Sunbird.  You can use it by adding:
-#  . $topsrcdir/calendar/sunbird/config/mozconfig
-# to the top of your mozconfig file.
-
-ac_add_options --enable-application=calendar
deleted file mode 100644
--- a/calendar/sunbird/locales/Makefile.in
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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/.
-
-DEPTH = @DEPTH@
-topsrcdir = @top_srcdir@
-srcdir = @srcdir@
-VPATH = @srcdir@
-relativesrcdir = calendar/locales
-
-include $(DEPTH)/config/autoconf.mk
-
-PREF_JS_EXPORTS = $(LOCALE_SRCDIR)/sunbird-l10n.js
-
-README_FILES= \
-    README.txt \
-    $(NULL)
-
-APP_VERSION = $(SUNBIRD_VERSION)
-DEFINES += \
-    -DAB_CD="$(AB_CD)" \
-	-DLOCALE_SRCDIR=$(LOCALE_SRCDIR) \
-    -DAPP_VERSION="$(APP_VERSION)" \
-	$(NULL)
-
-include $(topsrcdir)/config/rules.mk
-
-libs:: $(addprefix $(LOCALE_SRCDIR)/,$(README_FILES))
-ifeq ($(OS_ARCH),WINNT)
-	$(EXIT_ON_ERROR) \
-	for file in $^; do \
-	$(PERL) -pe 's/(?<!\r)\n/\r\n/g;' < $$file > $(FINAL_TARGET)/`basename $$file`; \
-	done
-else
-	$(INSTALL) $^ $(FINAL_TARGET)
-endif
-
-ifdef MOZ_UPDATER
-libs:: $(addprefix $(LOCALE_SRCDIR)/,updater/updater.ini)
-ifeq ($(OS_ARCH),WINNT)
-	cat $< $(srcdir)/../../installer/windows/nsis/updater_append.ini | \
-	  sed -e "s/^InfoText=/Info=/" -e "s/^TitleText=/Title=/" | \
-	  sed -e "s/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" > \
-	  $(FINAL_TARGET)/updater.ini
-else
-	cat $< | \
-	  sed -e "s/^InfoText=/Info=/" -e "s/^TitleText=/Title=/" | \
-	  sed -e "s/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" > \
-	  $(FINAL_TARGET)/updater.ini
-endif
-endif
deleted file mode 100644
--- a/calendar/sunbird/locales/jar.mn
+++ /dev/null
@@ -1,14 +0,0 @@
-#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/.
-
-
-sunbird-@AB_CD@.jar:
-% locale sunbird @AB_CD@ %locale/@AB_CD@/sunbird/
-    locale/@AB_CD@/sunbird/aboutDialog.dtd                 (%chrome/sunbird/aboutDialog.dtd)
-    locale/@AB_CD@/sunbird/menuOverlay.dtd                 (%chrome/sunbird/menuOverlay.dtd)
-    locale/@AB_CD@/sunbird/sunbird.dtd                     (%chrome/sunbird/sunbird.dtd)
-
-# Extra l10n files for documentation and such
-#includesubst @LOCALE_SRCDIR@/extra-jar.mn
deleted file mode 100644
--- a/calendar/sunbird/locales/moz.build
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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/.
deleted file mode 100644
--- a/calendar/sunbird/modules/Makefile.in
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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/.