From f1d30d513c821a63421367d69cc60365b7bd0e7b Mon Sep 17 00:00:00 2001 From: 4DBug Date: Sat, 31 Oct 2026 08:37:57 -0500 Subject: [PATCH] ws-arch: licenses: LZMA SDK / xz public-domain notice for codecs/Lzma, archive/xz, archive/7z --- licenses/NOTICE.md | 1 + licenses/lzma-xz-PUBLIC-DOMAIN.txt | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 licenses/lzma-xz-PUBLIC-DOMAIN.txt diff --git a/licenses/NOTICE.md b/licenses/NOTICE.md index 5d28e73..259116d 100644 --- a/licenses/NOTICE.md +++ b/licenses/NOTICE.md @@ -4,6 +4,7 @@ |---|---|---| | `src/Formats/codecs/Deflate/` (Inflate, init), `src/Formats/core/Crc32.luau`, `src/Formats/core/Adler32.luau`, `src/Formats/core/Huffman.luau` (table builder) | deflate-luau 1.0.0 (same author), written from RFC 1950-1952 | no licence chosen yet; no third-party code: [deflate-luau-NOTICE.txt](deflate-luau-NOTICE.txt) | | `src/Formats/image/png/` (init, Decode) | png-luau 1.0.0 (same author), written from the PNG specification | no licence chosen yet; no third-party code | +| `src/Formats/codecs/Lzma/`, `src/Formats/archive/xz/`, `src/Formats/archive/7z/` | written from the LZMA specification / LzmaSpec.cpp and 7zFormat.txt (LZMA SDK, Igor Pavlov), the xz file format specification and xz-embedded's BCJ filters (Lasse Collin) | all public domain: [lzma-xz-PUBLIC-DOMAIN.txt](lzma-xz-PUBLIC-DOMAIN.txt) | | `tests/fixtures/pngsuite/` | PngSuite by Willem van Schaik | [PngSuite-LICENSE.txt](PngSuite-LICENSE.txt) | Ports of third-party code (minimp3, stb_vorbis, libopus, ...) add a row here and their upstream licence text in this diff --git a/licenses/lzma-xz-PUBLIC-DOMAIN.txt b/licenses/lzma-xz-PUBLIC-DOMAIN.txt new file mode 100644 index 0000000..eb3afbd --- /dev/null +++ b/licenses/lzma-xz-PUBLIC-DOMAIN.txt @@ -0,0 +1,9 @@ +LZMA SDK (Igor Pavlov): "LZMA SDK is placed in the public domain. Anyone is free to copy, modify, publish, use, +compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any +purpose, commercial or non-commercial, and by any means." (https://www.7-zip.org/sdk.html). This covers the LZMA +specification (lzma-specification.txt, LzmaSpec.cpp) and 7zFormat.txt that codecs/Lzma and archive/7z follow. + +XZ Utils / xz-embedded (Lasse Collin): the xz file format specification and xz-embedded (including xz_dec_bcj.c, whose +BCJ filters codecs/Lzma/Filters follows) were released into the public domain ("This file has been put into the public +domain. You can do whatever you want with this file."); newer releases use the 0BSD licence, which imposes no +conditions either.