Repository navigation
appimage: libvpx 1.17.0 from the ffmpeg r6 artifact, with a check-appdir floor (#1134) - #2680
Merged
Merged
Conversation
RED on master: check_appdir.py has no libvpx check at all, so each of these fails - no libvpx found (0 != 1), two copies accepted, a 1.14.1 bundle accepted, and a second soname referenced by another library accepted.
…dir floor (#1134) The AppImage's FFmpeg artifact pinned libvpx 1.14.1, older than the 1.16.0 the released AppImage had before #927/#1047 moved it here, and 1.17.0 has public fixes on both paths OBS reaches libvpx (alpha-WebM decode via the forced decoder, libvpx-vp8/vp9 in Custom FFmpeg Output). The r6 rebuild of ffmpeg 8.1.3 carries it (obs-rust/obs-studio-libs#20); the lock pins that artifact by flavor r6 and sha256. check-appdir now fails the build when the AppImage bundles no libvpx, two of them, one older than 1.17.0, or when another bundled library asks for a different libvpx soname than the one bundled (the .so.9 -> .so.12 move).
Member
Author
|
Handed off to the coordinator — CI Gate ✅ green (Fast Gate, Format, CI Mode, Event Data, Validate Data all pass), auto-merge queued. One thing CI here cannot prove: no AppImage has been built from the r6 artifact yet ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The AppImage takes libvpx 1.17.0 instead of 1.14.1, and
check-appdirrefuses an AppImage that bundles an older one. Fixes #1134 (the obs-studio half; obs-deps for Windows/macOS is the issue's step 3, a different repo).RED (local,
957a6716e)New
ci/test_check_appdir.pycases, on master'scheck_appdir.py:Master has no libvpx check at all, so an AppImage with no libvpx, two of them, a 1.14.1 copy, or a second soname referenced by another library all passed.
GREEN (
18c30e95c)build-aux/appimage/manylinux/deps.lock.json: the ffmpeg pin is the r6 rebuild of 8.1.3 —"flavor": "r6", sha256f11267e3…459b2(was r5,845db95…54948).build-aux/appimage/check_appdir.py:_check_libvpx()mirrors the existing_check_libsrt(): exactly onelibvpx*.so*, a version at leastLIBVPX_MIN = "1.17.0"read as the barevX.Y.Zstring in.rodata(vpx_codec_version_str), and no bundled libraryNEEDEDon another libvpx soname than the bundled one. The pass line gainsone libvpx (1.17.0).docs/features.md: the ledger line.Verification
uv run --no-project python -m unittest ci.test_check_appdir ci.test_appimage_qsv_deps— 28 tests OK.ruff checkon both files — clean.The lock resolves end to end against the published catalog (not a local file): feeding this branch's
deps.lock.jsontoobs-studio-libs' resolver (parse_lock→fetch.installwith a scratch destination) matched theoptimization=release, flavor=r6entry inffmpeg/manifest.json, downloadedffmpeg-8.1.3-linux-x86_64-glibc2.28-release-r6.tar.zst, and sha256-verified it against the pin; the installed prefix haslibvpx.so.12.1.0(libvpx.so.9*absent).Artifact evidence (archive downloaded from the release, not from this host):
libvpx.so.9.0.1libvpx.so.12.1.0libavcodec.so.62NEEDEDlibvpx.so.9libvpx.so.12NEEDED libvpx.so.9in the prefixNot in this PR