diff options
Diffstat (limited to 'icu/UnpackedTarball_icu.mk')
-rw-r--r-- | icu/UnpackedTarball_icu.mk | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/icu/UnpackedTarball_icu.mk b/icu/UnpackedTarball_icu.mk new file mode 100644 index 000000000000..ed58c3285422 --- /dev/null +++ b/icu/UnpackedTarball_icu.mk @@ -0,0 +1,44 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_UnpackedTarball_UnpackedTarball,icu)) + +$(eval $(call gb_UnpackedTarball_set_tarball,icu,$(ICU_TARBALL))) + +# Save space when using a bundled ICU by leaving out unneeded parts of the ICU data. Generated by +# the interactive web tool at http://apps.icu-project.org/datacustom/ICUData49.html by dropping +# the "Charset Mapping Tables". Probably we could carefully cherry-pick other items in the data to +# be dropped, too. A bit tedious using that web tool, though. + +# If you do that, upload a new subset data zip file with just the MD5 part of the name changed +# appropriately. Let's not bother trying to list what stuff has been removed in the file name. +# Describe it in the comment above instead. +$(call gb_UnpackedTarball_get_target,icu): $(call gb_UnpackedTarball_get_target,icu_data) +$(eval $(call gb_UnpackedTarball_set_post_action,icu,\ + cp $(call gb_UnpackedTarball_get_dir,icu_data)/icudt49l.dat \ + $(call gb_UnpackedTarball_get_dir,icu)/source/data/in/ \ +)) + +$(eval $(call gb_UnpackedTarball_add_patches,icu,\ + icu/icu4c-bsd.patch \ + icu/icu4c-build.patch \ + icu/icu4c.8198.revert.icu5431.patch \ + icu/icu4c.7601.Indic-ccmp.patch \ + icu/icu4c-aix.patch \ + icu/icu4c-wchar_t.patch \ + icu/icu4c-warnings.patch \ + icu/icu4c.9313.cygwin.patch \ + icu/icu4c-macosx.patch \ + icu/icu4c-solarisgcc.patch \ + icu/icu4c-mkdir.patch \ + icu/icu4c-buffer-overflow.patch \ + icu/icu4c-$(if $(filter ANDROID,$(OS)),android,rpath).patch \ +)) + +# vim: set noet sw=4 ts=4: |