Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: librime
Source: https://github.com/rime/librime
Files-Excluded:
 bin/*
 deps/*
 include/utf8/*
 include/utf8.h

Files: *
Copyright: 2011-2024, GONG Chen <chen.sst@gmail.com>
           2014, RIME Developers
License: BSD-3-Clause

Files: cmake/RimeConfig.cmake
Copyright: 2012, Xuetian Weng
License: BSD-3-Clause

Files: cmake/FindIconv.cmake
Copyright: Eddy Xu <eddyxu@gmail.com>
License: BSD-3-Clause
Comment: The file only says "Released under BSD license". It is not used
 in the Debian build: debian/patches/0002 removes it.

Files: data/minimal/*
Copyright: RIME Developers <rime-devel@googlegroups.com>
License: LGPL-3.0-only
Comment: Minimal schema and dictionary data. tools/CMakeLists.txt copies it
 next to the command-line tools in the build tree so that they can be run
 in place; it is not shipped in any binary package. The files
 carry no license notice; they are excerpts of the upstream data
 repositories rime-prelude, rime-essay, rime-luna-pinyin and rime-cangjie
 (https://github.com/rime/), each of which is licensed under LGPL-3.0.

Files: data/minimal/cangjie5.dict.yaml
Copyright: 2012, GONG Chen <chen.sst@gmail.com>
License: GPL-1.0-or-later
Comment: The header says "License: GPL" without a version number, so any
 version of the GNU GPL may be chosen. The word list was made by 惜緣
 and revised by GONG Chen (佛振); the single-character table comes from
 www.chinesecj.com.

Files: include/X11/*
Copyright: 1987, 1994, 1988 The Open Group
           1987, Digital Equipment Corporation
License: ISC-variant
 Permission to use, copy, modify, distribute, and sell this software and its
 documentation for any purpose is hereby granted without fee, provided that
 the above copyright notice appear in all copies and that both that
 copyright notice and this permission notice appear in supporting
 documentation.
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS 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.  IN NO EVENT SHALL THE
 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 .
 Except as contained in this notice, the name of The Open Group shall not be
 used in advertising or otherwise to promote the sale, use or other dealings
 in this Software without prior written authorization from The Open Group.
 .
 Permission to use, copy, modify, and distribute this software and its
 documentation for any purpose and without fee is hereby granted,
 provided that the above copyright notice appear in all copies and that
 both that copyright notice and this permission notice appear in
 supporting documentation, and that the name of Digital not be
 used in advertising or publicity pertaining to distribution of the
 software without specific, written prior permission.
 .
 DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 DIGITAL BE LIABLE FOR 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 THIS
 SOFTWARE.

Files: include/darts.h
Copyright: 2008-2013, Susumu Yata
License: BSD-3-Clause
Comment: This is darts-clone, not the original Darts library by Taku Kudo.

Files: librime-lua/*
Copyright: 2021, librime-lua Developers
License: BSD-3-Clause

Files:
 librime-lua/sample/lua/commit_history.lua
 librime-lua/sample/lua/component_test.lua
 librime-lua/sample/lua/leveldb.lua
 librime-lua/sample/lua/script_translator.lua
 librime-lua/sample/lua/table_translator.lua
 librime-lua/sample/lua/userdb.lua
 librime-lua/src/script_translator.cc
 librime-lua/src/table_translator.cc
 librime-lua/src/translator.h
 librime-lua/src/types_ext.cc
Copyright: 2022-2024, Shewer Lu <shewer@gmail.com>
License: Expat
Comment: The headers say "Distributed under terms of the MIT license."
 without including the license text.

Files:
 librime-lua/src/lib/lauxlib-compat.c
Copyright: 2015 Kepler Project
License: Expat

Files:
 librime-lua/src/lib/lutf8lib-compat.c
Copyright:
 1994-2018 Lua.org, PUC-Rio.
License: Expat

Files:
 librime-octagram/*
Copyright:
 2014-2026 RIME Developers
 2019-2021 GONG Chen <chen.sst@gmail.com>
License: BSD-3-Clause

Files:
 librime-charcode/*
Copyright:
 2019-2021 RIME Developers
 2012-2021 GONG Chen <chen.sst@gmail.com>
 2016 osfans <waxaca@163.com>
 2014 Chongyu Zhu <i@lembacon.com>
License: BSD-3-Clause

Files: librime-predict/*
Copyright: 2023, RIME Developers
License: BSD-3-Clause

Files: debian/*
Copyright: 2012, Qijiang Fan <fqj1994@gmail.com>
           2017, Boyuan Yang <073plan@gmail.com>
License: GPL-3.0-only

Files: debian/debian-rime-processor
Copyright: 2021, Boyuan Yang <byang@debian.org>
License: CC0-1.0

License: CC0-1.0
 To the extent possible under law, the author(s) have dedicated all
 copyright and related and neighboring rights to this software to the
 public domain worldwide. This software is distributed without any
 warranty.
 .
 On Debian systems, the complete text of the CC0 1.0 Universal license
 can be found in "/usr/share/common-licenses/CC0-1.0".

License: GPL-1.0-or-later
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 1, or (at your option)
 any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <https://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU General Public License
 can be found in "/usr/share/common-licenses/GPL". Version 1 is in
 "/usr/share/common-licenses/GPL-1".

License: LGPL-3.0-only
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU Lesser General Public License version 3
 as published by the Free Software Foundation.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public License
 along with this program.  If not, see <https://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 3 can be found in "/usr/share/common-licenses/LGPL-3".

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal in
 the Software without restriction, including without limitation the rights to
 use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 the Software, and to permit persons to whom the Software is furnished to do so,
 subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS 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. IN NO EVENT SHALL THE AUTHORS OR
 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

License: GPL-3.0-only
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License version 3 as
 published by the Free Software Foundation.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU General
 Public License version 3 can be found in "/usr/share/common-licenses/GPL-3"

License: BSD-3-Clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:
 .
   * Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.
 .
   * Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in
     the documentation and/or other materials provided with the
     distribution.
 .
   * Neither the name of the copyright holder nor the names of its
     contributors may be used to endorse or promote products derived
     from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
