From de5314ffac07529165eff0d39fc08c7a25235dd5 Mon Sep 17 00:00:00 2001 From: Taylor Cramer Date: Mon, 5 Nov 2018 16:39:22 -0800 Subject: [PATCH] Add CC0 license files to subcrates --- LICENSE.txt => LICENSE | 0 src/index/gen_index.py | 12 +++++++++++- src/index/japanese/LICENSE | 8 ++++++++ src/index/korean/LICENSE | 8 ++++++++ src/index/simpchinese/LICENSE | 8 ++++++++ src/index/singlebyte/LICENSE | 8 ++++++++ src/index/tradchinese/LICENSE | 8 ++++++++ 7 files changed, 51 insertions(+), 1 deletion(-) rename LICENSE.txt => LICENSE (100%) mode change 100644 => 100755 src/index/gen_index.py create mode 100644 src/index/japanese/LICENSE create mode 100644 src/index/korean/LICENSE create mode 100644 src/index/simpchinese/LICENSE create mode 100644 src/index/singlebyte/LICENSE create mode 100644 src/index/tradchinese/LICENSE diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/src/index/gen_index.py b/src/index/gen_index.py old mode 100644 new mode 100755 index 7a125a3b..e2c6d22b --- a/src/index/gen_index.py +++ b/src/index/gen_index.py @@ -6,6 +6,16 @@ import sys import os.path +CC0_LICENSE = "rust-encoding by Kang Seonghoon + +To the extent possible under law, the person who associated CC0 with +rust-encoding has waived all copyright and related or neighboring rights +to rust-encoding. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see . +" + def whatwg_index(name, comments): for line in urllib.urlopen('http://encoding.spec.whatwg.org/index-%s.txt' % name): line = line.strip() @@ -383,4 +393,4 @@ def generate_multi_byte_range_lbound_index(crate, name): print >>sys.stderr, 'generating index %s...' % index, tablesz = generate(crate, index) print >>sys.stderr, '%d bytes.' % tablesz - + write_license_file(crate) diff --git a/src/index/japanese/LICENSE b/src/index/japanese/LICENSE new file mode 100644 index 00000000..9e376470 --- /dev/null +++ b/src/index/japanese/LICENSE @@ -0,0 +1,8 @@ +rust-encoding by Kang Seonghoon + +To the extent possible under law, the person who associated CC0 with +rust-encoding has waived all copyright and related or neighboring rights +to rust-encoding. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see . diff --git a/src/index/korean/LICENSE b/src/index/korean/LICENSE new file mode 100644 index 00000000..9e376470 --- /dev/null +++ b/src/index/korean/LICENSE @@ -0,0 +1,8 @@ +rust-encoding by Kang Seonghoon + +To the extent possible under law, the person who associated CC0 with +rust-encoding has waived all copyright and related or neighboring rights +to rust-encoding. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see . diff --git a/src/index/simpchinese/LICENSE b/src/index/simpchinese/LICENSE new file mode 100644 index 00000000..9e376470 --- /dev/null +++ b/src/index/simpchinese/LICENSE @@ -0,0 +1,8 @@ +rust-encoding by Kang Seonghoon + +To the extent possible under law, the person who associated CC0 with +rust-encoding has waived all copyright and related or neighboring rights +to rust-encoding. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see . diff --git a/src/index/singlebyte/LICENSE b/src/index/singlebyte/LICENSE new file mode 100644 index 00000000..9e376470 --- /dev/null +++ b/src/index/singlebyte/LICENSE @@ -0,0 +1,8 @@ +rust-encoding by Kang Seonghoon + +To the extent possible under law, the person who associated CC0 with +rust-encoding has waived all copyright and related or neighboring rights +to rust-encoding. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see . diff --git a/src/index/tradchinese/LICENSE b/src/index/tradchinese/LICENSE new file mode 100644 index 00000000..9e376470 --- /dev/null +++ b/src/index/tradchinese/LICENSE @@ -0,0 +1,8 @@ +rust-encoding by Kang Seonghoon + +To the extent possible under law, the person who associated CC0 with +rust-encoding has waived all copyright and related or neighboring rights +to rust-encoding. + +You should have received a copy of the CC0 legalcode along with this +work. If not, see .