1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
|
Description: Use data files from unicode-data and w3c-dtd-xhtml packages.
Author: ondrej@sury.org
Soren Stoutner <soren@debian.org>
Forwarded: no
Last-Update: 2024-02-27
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,43 @@ noinst_PROGRAMS=unicodetest graphemetest
aclocaldir=$(datadir)/aclocal
aclocal_DATA=m4/courier-unicode.m4 courier-unicode-version.m4
+UNIHAN_BZ2_FILES = \
+ Unihan_DictionaryIndices.txt \
+ Unihan_DictionaryLikeData.txt \
+ Unihan_IRGSources.txt \
+ Unihan_NumericValues.txt \
+ Unihan_OtherMappings.txt \
+ Unihan_RadicalStrokeCounts.txt \
+ Unihan_Readings.txt \
+ Unihan_Variants.txt
+
+UNICODE_FILES = \
+ auxiliary/GraphemeBreakProperty.txt \
+ auxiliary/LineBreakTest.txt \
+ auxiliary/WordBreakProperty.txt \
+ auxiliary/WordBreakTest.txt \
+ emoji/emoji-data.txt \
+ extracted/DerivedBidiClass.txt \
+ BidiBrackets.txt \
+ BidiCharacterTest.txt \
+ BidiMirroring.txt \
+ BidiTest.txt \
+ DerivedCoreProperties.txt \
+ DerivedNormalizationProps.txt \
+ EastAsianWidth.txt \
+ LineBreak.txt \
+ Scripts.txt \
+ UnicodeData.txt
+
+XHTML_FILES = \
+ xhtml-lat1.ent \
+ xhtml-symbol.ent \
+ xhtml-special.ent
+
+$(UNICODE_FILES) $(XHTML_FILES):
+ for f in $(UNICODE_FILES); do ln -s -f /usr/share/unicode/$$f ./; done
+ for f in $(XHTML_FILES); do ln -s -f /usr/share/xml/entities/xhtml/$$f ./; done
+
update-www:
@$(MAKE) update-www-unicode
@$(MAKE) update-www-eastasia
@@ -49,50 +86,51 @@ update-www-unicode-copyright:
elinks -dump -no-numbering https://www.unicode.org/license.html >UNICODE-LICENSE.txt.tmp
mv UNICODE-LICENSE.txt.tmp UNICODE-LICENSE.txt
+# Don't download the files that are available in Debian packaging.
update-www-unicode:
- @SHELL@ $(srcdir)/update.sh UnicodeData.txt https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
+# @SHELL@ $(srcdir)/update.sh UnicodeData.txt https://www.unicode.org/Public/UNIDATA/UnicodeData.txt
update-www-eastasia:
@SHELL@ $(srcdir)/update.sh Unihan.zip https://www.unicode.org/Public/UNIDATA/Unihan.zip
- @SHELL@ $(srcdir)/update.sh EastAsianWidth.txt https://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt
+# @SHELL@ $(srcdir)/update.sh EastAsianWidth.txt https://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt
update-www-grapheme:
- @SHELL@ $(srcdir)/update.sh GraphemeBreakProperty.txt https://www.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakProperty.txt
+# @SHELL@ $(srcdir)/update.sh GraphemeBreakProperty.txt https://www.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakProperty.txt
update-www-emojidata:
- @SHELL@ $(srcdir)/update.sh emoji-data.txt https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
+# @SHELL@ $(srcdir)/update.sh emoji-data.txt https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
update-www-linebreak:
- @SHELL@ $(srcdir)/update.sh LineBreak.txt https://www.unicode.org/Public/UNIDATA/LineBreak.txt
- @SHELL@ $(srcdir)/update.sh LineBreakTest.txt https://www.unicode.org/Public/UNIDATA/auxiliary/LineBreakTest.txt
+# @SHELL@ $(srcdir)/update.sh LineBreak.txt https://www.unicode.org/Public/UNIDATA/LineBreak.txt
+# @SHELL@ $(srcdir)/update.sh LineBreakTest.txt https://www.unicode.org/Public/UNIDATA/auxiliary/LineBreakTest.txt
update-www-wordbreak:
- @SHELL@ $(srcdir)/update.sh WordBreakProperty.txt https://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakProperty.txt
- @SHELL@ $(srcdir)/update.sh WordBreakTest.txt https://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakTest.txt
+# @SHELL@ $(srcdir)/update.sh WordBreakProperty.txt https://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakProperty.txt
+# @SHELL@ $(srcdir)/update.sh WordBreakTest.txt https://www.unicode.org/Public/UNIDATA/auxiliary/WordBreakTest.txt
update-www-scripts:
- @SHELL@ $(srcdir)/update.sh Scripts.txt http://unicode.org/Public/UNIDATA/Scripts.txt
+# @SHELL@ $(srcdir)/update.sh Scripts.txt http://unicode.org/Public/UNIDATA/Scripts.txt
update-www-htmlent:
- @SHELL@ $(srcdir)/update.sh xhtml-lat1.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
- @SHELL@ $(srcdir)/update.sh xhtml-symbol.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
- @SHELL@ $(srcdir)/update.sh xhtml-special.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
+# @SHELL@ $(srcdir)/update.sh xhtml-lat1.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent
+# @SHELL@ $(srcdir)/update.sh xhtml-symbol.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
+# @SHELL@ $(srcdir)/update.sh xhtml-special.ent http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent
update-www-categories:
@SHELL@ $(srcdir)/update.sh Categories.txt https://www.unicode.org/notes/tn36/Categories.txt
update-www-bidi:
- @SHELL@ $(srcdir)/update.sh BidiBrackets.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiBrackets.txt
- @SHELL@ $(srcdir)/update.sh BidiMirroring.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiMirroring.txt
- @SHELL@ $(srcdir)/update.sh DerivedBidiClass.txt https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedBidiClass.txt
- @SHELL@ $(srcdir)/update.sh BidiTest.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiTest.txt
- @SHELL@ $(srcdir)/update.sh BidiCharacterTest.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiCharacterTest.txt
+# @SHELL@ $(srcdir)/update.sh BidiBrackets.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiBrackets.txt
+# @SHELL@ $(srcdir)/update.sh BidiMirroring.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiMirroring.txt
+# @SHELL@ $(srcdir)/update.sh DerivedBidiClass.txt https://www.unicode.org/Public/UCD/latest/ucd/extracted/DerivedBidiClass.txt
+# @SHELL@ $(srcdir)/update.sh BidiTest.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiTest.txt
+# @SHELL@ $(srcdir)/update.sh BidiCharacterTest.txt https://www.unicode.org/Public/UCD/latest/ucd/BidiCharacterTest.txt
update-www-composition:
- @SHELL@ $(srcdir)/update.sh DerivedNormalizationProps.txt https://www.unicode.org/Public/UCD/latest/ucd/DerivedNormalizationProps.txt
+# @SHELL@ $(srcdir)/update.sh DerivedNormalizationProps.txt https://www.unicode.org/Public/UCD/latest/ucd/DerivedNormalizationProps.txt
update-www-derived-core-properties:
- @SHELL@ $(srcdir)/update.sh DerivedCoreProperties.txt https://www.unicode.org/Public/UNIDATA/DerivedCoreProperties.txt
+# @SHELL@ $(srcdir)/update.sh DerivedCoreProperties.txt https://www.unicode.org/Public/UNIDATA/DerivedCoreProperties.txt
lib_LTLIBRARIES=libcourier-unicode.la
include_HEADERS=courier-unicode.h \
|