- Package:
- src:magicmaze
- Source:
- src:magicmaze
- Submitter:
- Simon McVittie
- Date:
- 2026-01-10 10:33:02 UTC
- Severity:
- normal
- Tags:
This package depends on ruby-sdl, which is a language binding for SDL 1.2.
SDL 1.2 has been superseded by SDL 2 and is unmaintained upstream.
If possible, please port this package to SDL 2.
If it is not possible to port to SDL 2, please test the package with
libsdl1.2-compat-shim (preferably version 1.2.64 or later), and leave
this bug open to track the package as still using SDL 1.2 APIs.
libsdl1.2-compat-shim is a compatibility layer that provides the SDL 1.2
API/ABI by using SDL 2: it has already replaced the "classic" SDL 1.2
library in some other distributions like Fedora and Arch, and my intention
is to do the same in Debian during the trixie release cycle.
The interesting scenarios to test with libsdl1.2-compat-shim are:
1. Install libsdl1.2-compat-shim and run the program in an X11 environment,
such as "GNOME on Xorg" or XFCE.
($XDG_RUNTIME_DIR/wayland-* should not exist)
2. Install libsdl1.2-compat-shim and run the program in a Wayland
environment such as GNOME's default mode, using Xwayland.
($XDG_RUNTIME_DIR/wayland-* should exist)
3. Install libsdl1.2-compat-shim and run the program in a Wayland
environment, but this time with environment variable
SDL_VIDEODRIVER=wayland so that it uses the native Wayland interface
(this is not currently the default for SDL 2).
4. Install libsdl1.2-compat-dev and recompile the package.
If any of those fail, please report it as a bug in the
libsdl1.2-compat-shim or libsdl1.2-compat-dev package as appropriate,
with "affects" pointing to the program that is affected.
Thanks,
smcv
[Simon McVittie 2024-06-15] According to upstream, version 1.5.1 support SDL 2. It is not yet packaged for Debian. I decided first to upload the 1.5.0.0 version with less new features to get this updated version available in the archive.
I tried to update to version 1.5.1, but am unsure how to test if it is using SDL 1.2 or 2. I fail to find a package ruby-sdl2 in Debian, which seem to be the key dependency controlling which version of SDL is used.
We believe that the bug you reported is fixed in the latest version of
magicmaze, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1038073@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated magicmaze package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 28 May 2024 21:24:42 +0200
Source: magicmaze
Architecture: source
Version: 1.5.1+dfsg-1
Distribution: experimental
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Closes: 1038073
Changes:
magicmaze (1.5.1+dfsg-1) experimental; urgency=medium
.
* QA upload.
.
* New upstream version 1.5.1+dfsg.
- Ported to SDL 2 (Closes: #1038073).
Checksums-Sha1:
2466e96c2b70aaf31b5c82175543f53d69c858d9 1888 magicmaze_1.5.1+dfsg-1.dsc
6aecc449f42ea5558d30bd615ee8bfdc6c8bcba0 123640 magicmaze_1.5.1+dfsg.orig.tar.xz
52e4c9a9ec1050eb19842d392f65c2ec11a1f225 4700 magicmaze_1.5.1+dfsg-1.debian.tar.xz
04d2fd1e60af7f3a799461cc2bdeb3a04117e1b3 6404 magicmaze_1.5.1+dfsg-1_source.buildinfo
Checksums-Sha256:
0032d9e70aee01630b5c9c691a0bb825660578ca6d622c1c4d105678a5e59b66 1888 magicmaze_1.5.1+dfsg-1.dsc
1187d4728afe25d4b459f99bce12b8fac6754e13429f4ad481feebeb81a605a6 123640 magicmaze_1.5.1+dfsg.orig.tar.xz
c2243c66af3a32874ae9903ac0593452ac55bb915cba2c6f932a82877d8583aa 4700 magicmaze_1.5.1+dfsg-1.debian.tar.xz
9641e7e28990dae1f1954dcd8c3a6527cdc5e150129a2c40e6c06780e5b0bea7 6404 magicmaze_1.5.1+dfsg-1_source.buildinfo
Files:
3e938bf9e45aec871b709096feaa78ac 1888 games optional magicmaze_1.5.1+dfsg-1.dsc
c7d0c063c4b3b672ede3a6df29879239 123640 games optional magicmaze_1.5.1+dfsg.orig.tar.xz
1c9862f8c259dc04e86fb65d4df31200 4700 games optional magicmaze_1.5.1+dfsg-1.debian.tar.xz
e6acd4d53bd1d83496329b7fec6672b3 6404 games optional magicmaze_1.5.1+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEERqLf4owIeylOb9kkgSgKoIe6+w4FAmZWL6MACgkQgSgKoIe6
+w4U+A//bp5VZcL76MBcqo83fJUEU6HL9RpsQu1nGQ0zGCRQtLj9yVlRw9p9N/pe
HrUyrHNUxhwFtVlqLHBuvsKbGPWqTdHfmH3gG8PKAbpJbYoIdMxrYk6ZpZMxBMA6
HyEwohU1Fd9dHhYECGQcW49HsMzLW3VScqGrSOeNID1A4NAsX7MEKOR/25tP+5e2
FIGQd/t1ryeMtmHZWRWY1ewq8WnJVekOx8AT2RJhE3ZifHRDYYkbmh+JmXG+ptMI
BxHhX/R2c9p8tvc8q3kTJfsnDYcX4OzYk952UzmA74XPH6n2dO8au2E8t/pSj/mW
rThWVmzc5+s27CDtIE6v3zxXg4JmQBKblcsZgcMlrDQK76PXCHtOdi0UZt2tS+oj
hnzG5RDeWEtnOu9WC+pvf/6lSqx9EFWiePrncUngiNg5OBHWN9hgtNmxtlGMl+tV
oVE7VUJSVx9Q45G3CcbipFPHf9BYus/COB8vFymHUHcurUSPBab5n2nMZPwkqwcq
Pmix7vI7Yk55RwV3A/dGDJfCeA5GLqiCcpTqCYYBAkYtu54+VkLx/cwDI55boF1P
y531wGQYwbCNpd9qFqB7ToQ7MBebCEwk2GZIDdjqerD8RIZPL3wIR4p078fUPyeO
ckwu4enTHXglKxDG3tZt7R3jQXEXGuRwa+Bf8no/Y2SFMzsX3FQ=
=fkit
-----END PGP SIGNATURE-----
I no longer believe this is solved. I probably messed up the packaging.
In any case, from #debian-games today:
<smcv> pere: magicmaze Depends on ruby-sdl which Depends on
libsdl1.2debian, so no it is not solved
<smcv> pere: (I can tell that from packages.debian.org, no need to
actually install it or know anything about Ruby)
<smcv> pere: please reopen the bug, and if the way to make it use SDL2
is via ruby-sdl2, block it by a RFP (or ITP) for ruby-sdl2
<smcv> pere: fyi the most-correct way to tell "does it use SDL 1?" would
be to read /proc/$pid/maps and if you see libSDL-1.2.so.* then
yes it does
<smcv> pere: since bookworm, our libSDL-1.2.so.0 is actually a wrapper
around SDL2, but the SDL 1.2 API has plenty of known problems, so
I still consider it to be a (non-RC!) bug if games need to use
that wrapper
<pere> smcv: aha. I guess upstream need some feedback, then. :)
<smcv> pere: sorry, *since trixie
<vv221> smcv, can we plan on the SDL 1 → 2 wrapper to stay around
~indefinitely? For some non-free games that are never going to
be updated again, it is really useful.
<vv221> (side note, it’s really nice that we can chain the SDL 1 → 2 → 3
wrappers)
<smcv> pere: if upstream has implemented runtime switching between
ruby-sdl for SDL 1.2 and ruby-sdl2 for SDL 2, then it's a
downstream bug: someone needs to package ruby-sdl2, and then make
magicmaze use that instead of ruby-sdl
<smcv> pere: or if upstream unconditionally uses ruby-sdl and therefore
SDL 1.2, it's an upstream bug
<smcv> pere: I don't know which
<pere> it seemed to implement an alternative drawing mechanism, but I do
not know any details. check the code. :) My project for the
package was to migrate its packagint to git, which is complete.
<smcv> vv221: I don't intend to remove sdl12-compat any time soon, but I
*do* want to start removing the SDL 1.2
mixer/image/net/... libraries, which are totally unmaintained and
sometimes security-sensitive
<vv221> OK, this might cause problems for said games. Could wrappers for
some of these be done, or is it a lost cause?
<smcv> pere: oh if you're just doing QA work on it, then you can leave
that analysis to whoever eventually adopts it (if they exist),
but please do reopen the bug
<vv221> I don’t have the skills to write such wrappers myself yet, but
since they would be required for my favourite non-free game I
would be willing to learn and give it a try.
<pere> I'll cut-n-paste this dialog into the bts. :)
There is some input on the issue in <URL: https://github.com/kentdahl/magic_maze/issues/2 >.
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran, Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun. Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie für weitere Details.
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran, Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun. Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie für weitere Details.
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran, Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun. Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie für weitere Details.