On Sun, 14 Mar 2021 at 04:26:19 +0100, Guillem Jover wrote: > This package is currently built against SDL 1.2, which is considered > deprecated by upstream who recommend using instead SDL 2.0. The latter > also supports Wayland natively. > > It seems like this package can be built with both, so it would be nice > to switch.
When I opened #1038025 asking for a port to SDL 2, I wasn't aware that aranym has already supported SDL 2 since 2014 according to its changelog. On closer inspection, the upstream default is SDL 2, so if libsdl2-dev happens to be installed then aranym will already accidentally switch from SDL 1.2 to SDL 2, even with the current unmodified Debian packaging. I'm intending to make the -dev package for sdl12-compat depend on libsdl2-dev as a workaround for legacy SDL-dependent packages that don't declare their build-dependencies explicitly, so when sdl12-compat takes over the libsdl1.2-dev binary package name, aranym is going to end up using SDL 2 in practice unless you explicitly configure with --disable-sdl2 (please do that if you are aware of reasons why the SDL 2 code paths are broken). aranym seems to compile fine in that configuration. I don't know what Atari ROMs or other software (if any) it might need, so I haven't attempted to test the resulting binaries. smcv