Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Flute
Upstream-Contact: Philippe Le Hégaret <plh@w3.org>
Source: https://jfreereport.sourceforge.net/
Comment:
 Flute is a CSS2 parser written in Java that implements SAC, a standard
 event-based API for CSS parsers modelled on SAX.  The code was originally
 developed at the W3C; the version packaged in Debian is the fork maintained
 by the Pentaho Corporation as part of the JFreeReport project.
 .
 Upstream's own version numbering is confusing: the releases are named
 "1.3-jfree" (2006-04-23, 2006-07-20, 2006-11-07), yet the tarball packaged
 here is called 1.1.6 and is in fact the newer code (its Parser.jj carries a
 2007-07-30 revision and its ChangeLog has an extra entry on top).  Debian
 renamed the source package from "flute-1.3-jfree" to "flute" and adopted the
 1.1.6 version number at the 1:1.1.6-1 upload; the epoch preserves ordering
 against the former name.

Files: *
Copyright: 1999-2009, Pentaho Corporation
           1999-2009, World Wide Web Consortium
           2006-2009, Pentaho Corporation and Contributors
License: LGPL-2.1
Comment:
 Every Java source file under source/ carries an explicit GNU Lesser General
 Public License version 2.1 notice.  The notice reads "version 2.1 as
 published by the Free Software Foundation" and contains no "or (at your
 option) any later version" clause, so the files are licensed under LGPL-2.1
 only.  The previous, non-machine-readable debian/copyright claimed "LGPL 2.1
 or later", which overstated the grant.
 .
 The non-Java build and project files (build.xml, common_build.xml,
 ant/build-lib.xml, ivy.xml, ivysettings.xml, build.properties, .classpath,
 .project, flute.iml, devresource/META-INF/MANIFEST.MF) carry no copyright or
 license header in this tarball.  They are Pentaho build infrastructure
 distributed as part of the same upstream release: the immediately preceding
 upstream release (1.3-jfree) ships the same ant/build-lib.xml and
 ant/build.xml with a "Copyright (c) 2006, Pentaho Corporation. All Rights
 Reserved." header, and ant/build-lib.xml defaults its licence-file attribute
 to "licence-LGPL.txt".  They are therefore treated as Pentaho copyright
 distributed under the LGPL, like the rest of the release.
 .
 The copyright holder is spelled "Pentaho Corperation" in the header of
 source/org/w3c/flute/parser/ParseException.java; this is an upstream typo
 and has been normalised above.

Files: source/org/w3c/flute/parser/Parser.jj
Copyright: 1999, World Wide Web Consortium
License: W3C
Comment:
 This is the JavaCC grammar from which the parser is generated.  Its header
 carries only a W3C copyright notice and a pointer to
 http://www.w3.org/Consortium/Legal/, so its terms are those of the W3C notice
 shipped in COPYRIGHT.html.
 .
 Note that debian/rules regenerates Parser.java, ParserConstants.java,
 ParserTokenManager.java, Token.java, TokenMgrError.java and CharStream.java
 from this file at build time, overwriting the copies shipped in the tarball.
 The generated files therefore carry no LGPL notice, and the parser classes in
 the binary package are derived from this W3C-licensed grammar rather than
 from the LGPL-licensed copies in the source tarball.  The W3C license is
 permissive and GPL-compatible, so this does not affect the freeness of the
 package.

Files: COPYRIGHT.html
Copyright: 1994-2002, World Wide Web Consortium
License: W3C

