The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2 on Raspberry Pi
gabomdq


Joined: 28 Jul 2011
Posts: 495
Location: Argentina
Hey guys, if you have a Raspberry Pi with Raspbian and want to help adding support for it to SDL2, feel free to try the patch attached here: http://bugzilla.libsdl.org/show_bug.cgi?id=2005

Feedback is very welcome! Thanks!

--
Gabriel.
jlev31415


Joined: 07 Oct 2010
Posts: 18
Gabriel - First I'd like to thank you for taking the initiative in porting SDL2 to the Raspberry Pi. I tried out your patch and my initial impression is that everything is working well. I had already implemented my own RPi window creation functions, and a quick review of your patch shows very similar code. Looks good! The only issue I encountered had nothing to do with the code itself, but rather with the patch. build-scripts/config.guess failed to patch. I checked the reject file left behind and was surprised that it gave me no info as to a problem. Assuming it had something to do with whitespace, I manually changed config.guess and created my own patch file that succeeds on config.guess. Should I submit it to bugzilla in the same thread?
SDL2 on Raspberry Pi
gabomdq


Joined: 28 Jul 2011
Posts: 495
Location: Argentina
2013/8/11 jlev31415
Quote:
Gabriel - First I'd like to thank you for taking the initiative in porting SDL2 to the Raspberry Pi. I tried out your patch and my initial impression is that everything is working well. I had already implemented my own RPi window creation functions, and a quick review of your patch shows very similar code. Looks good! The only issue I encountered had nothing to do with the code itself, but rather with the patch. build-scripts/config.guess failed to patch. I checked the reject file left behind and was surprised that it gave me no info as to a problem. Assuming it had something to do with whitespace, I manually changed config.guess and created my own patch file that succeeds on config.guess. Should I submit it to bugzilla in the same thread?




Yes! Thanks! 



--
Gabriel.