-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathREUSE.toml
More file actions
185 lines (169 loc) · 6.38 KB
/
REUSE.toml
File metadata and controls
185 lines (169 loc) · 6.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
# This file contains copyright info for data files in the project directory.
# It is shipped with our sdist packages, although not all members are actually included.
# Note, this file has been auto-converted from .reuse/dep5 by `reuse convert-dep5`
version = 1
SPDX-PackageName = "pypdfium2"
SPDX-PackageSupplier = "geisserml <geisserml@gmail.com>"
SPDX-PackageDownloadLocation = "https://github.com/pypdfium2-team/pypdfium2"
[[annotations]]
path = [
"req/*.txt",
"autorelease/record.json",
"autorelease/config.json",
".github/PULL_REQUEST_TEMPLATE.md",
"tests/expectations/*.txt",
"tests/resources/render.pdf",
"tests/resources/multipage.pdf",
"tests/resources/encrypted.pdf",
"tests/resources/text.pdf",
"tests/resources/empty.pdf",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 geisserml <geisserml@gmail.com>"
SPDX-License-Identifier = "CC-BY-4.0"
[[annotations]]
path = "autorelease/bindings.py"
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 geisserml <geisserml@gmail.com>"
SPDX-FileContributor = "2026 ctypesgen developers"
SPDX-License-Identifier = "Apache-2.0 OR BSD-3-Clause"
SPDX-FileComment = "Auto-generated by ctypesgen. Probably not copyrighted."
[[annotations]]
path = "tests/resources/toc.pdf"
precedence = "aggregate"
SPDX-FileCopyrightText = "2020 Matthias Erll"
SPDX-License-Identifier = "MPL-2.0"
SPDX-FileComment = '''
Obtained from https://github.com/pikepdf/pikepdf/blob/master/tests/resources/outlines.pdf
pikepdf's REUSE.toml says "License assumed from LICENSE.txt in project root.":
https://github.com/pikepdf/pikepdf/blob/2662d9da649a3b354422673fb62bcfe0a1b9ba4c/REUSE.toml#L154
'''
[[annotations]]
path = [
"tests/resources/toc_circular.pdf",
"tests/resources/toc_viewmodes.pdf",
"tests/resources/toc_maxdepth.pdf",
"tests/resources/forms.pdf",
"tests/resources/attachments.pdf",
"tests/resources/mona_lisa.jpg",
"tests/resources/form_object_with_image.pdf",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2022 PDFium developers"
SPDX-License-Identifier = "BSD-3-Clause AND Apache-2.0"
SPDX-FileComment = '''
Test files obtained from pdfium's //testing/resources or the pdfium_tests corpus:
https://pdfium.googlesource.com/pdfium/+/refs/heads/main/testing/resources/bookmarks_circular.pdf
https://pdfium.googlesource.com/pdfium_tests/+/refs/heads/main/fx/other/8.2_outline.pdf
https://pdfium.googlesource.com/pdfium_tests/+/refs/heads/main/fx/FRC_8.2.2_part1/FRC_51_8.2.2_T_8.4__Count_edit_count_100.pdf
https://pdfium.googlesource.com/pdfium/+/refs/heads/main/testing/resources/listbox_form.pdf
https://pdfium.googlesource.com/pdfium/+/refs/heads/main/testing/resources/embedded_attachments.pdf
https://pdfium.googlesource.com/pdfium/+/refs/heads/main/testing/resources/mona_lisa.jpg
https://pdfium.googlesource.com/pdfium/+/refs/heads/main/testing/resources/form_object_with_image.pdf
pdfium's LICENSE file includes both BSD-3-Clause and Apache-2.0 texts
We're not sure if this meant as SPDX "AND" or "OR", so use the conservative (safe) assumption "AND".
'''
[[annotations]]
path = [
"tests/resources/box_fallback.in",
"tests/resources/box_fallback.pdf",
]
precedence = "aggregate"
SPDX-FileCopyrightText = [
"2022 PDFium developers",
"2026 geisserml <geisserml@gmail.com>",
]
SPDX-License-Identifier = "BSD-3-Clause AND Apache-2.0"
SPDX-FileComment = "See above regarding pdfium's double-license."
[[annotations]]
path = "tests/resources/images.pdf"
precedence = "aggregate"
SPDX-FileCopyrightText = [
"2022 Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>",
"2026 geisserml <geisserml@gmail.com>",
]
SPDX-License-Identifier = "LGPL-3.0-or-later"
SPDX-FileComment = '''
Obtained from img2pdf. No individual license stated for this data file.
'''
[[annotations]]
path = [
"patches/win/use_resources_rc.patch",
"patches/win/build.patch",
"patches/win/resources.rc",
"patches/android_crossbuild.patch"
]
precedence = "aggregate"
SPDX-FileCopyrightText = [
"2026 Benoît Blanchon and pdfium-binaries contributors",
"2026 geisserml",
]
SPDX-License-Identifier = "MIT"
SPDX-FileComment = '''
Derived from https://github.com/bblanchon/pdfium-binaries/tree/master/patches
See also //BUILD_LICENSES/pdfium-binaries.txt for a copy of upstream's license file as embedded in the tarballs.
'''
[[annotations]]
path = [
"patches/ffp_contract.patch",
"patches/avoid_new_clang_flags.patch",
"patches/system_libcxx_with_clang.patch",
"patches/legacy_gn.patch",
"patches/android_build.patch",
"patches/gn_build.patch",
"patches/no_libclang_rt.patch",
"patches/win/arm64_native.patch",
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 geisserml <geisserml@gmail.com>"
SPDX-License-Identifier = "BSD-3-Clause OR Apache-2.0"
[[annotations]]
path = [
"patches/legacy_libs_compat.patch",
"patches/clang_on_musl.patch",
]
precedence = "aggregate"
SPDX-FileCopyrightText = [
"2026 wojiushixiaobai <296015668@qq.com>",
"2026 geisserml <geisserml@gmail.com>",
]
SPDX-License-Identifier = "BSD-3-Clause OR Apache-2.0"
[[annotations]]
path = [
"patches/bigendian.patch",
"patches/bigendian_test.patch",
]
precedence = "aggregate"
SPDX-FileCopyrightText = [
"2025 Christian Heimes <cheimes@redhat.com>",
"2026 geisserml <geisserml@gmail.com>",
]
SPDX-License-Identifier = "LicenseRef-Ignore"
SPDX-FileComment = '''
Derived from RedHat packaging repository: https://github.com/tiran/libpdfium/blob/d99370b3ac7f0c9cd7222be2dfab2c7b648f2e9e/0001-bigendian.patch
Repo does not have an own license file, but assumably the patches are being made available under pdfium's license, or leastways an open-source license.
'''
[[annotations]]
path = "patches/abseil_ppc64le_musl.patch"
precedence = "aggregate"
SPDX-FileCopyrightText = "2025 The abseil authors"
SPDX-License-Identifier = "Apache-2.0"
SPDX-FileComment = '''
Cherry-pick https://github.com/abseil/abseil-cpp/commit/8e7767542cfde43f16c142f05dce06cadb7f7f84
'''
[[annotations]]
path = [
"docs/build/.gitkeep",
"sbuild/.gitkeep",
"RELEASE.md", # TODO add to gitignore?
]
precedence = "aggregate"
SPDX-FileCopyrightText = "2026 geisserml"
SPDX-License-Identifier = "CC-BY-4.0"
SPDX-FileComment = "Other files"
[[annotations]]
path = ["BUILD_LICENSES/**"]
precedence = "aggregate"
SPDX-FileCopyrightText = "unknown"
SPDX-License-Identifier = "LicenseRef-Ignore"
SPDX-FileComment = "Licenses for compiled binaries of pdfium."