Skip to content

appimage: libvpx 1.17.0 from the ffmpeg r6 artifact, with a check-appdir floor (#1134) - #2680

Merged
zackees merged 2 commits into
masterfrom
appimage/1134-libvpx-1.17.0
Oct 27, 2026
Merged

zackees merged 2 commits into
masterfrom
appimage/1134-libvpx-1.17.0

Conversation

@zackees

@zackees zackees commented Oct 27, 2026

Copy link
Copy Markdown
Member

The AppImage takes libvpx 1.17.0 instead of 1.14.1, and check-appdir refuses 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.py cases, on master's check_appdir.py:

FAILED (failures=5)
- test_no_libvpx_fails                    AssertionError: 0 != 1
- test_two_libvpx_fails                   AssertionError: 0 != 1
- test_a_libvpx_older_than_the_floor_fails AssertionError: 0 != 1
- test_a_second_libvpx_soname_referenced_by_another_library_fails  AssertionError: 0 != 1
- test_a_complete_appdir_passes           "one libvpx (1.17.0)" not in out

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", sha256 f11267e3…459b2 (was r5, 845db95…54948).
  • build-aux/appimage/check_appdir.py: _check_libvpx() mirrors the existing _check_libsrt(): exactly one libvpx*.so*, a version at least LIBVPX_MIN = "1.17.0" read as the bare vX.Y.Z string in .rodata (vpx_codec_version_str), and no bundled library NEEDED on another libvpx soname than the bundled one. The pass line gains one 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 check on both files — clean.

The lock resolves end to end against the published catalog (not a local file): feeding this branch's deps.lock.json to obs-studio-libs' resolver (parse_lock → fetch.install with a scratch destination) matched the optimization=release, flavor=r6 entry in ffmpeg/manifest.json, downloaded ffmpeg-8.1.3-linux-x86_64-glibc2.28-release-r6.tar.zst, and sha256-verified it against the pin; the installed prefix has libvpx.so.12.1.0 (libvpx.so.9* absent).

Artifact evidence (archive downloaded from the release, not from this host):

check r5 (previous pin) r6 (this pin)
bundled libvpx libvpx.so.9.0.1 libvpx.so.12.1.0
libavcodec.so.62 NEEDED libvpx.so.9 libvpx.so.12
any NEEDED libvpx.so.9 in the prefix libavcodec none
archive entries 616 616 (same paths except the libvpx set)

Not in this PR

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).
@zackees

zackees commented Oct 27, 2026

Copy link
Copy Markdown
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 (appimage.yaml is workflow_dispatch-only). check-appdir runs inside that build, so the next AppImage build is the end-to-end check — if it fails, it will fail there, not in PR CI. The artifact itself (sha256, contents, soname move) is verified in obs-rust/obs-studio-libs#20.

Merged via the queue into master with commit 3edfaac Oct 27, 2026
32 checks passed
@zackees
zackees deleted the appimage/1134-libvpx-1.17.0 branch October 27, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

bug: AppImage: bundled libvpx 1.14.1 (regressed from 1.16.0 by #927) has public fixes in 1.17.0

2 participants