Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2009 19:15:53 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r206 - in trunk: mail/thunderbird mail/thunderbird3 mail/thunderbird3-i18n mail/thunderbird3/files www/seamonkey www/seamonkey2 www/seamonkey2-i18n www/seamonkey2/files
Message-ID:  <200912141915.nBEJFrAT080039@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: beat
Date: Mon Dec 14 19:15:53 2009
New Revision: 206

Log:
Sync with ports:
- mail/thunderbird3: Add Thunderbird 3.0
- thunderbird3-i18n: Add language pack for Thunderbird 3.0
- mail/thunderbird: Add CONFLICT with Thunderbird 3.0
- www/seamonkey2: Add Seamonkey 2.0
- www/seamonkey2-i18n: Add language pack for Seamonkey 2.0
- www/seamonkey: Add CONFLICT with Seamonkey 2.0

Added:
   trunk/mail/thunderbird3/
   trunk/mail/thunderbird3-i18n/
   trunk/mail/thunderbird3-i18n/Makefile
   trunk/mail/thunderbird3-i18n/distinfo
   trunk/mail/thunderbird3-i18n/pkg-descr
   trunk/mail/thunderbird3/Makefile
   trunk/mail/thunderbird3/distinfo
   trunk/mail/thunderbird3/files/
   trunk/mail/thunderbird3/files/liboggplay_oss
   trunk/mail/thunderbird3/files/moz_pis_S50cleanhome
   trunk/mail/thunderbird3/files/patch-configure.in
   trunk/mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-libldap-Makefile.in
   trunk/mail/thunderbird3/files/patch-directory_c-sdk_ldap_libraries_libprldap_Makefile.in
   trunk/mail/thunderbird3/files/patch-directory_xpcom_base_src_Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-config-mkdepend-Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-config-rules.mk
   trunk/mail/thunderbird3/files/patch-mozilla-config_autoconf.mk.in
   trunk/mail/thunderbird3/files/patch-mozilla-configure.in
   trunk/mail/thunderbird3/files/patch-mozilla-content-xslt-public-txDouble.h
   trunk/mail/thunderbird3/files/patch-mozilla-db-sqlite3-src-Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-js-src-config-config.mk
   trunk/mail/thunderbird3/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-js-src-configure.in
   trunk/mail/thunderbird3/files/patch-mozilla-js-src-jsnum.cpp
   trunk/mail/thunderbird3/files/patch-mozilla-layout-generic-Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-media-liboggz-include-oggz-oggz_off_t_generated.h
   trunk/mail/thunderbird3/files/patch-mozilla-media-libsydneyaudio-include-sydney_audio.h
   trunk/mail/thunderbird3/files/patch-mozilla-security-coreconf-FreeBSD.mk
   trunk/mail/thunderbird3/files/patch-mozilla-security-manager-ssl-src-nsNSSComponent.cpp
   trunk/mail/thunderbird3/files/patch-mozilla-storage-build-Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-toolkit-mozapps-installer-packager.mk
   trunk/mail/thunderbird3/files/patch-mozilla-toolkit-xre-Makefile.in
   trunk/mail/thunderbird3/files/patch-mozilla-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
   trunk/mail/thunderbird3/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in
   trunk/mail/thunderbird3/files/releng6_pulseaudio
   trunk/mail/thunderbird3/files/thunderbird.desktop.in
   trunk/mail/thunderbird3/pkg-descr
   trunk/www/seamonkey2/
   trunk/www/seamonkey2-i18n/
   trunk/www/seamonkey2-i18n/Makefile
   trunk/www/seamonkey2-i18n/Makefile.lang
   trunk/www/seamonkey2-i18n/Makefile.option
   trunk/www/seamonkey2-i18n/distinfo
   trunk/www/seamonkey2-i18n/pkg-descr
   trunk/www/seamonkey2/Makefile
   trunk/www/seamonkey2/distinfo
   trunk/www/seamonkey2/files/
   trunk/www/seamonkey2/files/extra-patch-security_manager_Makefile.in
   trunk/www/seamonkey2/files/libsydney_oss
   trunk/www/seamonkey2/files/moz_pis_S50cleanhome
   trunk/www/seamonkey2/files/patch-config-rules.mk
   trunk/www/seamonkey2/files/patch-config_autoconf.mk.in
   trunk/www/seamonkey2/files/patch-configure
   trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libldap-Makefile.in
   trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libprldap-Makefile.in
   trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libssldap-Makefile.in
   trunk/www/seamonkey2/files/patch-directory-xpcom-base-src-Makefile.in
   trunk/www/seamonkey2/files/patch-mozilla-build-unix-run-mozilla.sh
   trunk/www/seamonkey2/files/patch-mozilla-config-autoconf.mk.in
   trunk/www/seamonkey2/files/patch-mozilla-config-mkdepend-Makefile.in
   trunk/www/seamonkey2/files/patch-mozilla-config-mkdepend-imakemdep.h
   trunk/www/seamonkey2/files/patch-mozilla-content-xslt-public-txDouble.h
   trunk/www/seamonkey2/files/patch-mozilla-embedding-base_nsEmbedAPI.cpp
   trunk/www/seamonkey2/files/patch-mozilla-js-src-Makefile.in
   trunk/www/seamonkey2/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
   trunk/www/seamonkey2/files/patch-mozilla-js-src-configure
   trunk/www/seamonkey2/files/patch-mozilla-media-liboggz-include-oggz-oggz_off_t_generated.h
   trunk/www/seamonkey2/files/patch-mozilla-security-coreconf-FreeBSD.mk
   trunk/www/seamonkey2/files/patch-mozilla-security-manager-ssl-src-nsNSSComponent.cpp
   trunk/www/seamonkey2/files/patch-mozilla-storage-build-Makefile.in
   trunk/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
   trunk/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in
   trunk/www/seamonkey2/files/patch-sysnss
   trunk/www/seamonkey2/files/patch-xptcall-alpha
   trunk/www/seamonkey2/files/patch-xptcall-amd64
   trunk/www/seamonkey2/files/patch-xptcall-ia64
   trunk/www/seamonkey2/files/patch-xptcall-sparc64
   trunk/www/seamonkey2/files/releng6_pulseaudio
   trunk/www/seamonkey2/files/seamonkey.desktop.in
   trunk/www/seamonkey2/pkg-descr
Modified:
   trunk/mail/thunderbird/Makefile
   trunk/www/seamonkey/Makefile

Modified: trunk/mail/thunderbird/Makefile
==============================================================================
--- trunk/mail/thunderbird/Makefile	Mon Dec 14 15:28:37 2009	(r205)
+++ trunk/mail/thunderbird/Makefile	Mon Dec 14 19:15:53 2009	(r206)
@@ -2,7 +2,7 @@
 # Date created:			4 September 2003
 # Whom:				Joe Marcus Clarke <marcus@FreeBSD.org>
 #
-# $FreeBSD: ports/mail/thunderbird/Makefile,v 1.107 2009/09/28 21:10:21 beat Exp $
+# $FreeBSD: ports/mail/thunderbird/Makefile,v 1.109 2009/12/14 15:38:28 beat Exp $
 #   $MCom: ports-stable/mail/thunderbird/Makefile,v 1.18 2009/01/02 21:16:20 mezz Exp $
 #
 
@@ -17,7 +17,7 @@
 MAINTAINER=	gecko@FreeBSD.org
 COMMENT=	Mozilla Thunderbird is standalone mail and news that stands above
 
-CONFLICTS=	lightning-0.[0-9]*
+CONFLICTS=	lightning-0.[0-9]* thunderbird-3*
 WANT_GNOME=	yes
 ALL_TARGET=	default
 CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}

