Guile-SDL is a set of modules that provide bindings for SDL (Simple DirectMedia Layer) to enable Guile programmers to do all the nice things you can do with SDL. Its core was originally written by Alex Shinn, Vikram Subramanian, and Joel Smith.
Most of the SDL functions have been wrapped with the exception of a few functions that were too C-centric. The SDL Threads and the Audio functions haven't been included because of the problems with Guile code being run from more than one thread. However audio programming can be done with the module ‘
(sdl mixer)’ that requires the SDL_mixer library.
Also included is SDL_gfx 2.0.22 (by Andreas Schiffler) and bindings for it.
Download / News
Latest release: 0.5.1 (2013-09-04)
build honors ‘
Previously, this option did nothing. Now, it arranges to consult DIR/include for headers and DIR/lib for shared object libraries. This is useful for custom SDL installations.
You can also use ‘
(sdl simple)’ usable even with ‘
(sdl simple) simple-stylus’ uses procs from ‘
(sdl ttf)’, an optionally-built module. Previously, ‘
(sdl simple)’ would load ‘
(sdl ttf)’ unconditionally. Now, it is autoloaded.
This is to support Guile-SDL configured with ‘
--disable-ttf’. In that case ‘
(sdl simple)’ can still be loaded for the other procs it provides. Of course, trying to use ‘
simple-stylus’ will cause Guile to attempt to load ‘
(sdl ttf)’ and fail, perhaps w/ a segfault. Don't do that!
(sdl mixer) open-audio’ respects specified params
Previously, the parameters ‘
format’ and ‘
chunksize’, if specified, were ignored in favor of the defaults. Drat.
mixer test bails unless ‘
This gives the test a chance to exercise some procs. The check and exit unless ‘
INTERACTIVE=1’ now happen immediately prior to the noise-making section. Of course, the entire test is still skipped if Guile-SDL is configured w/ ‘
C99 compiler required
The configure script now checks for a C99 compiler and exits errorfully if one is not found. Actually, the code has for a long time required a C99 compiler; this change just makes its lack obvious more quickly (fail fast).
The count of slighted procs is now 54 (see test/t99-cov).
- bootstrap tools upgraded
- Guile-BAUX 20130831.1504.5dc1ee3
Documentation for Guile-SDL is available online, as is documentation for most GNU software. You may also find more information about Guile-SDL by running info guile-sdl or by looking at /usr/share/doc/guile-sdl/, /usr/local/doc/guile-sdl/, or similar directories on your system.
Guile-SDL has the following mailing lists:
- bug-guile-sdl is used to discuss most aspects of Guile-SDL, including development and enhancement requests, as well as bug reports.
Security reports that should not be made immediately public can be sent directly to the maintainer. If there is no response to an urgent issue, you can escalate to the general security mailing list for advice.
Development of Guile-SDL, and GNU in general, is a volunteer effort, and you can contribute. For information, please read How to help GNU. If you'd like to get involved, it's a good idea to join the discussion mailing list (see above).
- For development sources, issue trackers, and other information, please see the Guile-SDL project page at savannah.gnu.org.
- Guile-SDL is currently being maintained by Thien-Thi Nguyen. Please use the mailing lists for contact.
Guile-SDL is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.