licence: MIT LICENSE and SPDX identifiers in every first-party file
The repository had no licence at all, so every source was all-rights-reserved by default. Add the verbatim MIT text at LICENSE (Copyright (c) 2026 Martino Ferrari) and a two-line SPDX header to each of the 113 first-party sources -- 48 include/plot, 26 src, 10 adapters, 5 examples, 21 tests, 3 tools -- so the grant travels with each file rather than relying on the root document alone. Scripts keep their shebang on line 1; the SPDX lines follow it. Genuinely vendored code is untouched: third_party/stb_truetype.h carries no header of ours. src/render/embedded_mono_font.cpp is generated, so tools/fonts/gen_atlas.py emit() now writes the two lines into its header comment and the file was regenerated -- gen_atlas.py --check passes and the regeneration adds only those comment lines to the previously committed file. README's provenance section now states MIT and links LICENSE. No code, test or public API change.
This commit is contained in:
1 parent
059227d080
commit
ed3a8ce645
115 files changed
+367
-2
No files matched your search
@@ -139,8 +139,10 @@ them, because its adapters are off and 11 cases need an adapter target (8 in
|
||||
|
||||
## Licence and third-party provenance
|
||||
|
||||
- **This library** ships **no licence file** — there is no `LICENSE`/`COPYING` in the
|
||||
repository, so the sources carry no granted licence and a distributor must add one.
|
||||
- **This library** is **MIT licensed**: the full text is in [`LICENSE`](LICENSE), and
|
||||
every first-party file (C++, Python and shell) carries its SPDX identifier in the file
|
||||
header — `// SPDX-License-Identifier: MIT` — so the grant travels with each source file,
|
||||
not just the repository root.
|
||||
- **Adwaita Mono** (the embedded font, `render::EmbeddedMonoFont`) is under **SIL OFL
|
||||
1.1**, committed verbatim at [`licences/OFL-1.1.txt`](licences/OFL-1.1.txt). The backend
|
||||
class is named neutrally (`EmbeddedMonoFont`, not "Adwaita Mono") because OFL reserves
|
||||
|
||||
Reference in new issue
Block a user