[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - postprocess/Package_registry.mk solenv/gbuild
David Tardon
dtardon at redhat.com
Thu Nov 28 05:53:39 PST 2013
postprocess/Package_registry.mk | 12 ++++++++++++
solenv/gbuild/extensions/pre_SharedLangList.mk | 6 ++++++
2 files changed, 18 insertions(+)
New commits:
commit 4287763d7dc9a0c43ef06bdebcdcd23457f416c6
Author: David Tardon <dtardon at redhat.com>
Date: Thu Nov 28 12:03:38 2013 +0100
put CJK/CTL .xcds into instdir
Change-Id: Ibbc34014f91c8f1ce73a6e9a8f61fa421fdb9144
(cherry picked from commit 5f9befa22e166ffb790a49b0d41ab823cf347435)
diff --git a/postprocess/Package_registry.mk b/postprocess/Package_registry.mk
index 9bab645..2332e1b 100644
--- a/postprocess/Package_registry.mk
+++ b/postprocess/Package_registry.mk
@@ -16,6 +16,18 @@ $(eval $(call gb_Package_add_files,postprocess_registry,$(LIBO_SHARE_FOLDER)/reg
) \
))
+$(eval $(foreach lang,$(gb_CJK_LANGS),\
+ $(call gb_Package_add_file,postprocess_registry,$(LIBO_SHARE_FOLDER)/registry/cjk_$(lang).xcd,cjk.xcd) \
+))
+
+$(eval $(foreach lang,$(gb_CTL_LANGS),\
+ $(call gb_Package_add_file,postprocess_registry,$(LIBO_SHARE_FOLDER)/registry/ctl_$(lang).xcd,ctl.xcd) \
+))
+
+$(eval $(foreach lang,$(gb_CTLSEQCHECK_LANGS),\
+ $(call gb_Package_add_file,postprocess_registry,$(LIBO_SHARE_FOLDER)/registry/ctlseqcheck_$(lang).xcd,ctlseqcheck.xcd) \
+))
+
$(eval $(call gb_Package_add_files,postprocess_registry,$(LIBO_SHARE_FOLDER)/registry/res,\
$(foreach lang,$(gb_Configuration_LANGS), \
fcfg_langpack_$(lang).xcd \
diff --git a/solenv/gbuild/extensions/pre_SharedLangList.mk b/solenv/gbuild/extensions/pre_SharedLangList.mk
index 16ab3fc..4d32a3e 100644
--- a/solenv/gbuild/extensions/pre_SharedLangList.mk
+++ b/solenv/gbuild/extensions/pre_SharedLangList.mk
@@ -44,4 +44,10 @@ gb_HELP_LANGS += \
$(wildcard $(SRCDIR)/translations/source/$(lang)/helpcontent2)),\
$(lang)))
+# Langs that need special handling for registry files. This is done by
+# MAKE_LANG_SPECIFIC flag in scp.
+gb_CJK_LANGS := $(filter $(gb_WITH_LANG),ja ko zh-CN zh-TW)
+gb_CTL_LANGS := $(filter $(gb_WITH_LANG),ar bo dz fa gu he hi km ky-CN lo my ne or pa-IN ta th)
+gb_CTLSEQCHECK_LANGS := $(filter $(gb_CTL_LANGS),km lo th)
+
# vim: set noet ts=4 sw=4:
More information about the Libreoffice-commits
mailing list