From b92a0d9208e1b1a33818a3c451e9952963295f6c Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Tue, 25 Dec 2012 17:39:43 -0500 Subject: convert icu to gbuild and add to tail_build Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- icu/UnpackedTarball_icu.mk | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 icu/UnpackedTarball_icu.mk (limited to 'icu/UnpackedTarball_icu.mk') 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: -- cgit