Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD: prefer SDL2 by default #707

Closed
wants to merge 1 commit into from
Closed

Conversation

onlyjob
Copy link
Contributor

@onlyjob onlyjob commented Mar 15, 2016

Search for "sdl2-config" before looking for "sdl-config".

Search "sdl2-config" before looking for "sdl-config".

Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
@lordhoto
Copy link
Contributor

SDL2 support stills is considered experimental. We will enable it when we think it's ready. Thank you for your effort though.

@lordhoto lordhoto closed this Mar 15, 2016
@onlyjob
Copy link
Contributor Author

onlyjob commented Mar 15, 2016

OK thanks. FYI there is a report to suggest that SDL2 already works better on some architectures:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807710

I briefly tested ScummVM-1.8.0 built with SDL2 on Debian/x86_64 and found it working well.

See also https://wiki.libsdl.org/MigrationGuide

@onlyjob
Copy link
Contributor Author

onlyjob commented Mar 15, 2016

Is there a bug to track progress of SDL2 adaptation?

@lordhoto
Copy link
Contributor

We already spent a considerable amount of time to support SDL2. We will enable it in the near future. There is no place where any progress is tracked. It's not really a bug report anyway, it would be more of a feature request.

@onlyjob
Copy link
Contributor Author

onlyjob commented Mar 15, 2016

Well, I meant ticket not "bug" OK? ;) Thanks.

@a-detiste
Copy link
Contributor

Sorry for the confusion, I'm responsible for this Debian bug 😓

So here's a new Debian-only patch:

Maybe always pulling SDL1 + SDL2 & then doing this would be OK,
I hope 1.9.0 will be SDL2 all the way. (Wayland !)

-_sdlconfig=sdl-config
+_sdlconfig=debian/scripts/my-sdl-config

#!/bin/sh
if dpkg-vendor --is RaspBian then
    exec sdl2-config $@
else
    exec sdl-config $@
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants