commit b0d8919d0004df9f46b23b6410f7038ab808fcae
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Sun Jun 19 11:12:33 2022 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Sun Jun 19 11:12:33 2022 +0200
Add data-LICENSE file
Even though each data-file specifies the terms of use and refers to
them, laying them out explicitly is a good thing.
There are also some data files that come in use later (e.g.
UnicodeData.txt) which does not have a license header.
Signed-off-by: Laslo Hunhold <dev_AT_frign.de>
diff --git a/Makefile b/Makefile
index f6ebe06..6101f4b 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -16,6 +16,7 @@ DATA =\
data/emoji-data.txt\
data/GraphemeBreakProperty.txt\
data/GraphemeBreakTest.txt\
+ data/LICENSE\
data/LineBreak.txt\
data/LineBreakTest.txt\
data/SentenceBreakProperty.txt\
_AT_@ -115,34 +116,37 @@ gen/sentence-test.h: data/SentenceBreakTest.txt gen/sentence-test
gen/word.h: data/WordBreakProperty.txt gen/word
gen/word-test.h: data/WordBreakTest.txt gen/word-test
-data/EastAsianWidth.txt:
+data/EastAsianWidth.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/EastAsianWidth.txt
-data/emoji-data.txt:
+data/emoji-data.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/emoji/emoji-data.txt
-data/GraphemeBreakProperty.txt:
+data/GraphemeBreakProperty.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/GraphemeBreakProperty.txt
-data/GraphemeBreakTest.txt:
+data/GraphemeBreakTest.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/GraphemeBreakTest.txt
-data/LineBreak.txt:
+data/LICENSE:
+ wget -O $_AT_
https://www.unicode.org/license.txt
+
+data/LineBreak.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/LineBreak.txt
-data/LineBreakTest.txt:
+data/LineBreakTest.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/LineBreakTest.txt
-data/SentenceBreakProperty.txt:
+data/SentenceBreakProperty.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/SentenceBreakProperty.txt
-data/SentenceBreakTest.txt:
+data/SentenceBreakTest.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/SentenceBreakTest.txt
-data/WordBreakProperty.txt:
+data/WordBreakProperty.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/WordBreakProperty.txt
-data/WordBreakTest.txt:
+data/WordBreakTest.txt: data/LICENSE
wget -O $_AT_
https://www.unicode.org/Public/14.0.0/ucd/auxiliary/WordBreakTest.txt
$(BENCHMARK):
diff --git a/data/LICENSE b/data/LICENSE
new file mode 100644
index 0000000..85d0d58
--- /dev/null
+++ b/data/LICENSE
_AT_@ -0,0 +1,46 @@
+UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
+
+See Terms of Use <
https://www.unicode.org/copyright.html>
+for definitions of Unicode Inc.’s Data Files and Software.
+
+NOTICE TO USER: Carefully read the following legal agreement.
+BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
+DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
+YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
+TERMS AND CONDITIONS OF THIS AGREEMENT.
+IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
+THE DATA FILES OR SOFTWARE.
+
+COPYRIGHT AND PERMISSION NOTICE
+
+Copyright © 1991-2022 Unicode, Inc. All rights reserved.
+Distributed under the Terms of Use in
https://www.unicode.org/copyright.html.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Unicode data files and any associated documentation
+(the "Data Files") or Unicode software and any associated documentation
+(the "Software") to deal in the Data Files or Software
+without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, and/or sell copies of
+the Data Files or Software, and to permit persons to whom the Data Files
+or Software are furnished to do so, provided that either
+(a) this copyright and permission notice appear with all copies
+of the Data Files or Software, or
+(b) this copyright and permission notice appear in associated
+Documentation.
+
+THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale,
+use or other dealings in these Data Files or Software without prior
+written authorization of the copyright holder.
Received on Sun Jun 19 2022 - 11:16:04 CEST