Added: trunk/mail/thunderbird3-i18n/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3-i18n/Makefile	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,81 @@
+# New ports collection makefile for:	thunderbird-i18n
+# Date created:		29 May 2006
+# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD: ports/mail/thunderbird3-i18n/Makefile,v 1.31 2009/12/14 15:45:56 beat Exp $
+#
+
+PORTNAME=	thunderbird3-i18n
+PORTVERSION=	3.0
+CATEGORIES=	mail
+MASTER_SITE_SUBDIR=	thunderbird/releases/${PORTVERSION}/linux-i686/xpi
+PKGNAMEPREFIX=
+DISTFILES=	${THUNDERBIRD_I18N_:S/$/.xpi/}
+DIST_SUBDIR=	xpi/${DISTNAME}
+
+MAINTAINER=	gecko@FreeBSD.org
+COMMENT=	Localized interface for Thunderbird
+
+# xpi-quick-locale-switcher doesn't work with thunderbird3 yet
+#.ifndef WITHOUT_SWITCHER
+#RUN_DEPENDS+=	xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher
+#.endif
+
+NO_BUILD=	yes
+USE_XPI=	*thunderbird-3.0
+
+THUNDERBIRD_I18N_ALL=	af be bg ca cs de el en-GB es-AR es-ES eu fi fr ga-IE \
+			he hu it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR \
+			pt-PT ru sk sv-SE tr uk zh-CN zh-TW
+.ifdef PACKAGE_BUILDING
+THUNDERBIRD_I18N?=	all
+.else
+THUNDERBIRD_I18N?=	zh-CN es-ES pt-BR ru ja de fr pa-IN ko it
+.endif
+
+.if ${THUNDERBIRD_I18N} == all
+THUNDERBIRD_I18N_=	${THUNDERBIRD_I18N_ALL}
+.endif
+THUNDERBIRD_I18N_?=	${THUNDERBIRD_I18N}
+
+WDIR=	langpack-*@thunderbird.mozilla.org
+
+XPI_DISTNAMES=	${THUNDERBIRD_I18N_}
+.for dist in ${XPI_DISTNAMES}
+XPI_ID_${dist}=		langpack-${dist}@thunderbird.mozilla.org
+XPI_FILES_${dist}=	chrome.manifest install.rdf chrome/${dist}.jar defaults/pref/all-l10n.js
+XPI_DIRS_${dist}=	chrome defaults/pref defaults
+.endfor
+
+do-extract:
+	@${RM} -rf ${WRKDIR}
+	@${MKDIR} ${WRKDIR} ${WRKSRC}
+	@for lang in ${THUNDERBIRD_I18N_}; do \
+		if ! (${EXTRACT_CMD} ${_DISTDIR}/$$lang.xpi -d ${WRKSRC}/langpack-$$lang@thunderbird.mozilla.org);\
+		then \
+			exit 1; \
+		fi \
+	done
+
+do-install:
+	@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
+	@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
+	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
+	@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
+	@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }
+	@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
+	@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \
+		${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
+	@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ; { ${RM} -f $$_dir/${WDIR} ; }' ${_A}
+	@${ECHO_CMD} '@unexec rmdir ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
+
+post-patch:
+	${FIND} ${WRKSRC} -name install.rdf -print0 | \
+		${XARGS} -0L1 ${REINPLACE_CMD} -i '' '/<?xml/,$$!d'
+
+list-langs:
+	@fetch -o- "http://releases.mozilla.org/pub/mozilla.org/${MASTER_SITE_SUBDIR}"|\
+		perl -ne 'if(/.*href="([a-zA-Z-]+).xpi.*/){print "$$1 "}'
+
+.include "${.CURDIR}/../../www/xpi-adblock/Makefile.xpi"
+.include <bsd.port.mk>

Added: trunk/mail/thunderbird3-i18n/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3-i18n/distinfo	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,102 @@
+MD5 (xpi/thunderbird3-i18n-3.0/af.xpi) = 8d8a99ae51a36dbad45086091f3af265
+SHA256 (xpi/thunderbird3-i18n-3.0/af.xpi) = d2541dbd4dea07db31cc55e955728d2d7c5977808705fa7a53f1001e7ef1ab81
+SIZE (xpi/thunderbird3-i18n-3.0/af.xpi) = 200280
+MD5 (xpi/thunderbird3-i18n-3.0/be.xpi) = c2109ef9bc65ef56cc99a1d83a0f213a
+SHA256 (xpi/thunderbird3-i18n-3.0/be.xpi) = fedfda555bfb5593b6ae202d2d7dd006c242b150ef6285c43bbb9e280e3e5daa
+SIZE (xpi/thunderbird3-i18n-3.0/be.xpi) = 189166
+MD5 (xpi/thunderbird3-i18n-3.0/bg.xpi) = da084503bcd47c36e2e941814c8a3367
+SHA256 (xpi/thunderbird3-i18n-3.0/bg.xpi) = 16a92682dd18a4accf4389743568de8a075d726376f3df9e5d2980cfb7ff3f74
+SIZE (xpi/thunderbird3-i18n-3.0/bg.xpi) = 222515
+MD5 (xpi/thunderbird3-i18n-3.0/ca.xpi) = 27a7b931ff78b152393fa4d60fe128dd
+SHA256 (xpi/thunderbird3-i18n-3.0/ca.xpi) = ec63b0e3364fb12780984c071c5d8f7a8edea2963ff32fd08b6b8aa55fd32fcb
+SIZE (xpi/thunderbird3-i18n-3.0/ca.xpi) = 207484
+MD5 (xpi/thunderbird3-i18n-3.0/cs.xpi) = 299ad316273c3b1f89946cc5bfe3b0e9
+SHA256 (xpi/thunderbird3-i18n-3.0/cs.xpi) = cde5eaddf1de37356e2f0cf778789b96fa0135be3d1a113ee34ec572fb928fd0
+SIZE (xpi/thunderbird3-i18n-3.0/cs.xpi) = 207756
+MD5 (xpi/thunderbird3-i18n-3.0/de.xpi) = 6933a5154a806bee570a2312fa03b596
+SHA256 (xpi/thunderbird3-i18n-3.0/de.xpi) = 663c8ddeb8258e9645cc9aedf5e5b2724b57ad9e5f8018f37919bfecd4b9db5b
+SIZE (xpi/thunderbird3-i18n-3.0/de.xpi) = 211361
+MD5 (xpi/thunderbird3-i18n-3.0/el.xpi) = a6cf40a3990e31bdde581e70b021e826
+SHA256 (xpi/thunderbird3-i18n-3.0/el.xpi) = ecb32766910537d242c1600e3a09c056d642429f59f5eb592020963e660bc04b
+SIZE (xpi/thunderbird3-i18n-3.0/el.xpi) = 226881
+MD5 (xpi/thunderbird3-i18n-3.0/en-GB.xpi) = 68e19665fa8c09c93bcc254f12a64997
+SHA256 (xpi/thunderbird3-i18n-3.0/en-GB.xpi) = 8d0977fde180d8c3717f15766eb36d23747fdb9e76dd3ee1e7c3ce9475b4a1f9
+SIZE (xpi/thunderbird3-i18n-3.0/en-GB.xpi) = 193363
+MD5 (xpi/thunderbird3-i18n-3.0/es-AR.xpi) = 992bec66a16e0acb19b9683693b7a62c
+SHA256 (xpi/thunderbird3-i18n-3.0/es-AR.xpi) = d74084408bf6bb91092726a36d9dfa7b8d979e2c8439a6b621d81ea7fe04f5a4
+SIZE (xpi/thunderbird3-i18n-3.0/es-AR.xpi) = 207602
+MD5 (xpi/thunderbird3-i18n-3.0/es-ES.xpi) = c2d966c83e9aa8cf3ac22d88b166c9c1
+SHA256 (xpi/thunderbird3-i18n-3.0/es-ES.xpi) = 175cf1fd7b8e4b9a538adaad1892ebebd84b636afe24bb24d9ae571eeae53c5d
+SIZE (xpi/thunderbird3-i18n-3.0/es-ES.xpi) = 168066
+MD5 (xpi/thunderbird3-i18n-3.0/eu.xpi) = 9a89aaff115e91bca3f467cc1ee91914
+SHA256 (xpi/thunderbird3-i18n-3.0/eu.xpi) = c0cca7570033eeb6b4afe50822f59731145f24e2605fe41a66cb9eadfe9274c0
+SIZE (xpi/thunderbird3-i18n-3.0/eu.xpi) = 200869
+MD5 (xpi/thunderbird3-i18n-3.0/fi.xpi) = 957fea1ae9d3f523bc805e778287089e
+SHA256 (xpi/thunderbird3-i18n-3.0/fi.xpi) = e2110702ad070aaae9b7f4025d8f922de2efeda8f8bdbf09b9997574db921492
+SIZE (xpi/thunderbird3-i18n-3.0/fi.xpi) = 208348
+MD5 (xpi/thunderbird3-i18n-3.0/fr.xpi) = 4730fad9f07b0c3a9e824bbfc7edc9e4
+SHA256 (xpi/thunderbird3-i18n-3.0/fr.xpi) = c3576516bcd29988b6d276813d6032a2e6fd82438ea9913ae5c17c4b862b435a
+SIZE (xpi/thunderbird3-i18n-3.0/fr.xpi) = 210244
+MD5 (xpi/thunderbird3-i18n-3.0/ga-IE.xpi) = 2fa313427986bf4e07e23cb2dfa4aa48
+SHA256 (xpi/thunderbird3-i18n-3.0/ga-IE.xpi) = 4148523327dfffbde4745947b41ba0cfae772158b91400c100e5fabaf7feb868
+SIZE (xpi/thunderbird3-i18n-3.0/ga-IE.xpi) = 208835
+MD5 (xpi/thunderbird3-i18n-3.0/he.xpi) = f6ab679a8eff8417eedf68c23d4ea87e
+SHA256 (xpi/thunderbird3-i18n-3.0/he.xpi) = 058bd1c8087341f179dda8472b192984745bd73ba0c8ff58ae4507396a802a20
+SIZE (xpi/thunderbird3-i18n-3.0/he.xpi) = 192168
+MD5 (xpi/thunderbird3-i18n-3.0/hu.xpi) = 99ae79a9780c43d9ce5b0fe0ae3c377e
+SHA256 (xpi/thunderbird3-i18n-3.0/hu.xpi) = 9f81cb0af92ced8971b40128347b154072e9e20933784b8d20cb636cc5cc5842
+SIZE (xpi/thunderbird3-i18n-3.0/hu.xpi) = 215531
+MD5 (xpi/thunderbird3-i18n-3.0/it.xpi) = b2bf8e1f03786ec4dc97173358c2544a
+SHA256 (xpi/thunderbird3-i18n-3.0/it.xpi) = 97bb61b20ee26194410d0d32ba34d1b4bad7b0f2d46cb6b6cb7259b349e50710
+SIZE (xpi/thunderbird3-i18n-3.0/it.xpi) = 167141
+MD5 (xpi/thunderbird3-i18n-3.0/ja.xpi) = e398d08f286a6f5f62ae469b3b1e4216
+SHA256 (xpi/thunderbird3-i18n-3.0/ja.xpi) = e5b5ef8324fc18a8a729ad78cbb8222a38af18062a481a1993a890942d58b126
+SIZE (xpi/thunderbird3-i18n-3.0/ja.xpi) = 224356
+MD5 (xpi/thunderbird3-i18n-3.0/ko.xpi) = e9f57fa3bdaf04ebab848e27d431dd91
+SHA256 (xpi/thunderbird3-i18n-3.0/ko.xpi) = a66a1d1dcbb1f1999c6fab575863ff118f5599f1c0bd81e87d9481c469030bd1
+SIZE (xpi/thunderbird3-i18n-3.0/ko.xpi) = 186348
+MD5 (xpi/thunderbird3-i18n-3.0/lt.xpi) = 74895f43ea39011510d7f29e11cb068c
+SHA256 (xpi/thunderbird3-i18n-3.0/lt.xpi) = 0be549d6dd70e6e1ece3ab131967d2f46ffe38c213903747e78b50f7fd6cdbcd
+SIZE (xpi/thunderbird3-i18n-3.0/lt.xpi) = 224274
+MD5 (xpi/thunderbird3-i18n-3.0/nb-NO.xpi) = 6bbe5b38e4c562e88e5709af89e943e6
+SHA256 (xpi/thunderbird3-i18n-3.0/nb-NO.xpi) = 9e9f8f967f7c49a21a6d5c66cd1eb193ae5454edf0c7bac0348922fc2b92a22f
+SIZE (xpi/thunderbird3-i18n-3.0/nb-NO.xpi) = 202668
+MD5 (xpi/thunderbird3-i18n-3.0/nl.xpi) = 3c4246fdb49512cd0c66ad38c94ffb4e
+SHA256 (xpi/thunderbird3-i18n-3.0/nl.xpi) = 2dca8ccf437f2734d1770933434cc183ac5c1e01fc3c526530eb9099467662c7
+SIZE (xpi/thunderbird3-i18n-3.0/nl.xpi) = 205712
+MD5 (xpi/thunderbird3-i18n-3.0/nn-NO.xpi) = 35a0e53bafc4b0b5eefeb63c01e73fc9
+SHA256 (xpi/thunderbird3-i18n-3.0/nn-NO.xpi) = 364b1d5b026555c5ab43d0f6e9326985a431ea3fe4677ebce3684d00df431c1a
+SIZE (xpi/thunderbird3-i18n-3.0/nn-NO.xpi) = 204451
+MD5 (xpi/thunderbird3-i18n-3.0/pa-IN.xpi) = 83ecb473e7365febbd75ece8163a6231
+SHA256 (xpi/thunderbird3-i18n-3.0/pa-IN.xpi) = e1fcbbee9dfb8c439ed3c247a97b618b3c0a3d8b3cda6dd0643de8f800321e65
+SIZE (xpi/thunderbird3-i18n-3.0/pa-IN.xpi) = 230400
+MD5 (xpi/thunderbird3-i18n-3.0/pl.xpi) = 98ffd6713f9538390e9917fa5c123e09
+SHA256 (xpi/thunderbird3-i18n-3.0/pl.xpi) = 2e682dc4eb95a604671eaf8d716b5b0f6ffc6cb94671f95bd4fa33e44fe098cf
+SIZE (xpi/thunderbird3-i18n-3.0/pl.xpi) = 197864
+MD5 (xpi/thunderbird3-i18n-3.0/pt-BR.xpi) = 18ba32b0a447ec3fb01a4598ac3c6912
+SHA256 (xpi/thunderbird3-i18n-3.0/pt-BR.xpi) = 88d88344c4a19b9e3bfe186d88e5b540f607101f967371e501e06e4491993779
+SIZE (xpi/thunderbird3-i18n-3.0/pt-BR.xpi) = 204053
+MD5 (xpi/thunderbird3-i18n-3.0/pt-PT.xpi) = 506a45f24b69ec56e72a3a184959df02
+SHA256 (xpi/thunderbird3-i18n-3.0/pt-PT.xpi) = f16f937797235614df55e3e8754f9a85ce7af334fff49f68bf6239e4a8b58d6b
+SIZE (xpi/thunderbird3-i18n-3.0/pt-PT.xpi) = 204090
+MD5 (xpi/thunderbird3-i18n-3.0/ru.xpi) = f94b8399adb5eb4dcec2b598a56a90af
+SHA256 (xpi/thunderbird3-i18n-3.0/ru.xpi) = 8e26b7c87554acbf039a36e4015817d31fee7a67604a42202ca7953e48bb46fe
+SIZE (xpi/thunderbird3-i18n-3.0/ru.xpi) = 192056
+MD5 (xpi/thunderbird3-i18n-3.0/sk.xpi) = be5392f136a2a87bf4548377a380f99b
+SHA256 (xpi/thunderbird3-i18n-3.0/sk.xpi) = 5bf053a370dee4303b800a48b66c0a0f7dd6793fcd1f191a3309fd57afec7db3
+SIZE (xpi/thunderbird3-i18n-3.0/sk.xpi) = 213229
+MD5 (xpi/thunderbird3-i18n-3.0/sv-SE.xpi) = 0b5656979ac688279d3033a1ce92b24f
+SHA256 (xpi/thunderbird3-i18n-3.0/sv-SE.xpi) = 5417396d31f2e636f93d505685373c0e287548763855846267070c67c9c1eca4
+SIZE (xpi/thunderbird3-i18n-3.0/sv-SE.xpi) = 210593
+MD5 (xpi/thunderbird3-i18n-3.0/tr.xpi) = 5411ec6e786f81f468db75b650b16777
+SHA256 (xpi/thunderbird3-i18n-3.0/tr.xpi) = 1a78587ea938965a158795fc3513f7ff626d4a19140e3b8347ae6111fddfa18a
+SIZE (xpi/thunderbird3-i18n-3.0/tr.xpi) = 205400
+MD5 (xpi/thunderbird3-i18n-3.0/uk.xpi) = 1e3f97f700ceaf641af2a35e96e801c0
+SHA256 (xpi/thunderbird3-i18n-3.0/uk.xpi) = 53d530da456ea6c4eddb45123d097518b2f8bd06085eb01f40e1a752cea3a0f7
+SIZE (xpi/thunderbird3-i18n-3.0/uk.xpi) = 231307
+MD5 (xpi/thunderbird3-i18n-3.0/zh-CN.xpi) = 90ec300c3ad219670ad5d3144996d8d7
+SHA256 (xpi/thunderbird3-i18n-3.0/zh-CN.xpi) = c49b78c65e29e339a5a816cb376607d1ce82815da3ed2b27dbeebba4b0525f3a
+SIZE (xpi/thunderbird3-i18n-3.0/zh-CN.xpi) = 208225
+MD5 (xpi/thunderbird3-i18n-3.0/zh-TW.xpi) = cdbad36a85a494878a952e06dd1be18a
+SHA256 (xpi/thunderbird3-i18n-3.0/zh-TW.xpi) = a7b31b2d9a5aeeff1dc09389f00260cd79f995ed1c28efc29f1c0bc1cce0dd98
+SIZE (xpi/thunderbird3-i18n-3.0/zh-TW.xpi) = 208625

Added: trunk/mail/thunderbird3-i18n/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3-i18n/pkg-descr	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,3 @@
+Language packs for Thunderbird
+
+WWW: http://www.mozilla.org/projects/l10n/

Added: trunk/mail/thunderbird3/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/Makefile	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,121 @@
+# New ports collection makefile for:    mozilla-thunderbird
+# Date created:         4 September 2003
+# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/mail/thunderbird3/Makefile,v 1.110 2009/12/14 15:35:17 beat Exp $
+#
+
+PORTNAME=	thunderbird
+DISTVERSION=	3.0
+CATEGORIES=	mail ipv6
+MASTER_SITES=	${MASTER_SITE_MOZILLA}
+MASTER_SITE_SUBDIR=	${PORTNAME}/releases/${DISTVERSION}/source/
+DISTNAME=	${PORTNAME}-${DISTVERSION}.source
+
+MAINTAINER=	gecko@FreeBSD.org
+COMMENT=	Mozilla Thunderbird is standalone mail and news that stands above
+
+BUILD_DEPENDS=	nspr>=4.8:${PORTSDIR}/devel/nspr
+
+USE_AUTOTOOLS=	autoconf:213
+LATEST_LINK=	thunderbird3
+USE_GECKO=	gecko
+CONFLICTS=	thunderbird-2* lightning-0.[0-9]*
+USE_MOZILLA=	-png -nss -dbm -jpeg -xft
+MOZ_TOOLKIT=	cairo-gtk2
+
+MAKE_JOBS_SAFE=	yes
+WANT_GNOME=	yes
+ALL_TARGET=	default
+CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
+MAKE_ENV=	PTHREAD_LDFLAGS="${PTHREAD_LIBS}"
+HAS_CONFIGURE=	yes
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+
+MOZILLA=	${PORTNAME}-${PORTVERSION}
+MOZILLA_EXEC_NAME=	${PORTNAME}
+MOZ_PROTOCOLS=	http,ftp,file,viewsource,res,data
+MOZ_GRAPHICS=	default,-xbm
+MOZ_OPTIONS=	--with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \
+	--enable-single-profile --disable-profilesharing \
+	--enable-application=mail --enable-official-branding
+MOZ_MK_OPTIONS=	MOZ_MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1
+MOZ_EXPORT=		MOZ_THUNDERBIRD=1 MAIL_PKG_SHARED=1
+MOZILLA_PLIST_DIRS=	bin lib
+MOZ_PKGCONFIG_FILES=
+
+PORTNAME_ICON=	${PREFIX}/lib/${PORTNAME}/icons/default.xpm
+
+SYSTEM_PREFS=	${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION}/defaults/pref/${PORTNAME}.js
+MOZ_PIS_SCRIPTS=moz_pis_S50cleanhome
+
+OPTIONS=
+
+.include <bsd.port.pre.mk>
+
+WRKSRC=		${WRKDIR}/comm-1.9.1
+MOZSRC:=	${WRKSRC}/mozilla
+
+.if ${OSVERSION} < 700000
+LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
+EXTRA_PATCHES=	${FILESDIR}/releng6_pulseaudio
+.else
+EXTRA_PATCHES=	${FILESDIR}/liboggplay_oss
+.endif
+
+GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+=	libgnomeui
+MOZ_OPTIONS+=	--enable-gnomeui
+.else
+MOZ_OPTIONS+=	--disable-gnomeui
+.endif
+
+.if defined(WITHOUT_DBUS)
+MOZ_OPTIONS+=	--disable-dbus
+.else
+LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+.endif
+
+post-extract::
+	${SED} -e 's|@MOZILLA_ICON@|${MOZILLA_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \
+		-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \
+		<${FILESDIR}/thunderbird.desktop.in >${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop
+	${LN} -s  ${WRKSRC}/mail ${WRKSRC}/mozilla/mail
+
+post-patch:
+	${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
+		${MOZSRC}/storage/build/Makefile.in \
+		${MOZSRC}/db/sqlite3/src/Makefile.in
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+		${MOZSRC}/security/manager/ssl/src/Makefile.in \
+		${MOZSRC}/js/src/config/mkdepend/Makefile.in \
+		${MOZSRC}/js/src/config/config.mk
+	@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
+		s|-lpthread|${PTHREAD_LIBS}|g ; \
+		s|echo aout|echo elf|g ; \
+		s|/usr/X11R6|${LOCALBASE}|g' \
+		${MOZSRC}/js/src/configure
+
+pre-configure:
+	(cd ${WRKSRC} && ${AUTOCONF})
+	(cd ${MOZSRC} && ${AUTOCONF})
+	(cd ${MOZSRC}/js/src/ && ${AUTOCONF})
+
+port-pre-install:
+	${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
+	${FAKEDIR}/bin/thunderbird
+	${RM} -f ${FAKEDIR}/bin/*.bak
+	${MKDIR} ${FAKEDIR}/lib/${PORTNAME}-${PORTVERSION}/defaults
+
+pre-install:
+	@${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST}
+	@${ECHO_CMD} '@dirrmtry share/applications' >> ${PLIST}
+
+post-install:
+	${MKDIR} ${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKDIR}/${MOZILLA_EXEC_NAME}.desktop ${PREFIX}/share/applications
+
+.include <bsd.port.post.mk>

Added: trunk/mail/thunderbird3/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/distinfo	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,3 @@
+MD5 (thunderbird-3.0.source.tar.bz2) = 9a564ac2489b1b0f9348dc298b913f6c
+SHA256 (thunderbird-3.0.source.tar.bz2) = 750fc955e4474eef9ec36e8193df2811bcafb2b8cf27ecc0ebe65cec2eb33067
+SIZE (thunderbird-3.0.source.tar.bz2) = 60022838

Added: trunk/mail/thunderbird3/files/liboggplay_oss
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/liboggplay_oss	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,15 @@
+--- mozilla/media/libsydneyaudio/src/Makefile.in_orgi	2009-04-10 12:12:45.000000000 +0200
++++ mozilla/media/libsydneyaudio/src/Makefile.in	2009-04-10 12:13:12.000000000 +0200
+@@ -45,6 +45,12 @@
+ LIBRARY_NAME	= sydneyaudio
+ FORCE_STATIC_LIB= 1
+ 
++ifeq ($(OS_ARCH),FreeBSD)
++CSRCS		= \
++		sydney_audio_oss.c \
++		$(NULL)
++endif
++
+ ifeq ($(OS_ARCH),Linux)
+ CSRCS		= \
+ 		sydney_audio_alsa.c \

Added: trunk/mail/thunderbird3/files/moz_pis_S50cleanhome
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/moz_pis_S50cleanhome	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+
+# S50cleanhome
+# a script to polite ${HOME}/${MOZ_PIS_USER_DIR}
+
+# We run in our own subshell
+
+# First, verify protocol
+[ "$1" != "start" ] && exit 1
+[ -z "${MOZ_PIS_API}" -o ${MOZ_PIS_API} -ne 2 ] && exit 1
+[ -z "${MOZ_PIS_MOZBINDIR}" -o ! -d "${MOZ_PIS_MOZBINDIR}" ] && exit 1
+[ -z "${HOME}" -o ! -d "${HOME}" ] && exit 1
+[ -z "${MOZ_PIS_USER_DIR}" -o ! -d "${HOME}/${MOZ_PIS_USER_DIR}" ] && exit 1
+
+# Try to polite ${HOME}/${MOZ_PIS_USER_DIR}
+
+# This must be really needed?
+# rm -f "${$HOME}/${MOZ_PIS_USER_DIR}/pluginreg.dat"
+
+# Try to polite profile dirs
+if [ -f "${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" ]; then
+    sed -e '/Path=/! d' -e "s,Path=,${HOME}/${MOZ_PIS_USER_DIR}/," \
+	"${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" \
+	| while read dir
+    do
+	[ ! -d "${dir}" ] && continue
+	# at last, debian do this, we do for new builds
+	# rm -f "${dir}/XUL.mfasl"
+	# make reclaculate compreg.dat, xpti.dat for new builds
+	[ "${dir}/compreg.dat" -ot "${MOZ_PIS_MOZBINDIR}/components.ini" ] &&
+	    rm -f "${dir}/compatibility.ini" "${dir}/XUL.mfasl"
+    done
+fi

Added: trunk/mail/thunderbird3/files/patch-configure.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-configure.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- configure.in.orig	2009-08-14 11:24:58.206076928 +0200
++++ configure.in	2009-08-14 11:25:29.601293359 +0200
+@@ -5680,7 +5680,7 @@
+     CPU_ARCH=sparc
+     ;;
+ 
+-x86_64 | ia64)
++amd64 | x86_64 | ia64)
+     CPU_ARCH="$OS_TEST"
+     ;;
+ esac

Added: trunk/mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-libldap-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-directory-c-sdk-ldap-libraries-libldap-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- directory/c-sdk/ldap/libraries/libldap/Makefile.in.orig	2009-11-10 09:56:42.000000000 +0100
++++ directory/c-sdk/ldap/libraries/libldap/Makefile.in	2009-11-10 09:58:15.000000000 +0100
+@@ -254,6 +254,10 @@
+ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lbe
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
++endif
++
+ ifeq ($(OS_ARCH), NetBSD)
+ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
+ endif

Added: trunk/mail/thunderbird3/files/patch-directory_c-sdk_ldap_libraries_libprldap_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-directory_c-sdk_ldap_libraries_libprldap_Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,14 @@
+--- directory/c-sdk/ldap/libraries/libprldap/Makefile.in.orig	2008-09-11 16:38:35.000000000 +0200
++++ directory/c-sdk/ldap/libraries/libprldap/Makefile.in	2009-12-09 08:53:46.000000000 +0100
+@@ -147,6 +147,11 @@
+ CUSTOM_LIBS=1
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
++CUSTOM_LIBS=1
++endif
++
+ # no extra libs on HP-UX
+ ifeq ($(OS_ARCH), HP-UX)
+ CUSTOM_LIBS=1

Added: trunk/mail/thunderbird3/files/patch-directory_xpcom_base_src_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-directory_xpcom_base_src_Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- directory/xpcom/base/src/Makefile.in.orig	2009-11-22 03:44:31.000000000 +0100
++++ directory/xpcom/base/src/Makefile.in	2009-11-26 13:06:53.000000000 +0100
+@@ -97,6 +97,10 @@
+ 		$(NULL)
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
++endif
++
+ EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) $(LDAP_LIBS)
+ 
+ include $(topsrcdir)/config/rules.mk

Added: trunk/mail/thunderbird3/files/patch-mozilla-config-mkdepend-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-config-mkdepend-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/config/mkdepend/Makefile.in.orig	Sun Dec 12 07:36:57 2004
++++ mozilla/config/mkdepend/Makefile.in	Sun Dec 12 07:37:55 2004
+@@ -57,6 +57,7 @@
+ include $(topsrcdir)/config/rules.mk
+ 
+ HOST_CFLAGS	+= -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
++HOST_CFLAGS	+= $(XCFLAGS)
+ 
+ ifdef GNU_CC
+ _GCCDIR		= $(shell $(CC) -print-file-name=include)

Added: trunk/mail/thunderbird3/files/patch-mozilla-config-rules.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-config-rules.mk	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- mozilla/config/rules.mk.orig	Thu Sep 14 14:07:03 2006
++++ mozilla/config/rules.mk	Wed Oct 18 11:00:09 2006
+@@ -442,9 +442,7 @@
+ endif
+ 
+ ifeq ($(OS_ARCH),FreeBSD)
+-ifdef IS_COMPONENT
+-EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+-endif
++EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic -lc
+ endif
+ 
+ ifeq ($(OS_ARCH),NetBSD)

Added: trunk/mail/thunderbird3/files/patch-mozilla-config_autoconf.mk.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-config_autoconf.mk.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,21 @@
+--- mozilla/config/autoconf.mk.in.orig	2007-08-28 12:02:43.000000000 -0400
++++ mozilla/config/autoconf.mk.in	2007-09-26 14:21:51.000000000 -0400
+@@ -58,14 +58,14 @@
+ prefix		= @prefix@
+ exec_prefix	= @exec_prefix@
+ bindir		= @bindir@
+-includedir	= @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++includedir	= @includedir@/%%MOZILLA%%
+ libdir		= @libdir@
+ datadir		= @datadir@
+ mandir		= @mandir@
+-idldir		= $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++idldir		= $(datadir)/idl/%%MOZILLA%%
+ 
+-installdir	= $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+-sdkdir		= $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
++installdir	= $(libdir)/%%MOZILLA%%
++sdkdir		= $(libdir)/%%MOZILLA%%
+ 
+ DIST		= $(DEPTH)/dist
+ LIBXUL_SDK      = @LIBXUL_SDK@

Added: trunk/mail/thunderbird3/files/patch-mozilla-configure.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-configure.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/configure.in.orig	2009-08-14 11:24:58.206076928 +0200
++++ mozilla/configure.in	2009-08-14 11:25:29.601293359 +0200
+@@ -5680,7 +5680,7 @@
+     CPU_ARCH=sparc
+     ;;
+ 
+-x86_64 | ia64)
++amd64 | x86_64 | ia64)
+     CPU_ARCH="$OS_TEST"
+     ;;
+ esac

Added: trunk/mail/thunderbird3/files/patch-mozilla-content-xslt-public-txDouble.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-content-xslt-public-txDouble.h	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,20 @@
+--- mozilla/content/xslt/public/txDouble.h.orig	Fri Oct 13 00:00:29 2006
++++ mozilla/content/xslt/public/txDouble.h	Fri Oct 13 00:00:53 2006
+@@ -41,7 +41,7 @@
+ #define __txdouble_h__
+ 
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+-#ifdef __FreeBSD__
++/* #ifdef __FreeBSD__
+ #include <ieeefp.h>
+ #ifdef __alpha__
+ fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
+@@ -50,7 +50,7 @@
+ #endif
+ fp_except_t oldmask = fpsetmask(~allmask);
+ #endif
+-
++*/
+ /**
+  * Macros to workaround math-bugs bugs in various platforms
+  */

Added: trunk/mail/thunderbird3/files/patch-mozilla-db-sqlite3-src-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-db-sqlite3-src-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/db/sqlite3/src/Makefile.in.orig	2008-06-19 11:03:17.000000000 -0500
++++ mozilla/db/sqlite3/src/Makefile.in	2008-06-19 11:04:15.000000000 -0500
+@@ -45,6 +45,8 @@
+ 
+ include $(DEPTH)/config/autoconf.mk
+ 
++OS_CFLAGS	 = -I../../../dist/include/sqlite3
++OS_LIBS		 = %%PTHREAD_LIBS%%
+ MODULE           = sqlite3
+ LIBRARY_NAME     = sqlite3
+ FORCE_SHARED_LIB = 1

Added: trunk/mail/thunderbird3/files/patch-mozilla-js-src-config-config.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-js-src-config-config.mk	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- 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

Added: trunk/mail/thunderbird3/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-js-src-config-mkdepend-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/js/src/config/mkdepend/Makefile.in.orig	2009-03-05 22:31:53.000000000 +0100
++++ mozilla/js/src/config/mkdepend/Makefile.in	2009-04-21 14:10:27.000000000 +0200
+@@ -72,7 +72,7 @@
+ 
+ include $(topsrcdir)/config/rules.mk
+ 
+-HOST_CFLAGS	+= -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
++HOST_CFLAGS	+= -DINCLUDEDIR=\"%%LOCALBASE%%/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
+ 
+ ifdef GNU_CC
+ _GCCDIR		= $(shell $(CC) -print-file-name=include)

Added: trunk/mail/thunderbird3/files/patch-mozilla-js-src-configure.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-js-src-configure.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- mozilla/js/src/configure.in.orig	2009-09-17 11:09:10.000000000 +0200
++++ mozilla/js/src/configure.in	2009-09-17 11:09:33.000000000 +0200
+@@ -2467,10 +2467,6 @@
+     ENABLE_JIT=1
+     NANOJIT_ARCH=ARM
+     ;;
+-sparc*-*)
+-    ENABLE_JIT=1
+-    NANOJIT_ARCH=Sparc
+-    ;;
+ esac
+ 
+ MOZ_ARG_DISABLE_BOOL(jit,

Added: trunk/mail/thunderbird3/files/patch-mozilla-js-src-jsnum.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-js-src-jsnum.cpp	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,28 @@
+--- mozilla/js/src/jsnum.cpp.orig	Sun Nov  5 18:37:07 2006
++++ mozilla/js/src/jsnum.cpp	Sun Nov  5 18:42:31 2006
+@@ -45,6 +45,9 @@
+ #if defined(XP_WIN) || defined(XP_OS2)
+ #include <float.h>
+ #endif
++#if defined(__FreeBSD__)
++#include <sys/param.h>
++#endif
+ #include <locale.h>
+ #include <limits.h>
+ #include <math.h>
+@@ -532,7 +535,15 @@ static jsdouble NaN;
+ 
+ #else
+ 
++#if defined(__FreeBSD__) && __FreeBSD_version >= 601000
++#include <fenv.h>
++#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
++
++#else
++
+ #define FIX_FPU() ((void)0)
++
++#endif /* defined(__FreeBSD__) && __FreeBSD_version >= 503000 */
+ 
+ #endif
+ 

Added: trunk/mail/thunderbird3/files/patch-mozilla-layout-generic-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-layout-generic-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,14 @@
+--- mozilla/layout/generic/Makefile.in.orig	2008-06-19 12:29:06.000000000 -0500
++++ mozilla/layout/generic/Makefile.in	2008-06-19 12:30:04.000000000 -0500
+@@ -188,9 +188,10 @@
+ 		-I$(srcdir)/../../content/base/src \
+ 		-I$(srcdir)/../../content/html/content/src \
+ 		-I$(srcdir)/../../dom/src/base \
+-		$(MOZ_CAIRO_CFLAGS) \
+ 		$(NULL)
+ 
++CXXFLAGS += $(MOZ_CAIRO_CFLAGS)
++
+ ifdef MOZ_ENABLE_GTK2
+ CXXFLAGS += $(MOZ_GTK2_CFLAGS)
+ endif

Added: trunk/mail/thunderbird3/files/patch-mozilla-media-liboggz-include-oggz-oggz_off_t_generated.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-media-liboggz-include-oggz-oggz_off_t_generated.h	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h.orig	2009-09-16 02:56:44.000000000 +0200
++++ mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h	2009-09-24 13:04:49.000000000 +0200
+@@ -59,7 +59,7 @@
+ 
+ #include <sys/types.h>
+ 
+-#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2)
++#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2) || defined (__FreeBSD__)
+ typedef off_t oggz_off_t;
+ #else
+ typedef loff_t oggz_off_t;

Added: trunk/mail/thunderbird3/files/patch-mozilla-media-libsydneyaudio-include-sydney_audio.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-media-libsydneyaudio-include-sydney_audio.h	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/media/libsydneyaudio/include/sydney_audio.h.orgi	2009-04-10 12:24:01.000000000 +0200
++++ mozilla/media/libsydneyaudio/include/sydney_audio.h	2009-04-10 12:24:30.000000000 +0200
+@@ -73,7 +73,7 @@
+ #   endif
+ #elif defined(WIN32)
+ #   define SA_LITTLE_ENDIAN 1
+-#elif defined(__APPLE__)
++#elif defined(__APPLE__) || defined(__FreeBSD__)
+ #   if defined(__BIG_ENDIAN__)
+ #       define SA_BIG_ENDIAN 1
+ #   else

Added: trunk/mail/thunderbird3/files/patch-mozilla-security-coreconf-FreeBSD.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-security-coreconf-FreeBSD.mk	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,38 @@
+--- mozilla/security/coreconf/FreeBSD.mk.orig	2009-09-16 02:57:02.000000000 +0200
++++ mozilla/security/coreconf/FreeBSD.mk	2009-09-30 16:44:43.000000000 +0200
+@@ -45,8 +45,20 @@
+ ifeq ($(OS_TEST),alpha)
+ CPU_ARCH		= alpha
+ else
++ifeq ($(OS_TEST),amd64)
++CPU_ARCH		= amd64
++else
++ifeq ($(OS_TEST),powerpc)
++CPU_ARCH		= powerpc
++else
++ifeq ($(OS_TEST),sparc64)
++CPU_ARCH		= sparc64
++else
+ CPU_ARCH		= x86
+ endif
++endif
++endif
++endif
+ 
+ OS_CFLAGS		= $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+ 
+@@ -73,7 +85,7 @@
+ DLL_SUFFIX		= so.1.0
+ endif
+ 
+-MKSHLIB			= $(CC) $(DSO_LDOPTS)
++MKSHLIB			= $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
+ ifdef MAPFILE
+ 	MKSHLIB += -Wl,--version-script,$(MAPFILE)
+ endif
+@@ -82,4 +94,4 @@
+ 
+ G++INCLUDES		= -I/usr/include/g++
+ 
+-INCLUDES		+= -I/usr/X11R6/include
++#INCLUDES		+= -I/usr/local/include

Added: trunk/mail/thunderbird3/files/patch-mozilla-security-manager-ssl-src-nsNSSComponent.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-security-manager-ssl-src-nsNSSComponent.cpp	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/security/manager/ssl/src/nsNSSComponent.cpp.orig	Mon May 29 23:10:54 2006
++++ mozilla/security/manager/ssl/src/nsNSSComponent.cpp	Mon May 29 23:12:22 2006
+@@ -110,6 +110,7 @@
+ #include "nss.h"
+ #include "pk11func.h"
+ #include "ssl.h"
++#define NSS_ENABLE_ECC 1
+ #include "sslproto.h"
+ #include "secmod.h"
+ #include "sechash.h"

Added: trunk/mail/thunderbird3/files/patch-mozilla-storage-build-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-storage-build-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/storage/build/Makefile.in.orig	Tue Feb 21 11:18:56 2006
++++ mozilla/storage/build/Makefile.in	Sun Nov  5 16:16:06 2006
+@@ -77,6 +77,7 @@
+ 	$(EXTRA_DSO_LIBS) \
+ 	$(MOZ_COMPONENT_LIBS) \
+ 	$(MOZ_JS_LIBS) \
++	%%PTHREAD_LIBS%% \
+ 	$(NULL)
+ 
+ include $(topsrcdir)/config/rules.mk

Added: trunk/mail/thunderbird3/files/patch-mozilla-toolkit-mozapps-installer-packager.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-toolkit-mozapps-installer-packager.mk	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/toolkit/mozapps/installer/packager.mk.orig	2007-09-26 13:45:01.000000000 -0400
++++ mozilla/toolkit/mozapps/installer/packager.mk	2007-09-26 13:47:29.000000000 -0400
+@@ -409,7 +409,7 @@
+ 	(cd $(DIST)/sdk/include && tar $(TAR_CREATE_FLAGS) - .) | \
+ 	  (cd $(DESTDIR)$(includedir)/stable && tar -xf -)
+ # The dist/include has module subdirectories that we need to flatten
+-	find $(DIST)/include -xtype f -exec $(SYSINSTALL) $(IFLAGS1) {} $(DESTDIR)$(includedir)/unstable \;
++	find $(DIST)/include -type f -o -type l -exec $(SYSINSTALL) $(IFLAGS1) {} $(DESTDIR)$(includedir)/unstable \;
+ # IDL directory is stable (dist/sdk/idl) and unstable (dist/idl)
+ 	$(NSINSTALL) -D $(DESTDIR)$(idldir)/stable 
+ 	$(NSINSTALL) -D $(DESTDIR)$(idldir)/unstable

Added: trunk/mail/thunderbird3/files/patch-mozilla-toolkit-xre-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-toolkit-xre-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,8 @@
+--- mozilla/toolkit/xre/Makefile.in.orig	2007-09-10 10:31:53.000000000 -0400
++++ mozilla/toolkit/xre/Makefile.in	2007-09-10 10:35:00.000000000 -0400
+@@ -263,5 +263,3 @@
+ libs:: platform.ini
+ 	$(INSTALL) $^ $(DIST)/bin
+ 
+-install::
+-	$(INSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)

Added: trunk/mail/thunderbird3/files/patch-mozilla-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-xpcom-reflect-xptcall-public-xptcstubsdecl.inc	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc.orig	Tue Mar 16 03:07:25 2004
++++ mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc	Tue Jun 15 12:52:36 2004
+@@ -8,7 +8,7 @@
+ *  1 is AddRef
+ *  2 is Release
+ */
+-#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
++#if !defined(__ia64)
+ NS_IMETHOD Stub3();
+ NS_IMETHOD Stub4();
+ NS_IMETHOD Stub5();

Added: trunk/mail/thunderbird3/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,76 @@
+--- 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
++ifeq (x86_64,$(OS_TEST))
++CPPSRCS		:= xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
++endif
+ endif
+ endif
+ #
+@@ -87,7 +90,7 @@
+ endif
+ endif
+ # IA64 Linux
+-ifneq (,$(filter Linux,$(OS_ARCH)))
++ifneq (,$(filter Linux FreeBSD,$(OS_ARCH)))
+ ifneq (,$(findstring ia64,$(OS_TEST)))
+ CPPSRCS		:= xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp
+ ASFILES		:= xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s
+@@ -100,6 +103,12 @@
+ CPPSRCS		:= xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
+ endif
+ #
++# FreeBSD/amd64
++#
++ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDamd64)
++CPPSRCS         := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
++endif
++#
+ # BeOS/Intel (uses the same unixish_x86 code)
+ #
+ ifeq ($(OS_ARCH)$(OS_TEST),BeOSBePC)
+@@ -150,9 +159,15 @@
+ ASFILES		:= xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s
+ endif
+ #
++# FreeBSD/Alpha
++#
++ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDalpha)
++CPPSRCS		:= xptcinvoke_freebsd_alpha.cpp xptcstubs_freebsd_alpha.cpp
++endif
++#
+ # Linux/Alpha
+ #
+-ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))                           
++ifneq (,$(filter Linuxalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))                           
+ CPPSRCS		:= xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp
+ endif
+ #
+@@ -307,7 +322,7 @@
+ #
+ # Linux/PPC
+ #
+-ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc)
++ifneq (,$(filter Linuxpowerpc FreeBSDpowerpc,$(OS_ARCH)$(OS_TEST)))
+ CPPSRCS		:= xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
+ ASFILES		:= xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
+ AS		:= $(CC) -c -x assembler-with-cpp
+@@ -385,6 +400,15 @@
+ ASFILES		:= xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
+ endif
+ #
++# FreeBSD/SPARC64
++#
++ifeq ($(OS_ARCH),FreeBSD)
++ifneq (,$(findstring sparc,$(OS_TEST)))
++CPPSRCS		:= xptcinvoke_sparc64_openbsd.cpp xptcstubs_sparc64_openbsd.cpp
++ASFILES		:= xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
++endif
++endif
++#
+ # OpenBSD/SPARC
+ #
+ ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc)

