Trim a bit more out of the ICU data files

This commit is contained in:
Thomas Goyne 2014-06-25 10:49:44 -07:00
parent 03443818f0
commit 99cf941edd
2 changed files with 5 additions and 2 deletions

View file

@ -58,9 +58,9 @@
>
<!-- Generated with tools/strip-icu.py -->
<DownloadTgzFile
Url="http://www.aegisub.org/~plorkyeran/$(IcuDt).dat.gz"
Url="http://www.aegisub.org/~plorkyeran/$(IcuDt)-be995a7e5fe230029e9b1e547b7de8826888c18c.dat.gz"
OutputFile="$(MSBuildThisFileDirectory)..\..\vendor\icu\source\data\in\$(IcuDt).dat"
Hash="2a351e7753fb1e92910dc2d68721b8f41bbf33b0"
Hash="be995a7e5fe230029e9b1e547b7de8826888c18c"
/>
</Target>

View file

@ -36,6 +36,9 @@ REMOVE_SUBDIRS=['LOCSRCDIR', 'CURRSRCDIR', 'ZONESRCDIR', 'COLSRCDIR', 'RBNFSRCDI
delete_matching('Makefile.in', ['^-include .*%s' % s for s in REMOVE_SUBDIRS])
delete_matching('Makefile.in', ['^CNV_FILES'])
with open('misc/misclocal.mk', 'w') as f:
f.write('MISC_SOURCE = supplementalData.txt likelySubtags.txt icuver.txt icustd.txt metadata.txt')
# Remove data we don't need from the lang and region files
def parse_txt(filename):
root = {}