Skip to content

Add IJG LICENSE file#37

Open
telecos wants to merge 2 commits into
vstroebel:mainfrom
telecos:chore/add-ijg-license
Open

Add IJG LICENSE file#37
telecos wants to merge 2 commits into
vstroebel:mainfrom
telecos:chore/add-ijg-license

Conversation

@telecos

@telecos telecos commented Jul 7, 2026

Copy link
Copy Markdown

During integration of jpeg-encoder in Chromium, we gound that gnrt tool failed because metadata lists IJG license but there is no corresponding license file. This PR aims to add the missing file.

Fixes #34

telecos added 2 commits May 11, 2026 08:44
The crate's Cargo.toml declares 'license = "(MIT OR Apache-2.0) AND IJG"'
but the IJG license file was not shipped alongside LICENSE-APACHE and
LICENSE-MIT, which breaks downstream license auditing (e.g. Chromium's
README.chromium generator via gnrt expects a License File for each SPDX
component).

The IJG license text added here is the LEGAL ISSUES section reproduced
verbatim from libjpeg-turbo's README.ijg, which SPDX lists as a canonical
source for the IJG license identifier:

  https://github.com/libjpeg-turbo/libjpeg-turbo/blob/main/README.ijg
  https://spdx.org/licenses/IJG.html

The copyright line '(C) 1991-2020, Thomas G. Lane, Guido Vollbeding' matches
the IJG notice already used inside this crate's own source headers
(see src/fdct.rs).

No code or behavior changes.
@telecos

telecos commented Jul 7, 2026

Copy link
Copy Markdown
Author

I drafted the license file based on the corresponding from libjpeg-turbo

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.

Missing license file for IJG license

1 participant