Added: trunk/mail/thunderbird3/files/releng6_pulseaudio
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/releng6_pulseaudio	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,66 @@
+--- mozilla/media/libsydneyaudio/src/Makefile.in.orig	2009-08-20 21:43:41.000000000 +0200
++++ mozilla/media/libsydneyaudio/src/Makefile.in	2009-08-20 21:44:17.000000000 +0200
+@@ -45,6 +45,12 @@
+ LIBRARY_NAME	= sydneyaudio
+ FORCE_STATIC_LIB= 1
+ 
++ifeq ($(OS_ARCH),FreeBSD)
++CSRCS		= \
++		sydney_audio_pulseaudio.c \
++		$(NULL)
++endif
++
+ 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 @@
+ 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 += $(FT2_LIBS)
+ endif
+ 
+ ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
+-EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XT_LIBS) $(MOZ_QT_LIBS) -lgthread-2.0
++EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XT_LIBS) $(MOZ_QT_LIBS) -lgthread-2.0 -lpulse -lpthread -lc
+ EXTRA_DSO_LDOPTS += $(FT2_LIBS)
+ endif
+ 
+--- mozilla/js/src/Makefile.in.orig	2009-08-21 00:34:43.000000000 +0200
++++ mozilla/js/src/Makefile.in	2009-08-21 00:36:59.000000000 +0200
+@@ -427,7 +427,7 @@
+ endif # WINNT
+ 
+ ifeq ($(OS_ARCH),FreeBSD)
+-EXTRA_LIBS	+= -pthread
++EXTRA_LIBS	+= -pthread -lpulse -lc
+ endif
+ ifeq ($(OS_ARCH),IRIX)
+ ifdef USE_N32
+--- config/rules.mk.orig	2009-08-22 15:30:16.000000000 +0200
++++ config/rules.mk	2009-08-22 15:30:46.000000000 +0200
+@@ -583,6 +583,7 @@
+ ifdef IS_COMPONENT
+ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+ endif
++EXTRA_LIBS	+= -pthread -lpulse -lc
+ endif
+ 
+ ifeq ($(OS_ARCH),NetBSD)
+--- mozilla/layout/build/Makefile.in.orig	2009-08-22 01:00:21.000000000 +0200
++++ mozilla/layout/build/Makefile.in	2009-08-22 01:00:57.000000000 +0200
+@@ -269,6 +269,10 @@
+ endif
+ endif
+ 
++ifeq ($(OS_ARCH),FreeBSD)
++EXTRA_LIBS	+= -lpulse
++endif
++
+ include $(topsrcdir)/config/rules.mk
+ 
+ LOCAL_INCLUDES	+= -I$(srcdir)/../base \

Added: trunk/mail/thunderbird3/files/thunderbird.desktop.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/files/thunderbird.desktop.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Thunderbird
+GenericName=Mail Client
+Comment=Mail client and News Reader
+Exec=thunderbird %U
+Icon=@PORTNAME_ICON@
+StartupNotify=false
+Terminal=false
+Type=Application
+Categories=Application;Network;

Added: trunk/mail/thunderbird3/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/mail/thunderbird3/pkg-descr	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,6 @@
+Mozilla Thunderbird is a redesign of the Mozilla mail component with the goal
+of becoming a cross-platform stand alone mail application using the XUL
+user interface language.  See the Mozilla Thunderbird project page for
+more details.
+
+WWW: http://www.mozilla.com/thunderbird/

Modified: trunk/www/seamonkey/Makefile
==============================================================================
--- trunk/www/seamonkey/Makefile	Mon Dec 14 15:28:37 2009	(r205)
+++ trunk/www/seamonkey/Makefile	Mon Dec 14 19:15:53 2009	(r206)
@@ -2,7 +2,7 @@
 # Date created:		31 Mar 1998
 # Whom:			eivind/dima/jseger
 #
-# $FreeBSD: ports/www/seamonkey/Makefile,v 1.293 2009/11/27 09:09:08 beat Exp $
+# $FreeBSD: ports/www/seamonkey/Makefile,v 1.294 2009/12/14 12:26:48 beat Exp $
 #   $MCom: ports-stable/www/seamonkey/Makefile,v 1.9 2009/01/09 23:41:22 mezz Exp $
 #
 
@@ -16,6 +16,7 @@
 MAINTAINER=	gecko@FreeBSD.org
 COMMENT=	The open source, standards compliant web browser
 
+CONFLICTS=	seamonkey-2*
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_GECKO=	gecko

Added: trunk/www/seamonkey2-i18n/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2-i18n/Makefile	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,87 @@
+# New ports collection makefile for:	firefox3-i18n
+# Date created:		28 May 2006
+# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD: ports/www/seamonkey2-i18n/Makefile,v 1.1 2009/12/14 12:31:00 beat Exp $
+#
+
+PORTNAME=	seamonkey2-i18n
+PORTVERSION=	2.0
+CATEGORIES=	www
+MASTER_SITE_SUBDIR=	seamonkey/releases/${PORTVERSION}/langpack
+PKGNAMEPREFIX=
+DISTFILES=	${SEAMONKEY_I18N_:S/$/.langpack.xpi/:S/^/seamonkey-${PORTVERSION}./}
+DIST_SUBDIR=	xpi/${DISTNAME}
+
+MAINTAINER=	gecko@FreeBSD.org
+COMMENT=	Localized interface for SeaMonkey 2
+
+USE_XPI=	*seamonkey
+
+USE_SUBMAKE=	yes
+
+WDIR=	langpack-*@seamonkey.mozilla.org
+
+XPI_DISTNAMES=	${SEAMONKEY_I18N_}
+
+.include "${.CURDIR}/Makefile.option"
+.include <bsd.port.pre.mk>
+
+.ifndef WITHOUT_SWITCHER
+RUN_DEPENDS+=	xpi-quick-locale-switcher>=0:${PORTSDIR}/www/xpi-quick-locale-switcher
+.endif
+
+.include "${.CURDIR}/Makefile.lang"
+
+SEAMONKEY_I18N_?=	${SEAMONKEY_I18N}
+
+.for dist in ${XPI_DISTNAMES}
+XPI_ID_${dist}=		langpack-${dist}@seamonkey.mozilla.org
+XPI_FILES_${dist}=	chrome.manifest install.rdf chrome/${dist}.jar
+XPI_DIRS_${dist}=	chrome
+.endfor
+
+pre-everything::
+	@${ECHO_CMD}
+	@${ECHO_CMD} "Please define SEAMONKEY_I18N_ALL to install all languages."
+	@${ECHO_CMD}
+	@${MKDIR} ${WRKSRC}
+
+do-extract:
+	@for lang in ${SEAMONKEY_I18N_}; do \
+		if ! (${EXTRACT_CMD} ${_DISTDIR}/seamonkey-${PORTVERSION}.$$lang.langpack.xpi -d ${WRKSRC}/langpack-$$lang@seamonkey.mozilla.org);\
+		then \
+			exit 1; \
+		fi \
+	done
+
+.if !exists(${OPTIONSFILE}) && !defined(PACKAGE_BUILDING)
+pre-configure: config
+.endif
+
+do-install:
+	@${INSTALL} -d ${XPI_LIBDIR} ${XPI_SLDIRS_ALL}
+	@${CP} -R ${WRKSRC}/ ${XPI_LIBDIR}/
+	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${XPI_LIBDIR}/${WDIR}/
+	@${CHMOD} -R a+rX,go-w ${XPI_LIBDIR}/${WDIR}/
+	@for _dir in ${XPI_LINKFARMS} ; { ${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q} ; }
+	@${ECHO_CMD} '@exec ${INSTALL} -d ${XPI_SLDIRS_ALL:S,^${PREFIX},%D,}' ${_A}
+	@${ECHO_CMD} '@exec for _dir in ${XPI_LINKFARMS} ; { \
+		${LN} -sf ${XPI_LIBDIR}/${WDIR} $$_dir/ ${_Q}; }' ${_A}
+	@${ECHO_CMD} '@unexec for _dir in ${XPI_LINKFARMS} ${XPI_LIBDIR}; { ${RM} -fR $$_dir/${WDIR} ; }' ${_A}
+
+	@${ECHO_CMD} '@unexec ${RMDIR} ${XPI_DIRS_TRY:S,^,%D/,} ${_Q}' ${_A}
+
+post-patch:
+	${FIND} ${WRKSRC} -name install.rdf -print0 | \
+		${XARGS} -0L1 ${REINPLACE_CMD} -i '' -e '/<?xml/,$$!d' \
+			-e 's/\(langpack\)/\13/'
+
+List-Langs:
+	@fetch -o- "http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/${PORTVERSION}/langpack"|\
+		${PERL} -ne 'if(/.*href="seamonkey-2.0.([a-zA-Z-]+).langpack.xpi"/){print "$$1\n"}' |\
+		${AWK} 'BEGIN{ORS=" "}{print $1}END{printf "\nNumber of languages: %d\n",NR}'
+
+.include "${.CURDIR}/../xpi-adblock/Makefile.xpi"
+
+.include <bsd.port.post.mk>

Added: trunk/www/seamonkey2-i18n/Makefile.lang
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2-i18n/Makefile.lang	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,69 @@
+# New ports collection makefile.lang for:    firefox3-i18n
+# Date created:         30 Nov 2008
+# Whom:                 Koji Yokota <yokota@res.otaru-uc.ac.jp>
+#
+# $FreeBSD: ports/www/seamonkey2-i18n/Makefile.lang,v 1.1 2009/12/14 12:31:01 beat Exp $
+#
+# Currently, the following 17 languages are supported.
+#
+SEAMONKEY_I18N_ALL_=	be ca cs de es-AR es-ES fr gl hu \
+			ka lt nb-NO nl pl pt-PT ru sk tr
+
+.if defined(SEAMONKEY_I18N_ALL) || defined(PACKAGE_BUILDING) || target(package)
+SEAMONKEY_I18N=   ${SEAMONKEY_I18N_ALL_}
+.else
+.ifndef WITHOUT_LANG_BE
+SEAMONKEY_I18N+=  be
+.endif
+.ifndef WITHOUT_LANG_CA
+SEAMONKEY_I18N+=  ca
+.endif
+.ifndef WITHOUT_LANG_CS
+SEAMONKEY_I18N+=  cs
+.endif
+.ifndef WITHOUT_LANG_DE
+SEAMONKEY_I18N+=  de
+.endif
+.ifndef WITHOUT_LANG_SA
+SEAMONKEY_I18N+=  es-AR
+.endif
+.ifndef WITHOUT_LANG_ES
+SEAMONKEY_I18N+=  es-ES
+.endif
+.ifndef WITHOUT_LANG_FR
+SEAMONKEY_I18N+=  fr
+.endif
+.ifndef WITHOUT_LANG_GL
+SEAMONKEY_I18N+=  gl
+.endif
+.ifndef WITHOUT_LANG_HU
+SEAMONKEY_I18N+=  hu
+.endif
+.ifndef WITHOUT_LANG_KA
+SEAMONKEY_I18N+=  ka
+.endif
+.ifndef WITHOUT_LANG_LT
+SEAMONKEY_I18N+=  lt
+.endif
+.ifndef WITHOUT_LANG_NB
+SEAMONKEY_I18N+=  nb-NO
+.endif
+.ifndef WITHOUT_LANG_NL
+SEAMONKEY_I18N+=  nl
+.endif
+.ifndef WITHOUT_LANG_PL
+SEAMONKEY_I18N+=  pl
+.endif
+.ifndef WITHOUT_LANG_PT
+SEAMONKEY_I18N+=  pt-PT
+.endif
+.ifndef WITHOUT_LANG_RU
+SEAMONKEY_I18N+=  ru
+.endif
+.ifndef WITHOUT_LANG_SK
+SEAMONKEY_I18N+=  sk
+.endif
+.ifndef WITHOUT_LANG_TR
+SEAMONKEY_I18N+=  tr
+.endif
+.endif

