Skip to content

Report linked dependency versions and provenance - #169

Merged
danoli3 merged 1 commit into
feat/jpeg-xlfrom
feat/dependency-info
Oct 15, 2026
Merged

danoli3 merged 1 commit into
feat/jpeg-xlfrom
feat/dependency-info

Conversation

@danoli3

@danoli3 danoli3 commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Add FreeImage_GetDependenciesCount and FreeImage_GetDependencyInfo as a small additive C API inspired by FreeImageRe's dependency reporting. Each entry provides library name, compile-time version, runtime version where available, and system/bundled provenance. Keep FreeImage_GetVersion unchanged.

Unknown versions remain null rather than being guessed. JPEG's compiled field explicitly identifies its API level; OpenEXR/Imath are compile-time-only currently. Version strings are immutable and borrowed for library lifetime. Optional libraries are conditional on the build; JPEG XL reporting activates when its separate feature PR is merged. Invalid indices/null outputs fail without changing caller data. Document combining this with existing format-capability queries.

Validation: macOS C++11 build, then a C++17 build with bundled OpenEXR and optional system libheif; all five applicable CTest suites pass. New tests query every entry, check stable borrowed strings and invalid arguments. Both CMake and legacy make source lists include the new implementation. Existing cross-platform and system-package CI exercise the remaining configurations.

PR stack

Depends on #168; base branch is feat/jpeg-xl. Next: #170.

#165 → #166 → #167 → #168 → #169 → #170 → #171

Merge bottom-up. Each PR diff is relative to its predecessor. Combined stack validation passed locally: 10 CTest suites with ASan, 9 in a shared build, 6 with both optional codecs disabled, plus all four Python/NumPy test groups. GitHub CI reruns after the branch rewrite.

@danoli3
danoli3 force-pushed the feat/dependency-info branch from 9de0706 to 4f391e6 Compare October 15, 2026 05:03
@danoli3
danoli3 changed the base branch from master to feat/jpeg-xl October 15, 2026 05:07
@danoli3
danoli3 added this pull request to stack #172 October 15, 2026 05:56
@danoli3
danoli3 merged commit d6812c0 into master Oct 15, 2026
49 checks passed
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