SDL2 vs SDL3 vs sdl-compat

"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
I am in the process of updating SDL2 to version 2.32.6.

However the most current version of SDL is 3.2.12.  In the release notes
upstream says:

"The SDL development team is focusing efforts on SDL3 and making sdl2-compat a 
drop-in replacement for SDL2. If you run into issues with SDL2, please consider 
upgrading to SDL3 or trying out sdl2-compat. We have made significant improvements 
across all platforms and your issue may already be resolved."

We have a lot of packages that use SDL2 and sdl12-compat.  If someone wants to 
volunteer to see what packages can use SDL3, we can decide whether to move from SDL2 
to SDL3.

The following packages currently use sdl12-compat:

multimedia/libdriv/gst10-plugins-bad.xml:
multimedia/libdriv/libdv.xml:
multimedia/libdriv/xine-lib.xml:
multimedia/videoutils/vlc.xml:
multimedia/libdriv/libmpeg2.xml:

The following packages use SDL2:

multimedia/videoutils/ffmpeg.xml:
multimedia/videoutils/mpv.xml:
multimedia/audioutils/mpg123.xml:
multimedia/audioutils/audacious.xml:
multimedia/libdriv/mlt.xml:
multimedia/libdriv/v4l-utils.xml:
multimedia/libdriv/pipewire.xml:
multimedia/libdriv/gst10-plugins-base.xml:
multimedia/libdriv/sdl.xml:
general/graphlib/libwebp.xml:
general/graphlib/gegl.xml:
general/graphlib/libqrencode.xml:
x/lib/qt6.xml:
postlfs/virtualization/qemu.xml:

If some packages can use SDL3 and the rest can use sdl12-compat, we can
upgrade from SDL2 to SDL3.  However we really do not want to have three
different versions of SDL in the book.

In addition, there seems to be sdl12-compat at
https://github.com/libsdl-org/sdl12-compat/releases and
sdl2-compat at
https://github.com/libsdl-org/sdl2-compat/releases/tag/release-2.32.56

The first one seems to be for compatibility between SDL1 and SDL2 and
the second between SDL2 and SDL3.

Are there any volunteers to do the research into the best way to handle this situation?

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
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.