Added: trunk/www/seamonkey2-i18n/Makefile.option
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2-i18n/Makefile.option	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,25 @@
+# New ports collection makefile.option for:    firefox3-i18n
+# Date created:         30 Nov 2008
+# Whom:                 Koji Yokota <yokota@res.otaru-uc.ac.jp>
+#
+# $FreeBSD: ports/www/seamonkey2-i18n/Makefile.option,v 1.1 2009/12/14 12:31:01 beat Exp $
+#
+
+OPTIONS=		LANG_BE "Byelorussian"          off \
+				LANG_CA "Catalan"               off \
+				LANG_CS "Czech"                 off \
+				LANG_NL "Dutch"                 off \
+				LANG_GL "Galician"              off \
+				LANG_KA "Georgian"              off \
+				LANG_DE "German"                on \
+				LANG_FR "French"                on \
+				LANG_HU "Hungarian"             off \
+				LANG_LT "Lithuanian"            off \
+				LANG_NB "Norwegian"             off \
+				LANG_PL "Polish"                off \
+				LANG_PT "Portuguese"            off \
+				LANG_RU "Russian"               on \
+				LANG_ES "Spanish"               on \
+				LANG_SA "Spanish (Argentina)"   off \
+				LANG_SK "Slovak"                off \
+				LANG_TR "Turkish"               off

Added: trunk/www/seamonkey2-i18n/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2-i18n/distinfo	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,57 @@
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.be.langpack.xpi) = 586b28db226ded72211353e5d98903c9
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.be.langpack.xpi) = bfd965678c472d93d947a230cd6d6f9366e3547590d28bf0b7ae64730af8b924
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.be.langpack.xpi) = 493089
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ca.langpack.xpi) = 8c69da31324c509bbaf2a15096f09592
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ca.langpack.xpi) = 5efe47942881127a6f17bd7d243748541f7ccf413a1fc03cc0a81d9fd2a1c2ea
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ca.langpack.xpi) = 498856
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.cs.langpack.xpi) = 087aad967a11450f9504458caf2cc7cd
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.cs.langpack.xpi) = b992c6a2039e4f09a056f8295728dcbab20ae941571224d3c08b7ef34f0bc6f5
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.cs.langpack.xpi) = 533787
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.de.langpack.xpi) = 2866729ac991218f456968634be5c340
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.de.langpack.xpi) = ead560daf84a5d54c7e29fbb4732783f39cb77eed7275b247d2a49d01841711e
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.de.langpack.xpi) = 548440
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.es-AR.langpack.xpi) = bf4715556958592f82b4b64c343c1b40
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.es-AR.langpack.xpi) = 512979f23f32ccdf8e3a83f7347992ff8324dc29dc28839334ec8ef9914402f9
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.es-AR.langpack.xpi) = 500162
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.es-ES.langpack.xpi) = b589ed1dd5ae34cc66824c49eb278163
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.es-ES.langpack.xpi) = 78047822155ac06e58689e9bb2a56c78d0c126dfc2cd4d2612315325cc0264c9
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.es-ES.langpack.xpi) = 519758
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.fr.langpack.xpi) = 1e3605894f1a13870505ea3995c53cbe
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.fr.langpack.xpi) = 5820f519fbafe4c4922e7520b1037d655140735dd0139effe1966f3e4cfa54e7
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.fr.langpack.xpi) = 857289
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.gl.langpack.xpi) = c8a090764d8a7f3e4e5c0de428b0b702
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.gl.langpack.xpi) = 487899b352be95f4db1ab1902fd626ea42d60009c701be21f70b3852728d8c4c
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.gl.langpack.xpi) = 506673
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.hu.langpack.xpi) = fceb11ae5e3f7208ee7f54dfd36c0424
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.hu.langpack.xpi) = 92315f0a8dbc2b670d6790190e6d77cd56070bf5cc4bbbc4c360de7342ac3b75
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.hu.langpack.xpi) = 1264809
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ka.langpack.xpi) = cd51bed1e2bedad34919259338846e5b
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ka.langpack.xpi) = 47d16e52c9a6949cb0439f061ac3a75b6b50db745c2cfe7456de6e84c4137274
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ka.langpack.xpi) = 769068
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.lt.langpack.xpi) = f9855edc07e120a924f0e40ffed714da
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.lt.langpack.xpi) = 967e4833f6db52522bd620a5b62475875f9fff74b6cf395b401e2b76f3fd8349
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.lt.langpack.xpi) = 892103
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.nb-NO.langpack.xpi) = 80abe566b750a394aedf306377258ff5
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.nb-NO.langpack.xpi) = 9f4ca6bcdd5b291de7a432b07a1ea727a2d3d99b2a5be6c242b3059816427027
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.nb-NO.langpack.xpi) = 501910
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.nl.langpack.xpi) = 9172c38b5b9e6d8845f1d8f9423e81bf
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.nl.langpack.xpi) = 1d0b6d1348cff9fd5c44dc5570917e26747635dd42a13bb9506b75394631da6e
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.nl.langpack.xpi) = 1521294
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.pl.langpack.xpi) = 88e34b989c125b489e9dc048a8c87827
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.pl.langpack.xpi) = d545f6392477727416dd995a995b92a359ab677dac779380cb6d2851e542e772
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.pl.langpack.xpi) = 1603813
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.pt-PT.langpack.xpi) = 8f70f3ac772739d3a9e1736fb328feff
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.pt-PT.langpack.xpi) = 66e4073f251d270ad8e24ea5d20b0d8ac6a7f99cd49498ad09fb80c87b813e04
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.pt-PT.langpack.xpi) = 714698
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ru.langpack.xpi) = 171320d0a32a2992737996891f6b1b09
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ru.langpack.xpi) = f028ac5f91801062675d0301e7976b0f3e2632b9907c20efa4b4374f5569bdc7
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.ru.langpack.xpi) = 1091988
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.sk.langpack.xpi) = e4f4bc8bfb3cb07a5057feb5025f655f
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.sk.langpack.xpi) = 1f34238d43c0f35fa37c788353b064fa096f1b7cc93acfbde024907e673c9612
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.sk.langpack.xpi) = 1131920
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.sv-SE.langpack.xpi) = 18ad749f00cfc2b775e79ee64fb5d749
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.sv-SE.langpack.xpi) = 6d9b1eb3e60827a84b2e30d04b451d63946a4c1efff5d7ac1cfcb2a38ef73314
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.sv-SE.langpack.xpi) = 841590
+MD5 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.tr.langpack.xpi) = eb794af47e466b5fd537de5429115132
+SHA256 (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.tr.langpack.xpi) = 5d0f37494131320263cf0b3084b87469411641061269b251475925fecfa7e2ab
+SIZE (xpi/seamonkey2-i18n-2.0/seamonkey-2.0.tr.langpack.xpi) = 504536

Added: trunk/www/seamonkey2-i18n/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2-i18n/pkg-descr	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,3 @@
+Language packs for SeaMonkey 2
+
+WWW: http://www.seamonkey-project.org/releases/#langpacks

Added: trunk/www/seamonkey2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/Makefile	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,167 @@
+# New ports collection makefile for:	mozilla
+# Date created:		31 Mar 1998
+# Whom:			eivind/dima/jseger
+#
+# $FreeBSD: ports/www/seamonkey2/Makefile,v 1.295 2009/12/14 12:22:21 beat Exp $
+#
+
+PORTNAME=	seamonkey
+DISTVERSION=	2.0
+CATEGORIES?=	www ipv6
+MASTER_SITES=	${MASTER_SITE_MOZILLA_EXTENDED}
+MASTER_SITE_SUBDIR=	seamonkey/releases/${DISTVERSION}/source
+DISTNAME=	seamonkey-${DISTVERSION}.source
+
+MAINTAINER=	gecko@FreeBSD.org
+COMMENT=	The open source, standards compliant web browser
+
+CONFLICTS=	seamonkey-1* spidermonkey-1.[0-7]*
+LATEST_LINK=	seamonkey2
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_GECKO=	gecko
+WANT_GNOME=	yes
+WANT_PERL=	yes
+HAS_CONFIGURE=	yes
+ALL_TARGET=	default
+MAKE_JOBS_SAFE=	yes
+MOZ_PIS_SCRIPTS=	moz_pis_S50cleanhome
+MAKE_ENV=	LD_LIBRARY_PATH=${WRKSRC}/dist/bin
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/cairo"
+USE_GCC=	4.2+
+
+CONFIGURE_ENV=	LOCALBASE=${LOCALBASE}
+
+GECKO_PLIST_PRE_FILES=	lib/${MOZILLA}/chrome/icons/default/default.xpm
+
+MOZ_EXTENSIONS=	default
+MOZ_OPTIONS+=	--with-default-mozilla-five-home=${PREFIX}/lib/${MOZILLA} \
+		--enable-svg \
+		--enable-application=suite	\
+		--enable-svg-renderer=cairo	\
+		--enable-system-cairo		\
+		--enable-canvas
+USE_MOZILLA=	-png -dbm -jpeg -xft
+MOZ_TOOLKIT=	cairo-gtk2
+MOZILLA_PLIST_DIRS=	bin lib
+MOZ_PKGCONFIG_FILES=
+
+NOT_FOR_ARCHS=	ia64
+
+OPTIONS=MAILNEWS "Enable Mail and News modules" on \
+	COMPOSER "Enable the HTML Composer module" on \
+	LDAP "Enable LDAP support for Mailnews" on \
+	CHATZILLA "Enable the Chatzilla IRC module" on \
+	DBUS "Enable D-BUS support" on \
+	JAVASCRIPT_DEBUGGER "Enable DTD and JavaScript debuggers" off \
+	SMB "Enable smb:// URI support using gnomevfs" off
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
+EXTRA_PATCHES=	${FILESDIR}/releng6_pulseaudio
+.else
+EXTRA_PATCHES=	${FILESDIR}/libsydney_oss
+.endif
+
+MOZSRC:=	${WRKDIR}/comm-1.9.1/mozilla
+WRKSRC=		${WRKDIR}/comm-1.9.1
+
+GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED
+} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
+
+.if ${HAVE_GNOME:Mlibgnomeui}!=""
+USE_GNOME+=	libgnomeui
+MOZ_OPTIONS+=	--enable-gnomeui
+.else
+MOZ_OPTIONS+=	--disable-gnomeui
+.endif
+
+.if exists(${LOCALBASE}/include/cairo/cairo-glitz.h)
+# Glitz support can only be enabled if cairo is built with glitz support
+MOZ_OPTIONS+=	--enable-glitz
+LIB_DEPENDS+=	glitz.1:${PORTSDIR}/graphics/glitz
+.endif
+
+.if defined(WITHOUT_MAILNEWS)
+MOZ_OPTIONS+=	--disable-ldap --disable-mailnews
+.else
+# mail and news desired, but not LDAP
+.if defined(WITHOUT_LDAP)
+MOZ_OPTIONS+=	--disable-ldap --enable-mailnews
+.else
+MOZ_OPTIONS+=	--enable-ldap --enable-mailnews
+.endif
+.endif
+.if !defined(WITHOUT_CHATZILLA)
+MOZ_EXTENSIONS:=	${MOZ_EXTENSIONS},irc
+.endif
+.if defined(WITH_JAVASCRIPT_DEBUGGER)
+MOZ_OPTIONS+=	--enable-jsd \
+		--enable-dtd-debug
+.else
+MOZ_OPTIONS+=	--disable-jsd \
+		--disable-dtd-debug
+.endif
+
+.if defined(WITHOUT_COMPOSER)
+MOZ_OPTIONS+=	--disable-composer
+.endif
+
+.if defined(WITHOUT_DBUS)
+MOZ_OPTIONS+=	--disable-dbus
+.else
+LIB_DEPENDS+=	dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
+		${WRKSRC}/mozilla/security/manager/ssl/src/Makefile.in \
+		${WRKSRC}/mozilla/js/src/config/mkdepend/Makefile.in
+	${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
+		${WRKSRC}/mozilla/storage/build/Makefile.in
+	@${REINPLACE_CMD} -e '/accessibility.typeaheadfind.enablesound/s/true/false/' \
+		${WRKSRC}/mozilla/modules/libpref/src/init/all.js
+	@${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
+		${WRKSRC}/configure \
+		${WRKSRC}/mozilla/configure \
+		${WRKSRC}/mozilla/intl/uconv/native/nsNativeUConvService.cpp \
+		${WRKSRC}/mozilla/xpcom/io/nsNativeCharsetUtils.cpp
+	@${REINPLACE_CMD} -e 's|libgnome-2.so.0|libgnome-2.so|' \
+		${WRKSRC}/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp \
+		${WRKSRC}/mozilla/modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp
+	@${REINPLACE_CMD} -e 's|libgnomeui-2.so.0|libgnomeui-2.so|' \
+		${WRKSRC}/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp \
+		${WRKSRC}/mozilla/modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp
+	@${REINPLACE_CMD} -e 's|libgnomevfs-2.so.0|libgnomevfs-2.so|' \
+		${WRKSRC}/mozilla/modules/libpr0n/decoders/icon/gtk/nsIconChannel.cpp
+	@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g ; \
+		s|-lpthread|${PTHREAD_LIBS}|g ; \
+		s|echo aout|echo elf|g ; \
+		s|/usr/X11R6|${LOCALBASE}|g' \
+		${WRKSRC}/mozilla/js/src/configure \
+		${WRKSRC}/mozilla/configure \
+		${WRKSRC}/configure
+	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
+		< ${FILESDIR}/seamonkey.desktop.in > \
+		${WRKDIR}/seamonkey.desktop
+	${LN} -s  ${WRKSRC}/suite ${WRKSRC}/mozilla/suite
+
+port-pre-install:
+	@${REINPLACE_CMD} -e 's|seamonkey-2.0|seamonkey|' \
+		${FAKEDIR}/bin/seamonkey
+	@${RM} -f ${FAKEDIR}/bin/seamonkey.bak
+	${MV} ${FAKEDIR}/lib/seamonkey-2.0 ${FAKEDIR}/lib/seamonkey
+
+pre-install:
+	${ECHO_CMD} share/applications/seamonkey.desktop >> ${PLIST}
+	${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
+	${CP} ${WRKSRC}/other-licenses/branding/sunbird/default.xpm \
+		${FAKEDIR}/lib/${MOZILLA}/chrome/icons/default/
+
+do-install:
+	${MKDIR} ${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKDIR}/seamonkey.desktop ${PREFIX}/share/applications
+
+.include <bsd.port.post.mk>

Added: trunk/www/seamonkey2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/distinfo	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,3 @@
+MD5 (seamonkey-2.0.source.tar.bz2) = 494608587e3ba4e4cc2e754d95154435
+SHA256 (seamonkey-2.0.source.tar.bz2) = 3ef2084262cd2f91863da6aa752bad73397f1a60363137d529ab8e8dfb020f1b
+SIZE (seamonkey-2.0.source.tar.bz2) = 60180430

Added: trunk/www/seamonkey2/files/extra-patch-security_manager_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/extra-patch-security_manager_Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- security/manager/Makefile.in.orig.patched	Thu May 25 10:19:22 2006
++++ security/manager/Makefile.in	Thu May 25 10:19:22 2006
+@@ -159,8 +159,6 @@
+ 	$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
+ ifeq ($(OS_ARCH),WINNT)
+ 	cd $(DIST)/lib; cp -f $(LIB_PREFIX)dbm$(MOZ_BITS).$(LIB_SUFFIX) $(LIB_PREFIX)dbm.$(LIB_SUFFIX)
+-else
+-	cd $(DIST)/lib; cp -f $(LIB_PREFIX)mozdbm_s.$(LIB_SUFFIX) $(LIB_PREFIX)dbm.$(LIB_SUFFIX); $(RANLIB) $(LIB_PREFIX)dbm.$(LIB_SUFFIX)
+ endif
+ #	$(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS)
+ ifndef SKIP_CHK

Added: trunk/www/seamonkey2/files/libsydney_oss
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/libsydney_oss	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,15 @@
+--- mozilla/media/libsydneyaudio/src/Makefile.in.orig	2009-08-26 20:30:30.000000000 +0200
++++ mozilla/media/libsydneyaudio/src/Makefile.in	2009-08-26 20:31:01.000000000 +0200
+@@ -45,6 +45,12 @@
+ LIBRARY_NAME	= sydneyaudio
+ FORCE_STATIC_LIB= 1
+ 
++ifeq ($(OS_ARCH),FreeBSD)
++CSRCS		= \
++			sydney_audio_oss.c \
++			$(NULL)
++endif
++
+ ifeq ($(OS_ARCH),Linux)
+ CSRCS		= \
+ 		sydney_audio_alsa.c \

Added: trunk/www/seamonkey2/files/moz_pis_S50cleanhome
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/moz_pis_S50cleanhome	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+
+# S50cleanhome
+# a script to clean up users' Mozilla home directories to make upgrading
+# less painful.
+
+# We run in our own subshell
+
+# First, verify protocol
+[ "$1" != "start" ] && exit 1
+[ -z "${MOZ_PIS_API}" -o ${MOZ_PIS_API} -ne 2 ] && exit 1
+[ -z "${MOZ_PIS_MOZBINDIR}" -o ! -d "${MOZ_PIS_MOZBINDIR}" ] && exit 1
+[ -z "${HOME}" -o ! -d "${HOME}" ] && exit 1
+[ -z "${MOZ_PIS_USER_DIR}" -o ! -d "${HOME}/${MOZ_PIS_USER_DIR}" ] && exit 1
+
+# Try to cleanup ${HOME}/${MOZ_PIS_USER_DIR}
+
+if [ -f "${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" ]; then
+    sed -e '/Path=/! d' -e "s,Path=,${HOME}/${MOZ_PIS_USER_DIR}/," \
+    	"${HOME}/${MOZ_PIS_USER_DIR}/profiles.ini" \
+	| while read dir
+    do
+	[ ! -d "${dir}" ] && continue
+	# Debian does this for new builds
+	# rm -f "${dir}/XUL.mfasl"
+	# force a rebuild of compreg.dat and xpti.dat for new installations
+	[ "${dir}/compreg.dat" -ot "${MOZ_PIS_MOZBINDIR}/components.ini" ] &&
+		rm -f "${dir}/compatibility.ini" "${dir}/XUL.mfasl"
+    done
+fi

Added: trunk/www/seamonkey2/files/patch-config-rules.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-config-rules.mk	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- config/rules.mk.orig	Thu Sep 14 14:07:03 2006
++++ config/rules.mk	Wed Oct 18 11:00:09 2006
+@@ -442,9 +442,7 @@
+ endif
+ 
+ ifeq ($(OS_ARCH),FreeBSD)
+-ifdef IS_COMPONENT
+-EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+-endif
++EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic -lc
+ endif
+ 
+ ifeq ($(OS_ARCH),NetBSD)

Added: trunk/www/seamonkey2/files/patch-config_autoconf.mk.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-config_autoconf.mk.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- config/autoconf.mk.in.orig	2009-07-17 15:18:04.000000000 +0200
++++ config/autoconf.mk.in	2009-08-25 01:15:47.000000000 +0200
+@@ -61,7 +61,7 @@
+ prefix		= @prefix@
+ exec_prefix	= @exec_prefix@
+ bindir		= @bindir@
+-includedir	= @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++includedir	= @includedir@/%%MOZILLA%%
+ libdir		= @libdir@
+ datadir		= @datadir@
+ mandir		= @mandir@

Added: trunk/www/seamonkey2/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-configure	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,47 @@
+--- configure.orig	2009-10-08 04:03:59.000000000 +0200
++++ configure	2009-10-10 19:56:41.000000000 +0200
+@@ -5794,7 +5794,7 @@
+     CPU_ARCH=sparc
+     ;;
+ 
+-x86_64 | ia64)
++amd64 | x86_64 | ia64)
+     CPU_ARCH="$OS_TEST"
+     ;;
+ esac
+@@ -10890,7 +10890,7 @@
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_save_LIBS="$LIBS"
+-LIBS="-liconv  $LIBS"
++LIBS="-L$LOCALBASE/lib -liconv  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 10896 "configure"
+ #include "confdefs.h"
+@@ -10921,7 +10921,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+-  _ICONV_LIBS="$_ICONV_LIBS -liconv"
++  _ICONV_LIBS="$_ICONV_LIBS -L$LOCALBASE/lib -liconv"
+ else
+   echo "$ac_t""no" 1>&6
+ echo $ac_n "checking for libiconv in -liconv""... $ac_c" 1>&6
+@@ -10931,7 +10931,7 @@
+   echo $ac_n "(cached) $ac_c" 1>&6
+ else
+   ac_save_LIBS="$LIBS"
+-LIBS="-liconv  $LIBS"
++LIBS="-L$LOCALBASE/lib -liconv  $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 10937 "configure"
+ #include "confdefs.h"
+@@ -10962,7 +10962,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+   echo "$ac_t""yes" 1>&6
+-  _ICONV_LIBS="$_ICONV_LIBS -liconv"
++  _ICONV_LIBS="$_ICONV_LIBS -L$LOCALBASE/lib -liconv"
+ else
+   echo "$ac_t""no" 1>&6
+ fi

Added: trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libldap-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libldap-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- directory/c-sdk/ldap/libraries/libldap/Makefile.in.orig	2009-11-10 09:56:42.000000000 +0100
++++ directory/c-sdk/ldap/libraries/libldap/Makefile.in	2009-11-10 09:58:15.000000000 +0100
+@@ -254,6 +254,10 @@
+ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lbe
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
++endif
++
+ ifeq ($(OS_ARCH), NetBSD)
+ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME)
+ endif

