# HG changeset patch
# User t_mrc-ct@sourceforge.jp
# Date 1349695343 -32400
# Branch GECKO1708_2013080114_RELBRANCH
# Node ID 28a84fee1aee00015ef58cc51a6412f7a40a0290
# Parent  39ba5b68d709754ae48e9aa69c6d0afc550c0350
l10n support

diff --git a/LANGPACK.mozcfg b/LANGPACK.mozcfg
new file mode 100644
--- /dev/null
+++ b/LANGPACK.mozcfg
@@ -0,0 +1,24 @@
+ac_add_options --enable-application=mail
+ac_add_options --enable-calendar
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-tbird-langpack
+
+ac_add_options --disable-compile-environment
+ac_add_options --with-l10n-base=$topsrcdir/../l10n-release
+
+mk_add_options AUTOCONF=autoconf213
+ac_add_options --disable-tests
+ac_add_options --disable-static
+ac_add_options --enable-optimize
+ac_add_options --disable-cpp-exceptions
+ac_add_options --disable-debug
+ac_add_options --disable-crashreporter
+ac_add_options --enable-printing
+ac_add_options --enable-prebinding
+ac_add_options --enable-macos-target=10.4
+ac_add_options --enable-chrome-format=jar
+ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
+ac_add_options --enable-tenfourfox-vmx
+ac_add_options --enable-tenfourfox-g5
+ac_add_options --enable-strip
+ac_add_options --enable-install-strip
+ac_add_options --with-system-jpeg
diff --git a/calendar/locales/Makefile.in b/calendar/locales/Makefile.in
--- a/calendar/locales/Makefile.in
+++ b/calendar/locales/Makefile.in
@@ -59,6 +59,15 @@
 clobber-%:
 	$(RM) -rf $(DIST)/xpi-stage/locale-$*
 
+lightning-langpack-libs-%:
+	$(NSINSTALL) -D $(DIST)/install
+	@$(MAKE) -C ../lightning/locales libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref BOTH_MANIFESTS=1
+	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref BOTH_MANIFESTS=1
+
+
+# PACKAGER_NO_LIBS = 1
+# include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/packager.mk
+
 libs-%:
 	$(NSINSTALL) -D $(DIST)/install
 	@$(MAKE) -C ../../mozilla/toolkit/locales libs-$* BOTH_MANIFESTS=1
diff --git a/mail/locales/Makefile.in b/mail/locales/Makefile.in
--- a/mail/locales/Makefile.in
+++ b/mail/locales/Makefile.in
@@ -37,7 +37,7 @@
 WIN32_INSTALLER_IN ?= $(_ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe
 RETRIEVE_WINDOWS_INSTALLER = 1
 
-MOZ_LANGPACK_EID=langpack-$(AB_CD)@thunderbird.mozilla.org
+MOZ_LANGPACK_EID=langpack-$(AB_CD)@tenfourbird.sourceforge.jp
 
 PREF_JS_EXPORTS = $(firstword $(wildcard $(LOCALE_SRCDIR)/all-l10n.js) \
                        $(srcdir)/en-US/all-l10n.js )
@@ -84,6 +84,9 @@
 	@$(MAKE) -C ../../editor/ui/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
 	@$(MAKE) -C ../../mozilla/extensions/spellcheck/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
 	@$(MAKE) -C ../../mozilla/intl/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
+ifdef MOZ_CALENDAR
+	@$(MAKE) -C ../../calendar/locales lightning-langpack-libs-$* BOTH_MANIFESTS=1
+endif
 	@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref BOTH_MANIFESTS=1
 	@$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$* BOTH_MANIFESTS=1
 
