Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: CoolReader
Upstream-Contact: Vadim Lopatin <coolreader.org@gmail.com>
Source: https://github.com/buggins/coolreader
Comment: The sources are taken from a commit on the master branch rather than
 from a release tag; see debian/README.source for the rationale and for the
 instructions to reproduce the orig tarball.
Files-Excluded: android
 cr3wx
 thirdparty_unman/antiword/Docs/testdoc.doc
 thirdparty_unman/chmlib/ChmLib-ce.zip
 thirdparty_unman/chmlib/ChmLib-ds6.zip
 thirdparty_unman/antiword/Resources

Files: *
Copyright: 1998-2026, Vadim Lopatin <coolreader.org@gmail.com>
           2018-2022, Aleksey Chernov <valexlin@gmail.com>
           2017-2021, poire-z <poire-z@users.noreply.github.com>
           2011-2020, Konstantin Potapov <pkbo@users.sourceforge.net>
           2019-2021, NiLuJe <ninuje@gmail.com>
           2018, Sergey Torokhov <torokhov-s-a@yandex.ru>
           2008-2009, Alexander V. Nikolaev <avn@daemon.hole.ru>
           2012, Olexandr Nesterenko <olexn@ukr.net>
           2020, jellby <jellby@yahoo.com>
           2015-2018, Yifei (Frank) Zhu <fredyifei@gmail.com>
           2020, Daniel Bedrenko <d.bedrenko@gmail.com>
           2016, hzj_jie <hzj_jie@hotmail.com>
           2021, mistresssilvara <mistresssilvara@hotmail.com>
           2018, exlmotodev <exlmotodev@gmail.com>
           2012, Daniel Savard <daniels@xsoli.com>
           2010, Kirill Erofeev <erofeev.info@gmail.com>
           2014-2016, Huang Xin <chrox.huang@gmail.com>
           2018, Frans de Jonge <fransdejonge@gmail.com>
           2016, Bob Gordon <bobgordon62@gmail.com>
           2014-2017, Qingping Hou <dave2008713@gmail.com>
           2018, Yuri Plotnikov <plotnikovya@gmail.com>
           2021, Dmitry Atamanov <datamanrb@gmail.com>
           2015, Andrey Golovizin <ag@sologoc.com>
           2017, Robert Styla <robert.styla@gmail.com>
           2020-2021, Andy Mender <andymenderunix@gmail.com>
           2018, Mihail Slobodyanuk <slobodyanukma@gmail.com>
           2021, info@ourairquality.org
           2004, Dmitry Gribov
           Alan <alan@alreader.com>
           1995-2006, Ulrich Drepper <drepper@gnu.ai.mit.edu>
           1989-2007, Free Software Foundation, Inc.
           2009, Nokia Corporation and/or its subsidiary(-ies)
           2016, The Qt Company Ltd.
License: GPL-2+

Files: cr3qt/src/desktop/cr3.appdata.xml
Copyright: 2019, Sergey Torokhov <torokhov-s-a@yandex.ru>
License: CC0-1.0