Added: trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libprldap-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libprldap-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,14 @@
+--- directory/c-sdk/ldap/libraries/libprldap/Makefile.in.orig	2008-09-11 16:38:35.000000000 +0200
++++ directory/c-sdk/ldap/libraries/libprldap/Makefile.in	2009-12-01 10:18:43.000000000 +0100
+@@ -147,6 +147,11 @@
+ CUSTOM_LIBS=1
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
++CUSTOM_LIBS=1
++endif
++
+ # no extra libs on HP-UX
+ ifeq ($(OS_ARCH), HP-UX)
+ CUSTOM_LIBS=1

Added: trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libssldap-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-directory-c-sdk-ldap-libraries-libssldap-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,22 @@
+--- directory/c-sdk/ldap/libraries/libssldap/Makefile.in.orig	2009-09-10 17:36:39.000000000 +0200
++++ directory/c-sdk/ldap/libraries/libssldap/Makefile.in	2009-09-10 17:37:28.000000000 +0200
+@@ -42,7 +42,7 @@
+ NSPR_LIBS   = @NSPR_LIBS@
+ NSPR_CFLAGS = @NSPR_CFLAGS@
+ NSS_LIBS   = @NSS_LIBS@
+-NSS_CFLAGS = @NSS_CFLAGS@
++NSS_CFLAGS = @NSS_CFLAGS@ -I/usr/local/include/nss/nss
+ 
+ include $(MOD_DEPTH)/config/autoconf.mk
+ include $(topsrcdir)/build.mk
+@@ -180,6 +180,10 @@
+ CUSTOM_LIBS=1
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++CUSTOM_LIBS=1
++endif
++
+ ifndef CUSTOM_LIBS
+ EXTRA_LIBS = -L$(dist_libdir) -l$(LDAP_LIBNAME) -l$(PRLDAP_LIBNAME)
+ EXTRA_LIBS += $(NSSLINK) 

Added: trunk/www/seamonkey2/files/patch-directory-xpcom-base-src-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-directory-xpcom-base-src-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- directory/xpcom/base/src/Makefile.in.orig	2009-11-22 03:44:31.000000000 +0100
++++ directory/xpcom/base/src/Makefile.in	2009-11-26 13:06:53.000000000 +0100
+@@ -97,6 +97,10 @@
+ 		$(NULL)
+ endif
+ 
++ifeq ($(OS_ARCH), FreeBSD)
++EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lpthread
++endif
++
+ EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS) $(LDAP_LIBS)
+ 
+ include $(topsrcdir)/config/rules.mk

Added: trunk/www/seamonkey2/files/patch-mozilla-build-unix-run-mozilla.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-build-unix-run-mozilla.sh	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,21 @@
+--- mozilla/build/unix/run-mozilla.sh.orig	2009-08-24 19:18:11.000000000 +0200
++++ mozilla/build/unix/run-mozilla.sh	2009-08-24 19:22:10.000000000 +0200
+@@ -310,7 +310,7 @@
+ }
+ if moz_should_set_ld_library_path
+ then
+-	LD_LIBRARY_PATH=${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
++	LD_LIBRARY_PATH=${MOZ_DIST_BIN}:%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey:${MOZ_DIST_BIN}/plugins:${MRE_HOME}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
+ fi 
+ 
+ if [ -n "$LD_LIBRARYN32_PATH" ]
+@@ -391,6 +391,9 @@
+ export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
+ export SHLIB_PATH LIBPATH LIBRARY_PATH ADDON_PATH DYLD_LIBRARY_PATH
+ 
++MOZ_PLUGIN_PATH=%%LOCALBASE%%/lib/browser_plugins/symlinks/gecko18:%%LOCALBASE%%/lib/npapi/symlinks/seamonkey
++export MOZ_PLUGIN_PATH
++
+ if [ $moz_debug -eq 1 ]
+ then
+ 	moz_debug_program ${1+"$@"}

Added: trunk/www/seamonkey2/files/patch-mozilla-config-autoconf.mk.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-config-autoconf.mk.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/config/autoconf.mk.in.orig	2009-09-17 19:09:10.000000000 +0200
++++ mozilla/config/autoconf.mk.in	2009-09-17 19:09:26.000000000 +0200
+@@ -275,7 +275,7 @@
+ OS_CPPFLAGS	= @CPPFLAGS@
+ OS_CFLAGS	= $(OS_CPPFLAGS) @CFLAGS@
+ OS_CXXFLAGS	= $(OS_CPPFLAGS) @CXXFLAGS@
+-OS_LDFLAGS	= @LDFLAGS@
++OS_LDFLAGS	= @LDFLAGS@ -lc
+ 
+ OS_COMPILE_CFLAGS = $(OS_CPPFLAGS) @COMPILE_CFLAGS@
+ OS_COMPILE_CXXFLAGS = $(OS_CPPFLAGS) @COMPILE_CXXFLAGS@

Added: trunk/www/seamonkey2/files/patch-mozilla-config-mkdepend-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-config-mkdepend-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/config/mkdepend/Makefile.in.orig	2009-09-11 19:30:23.000000000 +0200
++++ mozilla/config/mkdepend/Makefile.in	2009-09-11 19:29:53.000000000 +0200
+@@ -73,6 +73,7 @@
+ include $(topsrcdir)/config/rules.mk
+ 
+ HOST_CFLAGS	+= -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".$(OBJ_SUFFIX)\"
++HOST_CFLAGS	+= $(XCFLAGS)
+ 
+ ifdef GNU_CC
+ _GCCDIR		= $(shell $(CC) -print-file-name=include)

Added: trunk/www/seamonkey2/files/patch-mozilla-config-mkdepend-imakemdep.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-config-mkdepend-imakemdep.h	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/config/mkdepend/imakemdep.h	Fri Sep  4 21:22:25 1998
++++ mozilla/config/mkdepend/imakemdep.h	Thu Oct 16 22:43:25 2003
+@@ -278,4 +278,7 @@
+ 	"-D__i386__",
+ # endif
++# if defined(__amd64__) || defined(__x86_64__)
++	"-D__amd64__ -D__x86_64__",
++# endif
+ # ifdef __GNUC__
+ 	"-traditional",

Added: trunk/www/seamonkey2/files/patch-mozilla-content-xslt-public-txDouble.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-content-xslt-public-txDouble.h	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,23 @@
+--- mozilla/content/xslt/public/txDouble.h.orig	2009-08-25 01:35:47.000000000 +0200
++++ mozilla/content/xslt/public/txDouble.h	2009-08-25 01:37:41.000000000 +0200
+@@ -43,11 +43,16 @@
+ //A trick to handle IEEE floating point exceptions on FreeBSD - E.D.
+ #ifdef __FreeBSD__
+ #include <ieeefp.h>
+-#ifdef __alpha__
+-static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP;
+-#else
+-static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML;
++#if !defined(FP_X_DNML)
++#define FP_X_DNML 0
++#endif
++#if !defined(FP_X_STK)
++#define FP_X_STK 0
++#endif
++#if !defined(FP_X_IOV)
++#define FP_X_IOV 0
+ #endif
++static fp_except_t allmask = FP_X_INV|FP_X_OFL|FP_X_UFL|FP_X_DZ|FP_X_IMP|FP_X_DNML|FP_X_STK|FP_X_IOV;
+ static fp_except_t oldmask = fpsetmask(~allmask);
+ #endif
+ 

Added: trunk/www/seamonkey2/files/patch-mozilla-embedding-base_nsEmbedAPI.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-embedding-base_nsEmbedAPI.cpp	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,16 @@
+--- mozilla/embedding/base/nsEmbedAPI.cpp.orig	2007-10-09 20:00:30.000000000 -0400
++++ mozilla/embedding/base/nsEmbedAPI.cpp	2007-10-09 20:01:45.000000000 -0400
+@@ -53,7 +53,12 @@ static PRBool             sRegistryIniti
+ static PRUint32           sInitCounter = 0;
+ 
+ #define HACK_AROUND_THREADING_ISSUES
+-//#define HACK_AROUND_NONREENTRANT_INITXPCOM
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#if __FreeBSD_version < 700042
++#define HACK_AROUND_NONREENTRANT_INITXPCOM
++#endif
++#endif
+ 
+ #ifdef HACK_AROUND_NONREENTRANT_INITXPCOM
+ // XXX hack class to clean up XPCOM when this module is unloaded

Added: trunk/www/seamonkey2/files/patch-mozilla-js-src-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-js-src-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/js/src/Makefile.in.orig	2009-08-25 18:58:30.000000000 +0200
++++ mozilla/js/src/Makefile.in	2009-08-25 18:58:47.000000000 +0200
+@@ -428,6 +428,7 @@
+ 
+ ifeq ($(OS_ARCH),FreeBSD)
+ EXTRA_LIBS	+= -pthread
++LDFLAGS		+= -lc
+ endif
+ ifeq ($(OS_ARCH),IRIX)
+ ifdef USE_N32

Added: trunk/www/seamonkey2/files/patch-mozilla-js-src-config-mkdepend-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-js-src-config-mkdepend-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/js/src/config/mkdepend/Makefile.in.orig	2009-09-14 13:17:15.000000000 +0200
++++ mozilla/js/src/config/mkdepend/Makefile.in	2009-09-14 13:17:34.000000000 +0200
+@@ -72,7 +72,7 @@
+ 
+ include $(topsrcdir)/config/rules.mk
+ 
+-HOST_CFLAGS	+= -DINCLUDEDIR=\"/usr/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)

Added: trunk/www/seamonkey2/files/patch-mozilla-js-src-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-js-src-configure	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,13 @@
+--- mozilla/js/src/configure.orig	2009-09-17 16:34:18.000000000 +0200
++++ mozilla/js/src/configure	2009-09-17 16:34:46.000000000 +0200
+@@ -6916,10 +6916,6 @@
+     ENABLE_JIT=1
+     NANOJIT_ARCH=ARM
+     ;;
+-sparc*-*)
+-    ENABLE_JIT=1
+-    NANOJIT_ARCH=Sparc
+-    ;;
+ esac
+ 
+ # Check whether --enable-jit or --disable-jit was given.

Added: trunk/www/seamonkey2/files/patch-mozilla-media-liboggz-include-oggz-oggz_off_t_generated.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-media-liboggz-include-oggz-oggz_off_t_generated.h	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h.orig	2009-09-03 19:49:16.000000000 +0200
++++ mozilla/media/liboggz/include/oggz/oggz_off_t_generated.h	2009-09-14 19:59:18.000000000 +0200
+@@ -59,7 +59,7 @@
+ 
+ #include <sys/types.h>
+ 
+-#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2)
++#if defined(__APPLE__) || defined(SOLARIS) || defined(OS2) || defined (__FreeBSD__)
+ typedef off_t oggz_off_t;
+ #else
+ typedef loff_t oggz_off_t;

Added: trunk/www/seamonkey2/files/patch-mozilla-security-coreconf-FreeBSD.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-security-coreconf-FreeBSD.mk	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,38 @@
+--- mozilla/security/coreconf/FreeBSD.mk.orig	2009-07-30 17:30:28.000000000 +0200
++++ mozilla/security/coreconf/FreeBSD.mk	2009-08-17 22:29:03.510890513 +0200
+@@ -45,8 +45,20 @@
+ ifeq ($(OS_TEST),alpha)
+ CPU_ARCH		= alpha
+ else
++ifeq ($(OS_TEST),amd64)
++CPU_ARCH		= amd64
++else
++ifeq ($(OS_TEST),powerpc)
++CPU_ARCH		= powerpc
++else
++ifeq ($(OS_TEST),sparc64)
++CPU_ARCH		= sparc64
++else
+ CPU_ARCH		= x86
+ endif
++endif
++endif
++endif
+ 
+ OS_CFLAGS		= $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+ 
+@@ -73,7 +85,7 @@
+ DLL_SUFFIX		= so.1.0
+ endif
+ 
+-MKSHLIB			= $(CC) $(DSO_LDOPTS)
++MKSHLIB			= $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
+ ifdef MAPFILE
+ 	MKSHLIB += -Wl,--version-script,$(MAPFILE)
+ endif
+@@ -82,4 +94,4 @@
+ 
+ G++INCLUDES		= -I/usr/include/g++
+ 
+-INCLUDES		+= -I/usr/X11R6/include
++#INCLUDES		+= -I/usr/X11R6/include

Added: trunk/www/seamonkey2/files/patch-mozilla-security-manager-ssl-src-nsNSSComponent.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-security-manager-ssl-src-nsNSSComponent.cpp	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/security/manager/ssl/src/nsNSSComponent.cpp.orig	Mon May 29 23:10:54 2006
++++ mozilla/security/manager/ssl/src/nsNSSComponent.cpp	Mon May 29 23:12:22 2006
+@@ -110,6 +110,7 @@
+ #include "nss.h"
+ #include "pk11func.h"
+ #include "ssl.h"
++#define NSS_ENABLE_ECC 1
+ #include "sslproto.h"
+ #include "secmod.h"
+ #include "sechash.h"

Added: trunk/www/seamonkey2/files/patch-mozilla-storage-build-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-storage-build-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,10 @@
+--- mozilla/storage/build/Makefile.in.orig	Tue Feb 21 11:18:56 2006
++++ mozilla/storage/build/Makefile.in	Sun Nov  5 16:16:06 2006
+@@ -77,6 +77,7 @@
+ 	$(EXTRA_DSO_LIBS) \
+ 	$(MOZ_COMPONENT_LIBS) \
+ 	$(MOZ_JS_LIBS) \
++	%%PTHREAD_LIBS%% \
+ 	$(NULL)
+ 
+ include $(topsrcdir)/config/rules.mk

Added: trunk/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-public-xptcstubsdecl.inc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-public-xptcstubsdecl.inc	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,11 @@
+--- mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc.orig	Tue Mar 16 03:07:25 2004
++++ mozilla/xpcom/reflect/xptcall/public/xptcstubsdecl.inc	Fri Mar 19 15:58:14 2004
+@@ -8,7 +8,7 @@
+ *  1 is AddRef
+ *  2 is Release
+ */
+-#if !defined(__ia64) || (!defined(__hpux) && !defined(__linux__))
++#if !defined(__ia64)
+ NS_IMETHOD Stub3();
+ NS_IMETHOD Stub4();
+ NS_IMETHOD Stub5();

Added: trunk/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,76 @@
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig	2009-09-17 17:14:19.000000000 +0200
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in	2009-09-17 17:20:22.000000000 +0200
+@@ -70,6 +70,9 @@
+ ifeq (Darwin,$(OS_ARCH))
+ DEFINES		+= -DKEEP_STACK_16_BYTE_ALIGNED
+ endif
++ifeq (x86_64,$(OS_TEST))
++CPPSRCS		:= xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
++endif
+ endif
+ endif
+ #
+@@ -87,7 +90,7 @@
+ endif
+ endif
+ # IA64 Linux
+-ifneq (,$(filter Linux,$(OS_ARCH)))
++ifneq (,$(filter Linux FreeBSD,$(OS_ARCH)))
+ ifneq (,$(findstring ia64,$(OS_TEST)))
+ CPPSRCS		:= xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp
+ ASFILES		:= xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s
+@@ -100,6 +103,12 @@
+ CPPSRCS		:= xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
+ endif
+ #
++# FreeBSD/amd64
++#
++ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDamd64)
++CPPSRCS         := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
++endif
++#
+ # BeOS/Intel (uses the same unixish_x86 code)
+ #
+ ifeq ($(OS_ARCH)$(OS_TEST),BeOSBePC)
+@@ -150,9 +159,15 @@
+ ASFILES		:= xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s
+ endif
+ #
++# FreeBSD/Alpha
++#
++ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDalpha)
++CPPSRCS		:= xptcinvoke_freebsd_alpha.cpp xptcstubs_freebsd_alpha.cpp
++endif
++#
+ # Linux/Alpha
+ #
+-ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))                           
++ifneq (,$(filter Linuxalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))                           
+ CPPSRCS		:= xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp
+ endif
+ #
+@@ -307,7 +322,7 @@
+ #
+ # Linux/PPC
+ #
+-ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc)
++ifneq (,$(filter Linuxpowerpc FreeBSDpowerpc,$(OS_ARCH)$(OS_TEST)))
+ CPPSRCS		:= xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
+ ASFILES		:= xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
+ AS		:= $(CC) -c -x assembler-with-cpp
+@@ -385,6 +400,15 @@
+ ASFILES		:= xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
+ endif
+ #
++# FreeBSD/SPARC64
++#
++ifeq ($(OS_ARCH),FreeBSD)
++ifneq (,$(findstring sparc,$(OS_TEST)))
++CPPSRCS		:= xptcinvoke_sparc64_openbsd.cpp xptcstubs_sparc64_openbsd.cpp
++ASFILES		:= xptcinvoke_asm_sparc64_openbsd.s xptcstubs_asm_sparc64_openbsd.s
++endif
++endif
++#
+ # OpenBSD/SPARC
+ #
+ ifeq ($(OS_ARCH)$(OS_TEST),OpenBSDsparc)

Added: trunk/www/seamonkey2/files/patch-sysnss
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-sysnss	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,188 @@
+--- mozilla/security/manager/Makefile.in.orig	2009-10-08 04:03:28.000000000 +0200
++++ mozilla/security/manager/Makefile.in	2009-10-11 00:38:00.000000000 +0200
+@@ -46,16 +46,8 @@
+ MODULE = psm
+ 
+ ifndef MOZ_NATIVE_NSS
+-LOADABLE_ROOT_MODULE = $(DLL_PREFIX)nssckbi$(DLL_SUFFIX)
+ endif
+ 
+-NSS3_LIB = $(DLL_PREFIX)nss3$(DLL_SUFFIX)
+-NSSUTIL3_LIB = $(DLL_PREFIX)nssutil3$(DLL_SUFFIX)
+-SMIME3_LIB = $(DLL_PREFIX)smime3$(DLL_SUFFIX)
+-SSL3_LIB =  $(DLL_PREFIX)ssl3$(DLL_SUFFIX)
+-SOFTOKEN3_LIB = $(DLL_PREFIX)softokn3$(DLL_SUFFIX)
+-SOFTOKEN3_CHK = $(DLL_PREFIX)softokn3.chk
+-
+ ifndef NSS_DISABLE_DBM
+ NSSDBM3_LIB = $(DLL_PREFIX)nssdbm3$(DLL_SUFFIX)
+ NSSDBM3_CHK = $(DLL_PREFIX)nssdbm3.chk
+@@ -249,11 +241,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
+-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
+-endif
+ 	touch $@
+ endif
+ 
+@@ -274,76 +261,8 @@
+ 
+ libs::
+ ifndef MOZ_NATIVE_NSS
+-	$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
+-ifndef NSS_DISABLE_DBM
+-	$(MAKE) -C $(topsrcdir)/security/dbm $(DEFAULT_GMAKE_FLAGS) 
+-endif
+-	$(MAKE) -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)
+-endif
+-ifndef SKIP_CHK
+-ifndef ENABLE_TESTS # Just avoid secondary compile
+-	$(MAKE) -C $(topsrcdir)/security/nss/cmd/lib $(DEFAULT_GMAKE_FLAGS)
+-endif
+-	$(MAKE) -C $(topsrcdir)/security/nss/cmd/shlibsign $(DEFAULT_GMAKE_FLAGS)
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DIST)/bin
+-ifndef SKIP_CHK
+-	$(INSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DIST)/bin
+-ifndef NSS_DISABLE_DBM
+-ifndef SKIP_CHK
+-	$(INSTALL) -m 644 $(DIST)/lib/$(NSSDBM3_CHK) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(NSSDBM3_LIB) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DIST)/bin
+-	$(INSTALL) -m 755 $(DIST)/lib/$(NSSUTIL3_LIB) $(DIST)/bin
+-	$(INSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DIST)/bin
+-	$(INSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DIST)/bin
+-	$(INSTALL) -m 755 $(SDK_LIBS) $(DIST)/sdk/lib
+-ifdef HAVE_FREEBL_LIBS
+-ifndef SKIP_CHK
+-	$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_CHK) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_LIB) $(DIST)/bin
+-endif
+-ifdef HAVE_FREEBL_LIBS_32
+-ifndef SKIP_CHK
+-	$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT_CHK) $(DIST)/bin
+-	$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32FPU_CHK) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT_LIB) $(DIST)/bin
+-	$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32FPU_LIB) $(DIST)/bin
+-endif
+-ifdef HAVE_FREEBL_LIBS_32INT64
+-ifndef SKIP_CHK
+-	$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT64_CHK) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT64_LIB) $(DIST)/bin
+-endif
+-ifdef HAVE_FREEBL_LIBS_64
+-ifndef SKIP_CHK
+-	$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_64INT_CHK) $(DIST)/bin
+-	$(INSTALL) -m 644 $(DIST)/lib/$(FREEBL_64FPU_CHK) $(DIST)/bin
+-endif
+-	$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_64INT_LIB) $(DIST)/bin
+-	$(INSTALL) -m 755 $(DIST)/lib/$(FREEBL_64FPU_LIB) $(DIST)/bin
+-endif
+-endif
+-ifndef MOZ_NATIVE_NSS
+-# 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 -)
+ endif
++	$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS)
+ 	$(MAKE) -C boot $@
+ 	$(MAKE) -C ssl $@
+ 	$(MAKE) -C locales $@
+@@ -356,47 +275,6 @@
+ 
+ install::
+ ifndef MOZ_NATIVE_NSS
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(LOADABLE_ROOT_MODULE) $(DESTDIR)$(mozappdir)
+-ifndef SKIP_CHK
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(SOFTOKEN3_CHK) $(DESTDIR)$(mozappdir)
+-endif
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(SOFTOKEN3_LIB) $(DESTDIR)$(mozappdir)
+-ifndef SKIP_CHK
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(NSSDBM3_CHK) $(DESTDIR)$(mozappdir)
+-endif
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(NSSDBM3_LIB) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(NSS3_LIB) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(NSSUTIL3_LIB) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(SSL3_LIB) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(SMIME3_LIB) $(DESTDIR)$(mozappdir)
+-ifdef HAVE_FREEBL_LIBS
+-ifndef SKIP_CHK
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_CHK) $(DESTDIR)$(mozappdir)
+-endif
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_LIB) $(DESTDIR)$(mozappdir)
+-endif
+-ifdef HAVE_FREEBL_LIBS_32
+-ifndef SKIP_CHK
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT_CHK) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32FPU_CHK) $(DESTDIR)$(mozappdir)
+-endif
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT_LIB) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32FPU_LIB) $(DESTDIR)$(mozappdir)
+-endif
+-ifdef HAVE_FREEBL_LIBS_32INT64
+-ifndef SKIP_CHK
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_32INT64_CHK) $(DESTDIR)$(mozappdir)
+-endif
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_32INT64_LIB) $(DESTDIR)$(mozappdir)
+-endif
+-ifdef HAVE_FREEBL_LIBS_64
+-ifndef SKIP_CHK
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_64INT_CHK) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 644 $(DIST)/lib/$(FREEBL_64FPU_CHK) $(DESTDIR)$(mozappdir)
+-endif
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_64INT_LIB) $(DESTDIR)$(mozappdir)
+-	$(SYSINSTALL) -m 755 $(DIST)/lib/$(FREEBL_64FPU_LIB) $(DESTDIR)$(mozappdir)
+-endif
+ endif
+ 	$(MAKE) -C boot $@
+ 	$(MAKE) -C ssl $@
+@@ -413,12 +291,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
+-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
+-endif
+ endif
+ 
+ echo-requires-recursive::
+--- mozilla/security/manager/ssl/src/Makefile.in.orig	2009-08-26 19:05:39.000000000 +0200
++++ mozilla/security/manager/ssl/src/Makefile.in	2009-08-26 19:06:17.000000000 +0200
+@@ -138,13 +138,14 @@
+ 
+ # Use local includes because they are inserted before INCLUDES
+ # so that Mozilla's nss.h is used, not glibc's
+-LOCAL_INCLUDES += $(NSS_CFLAGS)
++LOCAL_INCLUDES += -I%%LOCALBASE%%/include/nss/nss
+ 
+ EXTRA_DSO_LDOPTS += \
+ 		$(MOZ_UNICHARUTIL_LIBS) \
+ 		$(MOZ_COMPONENT_LIBS) \
+ 		$(MOZ_JS_LIBS) \
+ 		$(NSS_LIBS) \
++		$(LOCAL_INCLUDES) \
+ 		$(NULL)
+ 
+ include $(topsrcdir)/config/rules.mk

