Bug#1038035: grub2: Depends on SDL 1.2
Julian Andres Klode
julian.klode at canonical.com
Thu Jun 15 15:09:57 BST 2023
Control: tag -1 confirmed upstream
On Thu, Jun 15, 2023 at 12:45:14PM +0100, Simon McVittie wrote:
> Source: grub2
> Tags: trixie sid
> User: pkg-sdl-maintainers at lists.alioth.debian.org
> Usertags: libsdl1.2
>
> This package has a Depends or Build-Depends on SDL version 1.2, which
> is unmaintained upstream. This is presumably only for grub-emu.
>
> If possible, please port this package to SDL 2 and close this bug. There
> is a migration guide at <https://wiki.libsdl.org/SDL2/MigrationGuide>,
> and examples of successful ports from SDL 1.2 to SDL 2 can be found in
> the commit history of packages like darkplaces and ioquake3.
>
> 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.
It works with the preload, so my preference right now is to rebuild with
the compat -dev package for now, and try to solve SDL 2 upstream.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
More information about the Pkg-grub-devel
mailing list