-
Notifications
You must be signed in to change notification settings - Fork 36
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
dunai-examples
: Convert examples from SDL1 to SDL2
#446
Comments
Help is sought for this. There are four modules that use SDL:
If someone is able to work on this, please do the following:
EDIT: Two more steps added to upgrade the travis file too. |
Thanks for the clear instructions. I'll start working on the bouncing ball example to start. |
Great! Feel free to send a PR when you have something you want me to take a look at, or just ask any questions you have. |
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports bouncingball to use SDL2.
SDL 1 is deprecated, and no longer maintained. All examples have consequently been upgraded to use SDL2. This commit updates the CI installation script to install the SDL2 development libraries instead of the SDL 1.2 version, to keep the job working.
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports bouncingball to use SDL2.
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports bouncingball to use SDL2.
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports bouncingball to use SDL2.
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports bouncingball to use SDL2.
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports BouncingBall to use SDL2.
The example
Will fix this example as I port it. |
|
SDL 1 is deprecated, and no longer maintained. To keep the example working with more modern versions of packages in the Haskell ecosystem, this commit ports BouncingBall-list to use SDL2.
I think sometimes the CI build job is not completing for this reason: |
Thanks for addressing that. Figured out the cause of 3. We have to use |
Hmm. Does that happen also with SDL1? |
Yes. The example as is doesn't work. Both in SDL1 and when ported to SDL2. There seems to be an infinite loop when switching. |
Ok. Let me try and reproduce that. In the meantime, I've sent a patch to the sdl2 project to get sdl2 compiling with older versions of GHC: haskell-game/sdl2#311. That should partly address the issue compiling in the CI server. |
The I don't know when the |
Did you manage to reproduce 3? |
SDL 1 is deprecated. It seems to no longer compile well with modern versions of GHC.
Porting the examples to SDL 2 would make them more relevant to current developers, and keep our CI infrastructure working well.
The text was updated successfully, but these errors were encountered: