libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit b0d8919d0004df9f46b23b6410f7038ab808fcae
parent 6d2af93ffb9ebdae7d4712923e50f858574c7714
Author: Laslo Hunhold <dev@frign.de>
Date:   Sun, 19 Jun 2022 11:12:33 +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@frign.de>

Diffstat:
MMakefile | 24++++++++++++++----------
Adata/LICENSE | 46++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile @@ -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\ @@ -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 $@ https://www.unicode.org/Public/14.0.0/ucd/EastAsianWidth.txt -data/emoji-data.txt: +data/emoji-data.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/emoji/emoji-data.txt -data/GraphemeBreakProperty.txt: +data/GraphemeBreakProperty.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/GraphemeBreakProperty.txt -data/GraphemeBreakTest.txt: +data/GraphemeBreakTest.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/GraphemeBreakTest.txt -data/LineBreak.txt: +data/LICENSE: + wget -O $@ https://www.unicode.org/license.txt + +data/LineBreak.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/LineBreak.txt -data/LineBreakTest.txt: +data/LineBreakTest.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/LineBreakTest.txt -data/SentenceBreakProperty.txt: +data/SentenceBreakProperty.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/SentenceBreakProperty.txt -data/SentenceBreakTest.txt: +data/SentenceBreakTest.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/SentenceBreakTest.txt -data/WordBreakProperty.txt: +data/WordBreakProperty.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/WordBreakProperty.txt -data/WordBreakTest.txt: +data/WordBreakTest.txt: data/LICENSE wget -O $@ https://www.unicode.org/Public/14.0.0/ucd/auxiliary/WordBreakTest.txt $(BENCHMARK): diff --git a/data/LICENSE b/data/LICENSE @@ -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.