Added: trunk/www/seamonkey2/files/patch-xptcall-alpha
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-xptcall-alpha	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,459 @@
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_freebsd_alpha.cpp.orig	Tue May 27 01:37:25 2003
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_freebsd_alpha.cpp	Tue May 27 01:37:00 2003
+@@ -0,0 +1,184 @@
++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/* ***** BEGIN LICENSE BLOCK *****
++ * Version: NPL 1.1/GPL 2.0/LGPL 2.1
++ *
++ * The contents of this file are subject to the Netscape 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/NPL/
++ *
++ * Software distributed under the License is distributed on an "AS IS" basis,
++ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
++ * for the specific language governing rights and limitations under the
++ * License.
++ *
++ * The Original Code is mozilla.org code.
++ *
++ * The Initial Developer of the Original Code is 
++ * Netscape Communications Corporation.
++ * Portions created by the Initial Developer are Copyright (C) 1998
++ * 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 NPL, 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 NPL, the GPL or the LGPL.
++ *
++ * ***** END LICENSE BLOCK ***** */
++
++/* Platform specific code to invoke XPCOM methods on native objects */
++
++/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
++
++#include "xptcprivate.h"
++
++/* Prototype specifies unmangled function name and disables unused warning */
++static void
++invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
++__asm__("invoke_copy_to_stack") __attribute__((unused));
++
++static void
++invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
++{
++    const PRUint8 NUM_ARG_REGS = 6-1;        // -1 for "this" pointer
++
++    for(PRUint32 i = 0; i < paramCount; i++, d++, s++)
++    {
++        if(s->IsPtrData())
++        {
++            *d = (PRUint64)s->ptr;
++            continue;
++        }
++        switch(s->type)
++        {
++        case nsXPTType::T_I8     : *d = (PRUint64)s->val.i8;     break;
++        case nsXPTType::T_I16    : *d = (PRUint64)s->val.i16;    break;
++        case nsXPTType::T_I32    : *d = (PRUint64)s->val.i32;    break;
++        case nsXPTType::T_I64    : *d = (PRUint64)s->val.i64;    break;
++        case nsXPTType::T_U8     : *d = (PRUint64)s->val.u8;     break;
++        case nsXPTType::T_U16    : *d = (PRUint64)s->val.u16;    break;
++        case nsXPTType::T_U32    : *d = (PRUint64)s->val.u32;    break;
++        case nsXPTType::T_U64    : *d = (PRUint64)s->val.u64;    break;
++        case nsXPTType::T_FLOAT  :
++            if(i < NUM_ARG_REGS)
++            {
++                // convert floats to doubles if they are to be passed
++                // via registers so we can just deal with doubles later
++                union { PRUint64 u64; double d; } t;
++                t.d = (double)s->val.f;
++                *d = t.u64;
++            }
++            else
++                // otherwise copy to stack normally
++                *d = (PRUint64)s->val.u32;
++            break;
++        case nsXPTType::T_DOUBLE : *d = (PRUint64)s->val.u64;    break;
++        case nsXPTType::T_BOOL   : *d = (PRUint64)s->val.b;      break;
++        case nsXPTType::T_CHAR   : *d = (PRUint64)s->val.c;      break;
++        case nsXPTType::T_WCHAR  : *d = (PRUint64)s->val.wc;     break;
++        default:
++            // all the others are plain pointer types
++            *d = (PRUint64)s->val.p;
++            break;
++        }
++    }
++}
++
++/*
++ * XPTC_PUBLIC_API(nsresult)
++ * XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
++ *                    PRUint32 paramCount, nsXPTCVariant* params, void* vt)
++ */
++__asm__(
++    "#### XPTC_InvokeByIndex ####\n"
++".text\n\t"
++    ".align 5\n\t"
++    ".globl XPTC_InvokeByIndex\n\t"
++    ".ent XPTC_InvokeByIndex\n"
++"XPTC_InvokeByIndex:\n\t"
++    ".frame $15,32,$26,0\n\t"
++    ".mask 0x4008000,-32\n\t"
++    "ldgp $29,0($27)\n"
++"$XPTC_InvokeByIndex..ng:\n\t"
++    "subq $30,32,$30\n\t"
++    "stq $26,0($30)\n\t"
++    "stq $15,8($30)\n\t"
++    "bis $30,$30,$15\n\t"
++    ".prologue 1\n\t"
++
++    /*
++     * Allocate enough stack space to hold the greater of 6 or "paramCount"+1
++     * parameters. (+1 for "this" pointer)  Room for at least 6 parameters
++     * is required for storage of those passed via registers.
++     */
++
++    "bis $31,5,$2\n\t"      /* count = MAX(5, "paramCount") */
++    "cmplt $2,$18,$1\n\t"
++    "cmovne $1,$18,$2\n\t"
++    "s8addq $2,16,$1\n\t"   /* room for count+1 params (8 bytes each) */
++    "bic $1,15,$1\n\t"      /* stack space is rounded up to 0 % 16 */
++    "subq $30,$1,$30\n\t"
++
++    "stq $16,0($30)\n\t"    /* save "that" (as "this" pointer) */
++    "stq $17,16($15)\n\t"   /* save "methodIndex" */
++
++    "addq $30,8,$16\n\t"    /* pass stack pointer */
++    "bis $18,$18,$17\n\t"   /* pass "paramCount" */
++    "bis $19,$19,$18\n\t"   /* pass "params" */
++    "bsr $26,$invoke_copy_to_stack..ng\n\t"     /* call invoke_copy_to_stack */
++
++    /*
++     * Copy the first 6 parameters to registers and remove from stack frame.
++     * Both the integer and floating point registers are set for each parameter
++     * except the first which is the "this" pointer.  (integer only)
++     * The floating point registers are all set as doubles since the
++     * invoke_copy_to_stack function should have converted the floats.
++     */
++    "ldq $16,0($30)\n\t"    /* integer registers */
++    "ldq $17,8($30)\n\t"
++    "ldq $18,16($30)\n\t"
++    "ldq $19,24($30)\n\t"
++    "ldq $20,32($30)\n\t"
++    "ldq $21,40($30)\n\t"
++    "ldt $f17,8($30)\n\t"   /* floating point registers */
++    "ldt $f18,16($30)\n\t"
++    "ldt $f19,24($30)\n\t"
++    "ldt $f20,32($30)\n\t"
++    "ldt $f21,40($30)\n\t"
++
++    "addq $30,48,$30\n\t"   /* remove params from stack */
++
++    /*
++     * Call the virtual function with the constructed stack frame.
++     */
++    "bis $16,$16,$1\n\t"    /* load "this" */
++    "ldq $2,16($15)\n\t"    /* load "methodIndex" */
++    "ldq $1,0($1)\n\t"      /* load vtable */
++#if 0
++    "s8addq $2,16,$2\n\t"   /* vtable index = "methodIndex" * 8 + 16 */
++#else
++    "mulq $2, 8, $2\n\t"
++    "addq $2, 0, $2\n\t"   /* vtable index = "methodIndex" * 16 + 24 */
++#endif
++    "addq $1,$2,$1\n\t"
++    "ldq $27,0($1)\n\t"     /* load address of function */
++    "jsr $26,($27),0\n\t"   /* call virtual function */
++    "ldgp $29,0($26)\n\t"
++
++    "bis $15,$15,$30\n\t"
++    "ldq $26,0($30)\n\t"
++    "ldq $15,8($30)\n\t"
++    "addq $30,32,$30\n\t"
++    "ret $31,($26),1\n\t"
++    ".end XPTC_InvokeByIndex"
++    );
++
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_freebsd_alpha.cpp.orig	Tue May 27 01:37:30 2003
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_freebsd_alpha.cpp	Tue May 27 01:37:04 2003
+@@ -0,0 +1,269 @@
++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/* ***** BEGIN LICENSE BLOCK *****
++ * Version: NPL 1.1/GPL 2.0/LGPL 2.1
++ *
++ * The contents of this file are subject to the Netscape 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/NPL/
++ *
++ * Software distributed under the License is distributed on an "AS IS" basis,
++ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
++ * for the specific language governing rights and limitations under the
++ * License.
++ *
++ * The Original Code is mozilla.org code.
++ *
++ * The Initial Developer of the Original Code is 
++ * Netscape Communications Corporation.
++ * Portions created by the Initial Developer are Copyright (C) 1999
++ * 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 NPL, 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 NPL, the GPL or the LGPL.
++ *
++ * ***** END LICENSE BLOCK ***** */
++
++/* Implement shared vtbl methods. */
++
++/* contributed by Glen Nakamura <glen.nakamura@usa.net> */
++
++#include <sys/types.h>
++#include <machine/cpu.h>
++#include "xptcprivate.h"
++
++/* Prototype specifies unmangled function name and disables unused warning */
++static nsresult
++PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint64* args)
++__asm__("PrepareAndDispatch") __attribute__((unused));
++
++static nsresult
++PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint64* args)
++{
++    const PRUint8 PARAM_BUFFER_COUNT = 16;
++    const PRUint8 NUM_ARG_REGS = 6-1;        // -1 for "this" pointer
++
++    nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
++    nsXPTCMiniVariant* dispatchParams = NULL;
++    nsIInterfaceInfo* iface_info = NULL;
++    const nsXPTMethodInfo* info;
++    PRUint8 paramCount;
++    PRUint8 i;
++    nsresult result = NS_ERROR_FAILURE;
++
++    NS_ASSERTION(self,"no self");
++
++    self->GetInterfaceInfo(&iface_info);
++    NS_ASSERTION(iface_info,"no interface info");
++
++    iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
++    NS_ASSERTION(info,"no interface info");
++
++    paramCount = info->GetParamCount();
++
++    // setup variant array pointer
++    if(paramCount > PARAM_BUFFER_COUNT)
++        dispatchParams = new nsXPTCMiniVariant[paramCount];
++    else
++        dispatchParams = paramBuffer;
++    NS_ASSERTION(dispatchParams,"no place for params");
++
++    // args[0] to args[NUM_ARG_REGS] hold floating point register values
++    PRUint64* ap = args + NUM_ARG_REGS;
++    for(i = 0; i < paramCount; i++, ap++)
++    {
++        const nsXPTParamInfo& param = info->GetParam(i);
++        const nsXPTType& type = param.GetType();
++        nsXPTCMiniVariant* dp = &dispatchParams[i];
++
++        if(param.IsOut() || !type.IsArithmetic())
++        {
++            dp->val.p = (void*) *ap;
++            continue;
++        }
++        // else
++        switch(type)
++        {
++        case nsXPTType::T_I8     : dp->val.i8  = (PRInt8)    *ap;    break;
++        case nsXPTType::T_I16    : dp->val.i16 = (PRInt16)   *ap;    break;
++        case nsXPTType::T_I32    : dp->val.i32 = (PRInt32)   *ap;    break;
++        case nsXPTType::T_I64    : dp->val.i64 = (PRInt64)   *ap;    break;
++        case nsXPTType::T_U8     : dp->val.u8  = (PRUint8)   *ap;    break;
++        case nsXPTType::T_U16    : dp->val.u16 = (PRUint16)  *ap;    break;
++        case nsXPTType::T_U32    : dp->val.u32 = (PRUint32)  *ap;    break;
++        case nsXPTType::T_U64    : dp->val.u64 = (PRUint64)  *ap;    break;
++        case nsXPTType::T_FLOAT  :
++            if(i < NUM_ARG_REGS)
++            {
++                // floats passed via registers are stored as doubles
++                // in the first NUM_ARG_REGS entries in args
++                dp->val.u64 = (PRUint64) args[i];
++                dp->val.f = (float) dp->val.d;    // convert double to float
++            }
++            else
++                dp->val.u32 = (PRUint32) *ap;
++            break;
++        case nsXPTType::T_DOUBLE :
++            // doubles passed via registers are also stored
++            // in the first NUM_ARG_REGS entries in args
++            dp->val.u64 = (i < NUM_ARG_REGS) ? args[i] : *ap;
++            break;
++        case nsXPTType::T_BOOL   : dp->val.b   = (PRBool)    *ap;    break;
++        case nsXPTType::T_CHAR   : dp->val.c   = (char)      *ap;    break;
++        case nsXPTType::T_WCHAR  : dp->val.wc  = (PRUnichar) *ap;    break;
++        default:
++            NS_ASSERTION(0, "bad type");
++            break;
++        }
++    }
++
++    result = self->CallMethod((PRUint16)methodIndex, info, dispatchParams);
++
++    NS_RELEASE(iface_info);
++
++    if(dispatchParams != paramBuffer)
++        delete [] dispatchParams;
++
++    return result;
++}
++
++/*
++ * SharedStub()
++ *  Collects arguments and calls PrepareAndDispatch.  The "methodIndex" is
++ *  passed to this function via $1 to preserve the argument registers.
++ */
++__asm__(
++    "#### SharedStub ####\n"
++".text\n\t"
++    ".align 5\n\t"
++    ".ent SharedStub\n"
++"SharedStub:\n\t"
++    ".frame $30,96,$26,0\n\t"
++    ".mask 0x4000000,-96\n\t"
++    "ldgp $29,0($27)\n"
++"$SharedStub..ng:\n\t"
++    "subq $30,96,$30\n\t"
++    "stq $26,0($30)\n\t"
++    ".prologue 1\n\t"
++
++    /*
++     * Store arguments passed via registers to the stack.
++     * Floating point registers are stored as doubles and converted
++     * to floats in PrepareAndDispatch if necessary.
++     */
++    "stt $f17,16($30)\n\t"   /* floating point registers */
++    "stt $f18,24($30)\n\t"
++    "stt $f19,32($30)\n\t"
++    "stt $f20,40($30)\n\t"
++    "stt $f21,48($30)\n\t"
++    "stq $17,56($30)\n\t"    /* integer registers */
++    "stq $18,64($30)\n\t"
++    "stq $19,72($30)\n\t"
++    "stq $20,80($30)\n\t"
++    "stq $21,88($30)\n\t"
++
++    /*
++     * Call PrepareAndDispatch function.
++     */
++    "bis $1,$1,$17\n\t"      /* pass "methodIndex" */
++    "addq $30,16,$18\n\t"    /* pass "args" */
++    "bsr $26,$PrepareAndDispatch..ng\n\t"
++
++    "ldq $26,0($30)\n\t"
++    "addq $30,96,$30\n\t"
++    "ret $31,($26),1\n\t"
++    ".end SharedStub"
++    );
++
++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
++/*
++ * nsresult nsXPTCStubBase::Stub##n()
++ *  Sets register $1 to "methodIndex" and jumps to SharedStub.
++ */
++#define STUB_ENTRY(n) \
++__asm__( \
++    "#### Stub"#n" ####\n" \
++".text\n\t" \
++    ".align 5\n\t" \
++    ".globl _ZN14nsXPTCStubBase5Stub"#n"Ev\n\t" \
++    ".ent _ZN14nsXPTCStubBase5Stub"#n"Ev\n" \
++"_ZN14nsXPTCStubBase5Stub"#n"Ev:\n\t" \
++    ".frame $30,0,$26,0\n\t" \
++    "ldgp $29,0($27)\n" \
++"$_ZN14nsXPTCStubBase5Stub"#n"Ev..ng:\n\t" \
++    ".prologue 1\n\t" \
++    "lda $1,"#n"\n\t" \
++    "br $31,$SharedStub..ng\n\t" \
++    ".end _ZN14nsXPTCStubBase5Stub"#n"Ev" \
++    ); \
++__asm__( \
++    "#### Stub"#n" ####\n" \
++".text\n\t" \
++    ".align 5\n\t" \
++    ".globl _ZN14nsXPTCStubBase6Stub"#n"Ev\n\t" \
++    ".ent _ZN14nsXPTCStubBase6Stub"#n"Ev\n" \
++"_ZN14nsXPTCStubBase6Stub"#n"Ev:\n\t" \
++    ".frame $30,0,$26,0\n\t" \
++    "ldgp $29,0($27)\n" \
++"$_ZN14nsXPTCStubBase6Stub"#n"Ev..ng:\n\t" \
++    ".prologue 1\n\t" \
++    "lda $1,"#n"\n\t" \
++    "br $31,$SharedStub..ng\n\t" \
++    ".end _ZN14nsXPTCStubBase6Stub"#n"Ev" \
++    ); \
++__asm__( \
++    "#### Stub"#n" ####\n" \
++".text\n\t" \
++    ".align 5\n\t" \
++    ".globl _ZN14nsXPTCStubBase7Stub"#n"Ev\n\t" \
++    ".ent _ZN14nsXPTCStubBase7Stub"#n"Ev\n" \
++"_ZN14nsXPTCStubBase7Stub"#n"Ev:\n\t" \
++    ".frame $30,0,$26,0\n\t" \
++    "ldgp $29,0($27)\n" \
++"$_ZN14nsXPTCStubBase7Stub"#n"Ev..ng:\n\t" \
++    ".prologue 1\n\t" \
++    "lda $1,"#n"\n\t" \
++    "br $31,$SharedStub..ng\n\t" \
++    ".end _ZN14nsXPTCStubBase7Stub"#n"Ev" \
++    );
++#else
++/*
++ * nsresult nsXPTCStubBase::Stub##n()
++ *  Sets register $1 to "methodIndex" and jumps to SharedStub.
++ */
++#define STUB_ENTRY(n) \
++nsresult nsXPTCStubBase::Stub##n() \
++{ \
++    nsresult result; \
++__asm__ __volatile__( \
++    "ldah    $29,0($27)\n\t" \
++    "lda     $29,0($29)\n\t" \
++    "lda $1, "#n"\n\t" \
++    "br $31, $SharedStub..ng\n\t" \
++    "mov $0, %0\n\t" \
++    : "=r" (result) \
++    ); \
++    return result; \
++}
++#endif
++
++#define SENTINEL_ENTRY(n) \
++nsresult nsXPTCStubBase::Sentinel##n() \
++{ \
++    NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
++    return NS_ERROR_NOT_IMPLEMENTED; \
++}
++
++#include "xptcstubsdef.inc"
++

