aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/lightning-thunderbird
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-08-08 18:34:32 +0800
committerbeat <beat@FreeBSD.org>2010-08-08 18:34:32 +0800
commita60a3cf219be8f045a93a1959b1e40cea2482e75 (patch)
treef0c01970b759cf20150932acd336797a0a0c089a /deskutils/lightning-thunderbird
parent2d25b6c3fffb471f9ef0d06e179f3a6b8bd018c3 (diff)
downloadfreebsd-ports-gnome-a60a3cf219be8f045a93a1959b1e40cea2482e75.tar.gz
freebsd-ports-gnome-a60a3cf219be8f045a93a1959b1e40cea2482e75.tar.zst
freebsd-ports-gnome-a60a3cf219be8f045a93a1959b1e40cea2482e75.zip
- Add Lightning 1.0 Beta 2. This version works with Thunderbird 3.1.
Thanks to: Andreas Tobler <andreast-list AT fgznet.ch>, jsa@
Diffstat (limited to 'deskutils/lightning-thunderbird')
-rw-r--r--deskutils/lightning-thunderbird/Makefile39
-rw-r--r--deskutils/lightning-thunderbird/distinfo6
-rw-r--r--deskutils/lightning-thunderbird/files/patch-bug533070729
-rw-r--r--deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-config.mk11
-rw-r--r--deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-mkdepend-Makefile.in2
-rw-r--r--deskutils/lightning-thunderbird/files/patch-mozilla-js-src-jslock.cpp41
-rw-r--r--deskutils/lightning-thunderbird/files/patch-mozilla-xpcom_reflect_xptcall_src_md_unix_Makefile.in12
-rw-r--r--deskutils/lightning-thunderbird/files/patch-security_coreconf_FreeBSD.mk46
-rw-r--r--deskutils/lightning-thunderbird/files/patch-sysnss48
-rw-r--r--deskutils/lightning-thunderbird/files/releng6_pulseaudio10
-rw-r--r--deskutils/lightning-thunderbird/pkg-descr7
11 files changed, 84 insertions, 867 deletions
diff --git a/deskutils/lightning-thunderbird/Makefile b/deskutils/lightning-thunderbird/Makefile
index 0be7c61c7062..f49bf5b1da8a 100644
--- a/deskutils/lightning-thunderbird/Makefile
+++ b/deskutils/lightning-thunderbird/Makefile
@@ -9,14 +9,14 @@ PORTNAME= lightning
DISTVERSION= 1.0
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
-MASTER_SITE_SUBDIR= calendar/${PORTNAME}/releases/${DISTVERSION}b1/source
-DISTNAME= ${PORTNAME}-sunbird-${DISTVERSION}b1.source
+MASTER_SITE_SUBDIR= calendar/${PORTNAME}/releases/${DISTVERSION}b2/source
+PKGNAMESUFFIX= -thunderbird
+DISTNAME= ${PORTNAME}-${DISTVERSION}b2.source
MAINTAINER= gecko@FreeBSD.org
-COMMENT= An integrated calendar for Thunderbird and SeaMonkey
+COMMENT= An integrated calendar for Thunderbird 3.1
-OPTIONS+= THUNDERBIRD "Install Thunderbird 3.0" on \
- SEAMONKEY "Install SeaMonkey 2.0" off
+RUN_DEPENDS+= ${LOCALBASE}/lib/thunderbird/thunderbird-bin:${PORTSDIR}/mail/thunderbird
USE_AUTOTOOLS= autoconf:213 libtool:22
ALL_TARGET= default
@@ -35,30 +35,21 @@ LIBS= -Wl,-Bsymbolic -lc
MOZ_PKGCONFIG_FILES= ${PORTNAME}-js ${PORTNAME}-xpcom ${PORTNAME}-plugin
PKGCONFIG_FILES= ${MOZ_PKG_CONFIG_FILES}
MOZ_OPTIONS= --enable-application=calendar \
- --enable-system-cairo \
- --enable-canvas
+ --enable-system-cairo --disable-updater \
+ --enable-canvas --disable-necko-wifi
MOZ_MK_OPTIONS= MOZ_CO_PROJECT=calendar
NOGECKO_PLIST= yes
NOGECKO_INSTALL= yes
-LATEST_LINK= mozilla-lightning
.include <bsd.init.mk>
.include <bsd.libnames.mk>
.include <bsd.port.pre.mk>
-.if defined(WITH_THUNDERBIRD)
-RUN_DEPENDS+= ${LOCALBASE}/lib/thunderbird/thunderbird-bin:${PORTSDIR}/mail/thunderbird3
-.endif
-
-.if defined(WITH_SEAMONKEY)
-RUN_DEPENDS+= ${LOCALBASE}/lib/seamonkey/seamonkey-bin:${PORTSDIR}/www/seamonkey2
-.endif
-
XPI_FILE= ${DISTNAME}-${GECKO}-freebsd${OSVERSION:C/([0-9]).+/\1/}-${ARCH}.xpi
PLIST_FILES= %%DATADIR%%/${XPI_FILE}
PLIST_DIRS= %%DATADIR%%
-WRKSRC= ${WRKDIR}/comm-1.9.1
+WRKSRC= ${WRKDIR}/comm-1.9.2
MOZSRC:= ${WRKSRC}/mozilla
.if ${OSVERSION} < 700000
@@ -71,9 +62,10 @@ EXTRA_PATCHES= ${FILESDIR}/liboggplay_oss
GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
.if defined(WITHOUT_DBUS)
-MOZ_OPTIONS+= --disable-dbus
+MOZ_OPTIONS+= --disable-dbus --disable-libnotify
.else
-LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
+ notify.1:${PORTSDIR}/devel/libnotify
.endif
post-patch:
@@ -98,15 +90,6 @@ pre-configure:
(cd ${MOZSRC} && ${AUTOCONF})
(cd ${MOZSRC}/js/src/ && ${AUTOCONF})
-# XXX: Workaround for bug 533070. Should be fixed in next release
- ${CP} ${WRKSRC}/calendar/sunbird/app/*.png ${WRKSRC}/calendar/sunbird/branding/nightly/
- ${CP} ${WRKSRC}/calendar/sunbird/app/*.xpm ${WRKSRC}/calendar/sunbird/branding/nightly/
- ${CP} ${WRKSRC}/calendar/sunbird/app/*.ico ${WRKSRC}/calendar/sunbird/branding/nightly/
- ${MKDIR} ${WRKSRC}/calendar/sunbird/branding/nightly/content/
- ${CP} ${WRKSRC}/calendar/sunbird/base/branding/*.png ${WRKSRC}/calendar/sunbird/branding/nightly/content/
- ${MKDIR} ${WRKSRC}/calendar/sunbird/branding/nightly/locales/en-US
- ${CP} ${WRKSRC}/calendar/locales/en-US/chrome/branding/brand.* ${WRKSRC}/calendar/sunbird/branding/nightly/locales/en-US/
-
post-build:
@(cd ${MOZSRC}/xpfe/components/autocomplete/src && ${GMAKE})
diff --git a/deskutils/lightning-thunderbird/distinfo b/deskutils/lightning-thunderbird/distinfo
index 66ec20de8dc2..5bfad19d6ea0 100644
--- a/deskutils/lightning-thunderbird/distinfo
+++ b/deskutils/lightning-thunderbird/distinfo
@@ -1,3 +1,3 @@
-MD5 (lightning-sunbird-1.0b1.source.tar.bz2) = 418523969c00725bef35e11ef5b06b9b
-SHA256 (lightning-sunbird-1.0b1.source.tar.bz2) = 857282e3d148df4ee03ae97d10cf23b2072810817c6a3a1dabe93d0d9b8228fd
-SIZE (lightning-sunbird-1.0b1.source.tar.bz2) = 60442959
+MD5 (lightning-1.0b2.source.tar.bz2) = 2e2ba2279a4e89f11e50ea67b84dd543
+SHA256 (lightning-1.0b2.source.tar.bz2) = 887f8d49e6dd36478178b8438f28252370169e60a39383628c0862d8881eb9b2
+SIZE (lightning-1.0b2.source.tar.bz2) = 66604225
diff --git a/deskutils/lightning-thunderbird/files/patch-bug533070 b/deskutils/lightning-thunderbird/files/patch-bug533070
deleted file mode 100644
index 8f0e54b78528..000000000000
--- a/deskutils/lightning-thunderbird/files/patch-bug533070
+++ /dev/null
@@ -1,729 +0,0 @@
-diff --git a/calendar/installer/windows/Makefile.in b/calendar/installer/windows/Makefile.in
---- calendar/installer/windows/Makefile.in
-+++ calendar/installer/windows/Makefile.in
-@@ -147,20 +147,8 @@ uninstaller::
- cat $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/windows/nsis/utf16-le-bom.bin - > \
- $(CONFIG_DIR)/defines.nsi
- $(PERL) $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.pl \
- $(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
--
--export::
--ifndef MOZ_BRANDING_DIRECTORY
-- $(NSINSTALL) -D $(DIST)/branding
-- cp $(srcdir)/Header.bmp $(DIST)/branding/Header.bmp
-- cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
-- cp $(srcdir)/nsis/branding.nsi $(DIST)/branding/branding.nsi
-- cp $(srcdir)/license.txt $(DIST)/branding/license.txt
-- cp $(srcdir)/wizHeader.bmp $(DIST)/branding/wizHeader.bmp
-- cp $(srcdir)/wizHeaderRTL.bmp $(DIST)/branding/wizHeaderRTL.bmp
-- cp $(srcdir)/wizWatermark.bmp $(DIST)/branding/wizWatermark.bmp
--endif
-diff --git a/calendar/locales/Makefile.in b/calendar/locales/Makefile.in
---- calendar/locales/Makefile.in
-+++ calendar/locales/Makefile.in
-@@ -49,22 +49,17 @@ ifeq ($(AB_CD),)
- DIRS = ../timezones
- endif
-
- include $(topsrcdir)/config/config.mk
-
- run_for_effects := $(shell if ! test -d $(DIST); then $(NSINSTALL) -D $(DIST); fi; if ! test -d $(DIST)/branding; then $(NSINSTALL) -D $(DIST)/branding; fi)
- _ABS_DIST := $(shell cd $(DIST) && pwd)
-
--ifdef MOZ_BRANDING_DIRECTORY
--SUBMAKEFILES += \
-- $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/Makefile \
-- $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales/Makefile \
-- $(NULL)
--endif
-+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)
-@@ -82,20 +77,16 @@ DEFINES += \
- -DAB_CD=$(AB_CD) \
- -DMOZ_LANGPACK_EID=langpack-$(AB_CD)@sunbird.mozilla.org \
- -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \
- -DLOCALE_SRCDIR=$(LOCALE_SRCDIR) \
- -DPKG_BASENAME="$(PKG_BASENAME)" \
- -DPKG_INST_BASENAME="$(PKG_INST_BASENAME)" \
- $(NULL)
-
--ifndef MOZ_BRANDING_DIRECTORY
--DEFINES += -DMOZ_USE_GENERIC_BRANDING
--endif
--
- ifeq (,$(filter-out pref,$(MOZ_EXTENSIONS)))
- DEFINES += -DEXTENSION_PREF
- endif
-
- include $(topsrcdir)/config/rules.mk
-
- tests:
- ifdef MOZ_SUNBIRD
-diff --git a/calendar/makefiles.sh b/calendar/makefiles.sh
---- calendar/makefiles.sh
-+++ calendar/makefiles.sh
-@@ -16,17 +16,18 @@
- #
- # The Initial Developer of the Original Code is
- # Ben Turner <mozilla@songbirdnest.com>
- #
- # Portions created by the Initial Developer are Copyright (C) 2007
- # the Initial Developer. All Rights Reserved.
- #
- # Contributor(s):
--# - Simon Paquet <bugzilla@babylonsounds.com>
-+# Simon Paquet <bugzilla@babylonsounds.com>
-+# Philipp Kewisch <mozilla@kewis.ch>
- #
- # Alternatively, the contents of this file may be used under the terms of
- # either the GNU General Public License Version 2 or later (the "GPL"), or
- # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- # in which case the provisions of the GPL or the LGPL are applicable instead
- # of those above. If you wish to allow use of your version of this file only
- # under the terms of either the GPL or the LGPL, and not to allow others to
- # use your version of this file under the terms of the MPL, indicate your
-@@ -34,25 +35,18 @@
- # and other provisions required by the GPL or the LGPL. If you do not delete
- # the provisions above, a recipient may use your version of this file under
- # the terms of any one of the MPL, the GPL or the LGPL.
- #
- # ***** END LICENSE BLOCK *****
-
- if [ "$COMM_BUILD" ]; then
-
--add_makefiles "
--calendar/sunbird/Makefile
--calendar/sunbird/app/Makefile
--calendar/sunbird/base/Makefile
--calendar/sunbird/locales/Makefile
--"
-+ add_makefiles "
-+ calendar/sunbird/Makefile
-+ calendar/sunbird/app/Makefile
-+ calendar/sunbird/base/Makefile
-+ calendar/sunbird/locales/Makefile
-+ $MOZ_BRANDING_DIRECTORY/Makefile
-+ "
-
--if test -n "$MOZ_BRANDING_DIRECTORY"; then
-- add_makefiles "
-- $MOZ_BRANDING_DIRECTORY/Makefile
-- $MOZ_BRANDING_DIRECTORY/content/Makefile
-- $MOZ_BRANDING_DIRECTORY/locales/Makefile
-- "
-+ . ${srcdir}/calendar/shared_makefiles.sh
- fi
--
-- . ${srcdir}/calendar/shared_makefiles.sh
--fi
-diff --git a/calendar/sunbird/Makefile.in b/calendar/sunbird/Makefile.in
---- calendar/sunbird/Makefile.in
-+++ calendar/sunbird/Makefile.in
-@@ -45,22 +45,17 @@ VPATH = @srcdir@
- include $(DEPTH)/config/autoconf.mk
-
- DIRS = base locales app
-
- ifeq ($(OS_ARCH),WINNT)
- ifdef MOZ_INSTALLER
- DIRS += ../installer/windows
-
--ifdef MOZ_BRANDING_DIRECTORY
--DEFINES += -DOFFICIAL_BRANDING=1
--endif
--
- # 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
- endif
-
- include $(topsrcdir)/config/rules.mk
--
-diff --git a/calendar/sunbird/app/Makefile.in b/calendar/sunbird/app/Makefile.in
---- calendar/sunbird/app/Makefile.in
-+++ calendar/sunbird/app/Makefile.in
-@@ -275,64 +275,22 @@ libs:: sunbird
- install:: sunbird
- $(SYSINSTALL) $< $(DESTDIR)$(bindir)
-
- GARBAGE += sunbird
- GARBAGE += $(addprefix $(DIST)/bin/defaults/pref/, sunbird.js)
-
- endif
-
--ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
--ICON_FILES = \
-- $(DIST)/branding/mozicon128.png \
-- $(DIST)/branding/mozicon50.xpm \
-- $(DIST)/branding/mozicon16.xpm \
-- $(NULL)
--
--libs:: $(ICON_FILES)
-- $(INSTALL) $^ $(DIST)/bin/icons
-+ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
-+libs::
-+ $(INSTALL) $(IFLAGS1) $(DIST)/branding/default* $(DIST)/bin/chrome/icons/default
-
- install::
-- $(SYSINSTALL) $(IFLAGS1) $(ICON_FILES) $(DESTDIR)$(mozappdir)/icons
--endif
--
--ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
--libs::
-- $(INSTALL) $(DIST)/branding/default.xpm $(DIST)/bin/chrome/icons/default
--
--install::
-- $(SYSINSTALL) $(IFLAGS1) $(DIST)/branding/default.xpm $(DESTDIR)$(mozappdir)/chrome/icons/default
--endif
--
--export::
--ifndef MOZ_BRANDING_DIRECTORY
-- $(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
--endif
--ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
-- cp $(srcdir)/macbuild/sunbird.icns $(DIST)/branding/sunbird.icns
-- cp $(srcdir)/macbuild/sb_ICS.icns $(DIST)/branding/sb_ICS.icns
-- cp $(srcdir)/macbuild/dsstore $(DIST)/branding/dsstore
-- cp $(srcdir)/macbuild/background.png $(DIST)/branding/background.png
-- cp $(srcdir)/macbuild/disk.icns $(DIST)/branding/disk.icns
--endif
--ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
-- cp $(srcdir)/mozicon128.png $(DIST)/branding/mozicon128.png
-- cp $(srcdir)/mozicon50.xpm $(DIST)/branding/mozicon50.xpm
-- cp $(srcdir)/mozicon16.xpm $(DIST)/branding/mozicon16.xpm
--endif
--ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2)
-- cp $(srcdir)/default.xpm $(DIST)/branding/default.xpm
--endif
--ifeq ($(OS_ARCH),OS2)
-- cp $(srcdir)/sunbird-os2.ico $(DIST)/branding/sunbird.ico
--endif
-+ $(SYSINSTALL) $(IFLAGS1) $(DIST)/branding/default* $(DESTDIR)$(mozappdir)/chrome/icons/default
- endif
-
- libs::
- touch $(DIST)/bin/.autoreg
-
- ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
-
- APP_NAME = $(MOZ_APP_DISPLAYNAME)
-diff --git a/calendar/sunbird/base/Makefile.in b/calendar/sunbird/base/Makefile.in
---- calendar/sunbird/base/Makefile.in
-+++ calendar/sunbird/base/Makefile.in
-@@ -58,15 +58,9 @@ DEFINES += \
- -DAPP_VERSION="$(APP_VERSION)" \
- -DTHEME=$(THEME) \
- $(NULL)
-
- ifdef MOZ_UPDATER
- DEFINES += -DMOZ_UPDATER=1
- endif
-
--include $(topsrcdir)/config/config.mk
--
- include $(topsrcdir)/config/rules.mk
--
--ifndef MOZ_BRANDING_DIRECTORY
--DEFINES += -DMOZ_USE_GENERIC_BRANDING
--endif
-diff --git a/calendar/sunbird/base/jar.mn b/calendar/sunbird/base/jar.mn
---- calendar/sunbird/base/jar.mn
-+++ calendar/sunbird/base/jar.mn
-@@ -13,16 +13,8 @@ sunbird.jar:
- 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)
--#ifdef MOZ_USE_GENERIC_BRANDING
--% content branding %content/branding/
-- content/branding/about.png (branding/about.png)
-- content/branding/aboutCredits.png (branding/aboutCredits.png)
-- content/branding/aboutFooter.png (branding/aboutFooter.png)
-- content/branding/icon64.png (branding/icon64.png)
-- content/branding/icon48.png (branding/icon48.png)
--#endif
-diff --git a/calendar/installer/windows/Header.bmp b/calendar/sunbird/branding/nightly/Header.bmp
-rename from calendar/installer/windows/Header.bmp
-rename to calendar/sunbird/branding/nightly/Header.bmp
-diff --git a/calendar/sunbird/branding/nightly/Makefile.in b/calendar/sunbird/branding/nightly/Makefile.in
-new file mode 100644
---- /dev/null
-+++ calendar/sunbird/branding/nightly/Makefile.in
-@@ -0,0 +1,81 @@
-+# ***** BEGIN LICENSE BLOCK *****
-+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-+#
-+# The contents of this file are subject to the Mozilla Public License Version
-+# 1.1 (the "License"); you may not use this file except in compliance with
-+# the License. You may obtain a copy of the License at
-+# http://www.mozilla.org/MPL/
-+#
-+# Software distributed under the License is distributed on an "AS IS" basis,
-+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-+# for the specific language governing rights and limitations under the
-+# License.
-+#
-+# The Original Code is Mozilla Calendar code.
-+#
-+# The Initial Developer of the Original Code is
-+# Philipp Kewisch <mozilla@kewis.ch>
-+# Portions created by the Initial Developer are Copyright (C) 2009
-+# the Initial Developer. All Rights Reserved.
-+#
-+# Contributor(s):
-+# Brian Ryner <bryner@brianryner.com>
-+# Matthew Willis <lilmatt@mozilla.com>
-+# Robert Strong <robert.bugzilla@gmail.com>
-+#
-+# Alternatively, the contents of this file may be used under the terms of
-+# either the GNU General Public License Version 2 or later (the "GPL"), or
-+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-+# in which case the provisions of the GPL or the LGPL are applicable instead
-+# of those above. If you wish to allow use of your version of this file only
-+# under the terms of either the GPL or the LGPL, and not to allow others to
-+# use your version of this file under the terms of the MPL, indicate your
-+# decision by deleting the provisions above and replace them with the notice
-+# and other provisions required by the GPL or the LGPL. If you do not delete
-+# the provisions above, a recipient may use your version of this file under
-+# the terms of any one of the MPL, the GPL or the LGPL.
-+#
-+# ***** END LICENSE BLOCK *****
-+
-+DEPTH = ../../../..
-+topsrcdir = @top_srcdir@
-+srcdir = @srcdir@
-+VPATH = @srcdir@
-+relativesrcdir = calendar/sunbird/branding/sunbird/locales
-+
-+include $(DEPTH)/config/autoconf.mk
-+
-+DEFINES += -DAB_CD=$(AB_CD)
-+
-+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
-+ifneq (,$(filter mac 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
-diff --git a/calendar/installer/windows/Watermrk.bmp b/calendar/sunbird/branding/nightly/Watermrk.bmp
-rename from calendar/installer/windows/Watermrk.bmp
-rename to calendar/sunbird/branding/nightly/Watermrk.bmp
-diff --git a/calendar/sunbird/app/macbuild/background.png b/calendar/sunbird/branding/nightly/background.png
-rename from calendar/sunbird/app/macbuild/background.png
-rename to calendar/sunbird/branding/nightly/background.png
-diff --git a/calendar/installer/windows/nsis/branding.nsi b/calendar/sunbird/branding/nightly/branding.nsi
-rename from calendar/installer/windows/nsis/branding.nsi
-rename to calendar/sunbird/branding/nightly/branding.nsi
-diff --git a/calendar/sunbird/base/branding/about.png b/calendar/sunbird/branding/nightly/content/about.png
-rename from calendar/sunbird/base/branding/about.png
-rename to calendar/sunbird/branding/nightly/content/about.png
-diff --git a/calendar/sunbird/base/branding/aboutCredits.png b/calendar/sunbird/branding/nightly/content/aboutCredits.png
-rename from calendar/sunbird/base/branding/aboutCredits.png
-rename to calendar/sunbird/branding/nightly/content/aboutCredits.png
-diff --git a/calendar/sunbird/base/branding/aboutFooter.png b/calendar/sunbird/branding/nightly/content/aboutFooter.png
-rename from calendar/sunbird/base/branding/aboutFooter.png
-rename to calendar/sunbird/branding/nightly/content/aboutFooter.png
-diff --git a/calendar/sunbird/base/branding/icon48.png b/calendar/sunbird/branding/nightly/content/icon48.png
-rename from calendar/sunbird/base/branding/icon48.png
-rename to calendar/sunbird/branding/nightly/content/icon48.png
-diff --git a/calendar/sunbird/base/branding/icon64.png b/calendar/sunbird/branding/nightly/content/icon64.png
-rename from calendar/sunbird/base/branding/icon64.png
-rename to calendar/sunbird/branding/nightly/content/icon64.png
-diff --git a/calendar/sunbird/app/default.xpm b/calendar/sunbird/branding/nightly/default.xpm
-rename from calendar/sunbird/app/default.xpm
-rename to calendar/sunbird/branding/nightly/default.xpm
-diff --git a/calendar/sunbird/app/macbuild/disk.icns b/calendar/sunbird/branding/nightly/disk.icns
-rename from calendar/sunbird/app/macbuild/disk.icns
-rename to calendar/sunbird/branding/nightly/disk.icns
-diff --git a/calendar/sunbird/app/macbuild/dsstore b/calendar/sunbird/branding/nightly/dsstore
-rename from calendar/sunbird/app/macbuild/dsstore
-rename to calendar/sunbird/branding/nightly/dsstore
-diff --git a/calendar/sunbird/branding/nightly/jar.mn b/calendar/sunbird/branding/nightly/jar.mn
-new file mode 100644
---- /dev/null
-+++ calendar/sunbird/branding/nightly/jar.mn
-@@ -0,0 +1,15 @@
-+#filter substitution
-+
-+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)
-+
-+@AB_CD@.jar:
-+% locale branding @AB_CD@ %locale/branding/
-+# Calendar branding only exists in en-US
-+ locale/branding/brand.dtd (locales/en-US/brand.dtd)
-+* locale/branding/brand.properties (locales/en-US/brand.properties)
-diff --git a/calendar/installer/windows/license.txt b/calendar/sunbird/branding/nightly/license.txt
-rename from calendar/installer/windows/license.txt
-rename to calendar/sunbird/branding/nightly/license.txt
-diff --git a/calendar/locales/en-US/chrome/branding/brand.dtd b/calendar/sunbird/branding/nightly/locales/en-US/brand.dtd
-rename from calendar/locales/en-US/chrome/branding/brand.dtd
-rename to calendar/sunbird/branding/nightly/locales/en-US/brand.dtd
-diff --git a/calendar/locales/en-US/chrome/branding/brand.properties b/calendar/sunbird/branding/nightly/locales/en-US/brand.properties
-rename from calendar/locales/en-US/chrome/branding/brand.properties
-rename to calendar/sunbird/branding/nightly/locales/en-US/brand.properties
-diff --git a/calendar/sunbird/app/mozicon128.png b/calendar/sunbird/branding/nightly/mozicon128.png
-rename from calendar/sunbird/app/mozicon128.png
-rename to calendar/sunbird/branding/nightly/mozicon128.png
-diff --git a/calendar/sunbird/app/mozicon16.xpm b/calendar/sunbird/branding/nightly/mozicon16.xpm
-rename from calendar/sunbird/app/mozicon16.xpm
-rename to calendar/sunbird/branding/nightly/mozicon16.xpm
-diff --git a/calendar/sunbird/app/mozicon50.xpm b/calendar/sunbird/branding/nightly/mozicon50.xpm
-rename from calendar/sunbird/app/mozicon50.xpm
-rename to calendar/sunbird/branding/nightly/mozicon50.xpm
-diff --git a/calendar/sunbird/app/macbuild/sb_ICS.icns b/calendar/sunbird/branding/nightly/sb_ICS.icns
-rename from calendar/sunbird/app/macbuild/sb_ICS.icns
-rename to calendar/sunbird/branding/nightly/sb_ICS.icns
-diff --git a/calendar/sunbird/app/sunbird-os2.ico b/calendar/sunbird/branding/nightly/sunbird-os2.ico
-rename from calendar/sunbird/app/sunbird-os2.ico
-rename to calendar/sunbird/branding/nightly/sunbird-os2.ico
-diff --git a/calendar/sunbird/app/macbuild/sunbird.icns b/calendar/sunbird/branding/nightly/sunbird.icns
-rename from calendar/sunbird/app/macbuild/sunbird.icns
-rename to calendar/sunbird/branding/nightly/sunbird.icns
-diff --git a/calendar/sunbird/app/sunbird.ico b/calendar/sunbird/branding/nightly/sunbird.ico
-rename from calendar/sunbird/app/sunbird.ico
-rename to calendar/sunbird/branding/nightly/sunbird.ico
-diff --git a/calendar/installer/windows/wizHeader.bmp b/calendar/sunbird/branding/nightly/wizHeader.bmp
-rename from calendar/installer/windows/wizHeader.bmp
-rename to calendar/sunbird/branding/nightly/wizHeader.bmp
-diff --git a/calendar/installer/windows/wizHeaderRTL.bmp b/calendar/sunbird/branding/nightly/wizHeaderRTL.bmp
-rename from calendar/installer/windows/wizHeaderRTL.bmp
-rename to calendar/sunbird/branding/nightly/wizHeaderRTL.bmp
-diff --git a/calendar/installer/windows/wizWatermark.bmp b/calendar/sunbird/branding/nightly/wizWatermark.bmp
-rename from calendar/installer/windows/wizWatermark.bmp
-rename to calendar/sunbird/branding/nightly/wizWatermark.bmp
-diff --git a/calendar/sunbird/locales/Makefile.in b/calendar/sunbird/locales/Makefile.in
---- calendar/sunbird/locales/Makefile.in
-+++ calendar/sunbird/locales/Makefile.in
-@@ -50,20 +50,16 @@ README_FILES= \
-
- APP_VERSION = $(SUNBIRD_VERSION)
- DEFINES += \
- -DAB_CD="$(AB_CD)" \
- -DLOCALE_SRCDIR=$(LOCALE_SRCDIR) \
- -DAPP_VERSION="$(APP_VERSION)" \
- $(NULL)
-
--ifndef MOZ_BRANDING_DIRECTORY
--DEFINES += -DMOZ_USE_GENERIC_BRANDING
--endif
--
- 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
-diff --git a/calendar/sunbird/locales/jar.mn b/calendar/sunbird/locales/jar.mn
---- calendar/sunbird/locales/jar.mn
-+++ calendar/sunbird/locales/jar.mn
-@@ -1,17 +1,10 @@
- #filter substitution
-
--#ifdef MOZ_USE_GENERIC_BRANDING
--@AB_CD@.jar:
--% locale branding @AB_CD@ %locale/branding/
--+ locale/branding/brand.dtd (%chrome/branding/brand.dtd)
--+ locale/branding/brand.properties (%chrome/branding/brand.properties)
--#endif
--
- 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
-diff --git a/other-licenses/branding/sunbird/Makefile.in b/other-licenses/branding/sunbird/Makefile.in
---- other-licenses/branding/sunbird/Makefile.in
-+++ other-licenses/branding/sunbird/Makefile.in
-@@ -1,57 +1,84 @@
--# Branding Makefile
--# - jars chrome artwork
--# - copies artwork to appropriate places in objdir for bundling into app
--# resources
-+# ***** BEGIN LICENSE BLOCK *****
-+# Version: MPL 1.1/GPL 2.0/LGPL 2.1
-+#
-+# The contents of this file are subject to the Mozilla Public License Version
-+# 1.1 (the "License"); you may not use this file except in compliance with
-+# the License. You may obtain a copy of the License at
-+# http://www.mozilla.org/MPL/
-+#
-+# Software distributed under the License is distributed on an "AS IS" basis,
-+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-+# for the specific language governing rights and limitations under the
-+# License.
-+#
-+# The Original Code is Mozilla Calendar code.
-+#
-+# The Initial Developer of the Original Code is
-+# Matthew Willis <lilmatt@mozilla.com>
-+# Portions created by the Initial Developer are Copyright (C) 2006
-+# the Initial Developer. All Rights Reserved.
-+#
-+# Contributor(s):
-+# Robert Strong <robert.bugzilla@gmail.com>
-+# Philipp Kewisch <mozilla@kewis.ch>
-+#
-+# Alternatively, the contents of this file may be used under the terms of
-+# either the GNU General Public License Version 2 or later (the "GPL"), or
-+# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
-+# in which case the provisions of the GPL or the LGPL are applicable instead
-+# of those above. If you wish to allow use of your version of this file only
-+# under the terms of either the GPL or the LGPL, and not to allow others to
-+# use your version of this file under the terms of the MPL, indicate your
-+# decision by deleting the provisions above and replace them with the notice
-+# and other provisions required by the GPL or the LGPL. If you do not delete
-+# the provisions above, a recipient may use your version of this file under
-+# the terms of any one of the MPL, the GPL or the LGPL.
-+#
-+# ***** END LICENSE BLOCK *****
-
- DEPTH = ../../..
- topsrcdir = @top_srcdir@
- srcdir = @srcdir@
- VPATH = @srcdir@
-+relativesrcdir = other-licenses/branding/sunbird/locales
-
- include $(DEPTH)/config/autoconf.mk
-
--DIRS = \
-- content \
-- locales \
-- $(NULL)
-+DEFINES += -DAB_CD=$(AB_CD)
-
- include $(topsrcdir)/config/rules.mk
-
--CALENDAR_APP_FILES = \
-- default.xpm \
-- mozicon128.png \
-- mozicon16.xpm \
-- mozicon50.xpm \
-- sunbird.ico \
-- $(NULL)
--
- export::
- $(NSINSTALL) -D $(DIST)/branding
-- cp $(addprefix $(srcdir)/, $(CALENDAR_APP_FILES)) $(DIST)/branding/
--ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
-- $(NSINSTALL) -D $(DIST)/install
-- cp $(srcdir)/header.png $(DIST)/install/header.png
-- cp $(srcdir)/watermark.png $(DIST)/install/watermark.png
-+ifeq ($(OS_ARCH),WINNT)
-+ cp $(srcdir)/sunbird.ico $(DIST)/branding/sunbird.ico
-+ cp $(srcdir)/sunbird.ico $(DIST)/branding/app.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
- ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
-- cp $(srcdir)/sunbird.icns $(DIST)/branding/sunbird.icns
-- cp $(srcdir)/sb_ICS.icns $(DIST)/branding/sb_ICS.icns
-- cp $(srcdir)/document.icns $(DIST)/branding/document.icns
-- cp $(srcdir)/dsstore $(DIST)/branding/dsstore
-- cp $(srcdir)/background.png $(DIST)/branding/background.png
-- cp $(srcdir)/disk.icns $(DIST)/branding/disk.icns
-- cp $(srcdir)/license.r $(DIST)/branding/license.r
-+ cp $(srcdir)/sunbird.icns $(DIST)/branding/sunbird.icns
-+ cp $(srcdir)/sb_ICS.icns $(DIST)/branding/sb_ICS.icns
-+ cp $(srcdir)/document.icns $(DIST)/branding/document.icns
-+ cp $(srcdir)/dsstore $(DIST)/branding/dsstore
-+ cp $(srcdir)/background.png $(DIST)/branding/background.png
-+ cp $(srcdir)/disk.icns $(DIST)/branding/disk.icns
-+ cp $(srcdir)/license.r $(DIST)/branding/license.r
- endif
--ifeq ($(OS_ARCH),WINNT)
-- cp $(srcdir)/sunbird.ico $(DIST)/branding/app.ico
-- cp $(srcdir)/Header.bmp $(DIST)/branding/Header.bmp
-- cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
-- cp $(srcdir)/branding.nsi $(DIST)/branding/branding.nsi
-- cp $(srcdir)/license.txt $(DIST)/branding/license.txt
-- cp $(srcdir)/wizHeader.bmp $(DIST)/branding/wizHeader.bmp
-- cp $(srcdir)/wizHeaderRTL.bmp $(DIST)/branding/wizHeaderRTL.bmp
-- cp $(srcdir)/wizWatermark.bmp $(DIST)/branding/wizWatermark.bmp
-+ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
-+ 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
-+ $(NSINSTALL) -D $(DIST)/install
-+ cp $(srcdir)/header.png $(DIST)/install/header.png
-+ cp $(srcdir)/watermark.png $(DIST)/install/watermark.png
- endif
- ifeq ($(OS_ARCH),OS2)
-- cp $(srcdir)/sunbird-os2.ico $(DIST)/branding/sunbird.ico
-+ cp $(srcdir)/sunbird-os2.ico $(DIST)/branding/sunbird.ico
- endif
-diff --git a/other-licenses/branding/sunbird/content/Makefile.in b/other-licenses/branding/sunbird/content/Makefile.in
-deleted file mode 100644
---- other-licenses/branding/sunbird/content/Makefile.in
-+++ /dev/null
-@@ -1,11 +0,0 @@
--# Branding Makefile
--# - jars chrome artwork
--
--DEPTH = ../../../..
--topsrcdir = @top_srcdir@
--srcdir = @srcdir@
--VPATH = @srcdir@
--
--include $(DEPTH)/config/autoconf.mk
--
--include $(topsrcdir)/config/rules.mk
-diff --git a/other-licenses/branding/sunbird/content/jar.mn b/other-licenses/branding/sunbird/content/jar.mn
-deleted file mode 100644
---- other-licenses/branding/sunbird/content/jar.mn
-+++ /dev/null
-@@ -1,7 +0,0 @@
--calendar.jar:
--% content branding %content/branding/ xpcnativewrappers=yes
-- content/branding/about.png (about.png)
-- content/branding/aboutCredits.png (aboutCredits.png)
-- content/branding/aboutFooter.png (aboutFooter.png)
-- content/branding/icon64.png (icon64.png)
-- content/branding/icon48.png (icon48.png)
-diff --git a/other-licenses/branding/sunbird/jar.mn b/other-licenses/branding/sunbird/jar.mn
-new file mode 100644
---- /dev/null
-+++ other-licenses/branding/sunbird/jar.mn
-@@ -0,0 +1,14 @@
-+#filter substitution
-+
-+calendar.jar:
-+% content branding %content/branding/ xpcnativewrappers=yes
-+ 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)
-+
-+@AB_CD@.jar:
-+% locale branding @AB_CD@ %locale/branding/
-+ locale/branding/brand.dtd (locales/en-US/brand.dtd)
-+ locale/branding/brand.properties (locales/en-US/brand.properties)
-diff --git a/other-licenses/branding/sunbird/locales/Makefile.in b/other-licenses/branding/sunbird/locales/Makefile.in
-deleted file mode 100644
---- other-licenses/branding/sunbird/locales/Makefile.in
-+++ /dev/null
-@@ -1,48 +0,0 @@
--# ***** BEGIN LICENSE BLOCK *****
--# Version: MPL 1.1/GPL 2.0/LGPL 2.1
--#
--# The contents of this file are subject to the Mozilla Public License Version
--# 1.1 (the "License"); you may not use this file except in compliance with
--# the License. You may obtain a copy of the License at
--# http://www.mozilla.org/MPL/
--#
--# Software distributed under the License is distributed on an "AS IS" basis,
--# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
--# for the specific language governing rights and limitations under the
--# License.
--#
--# The Original Code is the Mozilla Browser code.
--#
--# The Initial Developer of the Original Code is
--# Benjamin Smedberg <benjamin@smedbergs.us>
--# Portions created by the Initial Developer are Copyright (C) 2004
--# the Initial Developer. All Rights Reserved.
--#
--# Contributor(s):
--#
--# Alternatively, the contents of this file may be used under the terms of
--# either the GNU General Public License Version 2 or later (the "GPL"), or
--# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
--# in which case the provisions of the GPL or the LGPL are applicable instead
--# of those above. If you wish to allow use of your version of this file only
--# under the terms of either the GPL or the LGPL, and not to allow others to
--# use your version of this file under the terms of the MPL, indicate your
--# decision by deleting the provisions above and replace them with the notice
--# and other provisions required by the GPL or the LGPL. If you do not delete
--# the provisions above, a recipient may use your version of this file under
--# the terms of any one of the MPL, the GPL or the LGPL.
--#
--# ***** END LICENSE BLOCK *****
--
--DEPTH = ../../../..
--topsrcdir = @top_srcdir@
--srcdir = @srcdir@
--VPATH = @srcdir@
--relativesrcdir = other-licenses/branding/sunbird/locales
--
--include $(DEPTH)/config/autoconf.mk
--
--DEFINES += -DAB_CD=$(AB_CD) -DMOZ_DISTRIBUTION_ID_UNQUOTED=$(MOZ_DISTRIBUTION_ID)
--
--include $(topsrcdir)/config/rules.mk
--
-diff --git a/other-licenses/branding/sunbird/locales/jar.mn b/other-licenses/branding/sunbird/locales/jar.mn
-deleted file mode 100644
---- other-licenses/branding/sunbird/locales/jar.mn
-+++ /dev/null
-@@ -1,6 +0,0 @@
--#filter substitution
--
--@AB_CD@.jar:
--% locale branding @AB_CD@ %locale/branding/
-- locale/branding/brand.dtd (%brand.dtd)
-- locale/branding/brand.properties (%brand.properties)
diff --git a/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-config.mk b/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-config.mk
deleted file mode 100644
index a7cc0b915aeb..000000000000
--- a/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-config.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- mozilla/js/src/config/config.mk.orgi 2009-04-21 15:12:51.000000000 +0200
-+++ mozilla/js/src/config/config.mk 2009-04-21 15:15:37.000000000 +0200
-@@ -490,7 +490,7 @@
- INCLUDES = $(LOCAL_INCLUDES) $(REQ_INCLUDES) $(REQ_INCLUDES_SDK) -I$(PUBLIC) $(OS_INCLUDES)
-
- ifndef MOZILLA_INTERNAL_API
--INCLUDES += -I$(LIBXUL_DIST)/sdk/include
-+INCLUDES += -I$(LIBXUL_DIST)/sdk/include -I%%LOCALBASE%%/include
- endif
-
- include $(topsrcdir)/config/static-checking-config.mk
diff --git a/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-mkdepend-Makefile.in b/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
index 898c898fdbd9..ddeddd928613 100644
--- a/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
+++ b/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
@@ -5,7 +5,7 @@
include $(topsrcdir)/config/rules.mk
-HOST_CFLAGS += -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
-+HOST_CFLAGS += -DINCLUDEDIR=\"%%LOCALBASE%%/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
++HOST_CFLAGS += -DINCLUDEDIR=\"%%LOCALBASE%%/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\" -I/usr/local/include
ifdef GNU_CC
_GCCDIR = $(shell $(CC) -print-file-name=include)
diff --git a/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-jslock.cpp b/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-jslock.cpp
index c1a29f393d18..03f5c60cccf8 100644
--- a/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-jslock.cpp
+++ b/deskutils/lightning-thunderbird/files/patch-mozilla-js-src-jslock.cpp
@@ -1,37 +1,18 @@
---- mozilla/js/src/jslock.cpp.orig 2010-01-23 15:40:12.000000000 +0100
-+++ mozilla/js/src/jslock.cpp 2010-01-23 15:45:20.000000000 +0100
-@@ -133,7 +133,7 @@
- return (int)res;
- }
-
--#elif defined(SOLARIS) && defined(sparc) && defined(ULTRA_SPARC)
-+#elif defined(__sparc)
-
- static JS_ALWAYS_INLINE int
- NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
-@@ -142,13 +142,18 @@
+--- mozilla/js/src/jslock.cpp.orig 2010-01-23 20:35:45.000000000 +0100
++++ mozilla/js/src/jslock.cpp 2010-01-23 20:37:35.000000000 +0100
+@@ -160,8 +160,13 @@
unsigned int res;
- JS_ASSERT(ov != nv);
- asm volatile ("\
--stbar\n\
--cas [%1],%2,%3\n\
--cmp %2,%3\n\
--be,a 1f\n\
--mov 1,%0\n\
--mov 0,%0\n\
--1:"
-+ membar #StoreLoad | #LoadLoad\n"
+
+ __asm__ __volatile__ (
+- "stbar\n"
+- "cas [%1],%2,%3\n"
++ "membar #StoreLoad | #LoadLoad\n"
+# if defined (__sparc64__)
+ "casx [%1],%2,%3\n"
+# else
+ "cas [%1],%2,%3\n" /* 32-bit version */
+# endif
+ "membar #StoreLoad | #LoadLoad\n"
-+ "cmp %2,%3\n"
-+ "be,a 1f\n"
-+ "mov 1,%0\n"
-+ "mov 0,%0\n"
-+ "1:"
- : "=r" (res)
- : "r" (w), "r" (ov), "r" (nv));
- return (int)res;
+ "cmp %2,%3\n"
+ "be,a 1f\n"
+ "mov 1,%0\n"
diff --git a/deskutils/lightning-thunderbird/files/patch-mozilla-xpcom_reflect_xptcall_src_md_unix_Makefile.in b/deskutils/lightning-thunderbird/files/patch-mozilla-xpcom_reflect_xptcall_src_md_unix_Makefile.in
index 385aaed120c3..a6fb01850aaa 100644
--- a/deskutils/lightning-thunderbird/files/patch-mozilla-xpcom_reflect_xptcall_src_md_unix_Makefile.in
+++ b/deskutils/lightning-thunderbird/files/patch-mozilla-xpcom_reflect_xptcall_src_md_unix_Makefile.in
@@ -1,15 +1,15 @@
---- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2009-12-03 08:19:56.000000000 +0100
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2010-01-22 10:43:23.000000000 +0100
-@@ -71,6 +71,9 @@
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2009-03-05 22:32:55.000000000 +0100
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2009-04-21 14:15:46.135700268 +0200
+@@ -70,6 +70,9 @@
+ ifeq (Darwin,$(OS_ARCH))
DEFINES += -DKEEP_STACK_16_BYTE_ALIGNED
endif
- endif
+ifeq (x86_64,$(OS_TEST))
+CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
+endif
endif
+ endif
#
- # New code for Linux, et. al., with gcc
@@ -87,7 +90,7 @@
endif
endif
@@ -26,7 +26,7 @@
+# FreeBSD/amd64
+#
+ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDamd64)
-+CPPSRCS := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
++CPPSRCS := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
+endif
+#
# BeOS/Intel (uses the same unixish_x86 code)
diff --git a/deskutils/lightning-thunderbird/files/patch-security_coreconf_FreeBSD.mk b/deskutils/lightning-thunderbird/files/patch-security_coreconf_FreeBSD.mk
index b32fc5639157..39272d788b83 100644
--- a/deskutils/lightning-thunderbird/files/patch-security_coreconf_FreeBSD.mk
+++ b/deskutils/lightning-thunderbird/files/patch-security_coreconf_FreeBSD.mk
@@ -1,37 +1,33 @@
---- mozilla/security/coreconf/FreeBSD.mk.orig Wed Mar 26 20:17:25 2003
-+++ mozilla/security/coreconf/FreeBSD.mk Thu Jul 8 12:56:24 2004
-@@ -35,16 +35,18 @@
-
- include $(CORE_DEPTH)/coreconf/UNIX.mk
-
--DEFAULT_COMPILER = gcc
--CC = gcc
--CCC = g++
-+CCC = ${CXX}
- RANLIB = ranlib
-
- ifeq ($(OS_TEST),alpha)
- CPU_ARCH = alpha
- else
+--- mozilla/security/coreconf/FreeBSD.mk.orig 2010-04-30 19:44:32.000000000 +0000
++++ mozilla/security/coreconf/FreeBSD.mk 2010-05-10 13:04:45.000000000 +0000
+@@ -52,6 +52,15 @@
+ ifeq ($(CPU_ARCH),amd64)
+ CPU_ARCH = x86_64
+ endif
+ifeq ($(OS_TEST),amd64)
+CPU_ARCH = amd64
-+else
- CPU_ARCH = x86
- endif
++endif
++ifeq ($(OS_TEST),powerpc)
++CPU_ARCH = powerpc
++endif
++ifeq ($(OS_TEST),sparc64)
++CPU_ARCH = sparc64
+endif
- OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+ OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
-@@ -71,7 +73,11 @@
+@@ -78,7 +87,7 @@
DLL_SUFFIX = so.1.0
endif
-MKSHLIB = $(CC) $(DSO_LDOPTS)
-+ifneq (,$(filter alpha ia64,$(OS_TEST)))
+MKSHLIB = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
-+else
-+MKSHLIB = $(CC) -Wl,-Bsymbolic $(DSO_LDOPTS) -o $@
-+endif
ifdef MAPFILE
- # Add LD options to restrict exported symbols to those in the map file
+ MKSHLIB += -Wl,--version-script,$(MAPFILE)
endif
+@@ -87,4 +96,4 @@
+
+ G++INCLUDES = -I/usr/include/g++
+
+-INCLUDES += -I/usr/X11R6/include
++#INCLUDES += -I/usr/local/include
diff --git a/deskutils/lightning-thunderbird/files/patch-sysnss b/deskutils/lightning-thunderbird/files/patch-sysnss
index a095158255ce..6f395b2f4158 100644
--- a/deskutils/lightning-thunderbird/files/patch-sysnss
+++ b/deskutils/lightning-thunderbird/files/patch-sysnss
@@ -22,8 +22,8 @@
$(NULL)
include $(topsrcdir)/config/rules.mk
---- mozilla/security/manager/Makefile.in.orig 2009-12-03 08:19:28.000000000 +0100
-+++ mozilla/security/manager/Makefile.in 2009-12-05 16:08:10.000000000 +0100
+--- mozilla/security/manager/Makefile.in.orig 2010-06-10 22:23:39.000000000 +0200
++++ mozilla/security/manager/Makefile.in 2010-06-25 13:55:50.000000000 +0200
@@ -45,17 +45,6 @@
MODULE = psm
@@ -42,41 +42,41 @@
ifndef NSS_DISABLE_DBM
NSSDBM3_LIB = $(DLL_PREFIX)nssdbm3$(DLL_SUFFIX)
NSSDBM3_CHK = $(DLL_PREFIX)nssdbm3.chk
-@@ -255,13 +244,6 @@
+@@ -292,13 +281,6 @@
.nss.cleaned: .nss.checkout
ifndef MOZ_NATIVE_NSS
-- $(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
-- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
-ifndef SKIP_CHK
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
-endif
- touch $@
endif
GARBAGE += .nss.cleaned
-@@ -280,78 +262,6 @@
+@@ -317,76 +299,6 @@
endif
libs::
-ifndef MOZ_NATIVE_NSS
-- $(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
-ifndef NSS_DISABLE_DBM
-- $(MAKE) -C $(topsrcdir)/security/dbm $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/dbm $(DEFAULT_GMAKE_FLAGS)
-endif
-- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
-ifdef ENABLE_TESTS
- # Need certutil binary for mochitest certificates generation
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/certutil $(DEFAULT_GMAKE_FLAGS)
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/pk12util $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/certutil $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/pk12util $(DEFAULT_GMAKE_FLAGS)
-endif
-ifndef SKIP_CHK
-ifndef ENABLE_TESTS # Just avoid secondary compile
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
-endif
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
-endif
- $(INSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DIST)/bin
-ifndef SKIP_CHK
@@ -127,15 +127,13 @@
-# NSS installs headers to dist/public and we want them in dist/include
- $(NSINSTALL) -D $(DIST)/include/nss
- (cd $(DIST)/public/nss && tar $(TAR_CREATE_FLAGS) - .) | \
-- (cd $(DIST)/include/nss && tar -xf -)
-- (cd $(DIST)/public/nss && tar $(TAR_CREATE_FLAGS) - .) | \
-- (cd $(DIST)/sdk/include && tar -xf -)
+- (cd $(DIST)/include && tar -xf -)
-endif
- $(MAKE) -C boot $@
$(MAKE) -C ssl $@
$(MAKE) -C locales $@
ifdef MOZ_XUL
-@@ -362,50 +272,6 @@
+@@ -397,50 +309,6 @@
$(MAKE) -C ssl $@
install::
@@ -186,15 +184,15 @@
$(MAKE) -C ssl $@
$(MAKE) -C locales $@
ifdef MOZ_XUL
-@@ -420,12 +286,6 @@
+@@ -455,12 +323,6 @@
$(MAKE) -C pki $@
endif
ifndef MOZ_NATIVE_NSS
-- $(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
-- $(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean
-ifndef SKIP_CHK
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
-- $(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS) clean
+- $(NSSMAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS) clean
-endif
endif
diff --git a/deskutils/lightning-thunderbird/files/releng6_pulseaudio b/deskutils/lightning-thunderbird/files/releng6_pulseaudio
index 2b82f93201ca..37203b52a5ee 100644
--- a/deskutils/lightning-thunderbird/files/releng6_pulseaudio
+++ b/deskutils/lightning-thunderbird/files/releng6_pulseaudio
@@ -13,14 +13,14 @@
ifeq ($(OS_ARCH),Linux)
CSRCS = \
sydney_audio_alsa.c \
---- mozilla/toolkit/library/Makefile.in.orig 2009-08-20 21:45:20.000000000 +0200
-+++ mozilla/toolkit/library/Makefile.in 2009-08-20 21:46:25.000000000 +0200
-@@ -228,12 +228,12 @@
+--- mozilla/toolkit/library/Makefile.in.orig 2010-01-19 20:28:10.000000000 +0000
++++ mozilla/toolkit/library/Makefile.in 2010-01-25 09:38:40.000000000 +0000
+@@ -235,12 +235,12 @@
endif
ifeq (gtk2,$(MOZ_WIDGET_TOOLKIT))
--EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) $(XT_LIBS) -lgthread-2.0
-+EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) $(XT_LIBS) -lgthread-2.0 -lpulse -lpthread -lc
+-EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XEXT_LIBS) $(XCOMPOSITE_LIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) $(XT_LIBS) -lgthread-2.0
++EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XEXT_LIBS) $(XCOMPOSITE_LIBS) $(MOZ_PANGO_LIBS) $(MOZ_GTK2_LIBS) $(XT_LIBS) -lgthread-2.0 -lpulse -lpthread -lc
EXTRA_DSO_LDOPTS += $(FT2_LIBS)
endif
diff --git a/deskutils/lightning-thunderbird/pkg-descr b/deskutils/lightning-thunderbird/pkg-descr
index 86f77f98b396..401481243627 100644
--- a/deskutils/lightning-thunderbird/pkg-descr
+++ b/deskutils/lightning-thunderbird/pkg-descr
@@ -1,6 +1,5 @@
-Lightning brings the Sunbird calendar to the popular email client, Mozilla
-Thunderbird and the SeaMonkey internet application suite. Since it's an
-extension, Lightning is tightly integrated with Thunderbird or SeaMonkey,
-allowing it to easily perform email-related calendaring tasks.
+Lightning brings the Sunbird calendar to the popular email client Mozilla
+Thunderbird. Since it's an extension, Lightning is tightly integrated with
+Thunderbird, allowing it to easily perform email-related calendaring tasks.
WWW: http://www.mozilla.org/projects/calendar/lightning/