Files: debian/*
Copyright: 2026, Emfox Zhou <emfox@debian.org>
License: GPL-2+

Files: crengine/src/locale_data/files/*
Copyright: 2002-2006, Keith Packard
           2009, Roozbeh Pournader
           2007, Dwayne Bailey and Translate.org.za
           2012, Pravin Satpute <psatpute@redhat.com>
           2012, Parag Nemade
           2004-2017, Red Hat, Inc.
           2006, Danis Jacquerye
           2011, Akira TAGOH
           2008, Neskie Manuel
           2010, UKIJ - Uyghur Computer Science Association <http://www.ukij.org>
           2014, Abel Cheung
           2008, Danilo Šegan
           2009, Reşat SABIQ
License: HPND
Comment: The *_orth.c tables are generated from the fontconfig fc-lang database
 (https://gitlab.freedesktop.org/fontconfig/fontconfig/-/tree/main/fc-lang) by
 a conversion utility; every file carries the fontconfig licence text verbatim.
 This is the "sell variant" of the Historical Permission Notice and Disclaimer.

Files: crengine/src/xxhash.c
       crengine/src/xxhash.h
Copyright: 2012-2020, Yann Collet
License: BSD-2-clause

Files: cr3gui/data/hyph/*
Copyright: 2018, Arthur Reutenauer
           2016, Santhosh Thottingal
           1994, Frank Jensen
           2013-2021, Deutschsprachige Trennmustermannschaft
             (Stephan Hennig, Werner Lemberg, Günter Milde, Sander van Geloven,
             Georg Pfeiffer, Gisbert W. Selke) <trennmuster@dante.de>
           2008-2011, Dimitrios Filippou
           1992-2016, Dominik Wujastyk and Graham Toal
           1990-2005, Gerard D.C. Kuiken
           1993-2019, Javier Bezos and CervanTeX
           1986-1989, Kauko Saarinen
           1994-2016, Daniel Flipo, Bernard Gaulle and Arthur Reutenauer
           2008-2011, Claudio Beccari
           1996, Piet Tutelaers
           1987-1995, Hanna Kołodziejska, Bogusław Jackowski and Marek Ryćko
           1998-2001, Maksym Polyakov
           1994-2018, Werner Lemberg
License: MIT
Comment: Hyphenation patterns from the TeX hyphenation patterns project
 (http://www.hyphenation.org).  Several of these files are offered under a
 choice of licences (usually LPPL 1.3 or later versus MIT); MIT is the one
 taken here.  hyph-en-us.pattern and hyph-fi.pattern carry bespoke permissive
 grants recorded in their headers ("copying and distribution ... permitted in
 any medium without royalty provided the copyright notice and this notice are
 preserved" and "patterns may be freely distributed" respectively); MIT is the
 nearest standard equivalent and is no more restrictive.  The individual files
 that are not MIT are listed in the paragraphs below.

Files: cr3gui/data/hyph/README.md
Copyright: 2021, CoolReader contributors
License: GPL-2+

Files: cr3gui/data/hyph/hyph-cs.pattern
Copyright: 1995, Pavel Ševeček (Lingea s.r.o., Brno, Czech Republic)
License: GPL-2+

Files: cr3gui/data/hyph/hyph-bg.pattern
Copyright: 2000, 2004, 2017, Anton Zinoviev
License: BSD-3-clause
Comment: The file records the grant inline; its own header notes that it
 "seems equivalent to 3-clause BSD".

Files: cr3gui/data/hyph/hyph-pt.pattern
Copyright: 1987, 1994, 1996, 2015, Pedro J. de Rezende
           1996, 2015, J. Joao Dias Almeida
License: BSD-3-clause

Files: cr3gui/data/hyph/hyph-hu.pattern
Copyright: 2003, Bence Nagy
License: LGPL-2.1
Comment: Offered under any of MPL 1.1, GPL 2.0 or LGPL 2.1 at the user's
 option; LGPL 2.1 is the one taken here.

Files: cr3gui/data/hyph/hyph-ru-ru.pattern
       cr3gui/data/hyph/hyph-ru-ru,en-us.pattern
Copyright: 1990, 2004-2005, Gerard D.C. Kuiken
           Peter Novodvorsky <nidd@altlinux.ru>
License: LGPL-2.1
Comment: Converted from https://github.com/laboratory50/russian-spellpack,
 which is published under the GNU LGPL.

Files: cr3gui/po/*
Copyright: 2012, Pavel Fric <pavelfric@seznam.cz>
           2009, Tomasz Długosz <tomek3d@gmail.com>
           Stanislovas Zacharovas
           2022, ViktorOn <https://github.com/viktoron>
           Vitalii Stopchans'kyi
           2011, Zlatko Petkov <zlpetkov@gmail.com>
           Ferran Rius Riu <friusriu@infonegocio.com>
           2013, Arthur Zamarin <arthurzam@gmail.com>
License: GPL-2+
Comment: Translation catalogs; each file carries its own per-language grant
 and is distributed under the same licence as the package.

Files: thirdparty_unman/antiword/*
Copyright: 1998-2004, A.J. van Os
           1994-1999, Thomas Merz <tm@muc.de>
           1999, Bruno Haible
           1994, Jonathan Coxhead <jonathan@doves.demon.co.uk>
           1996-2000, Ulrich von Zadow
License: GPL-2+
Comment: Vendored rather than used from the system antiword package: the
 bundled copy is patched (see CR3_ANTIWORD_PATCH in
 thirdparty_unman/antiword/CMakeLists.txt) so that it builds as a library with
 only the text-extraction entry points, dropping the command-line front end and
 the PDF/PostScript writers.  Debian's antiword 0.37 provides only the
 standalone program and does not install a linkable library, so it cannot be
 substituted here.

Files: thirdparty_unman/chmlib/*
Copyright: Jed Wing <jedwin@ugcs.caltech.edu>
           X Consortium
License: LGPL-2.1
Comment: Vendored rather than used from the system chmlib package: upstream
 ships a patched copy (see the comment above the add_subdirectory() call for
 chmlib in CMakeLists.txt) and builds it statically into the reader engine.
 Debian's libchm-dev would work for an unmodified build, but the local patches
 have not been forwarded, so the bundled sources are kept for now.

Files: thirdparty_unman/nanosvg/*
Copyright: 2002-2004, Mikko Mononen <memon@inside.org>
           2002-2004, Maxim Shemanarev (McSeem) <http://www.antigrain.com>
License: Zlib
Comment: Vendored rather than used from the system package: nanosvg has no
 separate Debian source package (the SVG loading in librsvg is a completely
 different implementation, and libnanosvg does not exist in the archive).

Files: thirdparty_unman/qimagescale/*
Copyright: 2016, The Qt Company Ltd.
           2004-2005, Daniel M. Duley
           2000, Carsten Haitzler and various contributors
           2016, Intel Corporation
License: LGPL-3 or GPL-2+
Comment: These files come from the QtGui module of the Qt Toolkit and carry the
 standard Qt licensing header, i.e. they may be used under the GNU Lesser
 General Public License version 3 (or, at the user's option, any later version)
 or under the GNU General Public License version 2 (or, at the user's option,
 any later version).  qimagescale.cpp was contributed by Daniel M. Duley based
 on code from Imlib2 and is additionally available under the two-clause BSD
 licence reproduced in
 thirdparty_unman/qimagescale/QIMAGETRANSFORM_LICENSE.txt.
 .
 Vendored rather than used from the system package: this is a small internal
 helper (qimagetransform) contributed to CoolReader; it is not packaged
 separately in Debian.

License: GPL-2+
 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 2 of the License, 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.
 .
 On Debian systems, the complete text of the GNU General Public License
 version 2 can be found in "/usr/share/common-licenses/GPL-2".

License: LGPL-2.1
 This library is free software; you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation; either version 2.1 of the License, or (at
 your option) any later version.
 .
 This library 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.
 .
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 2.1 can be found in
 "/usr/share/common-licenses/LGPL-2.1".

License: LGPL-3
 This library is free software; you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation; either version 3 of the License, or (at
 your option) any later version.
 .
 This library 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.
 .
 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: MIT
 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: BSD-2-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. 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.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.

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:
 .
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. 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.
 3. 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 AUTHOR ``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 AUTHOR 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.

License: HPND
 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, and
 that the name of the author(s) not be used in advertising or publicity
 pertaining to distribution of the software without specific, written prior
 permission.  The author(s) make no representations about the suitability of
 this software for any purpose.  It is provided "as is" without express or
 implied warranty.

License: Zlib
 This software is provided 'as-is', without any express or implied
 warranty.  In no event will the authors be held liable for any damages
 arising from the use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
 1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software
    in a product, an acknowledgment in the product documentation would be
    appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.

License: CC0-1.0
 CC0 1.0 Universal
 .
 Statement of Purpose
 .
 The laws of most jurisdictions throughout the world automatically confer
 exclusive Copyright and Related Rights (defined below) upon the creator and
 subsequent owner(s) (each and all, an "owner") of an original work of
 authorship and/or a database (each and all, a "Work").
 .
 Certain owners wish to permanently relinquish those rights to a Work for the
 purpose of contributing to a commons of creative, cultural and scientific
 works ("Commons") that the public can reliably and without fear of later
 claims of infringement build upon, modify, incorporate in other works, reuse
 and redistribute as freely as possible in any form whatsoever and for any
 purposes, including without limitation commercial purposes.  These owners may
 contribute to the Commons to promote the ideal of a free culture and the
 further production of creative, cultural and scientific works, or to gain
 reputation or greater distribution for their Work in part through the use and
 efforts of others.
 .
 For these and/or other purposes and motivations, and without any expectation
 of additional consideration or compensation, the person associating CC0 with
 a Work (the "Affirmer"), to the extent that he or she is an owner of
 Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to
 the Work and publicly distribute the Work under its terms, with knowledge of
 his or her Copyright and Related Rights in the Work and the meaning and
 intended legal effect of CC0 on those rights.
 .
 1. Copyright and Related Rights.  A Work made available under CC0 may be
 protected by copyright and related or neighboring rights ("Copyright and
 Related Rights").  Copyright and Related Rights include, but are not limited
 to, the following:
 .
   i. the right to reproduce, adapt, distribute, perform, display, communicate,
   and translate a Work;
 .
  ii. moral rights retained by the original author(s) and/or performer(s);
 .
 iii. publicity and privacy rights pertaining to a person's image or likeness
   depicted in a Work;
 .
  iv. rights protecting against unfair competition in regards to a Work,
   subject to the limitations in paragraph 4(a), below;
 .
   v. rights protecting the extraction, dissemination, use and reuse of data
   in a Work;
 .
  vi. database rights (such as those arising under Directive 96/9/EC of the
   European Parliament and of the Council of 11 March 1996 on the legal
   protection of databases, and under any national implementation thereof,
   including any amended or successor version of such directive); and
 .
 vii. other similar, equivalent or corresponding rights throughout the world
   based on applicable law or treaty, and any national implementations
   thereof.
 .
 2. Waiver.  To the greatest extent permitted by, but not in contravention of,
 applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
 unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
 and Related Rights and associated claims and causes of action, whether now
 known or unknown (including existing as well as future claims and causes of
 action), in the Work (i) in all territories worldwide, (ii) for the maximum
 duration provided by applicable law or treaty (including future time
 extensions), (iii) in any current or future medium and for any number of
 copies, and (iv) for any purpose whatsoever, including without limitation
 commercial, advertising or promotional purposes (the "Waiver").  Affirmer
 makes the Waiver for the benefit of each member of the public at large and to
 the detriment of Affirmer's heirs and successors, fully intending that such
 Waiver shall not be subject to revocation, rescission, cancellation,
 termination, or any other legal or equitable action to disrupt the quiet
 enjoyment of the Work by the public as contemplated by Affirmer's express
 Statement of Purpose.
 .
 3. Public License Fallback.  Should any part of the Waiver for any reason be
 judged legally invalid or ineffective under applicable law, then the Waiver
 shall be preserved to the maximum extent permitted taking into account
 Affirmer's express Statement of Purpose.  In addition, to the extent the
 Waiver is so judged Affirmer hereby grants to each affected person a
 royalty-free, non transferable, non sublicensable, non exclusive, irrevocable
 and unconditional license to exercise the Affirmer's Copyright and Related
 Rights in the Work (i) in all territories worldwide, (ii) for the maximum
 duration provided by applicable law or treaty (including future time
 extensions), (iii) in any current or future medium and for any number of
 copies, and (iv) for any purpose whatsoever, including without limitation
 commercial, advertising or promotional purposes (the "License").  The License
 shall be deemed effective as of the date CC0 was applied by Affirmer to the
 Work.  Should any part of the License for any reason be judged legally
 invalid or ineffective under applicable law, such partial invalidity or
 ineffectiveness shall not invalidate the remainder of the License, and in
 such case Affirmer hereby affirms that he or she will not (i) exercise any of
 his or her remaining Copyright and Related Rights in the Work or (ii) assert
 any associated claims and causes of action with respect to the Work, in
 either case contrary to Affirmer's express Statement of Purpose.
 .
 4. Limitations and Disclaimers.
 .
  a. No trademark or patent rights held by Affirmer are waived, abandoned,
  surrendered, licensed or otherwise affected by this document.
 .
  b. Affirmer offers the Work as-is and makes no representations or warranties
  of any kind concerning the Work, express, implied, statutory or otherwise,
  including without limitation warranties of title, merchantability, fitness
  for a particular purpose, non infringement, or the absence of latent or
  other defects, accuracy, or the present or absence of errors, whether or not
  discoverable, all to the greatest extent permissible under applicable law.
 .
  c. Affirmer disclaims responsibility for clearing rights of other persons
  that may apply to the Work or any use thereof, including without limitation
  any person's Copyright and Related Rights in the Work.  Further, Affirmer
  disclaims responsibility for obtaining any necessary consents, permissions
  or other rights required for any use of the Work.
 .
  d. Affirmer understands and acknowledges that Creative Commons is not a
  party to this document and has no duty or obligation with respect to this
  CC0 or use of the Work.
 .
 For more information, please see
 <http://creativecommons.org/publicdomain/zero/1.0/>