Added: trunk/www/seamonkey2/files/patch-xptcall-amd64
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-xptcall-amd64	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,386 @@
+--- /dev/null	Wed Dec 31 16:00:00 1969
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_amd64_freebsd.cpp	Thu Oct 16 22:59:43 2003
+@@ -0,0 +1,174 @@
++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++// Platform specific code to invoke XPCOM methods on native objects
++
++#include "xptcprivate.h"
++
++// 6 integral parameters are passed in registers
++const PRUint32 GPR_COUNT = 6;
++
++// 8 floating point parameters are passed in SSE registers
++const PRUint32 FPR_COUNT = 8;
++
++// Remember that these 'words' are 64-bit long
++static inline void
++invoke_count_words(PRUint32 paramCount, nsXPTCVariant * s,
++                   PRUint32 & nr_gpr, PRUint32 & nr_fpr, PRUint32 & nr_stack)
++{
++    nr_gpr = 1; // skip one GP register for 'that'
++    nr_fpr = 0;
++    nr_stack = 0;
++
++    /* Compute number of eightbytes of class MEMORY.  */
++    for (uint32 i = 0; i < paramCount; i++, s++) {
++        if (!s->IsPtrData()
++            && (s->type == nsXPTType::T_FLOAT || s->type == nsXPTType::T_DOUBLE)) {
++            if (nr_fpr < FPR_COUNT)
++                nr_fpr++;
++            else
++                nr_stack++;
++        }
++        else {
++            if (nr_gpr < GPR_COUNT)
++                nr_gpr++;
++            else
++                nr_stack++;
++        }
++    }
++}
++
++static void
++invoke_copy_to_stack(PRUint64 * d, PRUint32 paramCount, nsXPTCVariant * s,
++                     PRUint64 * gpregs, double * fpregs)
++{
++    PRUint32 nr_gpr = 1; // skip one GP register for 'that'
++    PRUint32 nr_fpr = 0;
++    PRUint64 value;
++
++    for (uint32 i = 0; i < paramCount; i++, s++) {
++        if (s->IsPtrData())
++            value = (PRUint64) s->ptr;
++        else {
++            switch (s->type) {
++            case nsXPTType::T_FLOAT:                                break;
++            case nsXPTType::T_DOUBLE:                               break;
++            case nsXPTType::T_I8:     value = s->val.i8;            break;
++            case nsXPTType::T_I16:    value = s->val.i16;           break;
++            case nsXPTType::T_I32:    value = s->val.i32;           break;
++            case nsXPTType::T_I64:    value = s->val.i64;           break;
++            case nsXPTType::T_U8:     value = s->val.u8;            break;
++            case nsXPTType::T_U16:    value = s->val.u16;           break;
++            case nsXPTType::T_U32:    value = s->val.u32;           break;
++            case nsXPTType::T_U64:    value = s->val.u64;           break;
++            case nsXPTType::T_BOOL:   value = s->val.b;             break;
++            case nsXPTType::T_CHAR:   value = s->val.c;             break;
++            case nsXPTType::T_WCHAR:  value = s->val.wc;            break;
++            default:                  value = (PRUint64) s->val.p;  break;
++            }
++        }
++
++        if (!s->IsPtrData() && s->type == nsXPTType::T_DOUBLE) {
++            if (nr_fpr < FPR_COUNT)
++                fpregs[nr_fpr++] = s->val.d;
++            else {
++                *((double *)d) = s->val.d;
++                d++;
++            }
++        }
++        else if (!s->IsPtrData() && s->type == nsXPTType::T_FLOAT) {
++            if (nr_fpr < FPR_COUNT)
++                // The value in %xmm register is already prepared to
++                // be retrieved as a float. Therefore, we pass the
++                // value verbatim, as a double without conversion.
++                fpregs[nr_fpr++] = s->val.d;
++            else {
++                *((float *)d) = s->val.f;
++                d++;
++            }
++        }
++        else {
++            if (nr_gpr < GPR_COUNT)
++                gpregs[nr_gpr++] = value;
++            else
++                *d++ = value;
++        }
++    }
++}
++
++extern "C"
++XPTC_PUBLIC_API(nsresult)
++XPTC_InvokeByIndex(nsISupports * that, PRUint32 methodIndex,
++                   PRUint32 paramCount, nsXPTCVariant * params)
++{
++    PRUint32 nr_gpr, nr_fpr, nr_stack;
++    invoke_count_words(paramCount, params, nr_gpr, nr_fpr, nr_stack);
++    
++    // Stack, if used, must be 16-bytes aligned
++    if (nr_stack)
++        nr_stack = (nr_stack + 1) & ~1;
++
++    // Load parameters to stack, if necessary
++    PRUint64 *stack = (PRUint64 *) __builtin_alloca(nr_stack * 8);
++    PRUint64 gpregs[GPR_COUNT];
++    double fpregs[FPR_COUNT];
++    invoke_copy_to_stack(stack, paramCount, params, gpregs, fpregs);
++
++    // Load FPR registers from fpregs[]
++    register double d0 asm("xmm0");
++    register double d1 asm("xmm1");
++    register double d2 asm("xmm2");
++    register double d3 asm("xmm3");
++    register double d4 asm("xmm4");
++    register double d5 asm("xmm5");
++    register double d6 asm("xmm6");
++    register double d7 asm("xmm7");
++
++    switch (nr_fpr) {
++#define ARG_FPR(N) \
++    case N+1: d##N = fpregs[N];
++        ARG_FPR(7);
++        ARG_FPR(6);
++        ARG_FPR(5);
++        ARG_FPR(4);
++        ARG_FPR(3);
++        ARG_FPR(2);
++        ARG_FPR(1);
++        ARG_FPR(0);
++    case 0:;
++#undef ARG_FPR
++    }
++    
++    // Load GPR registers from gpregs[]
++    register PRUint64 a0 asm("rdi");
++    register PRUint64 a1 asm("rsi");
++    register PRUint64 a2 asm("rdx");
++    register PRUint64 a3 asm("rcx");
++    register PRUint64 a4 asm("r8");
++    register PRUint64 a5 asm("r9");
++    
++    switch (nr_gpr) {
++#define ARG_GPR(N) \
++    case N+1: a##N = gpregs[N];
++        ARG_GPR(5);
++        ARG_GPR(4);
++        ARG_GPR(3);
++        ARG_GPR(2);
++        ARG_GPR(1);
++    case 1: a0 = (PRUint64) that;
++    case 0:;
++#undef ARG_GPR
++    }
++
++    // Ensure that assignments to SSE registers won't be optimized away
++    asm("" ::
++        "x" (d0), "x" (d1), "x" (d2), "x" (d3),
++        "x" (d4), "x" (d5), "x" (d6), "x" (d7));
++    
++    // Get pointer to method
++    PRUint64 methodAddress = *((PRUint64 *)that);
++    methodAddress += 8 * methodIndex;
++    methodAddress = *((PRUint64 *)methodAddress);
++    
++    typedef PRUint32 (*Method)(PRUint64, PRUint64, PRUint64, PRUint64, PRUint64, PRUint64);
++    PRUint32 result = ((Method)methodAddress)(a0, a1, a2, a3, a4, a5);
++    return result;
++}
+--- /dev/null	Wed Dec 31 16:00:00 1969
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_amd64_freebsd.cpp	Thu Oct 16 23:01:08 2003
+@@ -0,0 +1,206 @@
++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++
++// Implement shared vtbl methods.
++
++#include "xptcprivate.h"
++
++// The Linux/x86-64 ABI passes the first 6 integral parameters and the
++// first 8 floating point parameters in registers (rdi, rsi, rdx, rcx,
++// r8, r9 and xmm0-xmm7), no stack space is allocated for these by the
++// caller.  The rest of the parameters are passed in the callers stack
++// area.
++
++const PRUint32 PARAM_BUFFER_COUNT   = 16;
++const PRUint32 GPR_COUNT            = 6;
++const PRUint32 FPR_COUNT            = 8;
++
++// PrepareAndDispatch() is called by SharedStub() and calls the actual method.
++//
++// - 'args[]' contains the arguments passed on stack
++// - 'gpregs[]' contains the arguments passed in integer registers
++// - 'fpregs[]' contains the arguments passed in floating point registers
++// 
++// The parameters are mapped into an array of type 'nsXPTCMiniVariant'
++// and then the method gets called.
++
++extern "C" nsresult
++PrepareAndDispatch(nsXPTCStubBase * self, PRUint32 methodIndex,
++                   PRUint64 * args, PRUint64 * gpregs, double *fpregs)
++{
++    nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
++    nsXPTCMiniVariant* dispatchParams = NULL;
++    nsIInterfaceInfo* iface_info = NULL;
++    const nsXPTMethodInfo* info;
++    PRUint32 paramCount;
++    PRUint32 i;
++    nsresult result = NS_ERROR_FAILURE;
++
++    NS_ASSERTION(self,"no self");
++
++    self->GetInterfaceInfo(&iface_info);
++    NS_ASSERTION(iface_info,"no interface info");
++    if (! iface_info)
++        return NS_ERROR_UNEXPECTED;
++
++    iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
++    NS_ASSERTION(info,"no method info");
++    if (! info)
++        return NS_ERROR_UNEXPECTED;
++
++    paramCount = info->GetParamCount();
++
++    // setup variant array pointer
++    if(paramCount > PARAM_BUFFER_COUNT)
++        dispatchParams = new nsXPTCMiniVariant[paramCount];
++    else
++        dispatchParams = paramBuffer;
++
++    NS_ASSERTION(dispatchParams,"no place for params");
++    if (! dispatchParams)
++        return NS_ERROR_OUT_OF_MEMORY;
++
++    PRUint64* ap = args;
++    PRUint32 nr_gpr = 1;    // skip one GPR register for 'that'
++    PRUint32 nr_fpr = 0;
++    PRUint64 value;
++
++    for(i = 0; i < paramCount; i++) {
++        const nsXPTParamInfo& param = info->GetParam(i);
++        const nsXPTType& type = param.GetType();
++        nsXPTCMiniVariant* dp = &dispatchParams[i];
++	
++        if (!param.IsOut() && type == nsXPTType::T_DOUBLE) {
++            if (nr_fpr < FPR_COUNT)
++                dp->val.d = fpregs[nr_fpr++];
++            else
++                dp->val.d = *(double*) ap++;
++            continue;
++        }
++        else if (!param.IsOut() && type == nsXPTType::T_FLOAT) {
++            if (nr_fpr < FPR_COUNT)
++                // The value in %xmm register is already prepared to
++                // be retrieved as a float. Therefore, we pass the
++                // value verbatim, as a double without conversion.
++                dp->val.d = *(double*) ap++;
++            else
++                dp->val.f = *(float*) ap++;
++            continue;
++        }
++        else {
++            if (nr_gpr < GPR_COUNT)
++                value = gpregs[nr_gpr++];
++            else
++                value = *ap++;
++        }
++
++        if (param.IsOut() || !type.IsArithmetic()) {
++            dp->val.p = (void*) value;
++            continue;
++        }
++
++        switch (type) {
++        case nsXPTType::T_I8:      dp->val.i8  = (PRInt8)   value; break;
++        case nsXPTType::T_I16:     dp->val.i16 = (PRInt16)  value; break;
++        case nsXPTType::T_I32:     dp->val.i32 = (PRInt32)  value; break;
++        case nsXPTType::T_I64:     dp->val.i64 = (PRInt64)  value; break;
++        case nsXPTType::T_U8:      dp->val.u8  = (PRUint8)  value; break;
++        case nsXPTType::T_U16:     dp->val.u16 = (PRUint16) value; break;
++        case nsXPTType::T_U32:     dp->val.u32 = (PRUint32) value; break;
++        case nsXPTType::T_U64:     dp->val.u64 = (PRUint64) value; break;
++        case nsXPTType::T_BOOL:    dp->val.b   = (PRBool)   value; break;
++        case nsXPTType::T_CHAR:    dp->val.c   = (char)     value; break;
++        case nsXPTType::T_WCHAR:   dp->val.wc  = (wchar_t)  value; break;
++
++        default:
++            NS_ASSERTION(0, "bad type");
++            break;
++        }
++    }
++
++    result = self->CallMethod((PRUint16) methodIndex, info, dispatchParams);
++
++    NS_RELEASE(iface_info);
++
++    if (dispatchParams != paramBuffer)
++        delete [] dispatchParams;
++
++    return result;
++}
++
++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
++// Linux/x86-64 uses gcc >= 3.1
++#define STUB_ENTRY(n) \
++asm(".section	\".text\"\n\t" \
++    ".align	2\n\t" \
++    ".if	" #n " < 10\n\t" \
++    ".globl	_ZN14nsXPTCStubBase5Stub" #n "Ev\n\t" \
++    ".type	_ZN14nsXPTCStubBase5Stub" #n "Ev,@function\n" \
++    "_ZN14nsXPTCStubBase5Stub" #n "Ev:\n\t" \
++    ".elseif	" #n " < 100\n\t" \
++    ".globl	_ZN14nsXPTCStubBase6Stub" #n "Ev\n\t" \
++    ".type	_ZN14nsXPTCStubBase6Stub" #n "Ev,@function\n" \
++    "_ZN14nsXPTCStubBase6Stub" #n "Ev:\n\t" \
++    ".elseif    " #n " < 1000\n\t" \
++    ".globl     _ZN14nsXPTCStubBase7Stub" #n "Ev\n\t" \
++    ".type      _ZN14nsXPTCStubBase7Stub" #n "Ev,@function\n" \
++    "_ZN14nsXPTCStubBase7Stub" #n "Ev:\n\t" \
++    ".else\n\t" \
++    ".err	\"stub number " #n " >= 1000 not yet supported\"\n\t" \
++    ".endif\n\t" \
++    "movl	$" #n ", %eax\n\t" \
++    "jmp	SharedStub\n\t" \
++    ".if	" #n " < 10\n\t" \
++    ".size	_ZN14nsXPTCStubBase5Stub" #n "Ev,.-_ZN14nsXPTCStubBase5Stub" #n "Ev\n\t" \
++    ".elseif	" #n " < 100\n\t" \
++    ".size	_ZN14nsXPTCStubBase6Stub" #n "Ev,.-_ZN14nsXPTCStubBase6Stub" #n "Ev\n\t" \
++    ".else\n\t" \
++    ".size	_ZN14nsXPTCStubBase7Stub" #n "Ev,.-_ZN14nsXPTCStubBase7Stub" #n "Ev\n\t" \
++    ".endif");
++
++// static nsresult SharedStub(PRUint32 methodIndex)
++asm(".section   \".text\"\n\t"
++    ".align     2\n\t"
++    ".type      SharedStub,@function\n\t"
++    "SharedStub:\n\t"
++    // make room for gpregs (48), fpregs (64)
++    "pushq      %rbp\n\t"
++    "movq       %rsp,%rbp\n\t"
++    "subq       $112,%rsp\n\t"
++    // save GP registers
++    "movq       %rdi,-112(%rbp)\n\t"
++    "movq       %rsi,-104(%rbp)\n\t"
++    "movq       %rdx, -96(%rbp)\n\t"
++    "movq       %rcx, -88(%rbp)\n\t"
++    "movq       %r8 , -80(%rbp)\n\t"
++    "movq       %r9 , -72(%rbp)\n\t"
++    "leaq       -112(%rbp),%rcx\n\t"
++    // save FP registers
++    "movsd      %xmm0,-64(%rbp)\n\t"
++    "movsd      %xmm1,-56(%rbp)\n\t"
++    "movsd      %xmm2,-48(%rbp)\n\t"
++    "movsd      %xmm3,-40(%rbp)\n\t"
++    "movsd      %xmm4,-32(%rbp)\n\t"
++    "movsd      %xmm5,-24(%rbp)\n\t"
++    "movsd      %xmm6,-16(%rbp)\n\t"
++    "movsd      %xmm7, -8(%rbp)\n\t"
++    "leaq       -64(%rbp),%r8\n\t"
++    // rdi has the 'self' pointer already
++    "movl       %eax,%esi\n\t"
++    "leaq       16(%rbp),%rdx\n\t"
++    "call       PrepareAndDispatch\n\t"
++    "leave\n\t"
++    "ret\n\t"
++    ".size      SharedStub,.-SharedStub");
++
++#define SENTINEL_ENTRY(n) \
++nsresult nsXPTCStubBase::Sentinel##n() \
++{ \
++    NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
++    return NS_ERROR_NOT_IMPLEMENTED; \
++}
++
++#include "xptcstubsdef.inc"
++
++#else
++#error "can't find a compiler to use"
++#endif /* __GNUC__ */

Added: trunk/www/seamonkey2/files/patch-xptcall-ia64
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-xptcall-ia64	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,38 @@
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ipf64.s.orig	2009-08-26 18:47:07.000000000 +0200
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ipf64.s	2009-08-26 18:49:39.000000000 +0200
+@@ -8,6 +8,7 @@
+ // Section has executable code
+         .section .text, "ax","progbits"
+ // procedure named 'NS_InvokeByIndex_P'
++	.global XPTC_InvokeByIndex
+         .proc   NS_InvokeByIndex_P
+ // manual bundling
+         .explicit
+@@ -24,7 +25,7 @@
+ 
+ // XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
+ //   PRUint32 paramCount, nsXPTCVariant* params);
+-NS_InvokeByIndex_P::
++NS_InvokeByIndex_P:
+         .prologue
+         .save ar.pfs, r37
+ // allocate 4 input args, 6 local args, and 8 output args
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s.orig	2009-08-26 18:47:07.000000000 +0200
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ipf64.s	2009-08-26 18:47:34.000000000 +0200
+@@ -6,6 +6,7 @@
+ // Section has executable code
+         .section .text, "ax","progbits"
+ // procedure named 'SharedStub'
++	.global SharedStub
+         .proc   SharedStub
+ // manual bundling
+         .explicit
+@@ -14,7 +15,7 @@
+ //      .exclass  PrepareAndDispatch, @fullyvisible
+         .type   PrepareAndDispatch,@function
+ 
+-SharedStub::
++SharedStub:
+ // 10 arguments, first 8 are the input arguments of previous
+ // function call.  The 9th one is methodIndex and the 10th is the
+ // pointer to the remaining input arguments.  The last two arguments

