On 9/1/15 12:13 AM, Peter Eisentraut wrote: > ere is a series of patches to clean up the Unicode mapping script > business in src/backend/utils/mb/Unicode/.
I never committed the last of these patches, which have the download locations of the files. I have updated this a bit now and propose it here again. I have also added download locations for the source files we do have in git. I wonder why we ship these and none of the other ones: 845974 gb-18030-2000.xml 324237 euc-jis-2004-std.txt 319198 sjis-0213-2004-std.txt I recall it might have been license issues with the other files. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From e8bc9fa4202fc560b666d061d43f120cf24b556a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <pete...@gmx.net> Date: Fri, 28 Oct 2016 12:00:00 -0400 Subject: [PATCH] Add rules to download raw mapping files These are not part of a normal build, like this entire directory. --- src/backend/utils/mb/Unicode/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/backend/utils/mb/Unicode/Makefile b/src/backend/utils/mb/Unicode/Makefile index 40065c3..9d2ef5e 100644 --- a/src/backend/utils/mb/Unicode/Makefile +++ b/src/backend/utils/mb/Unicode/Makefile @@ -108,3 +108,37 @@ distclean: clean maintainer-clean: distclean rm -f $(MAPS) + + +DOWNLOAD = wget -O $@ --no-use-server-timestamps +#DOWNLOAD = curl -o $@ + +BIG5.TXT CNS11643.TXT: + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/$(@F) + +euc-jis-2004-std.txt sjis-0213-2004-std.txt: + $(DOWNLOAD) http://x0213.org/codetable/$(@F) + +gb-18030-2000.xml: + $(DOWNLOAD) https://ssl.icu-project.org/repos/icu/data/trunk/charset/data/xml/$(@F) + +GB2312.TXT: + $(DOWNLOAD) 'http://trac.greenstone.org/browser/trunk/gsdl/unicode/MAPPINGS/EASTASIA/GB/GB2312.TXT?rev=1842&format=txt' + +JIS0201.TXT JIS0208.TXT JIS0212.TXT: + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/$(@F) + +JOHAB.TXT KSX1001.TXT: + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/$(@F) + +KOI8-R.TXT KOI8-U.TXT: + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/$(@F) + +$(ISO8859TEXTS): + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/ISO8859/$(@F) + +$(filter-out CP8%,$(WINTEXTS)): + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/$(@F) + +$(filter CP8%,$(WINTEXTS)): + $(DOWNLOAD) http://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/$(@F) -- 2.10.1
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers