Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: flexmark-java
Upstream-Contact: Vladimir Schneider <vladimir.schneider@gmail.com>
Source: https://github.com/vsch/flexmark-java
Comment:
 The orig tarball is commit cc3a2f59 of the upstream repository (release
 0.64.8, which has no tag; see debian/README.source), repacked (+ds) to
 keep only the modules this package builds: the 24 modules scaladoc
 needs and the four test support modules used to run the upstream tests
 (flexmark-test-util, flexmark-test-specs, flexmark-core-test,
 flexmark-ext-typographic). Excluded:
  - lib/: prebuilt third-party jars (antlr, xalan, pegdown, ...);
  - every other module directory (not built by this package);
  - IDE, CI and release files (.idea, *.iml, .github, .travis.yml,
    codecov.yml, central-pom.xml, update-*.sh, batch-search-replace.xml,
    markdown-navigator-settings.xml), the assets/ images and the etc/
    and META-INF/ directories, none used by the build;
  - documentation that describes the excluded modules or old versions
    (Library-Classes-*.md, Moved-Classes-*.md,
    MarkdownProcessorsEmulation.md, VERSION-TODO.md, SECURITY.md);
  - flexmark-ext-tables/src/main/javadoc/warning.png, an emoji image of
    unknown origin in the Javadoc overview (Javadoc is not built).
Files-Excluded:
 .github
 .gitignore
 .gitmodules
 .idea
 .travis.yml
 Library-Classes-0-50-x.md
 Library-Classes-0-60-0.md
 META-INF
 MarkdownProcessorsEmulation.md
 Moved-Classes-0-50-x-to-0-60-0.md
 SECURITY.md
 VERSION-TODO.md
 assets
 batch-search-replace.xml
 central-pom.xml
 codecov.yml
 etc
 flexmark-all
 flexmark-docx-converter
 flexmark-ext-abbreviation
 flexmark-ext-admonition
 flexmark-ext-aside
 flexmark-ext-attributes
 flexmark-ext-definition
 flexmark-ext-enumerated-reference
 flexmark-ext-escaped-character
 flexmark-ext-footnotes
 flexmark-ext-gfm-issues
 flexmark-ext-gfm-users
 flexmark-ext-gitlab
 flexmark-ext-jekyll-front-matter
 flexmark-ext-jekyll-tag
 flexmark-ext-macros
 flexmark-ext-media-tags
 flexmark-ext-resizable-image
 flexmark-ext-spec-example
 flexmark-ext-toc
 flexmark-ext-xwiki-macros
 flexmark-ext-youtube-embedded
 flexmark-ext-zzzzzz
 flexmark-formatter-test-suite
 flexmark-html2md-converter
 flexmark-integration-test
 flexmark-java-samples
 flexmark-osgi
 flexmark-pdf-converter
 flexmark-profile-pegdown
 flexmark-test-suite
 flexmark-tree-iteration
 flexmark-util-experimental
 flexmark-youtrack-converter
 lib
 markdown-navigator-settings.xml
 update-bid-gen.sh
 update-plugin.sh
 *.iml
 flexmark-ext-tables/src/main/javadoc/warning.png

Files: *
Copyright: 2015-2016 Atlassian Pty Ltd
           2015-2016 Atlassian and others
           2015-2023 Vladimir Schneider <vladimir.schneider@gmail.com>
License: BSD-2-clause
Comment:
 flexmark-java started as a fork of commonmark-java (Atlassian Pty Ltd,
 BSD-2-clause); LICENSE.txt names both holders and README.md says
 "Copyright (c) 2015-2016 Atlassian and others" and "Copyright (c)
 2016-2023, Vladimir Schneider". Most source files carry no header.
 flexmark-util-sequence/src/main/resources/com/vladsch/flexmark/util/sequence/entities.properties
 is the table of HTML named character references (entity name and
 character), as in commonmark-java.

Files: flexmark-util-collection/src/main/java/com/vladsch/flexmark/util/collection/iteration/ArrayIterable.java
       flexmark-util/src/test/java/com/vladsch/flexmark/util/html/ui/HtmlHelpersTest.java
       flexmark-ext-typographic/src/test/java/com/vladsch/flexmark/ext/typographic/ComboTypographicSpecTest.java
Copyright: 2015-2019 Vladimir Schneider <vladimir.schneider@gmail.com>
License: BSD-2-clause
Comment:
 These files carry a header saying "This code is private property of the
 copyright holder and cannot be used without having obtained a license".
 The copyright holder stated that this is an error ("I copied the files
 from my plugin and forgot to change the headers. The library is
 BSD-2-Clause. Please ignore these headers"):
 https://github.com/vsch/flexmark-java/issues/443#issuecomment-792165816
 A pull request replacing the headers is open upstream:
 https://github.com/vsch/flexmark-java/pull/590

Files: flexmark-util-misc/src/main/java/com/vladsch/flexmark/util/misc/ImageUtils.java
Copyright: 2017 Holger Brandl
           2017 Vladimir Schneider
           2015-2018 Vladimir Schneider <vladimir.schneider@gmail.com>
License: BSD-2-clause
Comment:
 The file has a BSD-2-clause header (Holger Brandl and Vladimir
 Schneider) followed by the erroneous "private property" header
 described in the stanza above; see
 https://github.com/vsch/flexmark-java/issues/443#issuecomment-792165816

Files: flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/BackgroundColor.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/Color.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/ColorStyler.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/FontStyle.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/FontStyleStyler.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/FontStyler.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlBuilder.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlHelpers.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlStyler.java
       flexmark-util-html/src/main/java/com/vladsch/flexmark/util/html/ui/HtmlStylerBase.java
       flexmark-util-misc/src/main/java/com/vladsch/flexmark/util/misc/DelimitedBuilder.java
       flexmark-util/src/test/java/com/vladsch/flexmark/util/html/ui/HtmlBuilderTest.java
       flexmark-util/src/test/java/com/vladsch/flexmark/util/sequence/RepeatedSequenceTest.java
Copyright: 2016-2018 Vladimir Schneider <vladimir.schneider@gmail.com>
License: Apache-2.0
Comment:
 RepeatedSequenceTest.java uses the Apache Software Foundation's
 "Licensed to the ASF" header wording, but its copyright line names
 Vladimir Schneider only.

Files: *_spec.md
       flexmark-core-test/src/test/resources/core_extra_ast_spec2.md
Copyright: 2016-2023 Vladimir Schneider <vladimir.schneider@gmail.com>
License: CC-BY-SA-4.0
Comment:
 Test specifications (Markdown input, expected HTML and AST) used by the
 upstream tests. Their front matter says
 "license: '[CC-BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/)'"
 and, where filled in, "author: Vladimir Schneider".

Files: flexmark-core-test/src/test/resources/core_issues_ast_spec.md
Copyright: 2017-2023 Vladimir Schneider <vladimir.schneider@gmail.com>
           The Apache Software Foundation
License: CC-BY-SA-4.0 and Apache-2.0
Comment:
 Test specification under CC-BY-SA-4.0 (front matter). Its example for
 upstream issue 384 quotes a few lines of an Apache OpenMeetings
 documentation page, with that page's "Licensed under the Apache License,
 Version 2.0" comment.

Files: flexmark-test-specs/src/main/resources/spec*.txt
Copyright: 2014-2021 John MacFarlane
License: CC-BY-SA-4.0
Comment:
 Versions 0.26 to 0.30 of the CommonMark specification
 (https://spec.commonmark.org/), "author: John MacFarlane", "license:
 CC-BY-SA 4.0" in their front matter. Test data only.

Files: flexmark-core-test/src/test/resources/ast_spec.md
Copyright: 2014-2017 John MacFarlane
           2016-2023 Vladimir Schneider <vladimir.schneider@gmail.com>
License: CC-BY-SA-4.0
Comment:
 The CommonMark specification 0.28 (John MacFarlane) with the flexmark AST
 of every example added by Vladimir Schneider. Test data only.

Files: flexmark-ext-emoji/src/main/resources/EmojiReference.txt
Copyright: 2016-2023 Vladimir Schneider <vladimir.schneider@gmail.com>
           1991-2022 Unicode, Inc.
License: BSD-2-clause and Unicode-DFS-2016
Comment:
 Tab separated table generated by upstream's emoji-cross-reference tool
 (https://github.com/vsch/emoji-cross-reference) and loaded at run time
 by EmojiReference.java. Each row cross-references an emoji shortcut name
 of the GitHub emoji API (https://api.github.com/emojis) and of
 emoji-cheat-sheet.com with image file names, the Unicode code points,
 and the CLDR short name, group and subgroup taken from the Unicode Emoji
 List v15.0 (https://unicode.org/emoji/charts/emoji-list.html), which is
 Unicode data under the Unicode data files licence. The shortcut and file
 names are identifiers, not expression.

Files: debian/*
Copyright: 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: BSD-2-clause

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:
 .
 * 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.
 .
 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.

License: Apache-2.0
 Licensed under the Apache License, Version 2.0 (the "License"); you may
 not use this file except in compliance with the License. You may obtain
 a copy of the License at
 .
 http://www.apache.org/licenses/LICENSE-2.0
 .
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 .
 On Debian systems, the complete text of the Apache License, Version 2.0
 can be found in "/usr/share/common-licenses/Apache-2.0".

License: CC-BY-SA-4.0
 Creative Commons Attribution-ShareAlike 4.0 International Public License
 .
 By exercising the Licensed Rights (defined in the license), You accept
 and agree to be bound by the terms and conditions of the Creative Commons
 Attribution-ShareAlike 4.0 International Public License.
 .
 On Debian systems, the complete text of the Creative Commons
 Attribution-ShareAlike 4.0 International Public License can be found in
 "/usr/share/common-licenses/CC-BY-SA-4.0".

License: Unicode-DFS-2016
 UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
 .
 Unicode Data Files include all data files under the directories
 http://www.unicode.org/Public/, http://www.unicode.org/reports/,
 http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
 and http://www.unicode.org/utility/trac/browser/.
 .
 Unicode Data Files do not include PDF online code charts under the
 directory http://www.unicode.org/Public/.
 .
 Software includes any source code published in the Unicode Standard
 or under the directories
 http://www.unicode.org/Public/, http://www.unicode.org/reports/,
 http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
 and http://www.unicode.org/utility/trac/browser/.
 .
 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 (c) 1991-2016 Unicode, Inc. All rights reserved.
 Distributed under the Terms of Use in http://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.
