libport: remove icu library

This was required by QtWebKit in the past, the QtWebEngine ships its own
version. No other code depends on this. Revive if needed.

fixes #4870
This commit is contained in:
Sebastian Sumpf 2023-05-16 08:17:53 +02:00 committed by Christian Helmuth
parent 9713fa505f
commit e1b6855352
11 changed files with 0 additions and 1719 deletions

View File

@ -1,8 +0,0 @@
ifeq ($(CONTRIB_DIR),)
ICU_INC_DIR := $(call select_from_repositories,include/icu)
else
ICU_INC_DIR := $(call select_from_ports,icu)/include/icu
endif
INC_DIR += $(ICU_INC_DIR)/common
INC_DIR += $(ICU_INC_DIR)/i18n

View File

@ -1,101 +0,0 @@
include $(call select_from_repositories,lib/import/import-icu.mk)
ICU_DIR := $(call select_from_ports,icu)/src/lib/icu
# copy-pasted from $(ICU_DIR)/source/common/Makefile.in and renamed OBJECTS to ICU_COMMON_OBJECTS
ICU_COMMON_OBJECTS = errorcode.o putil.o umath.o utypes.o uinvchar.o umutex.o ucln_cmn.o \
uinit.o uobject.o cmemory.o charstr.o \
udata.o ucmndata.o udatamem.o umapfile.o udataswp.o ucol_swp.o utrace.o \
uhash.o uhash_us.o uenum.o ustrenum.o uvector.o ustack.o uvectr32.o uvectr64.o \
ucnv.o ucnv_bld.o ucnv_cnv.o ucnv_io.o ucnv_cb.o ucnv_err.o ucnvlat1.o \
ucnv_u7.o ucnv_u8.o ucnv_u16.o ucnv_u32.o ucnvscsu.o ucnvbocu.o \
ucnv_ext.o ucnvmbcs.o ucnv2022.o ucnvhz.o ucnv_lmb.o ucnvisci.o ucnvdisp.o ucnv_set.o ucnv_ct.o \
uresbund.o ures_cnv.o uresdata.o resbund.o resbund_cnv.o \
messagepattern.o ucat.o locmap.o uloc.o locid.o locutil.o locavailable.o locdispnames.o loclikely.o locresdata.o \
bytestream.o stringpiece.o \
stringtriebuilder.o bytestriebuilder.o \
bytestrie.o bytestrieiterator.o \
ucharstrie.o ucharstriebuilder.o ucharstrieiterator.o \
dictionarydata.o \
appendable.o ustr_cnv.o unistr_cnv.o unistr.o unistr_case.o unistr_props.o \
utf_impl.o ustring.o ustrcase.o ucasemap.o ucasemap_titlecase_brkiter.o cstring.o ustrfmt.o ustrtrns.o ustr_wcs.o utext.o \
unistr_case_locale.o ustrcase_locale.o unistr_titlecase_brkiter.o ustr_titlecase_brkiter.o \
normalizer2impl.o normalizer2.o filterednormalizer2.o normlzr.o unorm.o unormcmp.o unorm_it.o \
chariter.o schriter.o uchriter.o uiter.o \
patternprops.o uchar.o uprops.o ucase.o propname.o ubidi_props.o ubidi.o ubidiwrt.o ubidiln.o ushape.o \
uscript.o uscript_props.o usc_impl.o unames.o \
utrie.o utrie2.o utrie2_builder.o bmpset.o unisetspan.o uset_props.o uniset_props.o uniset_closure.o uset.o uniset.o usetiter.o ruleiter.o caniter.o unifilt.o unifunct.o \
uarrsort.o brkiter.o ubrk.o brkeng.o dictbe.o \
rbbi.o rbbidata.o rbbinode.o rbbirb.o rbbiscan.o rbbisetb.o rbbistbl.o rbbitblb.o \
serv.o servnotf.o servls.o servlk.o servlkf.o servrbf.o servslkf.o \
uidna.o usprep.o uts46.o punycode.o \
util.o util_props.o parsepos.o locbased.o cwchar.o wintz.o mutex.o dtintrv.o ucnvsel.o propsvec.o \
ulist.o uloc_tag.o icudataver.o icuplug.o listformatter.o
SRC_C += $(filter $(ICU_COMMON_OBJECTS:.o=.c), $(notdir $(wildcard $(ICU_DIR)/source/common/*.c)))
SRC_C += $(filter $(ICU_I18N_OBJECTS:.o=.c), $(notdir $(wildcard $(ICU_DIR)/source/i18n/*.c)))
# copy-pasted from $(ICU_DIR)/source/i18n/Makefile.in and renamed OBJECTS to ICU_I18N_OBJECTS
ICU_I18N_OBJECTS = ucln_in.o \
fmtable.o format.o msgfmt.o umsg.o numfmt.o unum.o decimfmt.o dcfmtsym.o \
ucurr.o digitlst.o fmtable_cnv.o \
choicfmt.o datefmt.o smpdtfmt.o reldtfmt.o dtfmtsym.o udat.o dtptngen.o udatpg.o \
nfrs.o nfrule.o nfsubs.o rbnf.o numsys.o ucsdet.o \
ucal.o calendar.o gregocal.o timezone.o simpletz.o olsontz.o \
astro.o taiwncal.o buddhcal.o persncal.o islamcal.o japancal.o gregoimp.o hebrwcal.o \
indiancal.o chnsecal.o cecal.o coptccal.o dangical.o ethpccal.o \
coleitr.o coll.o tblcoll.o sortkey.o bocsu.o ucoleitr.o \
ucol.o ucol_res.o ucol_bld.o ucol_sit.o ucol_tok.o ucol_wgt.o ucol_cnt.o ucol_elm.o \
strmatch.o usearch.o search.o stsearch.o \
translit.o utrans.o esctrn.o unesctrn.o funcrepl.o strrepl.o tridpars.o \
cpdtrans.o rbt.o rbt_data.o rbt_pars.o rbt_rule.o rbt_set.o \
nultrans.o remtrans.o casetrn.o titletrn.o tolowtrn.o toupptrn.o anytrans.o \
name2uni.o uni2name.o nortrans.o quant.o transreg.o brktrans.o \
regexcmp.o rematch.o repattrn.o regexst.o regextxt.o regeximp.o uregex.o uregexc.o \
ulocdata.o measfmt.o currfmt.o curramt.o currunit.o measure.o utmscale.o \
csdetect.o csmatch.o csr2022.o csrecog.o csrmbcs.o csrsbcs.o csrucode.o csrutf8.o inputext.o \
wintzimpl.o windtfmt.o winnmfmt.o basictz.o dtrule.o rbtz.o tzrule.o tztrans.o vtzone.o zonemeta.o \
upluralrules.o plurrule.o plurfmt.o selfmt.o dtitvfmt.o dtitvinf.o udateintervalformat.o \
tmunit.o tmutamt.o tmutfmt.o currpinf.o \
uspoof.o uspoof_impl.o uspoof_build.o uspoof_conf.o uspoof_wsconf.o decfmtst.o smpdtfst.o \
ztrans.o zrule.o vzone.o fphdlimp.o fpositer.o locdspnm.o \
decNumber.o decContext.o alphaindex.o tznames.o tznames_impl.o tzgnames.o \
tzfmt.o compactdecimalformat.o gender.o region.o scriptset.o identifier_info.o
SRC_CC += $(filter $(ICU_COMMON_OBJECTS:.o=.cpp), $(notdir $(wildcard $(ICU_DIR)/source/common/*.cpp)))
SRC_CC += $(filter $(ICU_I18N_OBJECTS:.o=.cpp), $(notdir $(wildcard $(ICU_DIR)/source/i18n/*.cpp)))
# provide the binary file 'icudt51l.dat' as symbol 'icudt51_dat'
ICU_DAT = icudt51l.dat
ICU_DAT_SYMBOL_NAME = icudt51_dat
SRC_BIN += $(ICU_DAT)
binary_$(ICU_DAT).o : $(ICU_DAT)
$(MSG_CONVERT)$@
$(VERBOSE)echo ".global $(ICU_DAT_SYMBOL_NAME); .section .rodata; .align 4; $(ICU_DAT_SYMBOL_NAME):; .incbin \"$<\"" |\
$(AS) $(AS_OPT) -f -o $@ -
CC_OPT += -DU_COMMON_IMPLEMENTATION -DU_I18N_IMPLEMENTATION
# prevent redefinition of the 'uintptr_t' type
CC_OPT += -D__intptr_t_defined
CC_WARN += -Wno-deprecated-declarations
LIBS = stdcxx
vpath % $(ICU_DIR)/source/common
vpath % $(ICU_DIR)/source/i18n
vpath % $(ICU_DIR)/source/data/in
SHARED_LIB = yes
CC_CXX_WARN_STRICT =

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
62f13b0976e6f74904ad9dfc82f1bc686fb36b6e

View File

@ -1,11 +0,0 @@
LICENSE := MIT
DOWNLOADS := icu.archive
VERSION := 51.3
URL(icu) := https://github.com/unicode-org/icu/releases/download/release-51-3/icu4c-51_3-src.tar.gz
SHA(icu) := cdc58f7b4ac62202770a3e29d9e7526e86bf9b8dfa3aebfa09f8263e315f3c58
DIR(icu) := src/lib/icu
DIRS := include/icu/common include/icu/i18n
DIR_CONTENT(include/icu/common) := src/lib/icu/source/common/*
DIR_CONTENT(include/icu/i18n) := src/lib/icu/source/i18n/*

View File

@ -1,17 +0,0 @@
MIRROR_FROM_REP_DIR := lib/import/import-icu.mk \
lib/symbols/icu
content: $(MIRROR_FROM_REP_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
content: include LICENCE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/icu)
include:
cp -r $(PORT_DIR)/include $@
LICENCE:
cp $(PORT_DIR)/src/lib/icu/license.html $@

View File

@ -1 +0,0 @@
2020-04-16 928dd5d7fb078ee2584490e9117caf47b67ef2bd

View File

@ -1 +0,0 @@
icu

View File

@ -1,13 +0,0 @@
content: src/lib/icu lib/mk/icu.mk LICENCE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/icu)
src/lib/icu:
mkdir -p $@
cp -a $(PORT_DIR)/src/lib/icu/* $@/
lib/mk/icu.mk:
$(mirror_from_rep_dir)
LICENCE:
cp $(PORT_DIR)/src/lib/icu/license.html $@

View File

@ -1 +0,0 @@
2023-01-23 d198e9f1eebdf29942b16235cc0f89771911a393

View File

@ -1,2 +0,0 @@
libc
stdcxx