#985183 aranym: Switch from SDL1 to SDL2

#985183#5
Date:
2021-03-14 03:26:19 UTC
From:
To:
Hi!

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.

Thanks,
Guillem

#985183#10
Date:
2023-06-25 14:48:55 UTC
From:
To:
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

#985183#15
Date:
2023-06-25 15:17:58 UTC
From:
To:
Hello Simon!

According to one of the upstream developers, Aranym's SDL-2 support doesn't
seem to be very mature. Apparently, there are problems here and there [1].

OK, thanks for the heads-up.

That should definitely be properly tested. We don't gain anything if a
package builds find but doesn't work well for most users.

Adrian