Replace the Lensfun WebAssembly runtime with our own lens engine.
The wrapper's wasm, its 5 MB data blob and the runtime chunk were fragile to serve (CSP, MIME, cache) and pulled an LGPL runtime into the bundle just for calibration data. The Lensfun XML is now converted at build time into public/lens-db/profiles.json, and search, matching and the correction maths live in src/lib/lensDb.ts and src/lib/lensEngine.ts. Maps are pinned against output captured from the previous implementation, so results are unchanged. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
+8
-12
@@ -3,35 +3,31 @@
|
||||
**Luminary** — notices resolved 23 November 2026.
|
||||
|
||||
This file consolidates the notices for third-party software that Luminary bundles,
|
||||
links, or ships in its build output and container image. `public/lensfun/NOTICE.md`
|
||||
and `public/lensfun/THIRD_PARTY_LICENSES.md` remain the notices served with the
|
||||
Lensfun assets; this file does not replace them.
|
||||
links, or ships in its build output and container image. `public/lens-db/NOTICE.md`
|
||||
remains the notice served with the Lensfun-derived calibration data; this file does not
|
||||
replace it.
|
||||
|
||||
The Luminary application code is licensed under the [MIT licence](LICENSE). That licence
|
||||
covers only Luminary's original code: it grants no rights in the components below and
|
||||
does not replace their terms.
|
||||
Versions are those resolved in `package-lock.json`; the Lensfun pin is
|
||||
`655a9c4e3e53c25bc04843c853e7e7a0121359e7` (see `public/lensfun/UPSTREAM.md`).
|
||||
Versions are those resolved in `package-lock.json`; the lens database pin is
|
||||
`655a9c4e3e53c25bc04843c853e7e7a0121359e7` (see `public/lens-db/NOTICE.md`).
|
||||
|
||||
## Runtime components
|
||||
|
||||
| Component | Version / pin | Licence | Notice |
|
||||
| --- | --- | --- | --- |
|
||||
| Lensfun library | `655a9c4` | LGPL-3.0-or-later | © Lensfun contributors — https://github.com/lensfun/lensfun |
|
||||
| Lensfun camera/lens database | `655a9c4` | CC BY-SA 3.0 Unported | © Lensfun contributors — https://creativecommons.org/licenses/by-sa/3.0/ |
|
||||
| Lensfun WebAssembly wrapper | 0.1.3 | MIT | © 2026 lex — https://github.com/lexluthor0304/LensfunWasm |
|
||||
| Lensfun camera/lens database (data only) | `655a9c4` | CC BY-SA 3.0 Unported | © Lensfun contributors — https://creativecommons.org/licenses/by-sa/3.0/ |
|
||||
| LibRaw (compiled into `libraw-wasm`) | via `libraw-wasm` 1.6.0 | LGPL-2.1 **or** CDDL-1.0 | © LibRaw LLC — https://github.com/LibRaw/LibRaw |
|
||||
| `libraw-wasm` | 1.6.0 | ISC | Copyright holder not stated by the package — https://github.com/ybouane/LibRaw-Wasm |
|
||||
| `sharp` | 0.35.5 | Apache-2.0 | https://github.com/lovell/sharp |
|
||||
| libvips (bundled in `sharp` binaries) | shipped by `sharp` 0.35.5 | LGPL-2.1-or-later | © libvips contributors — https://github.com/libvips/libvips |
|
||||
| tinyxml2 (in the Lensfun WASM) | — | zlib | © Lee Thomason — https://github.com/leethomason/tinyxml2 |
|
||||
| utf8proc (in the Lensfun WASM) | — | MIT | © utf8proc contributors — https://github.com/JuliaStrings/utf8proc |
|
||||
| `exifr` | 7.1.3 | MIT | © 2020 Mike Kovařík, Mutiny.cz — https://github.com/MikeKovarik/exifr |
|
||||
| `nodemailer` | 7.0.13 | MIT-0 | © 2011-2023 Andris Reinman — https://github.com/nodemailer/nodemailer |
|
||||
| React / React DOM | 18.3.1 | MIT | © Facebook, Inc. and its affiliates — https://github.com/facebook/react |
|
||||
|
||||
The Lensfun database is a separate asset from the Lensfun library: CC BY-SA 3.0
|
||||
applies to the profile data, not to Luminary's application code. Attribution and
|
||||
The lens database is a separate asset from Luminary's code: CC BY-SA 3.0 applies to
|
||||
Lensfun's calibration data, not to the correction engine that reads it. Attribution and
|
||||
share-alike requirements are summarised in the README under
|
||||
[Third-party attribution and licences](README.md#third-party-attribution-and-licences).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user