Skip to content

mcpplibs.mwrap.libwebp 1.5.0: libwebp-m (libwebp as C++23 modules) - #622

Merged
Sunrisepeak merged 1 commit into
mainfrom
libwebp-mwrap
Oct 28, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
libwebp-mwrap

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Adds mcpplibs.mwrap.libwebp 1.5.0: libwebp-m, libwebp as C++23 modules over compat.libwebp 1.5.0.

  • Descriptor pkgs/mwrap/libwebp.lua: the immutable mwrap-1.5.0 release asset (libwebp-m-1.5.0.tar.gz, sha256 2a085e5e…f6a0), tagged on libwebp-m's merged main after its CI passed; autoupdate on the mwrap-${version} tags; no CN mirror yet.
  • Modules: mcpplibs.mwrap.libwebp (decode, encode, mux_types; re-exports .sharpyuv and .macros), .demux and .mux behind the demux / mux features (forwarded to compat.libwebp's). The 22 static inline functions are adapted in mcpplibs::mwrap::libwebp.
  • Consumer tests/mwrap/libwebp-image (both features): lossy/lossless RGBA round trips with alpha, the advanced API with pinned bytes, an animation round trip, error paths.
  • validate.yml: the installed default image template, packed and relocated, with the wrapper's and libwebp's notices checked byte for byte.
  • Plan in .agents/docs/2026-10-29-add-libwebp-mwrap-plan.md; CHANGELOG entry.

Local, mcpp 2026.10.27.1: bash tests/run_members.sh libwebp-image ok; python3 tests/mwrap/check_installed_template.py --package mcpplibs.mwrap.libwebp@1.5.0 --deploy ok (6 byte-identical license files).

Descriptor pkgs/mwrap/libwebp.lua (form A, the immutable mwrap-1.5.0
release asset, tagged on libwebp-m's merged main; no CN mirror yet), over
compat.libwebp 1.5.0. Consumer tests/mwrap/libwebp-image, with the demux
and mux features: lossy and lossless RGBA round trips with alpha, the
advanced API with its pinned bytes, an animation encoded and played back
frame by frame, the error paths. The installed-template check in
validate.yml with its deployment contract (the wrapper's LICENSE/NOTICE,
libwebp's README, COPYING, PATENTS and AUTHORS, byte for byte in a
relocated bundle), and the plan.
@Sunrisepeak
Sunrisepeak merged commit 7859f2c into main Oct 28, 2026
18 checks passed
@Sunrisepeak
Sunrisepeak deleted the libwebp-mwrap branch October 28, 2026 23:20
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