Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/packages/pylibjpeg-openjpeg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ versions:
- filename: pylibjpeg_openjpeg-2.5.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: 4a6b5725b6258de0d63f4f6278764b1ea406878834f75f6a73e237febd061863
requires-python: '>=3.9,<4.0'
- version: 2.6.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
Date: Wed, 30 Sep 2026 12:00:00 +0200
Subject: [PATCH] package the Little CMS licence in the built wheel

Upstream-Status: To upstream [not yet submitted; every pylibjpeg-openjpeg wheel on PyPI has the same gap, so it needs a maintainer discussion rather than a drive-by PR]

build_package.py compiles every lib/openjpeg/thirdparty/liblcms2/src/*.c
file (Little CMS 2.8, vendored by the openjpeg v2.5.3 submodule) into
the _openjpeg extension, so every wheel redistributes Little CMS in
binary form. Its MIT licence requires the copyright notice to travel
with the binary, but the root LICENSE only carries pylibjpeg-openjpeg's
own MIT text and openjpeg's BSD-2-Clause text.

Add the vendored copy's COPYING verbatim as LICENSE.lcms2 at the project
root: poetry-core copies every root LICENSE* file into the wheel's
dist-info, so no packaging change is needed.
---
LICENSE.lcms2 | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 LICENSE.lcms2

diff --git a/LICENSE.lcms2 b/LICENSE.lcms2
new file mode 100644
--- /dev/null
+++ b/LICENSE.lcms2
@@ -0,0 +1,8 @@
+Little CMS
+Copyright (c) 1998-2011 Marti Maria Saguer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--
2.43.0

Loading