Skip to content

License printworks under Apache-2.0; bundle LGPL notices for imagepipe/rawloader - #2

Merged
valenfys merged 2 commits into
mainfrom
add-apache-2.0-license
Sep 2, 2026
Merged

valenfys merged 2 commits into
mainfrom
add-apache-2.0-license

Conversation

@valenfys

@valenfys valenfys commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Licenses printworks itself under Apache-2.0 (LICENSE, license = "Apache-2.0" in Cargo.toml).
  • printworks statically links imagepipe (LGPL-3.0-only) and rawloader (LGPL-2.1). LGPL permits linking from an Apache-licensed application, but requires notices and a way for users to relink against a modified library.
  • Since Cargo produces a static binary (no shared-library mechanism), satisfies LGPLv3 §4(d)(0) by publishing full source with pinned dependency versions — a modified library can be relinked via a [patch] entry + rebuild.
  • Bundles the required license texts (licenses/GPL-3.0.txt, licenses/LGPL-3.0.txt, licenses/LGPL-2.1.txt) and documents the notices in THIRD-PARTY-LICENSES.md, referenced from the README's License section.

Test plan

  • cargo metadata confirms the package now resolves license = "Apache-2.0".
  • cargo build unaffected (no source changes, only metadata/docs/license files).

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKmYgyL2p8FVFu9Wx13t4K

valenfys and others added 2 commits September 2, 2026 14:34
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKmYgyL2p8FVFu9Wx13t4K
imagepipe (LGPL-3.0-only) and rawloader (LGPL-2.1) are statically
linked. Since printworks has no dynamic-linking mechanism to satisfy
LGPLv3 §4(d)(1), this uses the §4(d)(0) route instead: publish full
source with the dependency versions pinned, so a modified library can
be relinked via a Cargo [patch]. Bundles the required license copies
(GPLv3, LGPLv3, LGPLv2.1) and documents the notices in
THIRD-PARTY-LICENSES.md, referenced from the README.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKmYgyL2p8FVFu9Wx13t4K
@valenfys
valenfys merged commit ad12e34 into main Sep 2, 2026
3 checks passed
@valenfys
valenfys deleted the add-apache-2.0-license branch September 2, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant