Previously, actually the same version was used but downloaded directly
and installed with dpkg, because it has been used a version from U20
(now default) to U18.
SDL2 now obviously works on U20.04, because we are building there. It
doesn't work on U22.04, but neither the build with SDL 2.0.20 nor 2.26.2
does.
The problem seems actually to be the inclusion of Wayland libraries in
AppImage.
Explicitly require features that are already present in the builds
(tenative, some may be removed, but just to ensure that features that
should be present get not removed by accident).
see failed run https://github.com/CESNET/UltraGrid/actions/runs/3657908562
See also 438dbfa4 - `aptitude build-dep` for whatever reason fails on GH
CI ON installation of debhelper-compat(=12), which is a virtual package
provided by debhelper, apt doesn't.
log:
+ sudo aptitude -y build-dep libsdl2-mixer libsdl2-ttf libsdl2-dev:
[...]
Building tag database...
Unable to apply some actions, aborting
Unable to satisfy the build-depends: Build-Depends: debhelper-compat (= 12)
So use it (the `cmake --install` is perhaps better than make install
since it doesn't trigger rebuilds so often). Also to be consistent with
the other SVT compressions.
It should not be necessary. The distro is quite bulky and it would
update things like PHP etc. and wastes relatively significant time
(approx. 15 minutes - bootstrap time was reduced from 20 to 5 mins).
Fixed a fail in U20.04 (currently GH's ubuntu-latest) affecting
coverity-scan (continuous still using 18.04):
https://github.com/CESNET/UltraGrid/actions/runs/3506409582
A dependency of libsdl2 debhelper-compat=12 is not available. apt
frontend can handle that somehow, but aptitude doesn't, so use apt to
install SDL2 dependencies (aptitude still used for mixer and ttf to
avoid installation of libsdl2 library itself).
It seems like that changing arbitrary packages installed (dependencies
for SDL) cause some FFmpeg dependencies to be rebuild (libvpx, SVT-*).
So revert back to depending on whole .github/scripts/Linux/prepare.sh
but move building/installation of AJA, live555 etc. to separate file
to reduce cached FFmpeg rebuilds at least a bit.
+ removed chmod 777 /usr/local