Files: debian/*
Copyright: 2007, Rene Engelhard <rene@debian.org>
           2009, Michael Koch <konqueror@gmx.de>
           2011, Torsten Werner <twerner@debian.org>
           2011, Andrew Ross <ubuntu@rossfamily.co.uk>
           2018-2022, Emmanuel Bourg <ebourg@apache.org>
           2026, Alexandre Detiste <alexandre.detiste@gmail.com>
License: GPL-2+
Comment:
 The previous, non-machine-readable debian/copyright stated that the Debian
 packaging is "licensed under the GPL" and pointed at
 /usr/share/common-licenses/GPL without naming a version.  When that statement
 was written (2007) that path referred to the GNU GPL version 2, so GPL-2+ has
 been used here.  Note that the path now resolves to GPL-3.
 .
 debian/patches/Parser-SPACE.diff was contributed by Andrew Ross.

License: LGPL-2.1
 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License, version 2.1 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.
 .
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 2.1 can be found in the file
 '/usr/share/common-licenses/LGPL-2.1'.
Comment:
 The upstream per-file notice is the usual LGPL-2.1 boilerplate.  Its closing
 paragraph ("You should have received a copy of the GNU Lesser General Public
 License ...") quotes the Free Software Foundation's postal address; following
 Debian Policy 12.5 the license text is referred to under
 /usr/share/common-licenses rather than quoted here, so that paragraph has
 been replaced by the pointer above.  The grant and the warranty disclaimer,
 which the license requires to be preserved, are reproduced verbatim.

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.
 .
 You should have received a copy of the GNU General Public License along
 with this program; if not, see <https://www.gnu.org/licenses/>.
Comment:
 On Debian systems, the complete text of the GNU General Public License
 version 2 can be found in the file '/usr/share/common-licenses/GPL-2'.

License: W3C
 W3C IPR SOFTWARE NOTICE
 .
 Copyright © 2002 World Wide Web Consortium, (Massachusetts Institute of
 Technology, Institut National de Recherche en Informatique et en Automatique,
 Keio University). All Rights Reserved.
 .
 Note: The original version of the W3C Software Copyright Notice and License
 could be found at
 http://www.w3.org/Consortium/Legal/copyright-software-19980720
 .
 Copyright © 1994-2000 World Wide Web Consortium, (Massachusetts Institute of
 Technology, Institut National de Recherche en Informatique et en Automatique,
 Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/
 .
 This W3C work (including software, documents, or other related items) is
 being provided by the copyright holders under the following license. By
 obtaining, using and/or copying this work, you (the licensee) agree that you
 have read, understood, and will comply with the following terms and
 conditions:
 .
 Permission to use, copy, and modify this software and its documentation, with
 or without modification, for any purpose and without fee or royalty is hereby
 granted, provided that you include the following on ALL copies of the
 software and documentation or portions thereof, including modifications, that
 you make:
 .
  1. The full text of this NOTICE in a location viewable to users of the
     redistributed or derivative work.
 .
  2. Any pre-existing intellectual property disclaimers, notices, or terms and
     conditions. If none exist, a short notice of the following form
     (hypertext is preferred, text is permitted) should be used within the
     body of any redistributed or derivative code: "Copyright © 2002 World
     Wide Web Consortium, (Massachusetts Institute of Technology, Institut
     National de Recherche en Informatique et en Automatique, Keio
     University). All Rights Reserved. http://www.w3.org/Consortium/Legal/"
 .
  3. Notice of any changes or modifications to the W3C files, including the
     date changes were made. (We recommend you provide URIs to the location
     from which the code is derived.)
 .
 THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS
 MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT
 LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
 PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE
 ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
 .
 COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
 CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
 DOCUMENTATION.
 .
 The name and trademarks of copyright holders may NOT be used in advertising
 or publicity pertaining to the software without specific, written prior
 permission. Title to copyright in this software and any associated
 documentation will at all times remain with copyright holders.
Comment:
 This is the text shipped in the upstream file COPYRIGHT.html, which is the
 notice referenced by the header of source/org/w3c/flute/parser/Parser.jj.  It
 is a lightly edited copy of the W3C Software Notice and License of
 1998-07-20, which is what the "W3C" short name denotes in this specification.
 .
 Two deviations from the canonical text at
 https://www.w3.org/Consortium/Legal/copyright-software-19980720 are worth
 recording: the grant omits the word "distribute" ("Permission to use, copy,
 and modify" rather than "Permission to use, copy, modify, and distribute"),
 and the second copyright line reads "1994-2000" instead of "1994-2002".  The
 canonical text at the URL cited by the notice does grant the right to
 distribute, and the notice itself contemplates redistribution ("on ALL copies
 ... that you make").  The W3C states that this formulation is no more
 restrictive than the GPL and is consequently GPL-compatible.
