Repository navigation
publish-cvcpkg: ari-media on cvcpkg.org, and arigl with its player - #1023
Merged
Merged
Conversation
Nothing published ari-media, and the published arigl has no player: the publish job never had FFmpeg, so the shared cvcGL's cvcMedia built without it, the player was silently absent, and video: and audio: say unsupported in every packaged host (arigl 3.7.10: `requires: [media.player]` fails). ffmpeg-lgpl's DLLs were installed beside it as a runtime dep of cvcgl, but nothing linked them. - cvcgl [Linux] / [Windows]: ffmpeg-lgpl for the shared cvcGL (into $PY on Linux, a prefix of its own on Windows), named outright. The step fails unless cvcMedia's configure reports the player, and on Linux unless libcvcMedia.so links ffmpeg-lgpl's libavformat soname. The static cvcGL builds without the player: a static cvcMedia exports what it links, and FFmpeg's paths would not resolve downstream. - arigl [Linux] / [Windows]: `arigl info` must report media_player. - ari-media [Linux] / [macOS] / [Windows]: new steps, the recipe's own script against the libcvc built here, with sdl3 and ffmpeg-lgpl in a prefix of their own. Each must report its player (info: media_player, audio), render the terminal tour, open the player test's clip and tone on SDL's dummy sound, and link ffmpeg-lgpl's libavformat, before it packs. Its revision comes from compute-revisions like the others. - cvcMedia: CVC_MEDIA_WITH_FFMPEG (default ON) turns the player off; an FFmpeg named by CVC_FFMPEG_INCLUDE_DIR skips pkg-config, so a host FFmpeg's .pc cannot stand in for it. - ari-media recipe: build.sh and build.ps1 take CVC_FFMPEG_PREFIX, an FFmpeg in a prefix of its own, and name its libraries outright.
transfix
pushed a commit
to cy-pca/nicotina
that referenced
this pull request
Nov 5, 2026
arigl from cvcpkg.org was built without FFmpeg, so it has no player either, not only the unpublished ari-media. transfix/libcvc#1023 builds arigl's player and publishes ari-media from the next libcvc release.
It built --target ari-media alone, then installed the ari component, which holds bin/ari too, so the install failed on a bin/ari never built (the first Linux run, in publish-cvcpkg's dry run 41970161318: file INSTALL cannot find build-ari-media/ari). bin/ari is still removed after the install.
transfix
added a commit
to cy-pca/nicotina
that referenced
this pull request
Nov 5, 2026
…d's picture behind its text in a terminal (#16) libcvc 3.7.9 released the media stack and 3.7.10 is what CI installs, and main's integration job failed on it: ari has image.url now, so a card's author avatar is a picture, not the "(AL)" initials. tests/local.sh asks the host, as run.sh does. The profile card's picture (card_image_url) now shows behind its text in a terminal too (terminal: behind), since 3.7.9 fixed the half-blocks' colour bleed; the window's page picture stays window-only. run.sh checks the half-blocks beside the card's lines. The README names the releases that carry each feature, and says no packaged host has a player yet (transfix/libcvc#1023).
…install name ffmpeg-lgpl's dylibs are named @rpath/libavformat.61.7.100.dylib, which the one-number pattern missed: the macOS arm64 dry run (41973897441) built and linked the player, then failed the check.
This was referenced Nov 5, 2026
transfix
added a commit
to cy-pca/nicotina
that referenced
this pull request
Nov 6, 2026
ari-media, ari with a player for video: and audio:, is on cvcpkg.org since libcvc 3.7.10+cvc.1 (transfix/libcvc#1023, Linux and Windows). The unit job now runs tests/run.sh twice, with the plain ari and with ari-media, so the cards' video and audio checks run instead of skipping. ci/install-hosts.sh installs ari-media beside ari and arigl and checks it has its player; the tests get SDL's dummy sound, since a runner has no sound device.
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 packaged hosts have no video/audio player, so nicotina's
video:andaudio:say unsupported everywhere they run from cvcpkg.org.cvcpkg/recipes/ari-mediaexists, but no workflow builds it.requires: [media.player]failsarigl check.Changes (publish-cvcpkg.yml unless noted)
cvcgl [Linux] / [Windows]: ffmpeg-lgpl for the shared cvcGL, named outright (
CVC_FFMPEG_INCLUDE_DIR/CVC_FFMPEG_<lib>_LIBRARY). On Linux it goes into$PY, already on the job's prefix and loader paths (installed withLD_LIBRARY_PATHunset, as for xvfb/mesa). On Windows it gets a prefix of its own, kept offCMAKE_PREFIX_PATH: it carries its own zlib, libpng and the like.FFmpeg player ENABLED. On Linux it also fails unlesslibcvcMedia.solinks ffmpeg-lgpl's libavformat soname.-DCVC_MEDIA_WITH_FFMPEG=OFF): a static cvcMedia exports what it links, and FFmpeg's pkg-config target or paths would not resolve in a consumer's prefix.arigl [Linux] / [Windows]:
arigl info --jsonmust report"media_player": true, beside the yaml/ftxui/tvision checks.ari-media [Linux] / [macOS] / [Windows]: new steps after each ari step. Each runs the recipe's own script against the libcvc built here, with sdl3 and ffmpeg-lgpl in a prefix of their own. Before it packs, each binary must:
"runtime": "ari-media","audio": trueand"media_player": true;src/ari/tests/media_player.ari's clip and tone (video ready audio ready) on SDL's dummy sound;Then it packs and publishes like ari. Its
+cvc.Ncomes from compute-revisions.src/cvcMedia/CMakeLists.txt:
CVC_MEDIA_WITH_FFMPEG(default ON) turns the player off. An FFmpeg named byCVC_FFMPEG_INCLUDE_DIRskips pkg-config, so a host FFmpeg's.pccannot stand in for it.cvcpkg/recipes/ari-media/build.sh, build.ps1: take
CVC_FFMPEG_PREFIX(FFmpeg in a prefix of its own) and name its libraries outright. A builder's flat prefix needs nothing: FFmpeg is found there as before.Verified locally (Windows, MSVC):
build.ps1withCVC_FFMPEG_PREFIXagainst libcvc 3.7.10+cvc.1 + sdl3 from cvcpkg.org:cvcMedia: FFmpeg player ENABLEDwith the named.libs, and the stage holdsbin/ari-media.exealone.checkon arequires: [media.player]document.info --jsonreports"media_player": trueand"audio": true. The tour renders.media_player.arireachesvideo ready audio readyonSDL_AUDIO_DRIVER=dummy.-DCVC_MEDIA_WITH_FFMPEG=OFFand an include dir given reports no player.bash -nand the PowerShell parser.Dry runs (
workflow_dispatch,dry_run=true: build and pack, no publish, no artifact upload):--target ari-mediaalone, then installed thearicomponent, which holdsbin/aritoo. Fixed in 9e796fb (every target, as build.ps1 builds).media_player; ari-media passes its info, tour, clip and libavformat checks and packs. The pycvc 3.12/3.13 columns and the debug rows passed too.FFmpeg player ENABLEDand links@rpath/libavformat.61.7.100.dylib, but my otool pattern expected one version number. Fixed in a4f8ee7. Its info, tour and clip checks did not run after that; the first macOS run of them is the next one (a dry run or the release).Nothing is published until the next release tag.