Re: Mass bug filing / call for testing: dependencies on SDL 1.2

Paul Wise <[email protected]>
Newsgroups gmane.linux.debian.devel.games,gmane.linux.debian.devel.general
Organization Debian
Message-ID <[email protected]>
On Mon, 2023-06-12 at 17:24 +0100, Simon McVittie wrote:

> SDL 1.2 was superseded by SDL 2 several years ago, and no longer receives
> upstream maintenance or releases. Maintained software that uses SDL 1.2
> should be ported to SDL 2.

It was pointed out to me on IRC that some SDL 1.2 extension libraries
might not have an SDL 2 equivalent yet, or they might not be in Debian.

For example hex-a-hop can use SDL_ttf or SDL_Pango. Pango is a more
featureful text renderer, so the Debian package uses it. There is an
SDL2_Pango project available on GitHub but it isn't in Debian yet.

   https://github.com/markuskimius/SDL2_Pango

Looking through the packages, these appear to be missing:

   console kitchensink pango sge sound

Perhaps there are better equivalents for these in SDL 2 though?

Will the SDL team be packaging available SDL 2 equivalents for
the SDL 1.2 extension libraries that are in Debian?

> For legacy software that cannot be ported, SDL upstream have produced a
> replacement library, sdl12-compat, which implements the SDL 1.2 API/ABI
> by dlopening SDL 2 (and correcting for API/ABI changes). In Debian, this
> is currently available as libsdl1.2-compat-shim.

I tested hex-a-hop under GNOME Wayland. It segfaults with SDL 1.2 and
SDL_VIDEODRIVER=wayland but does not with the SDL 1.2 compat lib via
LD_PRELOAD. When using the compat lib via LD_PRELOAD, the X11 mode has
a window title bar and border but those are missing in Wayland mode.

   dpkg-architecture -c sh -c 'LD_PRELOAD=/usr/lib/${DEB_HOST_MULTIARCH}/sdl12-compat/libSDL-1.2.so.0 hex-a-hop'

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAmSH3jEACgkQMRa6Xp/6
aaNWfQ/8DFy2N90cmhFeLXZv54j67GZ1hJN9XOpi64uFR2wLqYadDkd+atg2tejM
+c2g/fqevO8tRvLxviRzW3O8Q373LxvSV+HwPv3r+ZzVTrp8OJ4PcUAk/UhTpSd2
dZ+PpA+NRnc++J6Z9RPRmwWHX7YqhjOwqQrF6UVeC6OwlbthWg4tCBBlCX/J3b6u
20+yNx0giMCi6Wk8BWugETn0pEpmq25v5tGLX4aTNoykYFfhVB3z6RkID3U/ZnLf
fgUp09Q9oX5Ng2gMeZCIrm359tRwiXe45GjtSfqtJreqOoN2hB7MOIbiAAL5B7io
MLDEBaJz+VphlYgqFfNPwF3kiU+SKLTCxFdtG9EvDCDM7vi3qwlr1y9xIxVXydXx
5Nt0Yq1d27c8H+YRUhewE0s+ekzp4t4xKX/v2A6kKoaSiCTIkZF2JeE7ubCjvUJS
UF9LMd8HbJKogBJ3keVFpCfOv4+uVgbCbVX/YRj7wveVdpB+iuM21nvjbxbPk461
kO7FpwILKNqeBr6BetAPhyHGYLUdrmElp4/Tf/Lscp5Pfxf8aamvWZXA4v4AeIrP
GBIhqvxY0liasl7NOoDScOXmx6xCPav+rO9QB4KnkC4EtrdHXWQjhLIFhug22tpK
5aIwgEcxepDcf3krsro26ynhi+IAxLjC1e6KWvnZ785ZoWuRuLo=
=eFEd
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.