Repository navigation
Expand file tree
/
Copy pathREUSE.toml
More file actions
350 lines (302 loc) · 12.3 KB
/
Copy pathREUSE.toml
File metadata and controls
350 lines (302 loc) · 12.3 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
version = 1
# Markdown files (cannot have inline SPDX headers)
[[annotations]]
path = [
"CHANGELOG.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"SECURITY.md",
"SUPPORT.md",
"CLAUDE.md",
"llama-atmosphere-agent/CLAUDE.md",
"android-llmservice/CLAUDE.md",
"CLAUDE_TEST_GENERATION_PROMPT.md",
"docs/RELEASE.md",
"docs/handover/**",
"docs/feature-investigation-llama-stack-client-kotlin.md",
"docs/history/49be664_24918e4.md",
"docs/history/49be664_open_issues.md",
"docs/history/49be664_open_issues_comments.md",
"docs/history/CHAT_INTEGRATION_SUMMARY.md",
"docs/history/REFACTORING.md",
"llama/src/test/resources/images/README.md",
"llama/src/test/resources/audios/README.md",
".claude/commands/find-cpp-duplication.md",
".claude/skills/java-tdd-guide/SKILL.pointer.md",
"llama-langchain4j/README.md",
"models/README.md",
]
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
# The README still carries text of the upstream project (kherud/java-llama.cpp)
[[annotations]]
path = "README.md"
SPDX-FileCopyrightText = [
"2023-2025 Konstantin Herud",
"2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>",
]
SPDX-License-Identifier = "MIT"
# CITATION.cff (not recognized by reuse annotate)
[[annotations]]
path = "CITATION.cff"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
# CMakeLists.txt (CMake format not recognized by reuse annotate)
[[annotations]]
path = "llama/CMakeLists.txt"
SPDX-FileCopyrightText = [
"2023-2025 Konstantin Herud",
"2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>",
]
SPDX-License-Identifier = "MIT"
# The dockcross wrappers are generated, unmodified output of dockcross's own wrapper template
# (imagefiles/dockcross.sh), printed by `docker run --rm dockcross/<image>:<tag>` -- except for the
# DEFAULT_DOCKCROSS_IMAGE line, which pins the image by digest; copyright and license as in
# https://github.com/dockcross/dockcross/blob/master/LICENSE.
[[annotations]]
path = [
".github/dockcross/dockcross-android-arm64",
".github/dockcross/dockcross-android-x86_64",
".github/dockcross/dockcross-manylinux_2_28-x64",
]
SPDX-FileCopyrightText = "2015-2021 Steeve Morin, Rob Burns, Matthew McCormick, Jean-Christophe Fillion-Robin, Bensuperpc"
SPDX-License-Identifier = "MIT"
# GITHUB/ISSUE_TEMPLATE/config.yml handled by reuse annotate below
# llama.cpp source patches (unified-diff format cannot carry inline SPDX without corrupting the
# diff). Glob covers every current and future patch dropped into patches/ — see CLAUDE.md
# "Local llama.cpp source patches".
[[annotations]]
path = "llama/patches/**"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
# Project logo / branding assets (binary + generated SVG, cannot carry inline SPDX
# without corrupting the base64-embedded font). Same MIT OR Apache-2.0 dual license
# the author ships them under in the workspace repo (the embedded Martian Mono font
# is OFL-1.1; only the standalone .ttf — not shipped here — carries that identifier).
[[annotations]]
path = [
"docs/branding/java-llama-cpp.svg",
"docs/branding/java-llama-cpp.png",
]
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT OR Apache-2.0"
# Android launcher-icon PNGs (binary, cannot carry inline SPDX). Generated from the
# shard-J of the java-llama.cpp logo; same MIT OR Apache-2.0 as the branding assets
# above (the adaptive-icon + colour XMLs carry their SPDX headers inline).
[[annotations]]
path = "android-llmservice/app/src/main/res/mipmap-*/ic_launcher*.png"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT OR Apache-2.0"
# LLM Service Play-Store hi-res icon (binary PNG, cannot carry inline SPDX). Store
# asset only — not bundled into the APK. Generated from the shard-J of the logo;
# MIT OR Apache-2.0 like the rest of the shared logo set.
[[annotations]]
path = "android-llmservice/store/ic_launcher-512.png"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT OR Apache-2.0"
# Test image (binary, cannot carry inline SPDX)
[[annotations]]
path = "llama/src/test/resources/images/test-image.jpg"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
# Test audio clip recorded by the project author; granted under MIT for this
# project (see llama/src/test/resources/audios/README.md).
[[annotations]]
path = "llama/src/test/resources/audios/sample.wav"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
# Backend loader test fixtures (backendtest/ + backendtest-ok/):
# deliberately unloadable fake *.so placeholders (one-line text files) plus two
# trivial real x86-64 ELF dummies in backendtest-ok/ (built from a one-line C
# TU, no upstream code) — .so files have no inline-comment syntax for SPDX
# headers; the jllama-extras.txt files carry theirs inline. Consumed by
# BackendLoadTest.
[[annotations]]
path = "llama/src/test/resources/net/ladenthin/llama/Linux/backendtest*/**"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
# JNI header files from Oracle (GPL-2.0-only WITH Classpath-exception-2.0)
[[annotations]]
path = [
".github/include/unix/jni.h",
".github/include/unix/jni_md.h",
".github/include/windows/jni.h",
".github/include/windows/jni_md.h",
]
SPDX-FileCopyrightText = "1996-2023 Oracle and/or its affiliates"
SPDX-License-Identifier = "GPL-2.0-only WITH Classpath-exception-2.0"
# The license texts of the third-party code compiled into the natives (llama/legal/natives/,
# copied into every natives jar; NOTICE.md there is the index). Each folder holds texts taken byte
# for byte from its upstream, which its SOURCE.txt names.
[[annotations]]
path = "llama/legal/natives/java-llama.cpp/**"
precedence = "override"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/llama.cpp/**"
precedence = "override"
SPDX-FileCopyrightText = "2023-2026 The ggml authors"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/nlohmann-json/**"
precedence = "override"
SPDX-FileCopyrightText = "2013-2025 Niels Lohmann"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/cpp-httplib/**"
precedence = "override"
SPDX-FileCopyrightText = "2017 yhirose"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/boringssl/**"
precedence = "override"
SPDX-FileCopyrightText = "The BoringSSL Authors"
SPDX-License-Identifier = "Apache-2.0 AND BSD-3-Clause"
[[annotations]]
path = "llama/legal/natives/xxhash/**"
precedence = "override"
SPDX-FileCopyrightText = "Yann Collet"
SPDX-License-Identifier = "BSD-2-Clause"
[[annotations]]
path = "llama/legal/natives/sha256-jb55/**"
precedence = "override"
SPDX-FileCopyrightText = "William Casarin"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/rotate-bits/**"
precedence = "override"
SPDX-FileCopyrightText = "2021 William Casarin <jb55@jb55.com>"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/sha1-clibs/**"
precedence = "override"
SPDX-FileCopyrightText = "Steve Reid"
SPDX-License-Identifier = "LicenseRef-public-domain"
[[annotations]]
path = "llama/legal/natives/stb_image/**"
precedence = "override"
SPDX-FileCopyrightText = "2017 Sean Barrett"
SPDX-License-Identifier = "MIT OR Unlicense"
[[annotations]]
path = "llama/legal/natives/miniaudio/**"
precedence = "override"
SPDX-FileCopyrightText = "David Reid"
SPDX-License-Identifier = "Unlicense OR MIT-0"
[[annotations]]
path = "llama/legal/natives/sheredom-subprocess/**"
precedence = "override"
SPDX-FileCopyrightText = "Neil Henning"
SPDX-License-Identifier = "Unlicense"
[[annotations]]
path = "llama/legal/natives/base64-hpp/**"
precedence = "override"
SPDX-FileCopyrightText = "base64.hpp authors"
SPDX-License-Identifier = "Unlicense"
[[annotations]]
path = "llama/legal/natives/llamafile-sgemm/**"
precedence = "override"
SPDX-FileCopyrightText = "2023 Mozilla Foundation"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/arm-optimized-routines/**"
precedence = "override"
SPDX-FileCopyrightText = "1999-2022 Arm Limited"
SPDX-License-Identifier = "MIT OR Apache-2.0 WITH LLVM-exception"
[[annotations]]
path = "llama/legal/natives/yarn/**"
precedence = "override"
SPDX-FileCopyrightText = "The YaRN authors"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/ggllm.cpp/**"
precedence = "override"
SPDX-FileCopyrightText = "2023 cmp-nct"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/pillow/**"
precedence = "override"
SPDX-FileCopyrightText = "1997-2011 Secret Labs AB; 1995-2011 Fredrik Lundh and contributors"
SPDX-License-Identifier = "MIT-CMU"
[[annotations]]
path = "llama/legal/natives/openvino/**"
precedence = "override"
SPDX-FileCopyrightText = "Intel Corporation"
SPDX-License-Identifier = "Apache-2.0"
[[annotations]]
path = "llama/legal/natives/unicode/**"
precedence = "override"
SPDX-FileCopyrightText = "Unicode, Inc."
SPDX-License-Identifier = "Unicode-3.0"
[[annotations]]
path = "llama/legal/natives/webui-big-integer/**"
precedence = "override"
SPDX-FileCopyrightText = "Peter Olson"
SPDX-License-Identifier = "Unlicense"
[[annotations]]
path = "llama/legal/natives/webui-decimal.js/**"
precedence = "override"
SPDX-FileCopyrightText = "Michael Mclaughlin"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/webui-nerdamer-prime/**"
precedence = "override"
SPDX-FileCopyrightText = "The nerdamer authors"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/cccl/**"
precedence = "override"
SPDX-FileCopyrightText = "NVIDIA Corporation"
SPDX-License-Identifier = "Apache-2.0 WITH LLVM-exception AND Apache-2.0 AND BSD-3-Clause"
[[annotations]]
path = "llama/legal/natives/hip/**"
precedence = "override"
SPDX-FileCopyrightText = "Advanced Micro Devices, Inc."
SPDX-License-Identifier = "MIT"
[[annotations]]
path = "llama/legal/natives/onednn/**"
precedence = "override"
SPDX-FileCopyrightText = "2016-2025 Intel Corporation"
SPDX-License-Identifier = "Apache-2.0"
[[annotations]]
path = "llama/legal/natives/vulkan-headers/**"
precedence = "override"
SPDX-FileCopyrightText = "The Khronos Group Inc."
SPDX-License-Identifier = "Apache-2.0 OR MIT"
[[annotations]]
path = "llama/legal/natives/spirv-headers/**"
precedence = "override"
SPDX-FileCopyrightText = "2015-2024 The Khronos Group Inc."
SPDX-License-Identifier = "MIT AND MIT-Khronos-old"
[[annotations]]
path = "llama/legal/natives/opencl-headers/**"
precedence = "override"
SPDX-FileCopyrightText = "The Khronos Group Inc."
SPDX-License-Identifier = "Apache-2.0"
[[annotations]]
path = "llama/legal/natives/opencl-clhpp/**"
precedence = "override"
SPDX-FileCopyrightText = "The Khronos Group Inc."
SPDX-License-Identifier = "Apache-2.0"
[[annotations]]
path = "llama/legal/natives/webui-npm/THIRD-PARTY-LICENSES.txt"
precedence = "override"
SPDX-FileCopyrightText = "The authors of the npm packages it names"
SPDX-License-Identifier = "MIT AND ISC AND BSD-3-Clause AND BSD-2-Clause AND Apache-2.0 AND Unlicense AND MPL-2.0"
# Generated or written here: provenance notes, the package list and the lockfile digest.
[[annotations]]
path = ["llama/legal/natives/**/SOURCE.txt", "llama/legal/natives/webui-npm/packages.csv", "llama/legal/natives/webui-npm/LOCKFILE.sha256"]
precedence = "override"
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT OR Apache-2.0"
# The issue/PR templates are templates of bernardladenthin/actions (templates/common), checked by
# its check-templates action, and carry the license of the other template files.
# Last in this file on purpose: of several matching annotations the last one applies.
[[annotations]]
path = [
".github/ISSUE_TEMPLATE/bug_report.md",
".github/ISSUE_TEMPLATE/feature_request.md",
".github/PULL_REQUEST_TEMPLATE.md",
]
SPDX-FileCopyrightText = "2026 Bernard Ladenthin <bernard.ladenthin@gmail.com>"
SPDX-License-Identifier = "MIT OR Apache-2.0"