Added: trunk/www/seamonkey2/files/patch-xptcall-sparc64
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/patch-xptcall-sparc64	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,327 @@
+--- /dev/null	Mon May 26 13:22:00 2003
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_sparc64_freebsd.cpp	Mon May 26 04:12:55 2003
+@@ -0,0 +1,123 @@
++/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
++ *
++ * 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.org code.
++ * 
++ * The Initial Developer of the Original Code is Netscape
++ * Communications Corporation. Portions created by Netscape are
++ * Copyright (C) 2001 Netscape Communications Corporation. All
++ * Rights Reserved.
++ * 
++ * Contributor(s): 
++ *   Stuart Parmenter <pavlov@netscape.com>
++ */
++
++/* Implement shared vtbl methods. */
++
++#include "xptcprivate.h"
++
++#if defined(sparc) || defined(__sparc__)
++
++extern "C" nsresult
++PrepareAndDispatch(nsXPTCStubBase* self, PRUint64 methodIndex, PRUint64* args)
++{
++
++#define PARAM_BUFFER_COUNT     16
++
++    nsXPTCMiniVariant paramBuffer[PARAM_BUFFER_COUNT];
++    nsXPTCMiniVariant* dispatchParams = NULL;
++    nsIInterfaceInfo* iface_info = NULL;
++    const nsXPTMethodInfo* info;
++    PRUint8 paramCount;
++    PRUint8 i;
++    nsresult result = NS_ERROR_FAILURE;
++
++    NS_ASSERTION(self,"no self");
++
++    self->GetInterfaceInfo(&iface_info);
++    NS_ASSERTION(iface_info,"no interface info");
++
++    iface_info->GetMethodInfo(PRUint16(methodIndex), &info);
++    NS_ASSERTION(info,"no interface info");
++
++    paramCount = info->GetParamCount();
++
++    // setup variant array pointer
++    if(paramCount > PARAM_BUFFER_COUNT)
++        dispatchParams = new nsXPTCMiniVariant[paramCount];
++    else
++        dispatchParams = paramBuffer;
++    NS_ASSERTION(dispatchParams,"no place for params");
++
++    PRUint64* ap = args;
++    for(i = 0; i < paramCount; i++, ap++)
++    {
++        const nsXPTParamInfo& param = info->GetParam(i);
++        const nsXPTType& type = param.GetType();
++        nsXPTCMiniVariant* dp = &dispatchParams[i];
++
++        if(param.IsOut() || !type.IsArithmetic())
++        {
++            dp->val.p = (void*) *ap;
++            continue;
++        }
++        // else
++        switch(type)
++        {
++        case nsXPTType::T_I8     : dp->val.i8  = *((PRInt64*)  ap);      break;
++        case nsXPTType::T_I16    : dp->val.i16 = *((PRInt64*) ap);       break;
++        case nsXPTType::T_I32    : dp->val.i32 = *((PRInt64*) ap);       break;
++        case nsXPTType::T_DOUBLE : dp->val.d   = *((double*) ap);        break;
++        case nsXPTType::T_U64    : dp->val.u64 = *((PRUint64*) ap);      break;
++        case nsXPTType::T_I64    : dp->val.i64 = *((PRInt64*) ap);       break;
++        case nsXPTType::T_U8     : dp->val.u8  = *((PRUint64*) ap);      break;
++        case nsXPTType::T_U16    : dp->val.u16 = *((PRUint64*)ap);       break;
++        case nsXPTType::T_U32    : dp->val.u32 = *((PRUint64*)ap);       break;
++        case nsXPTType::T_FLOAT  : dp->val.f   = ((float*)   ap)[1];     break;
++        case nsXPTType::T_BOOL   : dp->val.b   = *((PRInt64*)  ap);      break;
++        case nsXPTType::T_CHAR   : dp->val.c   = *((PRUint64*) ap);      break;
++        case nsXPTType::T_WCHAR  : dp->val.wc  = *((PRInt64*) ap);       break;
++        default:
++            NS_ASSERTION(0, "bad type");
++            break;
++        }
++    }
++
++    result = self->CallMethod((PRUint16)methodIndex, info, dispatchParams);
++
++    NS_RELEASE(iface_info);
++
++    if(dispatchParams != paramBuffer)
++        delete [] dispatchParams;
++
++    return result;
++}
++
++extern "C" int SharedStub(int, int*);
++
++#define STUB_ENTRY(n) \
++nsresult nsXPTCStubBase::Stub##n() \
++{ \
++	int dummy; /* defeat tail-call optimization */ \
++	return SharedStub(n, &dummy); \
++}
++
++#define SENTINEL_ENTRY(n) \
++nsresult nsXPTCStubBase::Sentinel##n() \
++{ \
++    NS_ASSERTION(0,"nsXPTCStubBase::Sentinel called"); \
++    return NS_ERROR_NOT_IMPLEMENTED; \
++}
++
++#include "xptcstubsdef.inc"
++
++#endif /* sparc || __sparc__ */
+--- /dev/null	Mon May 26 13:22:00 2003
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_sparc64_freebsd.s	Mon May 26 04:06:09 2003
+@@ -0,0 +1,104 @@
++/* -*- Mode: asm; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
++ *
++ * 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.org code.
++ * 
++ * The Initial Developer of the Original Code is Netscape
++ * Communications Corporation. Portions created by Netscape are
++ * Copyright (C) 2001 Netscape Communications Corporation. All
++ * Rights Reserved.
++ * 
++ * Contributor(s): 
++ *   Stuart Parmenter <pavlov@netscape.com>
++ *   Chris Seawood <cls@seawood.org>
++ */
++
++/*
++    Platform specific code to invoke XPCOM methods on native objects
++    for sparcv9 Solaris.
++
++    See the SPARC Compliance Definition (SCD) Chapter 3
++    for more information about what is going on here, including
++    the use of BIAS (0x7ff).
++    The SCD is available from http://www.sparc.com/.
++*/
++
++        .global XPTC_InvokeByIndex
++        .type   XPTC_InvokeByIndex, #function
++
++/*
++    XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
++                   PRUint32 paramCount, nsXPTCVariant* params);
++    
++*/
++XPTC_InvokeByIndex:
++        save    %sp,-(128 + 64),%sp ! room for the register window and
++                                    ! struct pointer, rounded up to 0 % 64
++        sll     %i2,4,%l0           ! assume the worst case
++                                    ! paramCount * 2 * 8 bytes
++        cmp     %l0, 0              ! are there any args? If not,
++        be      .invoke             ! no need to copy args to stack
++         nop
++
++        sub     %sp,%l0,%sp         ! create the additional stack space
++        add     %sp,0x7ff+136,%o0   ! step past the register window, the
++                                    ! struct result pointer and the 'this' slot
++        mov     %i2,%o1             ! paramCount
++        call    invoke_copy_to_stack
++        mov     %i3,%o2             ! params
++
++!
++!   load arguments from stack into the outgoing registers
++!   BIAS is 0x7ff (2047)
++!
++
++!   load the %o1..5 64bit (extended word) output registers registers 
++        ldx     [%sp + 0x7ff + 136],%o1    ! %i1
++        ldx     [%sp + 0x7ff + 144],%o2    ! %i2
++        ldx     [%sp + 0x7ff + 152],%o3    ! %i3
++        ldx     [%sp + 0x7ff + 160],%o4    ! %i4
++        ldx     [%sp + 0x7ff + 168],%o5    ! %i5
++
++!   load the even number double registers starting with %d2
++        ldd     [%sp + 0x7ff + 136],%f2
++        ldd     [%sp + 0x7ff + 144],%f4
++        ldd     [%sp + 0x7ff + 152],%f6
++        ldd     [%sp + 0x7ff + 160],%f8
++        ldd     [%sp + 0x7ff + 168],%f10
++        ldd     [%sp + 0x7ff + 176],%f12
++        ldd     [%sp + 0x7ff + 184],%f14
++        ldd     [%sp + 0x7ff + 192],%f16
++        ldd     [%sp + 0x7ff + 200],%f18
++        ldd     [%sp + 0x7ff + 208],%f20
++        ldd     [%sp + 0x7ff + 216],%f22
++        ldd     [%sp + 0x7ff + 224],%f24
++        ldd     [%sp + 0x7ff + 232],%f26
++        ldd     [%sp + 0x7ff + 240],%f28
++        ldd     [%sp + 0x7ff + 248],%f30
++
++!
++!   calculate the target address from the vtable
++!
++.invoke:
++        sll     %i1,3,%l0           ! index *= 8
++!       add     %l0,16,%l0          ! there are 2 extra entries in the vTable (16bytes)
++        ldx     [%i0],%l1           ! *that --> address of vtable
++        ldx     [%l0 + %l1],%l0     ! that->vtable[index * 8 + 16] --> address
++
++        jmpl    %l0,%o7             ! call the routine
++        mov     %i0,%o0             ! move 'this' pointer to out register
++
++        mov     %o0,%i0             ! propagate return value
++        ret
++        restore
++
++        .size    XPTC_InvokeByIndex, .-XPTC_InvokeByIndex
+--- /dev/null	Mon May 26 14:00:00 2003
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_sparc64_freebsd.cpp	Mon May 26 14:00:49 2003
+@@ -0,0 +1,91 @@
++/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
++ *
++ * 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.org code.
++ * 
++ * The Initial Developer of the Original Code is Netscape
++ * Communications Corporation. Portions created by Netscape are
++ * Copyright (C) 2001 Netscape Communications Corporation. All
++ * Rights Reserved.
++ * 
++ * Contributor(s): 
++ *   Stuart Parmenter <pavlov@netscape.com>
++ *   Chris Seawood <cls@seawood.org>
++ */
++
++
++/* Platform specific code to invoke XPCOM methods on native objects */
++
++#include "xptcprivate.h"
++
++#if !defined(__sparc) && !defined(__sparc__)
++#error "This code is for Sparc only"
++#endif
++
++/* Prototype specifies unmangled function name */
++extern "C" PRUint64
++invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s);
++
++extern "C" PRUint64
++invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s)
++{
++  /*
++    We need to copy the parameters for this function to locals and use them
++    from there since the parameters occupy the same stack space as the stack
++    we're trying to populate.
++  */
++  PRUint64 *l_d = d;
++  nsXPTCVariant *l_s = s;
++  PRUint64 l_paramCount = paramCount;
++  PRUint64 regCount = 0;  // return the number of registers to load from the stack
++
++  for(PRUint64 i = 0; i < l_paramCount; i++, l_d++, l_s++)
++  {
++    if (regCount < 5) regCount++;
++
++    if (l_s->IsPtrData())
++    {
++      *l_d = (PRUint64)l_s->ptr;
++      continue;
++    }
++    switch (l_s->type)
++    {
++      case nsXPTType::T_I8    : *((PRInt64*)l_d)     = l_s->val.i8;    break;
++      case nsXPTType::T_I16   : *((PRInt64*)l_d)     = l_s->val.i16;   break;
++      case nsXPTType::T_I32   : *((PRInt64*)l_d)     = l_s->val.i32;   break;
++      case nsXPTType::T_I64   : *((PRInt64*)l_d)     = l_s->val.i64;   break;
++      
++      case nsXPTType::T_U8    : *((PRUint64*)l_d)    = l_s->val.u8;    break;
++      case nsXPTType::T_U16   : *((PRUint64*)l_d)    = l_s->val.u16;   break;
++      case nsXPTType::T_U32   : *((PRUint64*)l_d)    = l_s->val.u32;   break;
++      case nsXPTType::T_U64   : *((PRUint64*)l_d)    = l_s->val.u64;   break;
++
++      /* in the case of floats, we want to put the bits in to the
++         64bit space right justified... floats in the paramter array on
++         sparcv9 use odd numbered registers.. %f1, %f3, so we have to skip
++         the space that would be occupied by %f0, %f2, etc.
++      */
++      case nsXPTType::T_FLOAT : *(((float*)l_d) + 1) = l_s->val.f;     break;
++      case nsXPTType::T_DOUBLE: *((double*)l_d)      = l_s->val.d;     break;
++      case nsXPTType::T_BOOL  : *((PRInt64*)l_d)     = l_s->val.b;     break;
++      case nsXPTType::T_CHAR  : *((PRUint64*)l_d)    = l_s->val.c;     break;
++      case nsXPTType::T_WCHAR : *((PRInt64*)l_d)     = l_s->val.wc;    break;
++
++      default:
++        // all the others are plain pointer types
++        *((void**)l_d) = l_s->val.p;
++        break;
++    }
++  }
++  
++  return regCount;
++}

Added: trunk/www/seamonkey2/files/releng6_pulseaudio
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/releng6_pulseaudio	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,55 @@
+--- mozilla/media/libsydneyaudio/src/Makefile.in.orig	2009-08-11 17:22:08.000000000 +0200
++++ mozilla/media/libsydneyaudio/src/Makefile.in	2009-08-11 17:22:36.000000000 +0200
+@@ -45,6 +45,12 @@
+ LIBRARY_NAME	= sydneyaudio
+ FORCE_STATIC_LIB= 1
+ 
++ifeq ($(OS_ARCH),FreeBSD)
++CSRCS		= \
++		sydney_audio_pulseaudio.c \
++		$(NULL)
++endif
++
+ ifeq ($(OS_ARCH),Linux)
+ CSRCS		= \
+ 		sydney_audio_alsa.c \
+--- mozilla/toolkit/library/Makefile.in.orig	2009-09-03 19:49:34.000000000 +0200
++++ mozilla/toolkit/library/Makefile.in	2009-09-17 17:30:42.000000000 +0200
+@@ -228,12 +228,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
+ EXTRA_DSO_LDOPTS += $(FT2_LIBS)
+ endif
+ 
+ ifeq (qt,$(MOZ_WIDGET_TOOLKIT))
+-EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XT_LIBS) $(MOZ_QT_LIBS) -lgthread-2.0
++EXTRA_DSO_LDOPTS += $(XLDFLAGS) $(XLIBS) $(XT_LIBS) $(MOZ_QT_LIBS) -lgthread-2.0 -lpulse -lpthread
+ EXTRA_DSO_LDOPTS += $(FT2_LIBS)
+ endif
+ 
+--- mozilla/layout/build/Makefile.in.orig	2009-09-17 23:07:56.000000000 +0200
++++ mozilla/layout/build/Makefile.in	2009-09-17 23:15:53.000000000 +0200
+@@ -269,6 +269,10 @@
+ endif
+ endif
+ 
++ifeq ($(OS_ARCH),FreeBSD)
++EXTRA_DSO_LDOPTS += -lpulse -lpthread
++endif
++
+ include $(topsrcdir)/config/rules.mk
+ 
+ LOCAL_INCLUDES	+= -I$(srcdir)/../base \
+--- mozilla/xpcom/base/nsStackWalk.cpp.orig	2009-11-30 22:47:52.000000000 +0100
++++ mozilla/xpcom/base/nsStackWalk.cpp	2009-11-30 22:48:09.000000000 +0100
+@@ -1115,6 +1115,7 @@
+ #include "nscore.h"
+ #include <stdio.h>
+ #include "plstr.h"
++#include <dlfcn.h>
+ 
+ // On glibc 2.1, the Dl_info api defined in <dlfcn.h> is only exposed
+ // if __USE_GNU is defined.  I suppose its some kind of standards

Added: trunk/www/seamonkey2/files/seamonkey.desktop.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/files/seamonkey.desktop.in	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,169 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Seamonkey Web Browser
+Name[az]=Seamonkey Veb Səyyahı
+Name[bg]=Интернет браузър (Seamonkey)
+Name[bs]=Seamonkey web preglednik
+Name[ca]=Navegador web Seamonkey
+Name[cs]=Prohlížeč WWW Seamonkey
+Name[cy]=Y Porwr Gwe Seamonkey
+Name[da]=Seamonkey - internetbrowser
+Name[de]=Seamonkey Webbrowser
+Name[el]=Περιηγητής Διαδικτύου Seamonkey
+Name[en_CA]=Seamonkey Web Browser
+Name[en_GB]=Seamonkey Web Browser
+Name[es]=Navegador Web Seamonkey
+Name[et]=Seamonkey veebibrauser
+Name[eu]=Seamonkey web arakatzailea
+Name[fa]=مرورگر وب Seamonkey
+Name[fi]=Seamonkey, WWW-selain
+Name[fr]=Navigateur Web Seamonkey
+Name[ga]=Brabhsálaí Lín Seamonkey
+Name[he]=דפדפן Seamonkey
+Name[hr]=Seamonkey Web preglednik
+Name[hu]=Seamonkey webböngésző
+Name[id]=Web Browser Seamonkey
+Name[it]=Browser web Seamonkey
+Name[ja]=Seamonkey ウェブ・ブラウザ
+Name[ko]=Seamonkey 웹 브라우저
+Name[li]=Seamonkey Web Browser
+Name[lt]=Seamonkey web naršyklė
+Name[mk]=Seamonkey Веб Прелистувач
+Name[mn]=Seamonkey веб хөтөч
+Name[ms]=Pelungsur Web Seamonkey
+Name[nb]=Seamonkey nettleser
+Name[nl]=Seamonkey webbrowser
+Name[nn]=Seamonkey nettlesar
+Name[no]=Seamonkey nettleser
+Name[pl]=Przeglądarka WWW Seamonkey
+Name[pt]=Navegador Web Seamonkey
+Name[pt_BR]=Navegador Web Seamonkey
+Name[ro]=Navigatorul Seamonkey
+Name[sl]=Spletni brskalnik Seamonkey
+Name[sq]=Seamonkey - Shfletuesi Web
+Name[sv]=Webbläsaren Seamonkey
+Name[tk]=Seamonkey Web Ahtarçisi
+Name[tr]=Seamonkey Web Tarayıcı
+Name[uk]=Переглядач web Seamonkey
+Name[vi]=Trình Duyệt Web Seamonkey
+Name[wa]=Betchteu waibe Seamonkey
+Name[zh_CN]=Seamonkey Web 浏览器
+Name[zh_TW]=Seamonkey 網頁瀏覽器
+GenericName=Seamonkey Web Browser
+GenericName[az]=Seamonkey Veb Səyyahı
+GenericName[bg]=Интернет браузър (Seamonkey)
+GenericName[bs]=Seamonkey web preglednik
+GenericName[ca]=Navegador web Seamonkey
+GenericName[cs]=Prohlížeč WWW Seamonkey
+GenericName[cy]=Y Porwr Gwe Seamonkey
+GenericName[da]=Seamonkey - internetbrowser
+GenericName[de]=Seamonkey Webbrowser
+GenericName[el]=Περιηγητής Διαδικτύου Seamonkey
+GenericName[en_CA]=Seamonkey Web Browser
+GenericName[en_GB]=Seamonkey Web Browser
+GenericName[es]=Navegador Web Seamonkey
+GenericName[et]=Seamonkey veebibrauser
+GenericName[eu]=Seamonkey web arakatzailea
+GenericName[fa]=مرورگر وب Seamonkey
+GenericName[fi]=Seamonkey, WWW-selain
+GenericName[fr]=Navigateur Web Seamonkey
+GenericName[ga]=Brabhsálaí Lín Seamonkey
+GenericName[he]=דפדפן Seamonkey
+GenericName[hr]=Seamonkey Web preglednik
+GenericName[hu]=Seamonkey webböngésző
+GenericName[id]=Web Browser Seamonkey
+GenericName[it]=Browser web Seamonkey
+GenericName[ja]=Seamonkey ウェブ・ブラウザ
+GenericName[ko]=Seamonkey 웹 브라우저
+GenericName[li]=Seamonkey Web Browser
+GenericName[lt]=Seamonkey web naršyklė
+GenericName[mk]=Seamonkey Веб Прелистувач
+GenericName[mn]=Seamonkey веб хөтөч
+GenericName[ms]=Pelungsur Web Seamonkey
+GenericName[nb]=Seamonkey nettleser
+GenericName[nl]=Seamonkey webbrowser
+GenericName[nn]=Seamonkey nettlesar
+GenericName[no]=Seamonkey nettleser
+GenericName[pl]=Przeglądarka WWW Seamonkey
+GenericName[pt]=Navegador Web Seamonkey
+GenericName[pt_BR]=Navegador Web Seamonkey
+GenericName[ro]=Navigatorul Seamonkey
+GenericName[sl]=Spletni brskalnik Seamonkey
+GenericName[sq]=Seamonkey - Shfletuesi Web
+GenericName[sv]=Webbläsaren Seamonkey
+GenericName[tk]=Seamonkey Web Ahtarçisi
+GenericName[tr]=Seamonkey Web Tarayıcı
+GenericName[uk]=Переглядач web Seamonkey
+GenericName[vi]=Trình Duyệt Web Seamonkey
+GenericName[wa]=Betchteu waibe Seamonkey
+GenericName[zh_CN]=Seamonkey Web 浏览器
+GenericName[zh_TW]=Seamonkey 網頁瀏覽器
+Comment=Browse the web
+Comment[ar]=تصفح الانترنت
+Comment[az]=Vebi gəzin
+Comment[be]=Вандраваць па павуціньню
+Comment[bg]=Сърфиране в интернет
+Comment[bn]=ওয়েব ব্রাউজ করুন
+Comment[bs]=Pregledaj na internetu
+Comment[ca]=Navegueu per la web
+Comment[cs]=Prohlížet WWW
+Comment[cy]=Pori'r we
+Comment[da]=Benyt internettet
+Comment[de]=Im Web surfen
+Comment[el]=Περιήγηση στον παγκόσμιο ιστό
+Comment[en_CA]=Browse the web
+Comment[en_GB]=Browse the web
+Comment[es]=Navegar por la web
+Comment[et]=Sirvi veebi
+Comment[eu]=Arakatu web-a
+Comment[fa]=مرور وب
+Comment[fi]=Selaa WWW:tä
+Comment[fr]=Naviguer sur Internet
+Comment[ga]=Brabhsáil an Líon
+Comment[gu]=વેબમાં શોધો
+Comment[he]=גלוש ברשת
+Comment[hi]=वेब ब्राउज़ करें
+Comment[hr]=Pregledaj Web
+Comment[hu]=A világháló böngészése
+Comment[id]=Jelajah web
+Comment[it]=Esplora il web
+Comment[ja]=ウェブを閲覧します
+Comment[ko]=웹을 돌아 다닙니다
+Comment[li]=Blajere op internet
+Comment[lt]=Naršyti internete
+Comment[mk]=Прелистувајте го вебот
+Comment[ml]=വലക്കെട്ട് തിരയുക
+Comment[mn]=Веб броузе хийх
+Comment[ms]=Layari web
+Comment[nb]=Surf på nettet
+Comment[nl]=Websurfen
+Comment[nn]=Surf på nettet
+Comment[no]=Surf på nettet
+Comment[pa]=ਵੈਬ ਬਰਾਊਜ਼
+Comment[pl]=Przeglądanie stron WWW
+Comment[pt]=Navegar na web
+Comment[pt_BR]=Navegar na web
+Comment[ro]=Navigare Internet
+Comment[ru]=Программа для просмотра веб-страниц
+Comment[sk]=Prehliadať internet
+Comment[sl]=Brskaj po spletu
+Comment[sq]=Eksploro web-in
+Comment[sr]=Прегледај веб
+Comment[sr@Latn]=Pregledaj veb
+Comment[sv]=Surfa på nätet
+Comment[ta]=வலையில் உலாவு
+Comment[th]=ใช้งานเว็บบราวเซอร์ Seamonkey
+Comment[tk]=Webi Ahtar
+Comment[tr]=Web'e Gözat
+Comment[uk]=Програма перегляду web-сторінок
+Comment[vi]=Duyệt web
+Comment[wa]=Naivyî avå les waibes
+Comment[zh_CN]=浏览 Web
+Comment[zh_TW]=瀏覽網頁
+Exec=seamonkey %U
+StartupNotify=true
+Terminal=false
+Type=Application
+Icon=%%PREFIX%%/lib/seamonkey/chrome/icons/default/default.xpm
+Categories=Application;Network;
+MimeType=text/html;text/xml;application/xhtml+xml;

Added: trunk/www/seamonkey2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/www/seamonkey2/pkg-descr	Mon Dec 14 19:15:53 2009	(r206)
@@ -0,0 +1,6 @@
+This is the current release of the Seamonkey open source web browser. It should 
+be fully compliant with all W3C standards, including HTML, CSS, XML, XSL, 
+JavaScript, MathML, SSL encryption, SVG and RDF.  Also supports Java with
+the use of the FreeBSD native Java plug-in.
+
+WWW: http://www.mozilla.org/projects/seamonkey/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912141915.nBEJFrAT080039>