Licence

Im asking this on behalf of my newly started independent game developement studio. We are trying to use SDL mixer as a solution for our musical system in our upcoming game and we are wondering if we are able to use SDL-mixer without having to publish the source code for our game. We are planning to sell the game via digital distribution for a small fee.

Thanks on behalf // Daniel_________________________________________________________________

http://libsdl.org/faq.php?action=listentries&category=8

http://www.gnu.org/copyleft/lesser.html

etc.On Wed, Oct 15, 2008 at 04:42:03PM +0200, Daniel ?gren wrote:

Im asking this on behalf of my newly started independent game developement
studio. We are trying to use SDL mixer as a solution for our musical
system in our upcoming game and we are wondering if we are able to use
SDL-mixer without having to publish the source code for our game. We are
planning to sell the game via digital distribution for a small fee.


-bill!
“Tux Paint” - free children’s drawing software for Windows / Mac OS X / Linux!
Download it today! http://www.tuxpaint.org/

Im asking this on behalf of my newly started independent
game developement studio. We are trying to use SDL mixer as
a solution for our musical system in our upcoming game and
we are wondering if we are able to use SDL-mixer without
having to publish the source code for our game. We are
planning to sell the game via digital distribution for a
small fee.

Thanks on behalf // Daniel

So long as you’re using SDL & SDL Mixer as DLLs or SOs that are separate files on the HDD from your code when it’s compiled as an executable you can do what you want with your code. The LGPL is specifically crafted to allow for this. If you make any changes to the SDL code itself or link the SDL code directly into the main executable of the game (or any libraries you yourself create) and distribute the result of this, only then do you need to release any of your own code and only the code that is compiled linked directly with the SDL code.— On Wed, 10/15/08, Daniel ?gren wrote:

From: Daniel ?gren
Subject: [SDL] Licence
To: sdl at lists.libsdl.org
Date: Wednesday, October 15, 2008, 2:42 PM

only then do you need to release any of your own code and only the
code that is compiled linked directly with the SDL code.

You do not need to release code. You merely need to release objects
which can be re-linked with newer versions of the LGPL’d libraries.

In other words, LGPL requires that you make it possible for the end-user
to update the LGPL parts of the application.

And this can be done if:

  • The uses dynamic linking
    (user just replaces the SDL DLL/SO/whatever with newer ones.
    e.g.: sudo apt-get upgrade libsdl ; your_game )

  • Or, the source code to the app is available
    (user recompiles app and relinks with newer SDL, if necessary.
    e.g.: cd your_game ; make clean && make && make install ; your_game )

  • Or, the object files for the app are available
    (user relinks with newer SDL.
    e.g.: gcc your_game.o sdl-config --libs -o your_game ; ./your_game )

If you make any changes to the SDL code

Then you need to release those changes under the LGPL license!
(This includes incorporating SDL’s code in your app’s code…
not merely using the SDL library at runtime, which is what we’re talking
about above.)

People – please read the LGPL and understand it. It’s not hard. :(On Wed, Oct 15, 2008 at 03:23:25PM +0000, Paul Duffy wrote:


-bill!
“Tux Paint” - free children’s drawing software for Windows / Mac OS X / Linux!
Download it today! http://www.tuxpaint.org/

Don’t make the mistake of thinking that because you find something easy, that it is easy for everyone. This is something that Stallman has been noted for doing and that a man with an IQ almost twice the average doesn’t get that easy for him is not easy for everyone is interesting.

As a legal document the LGPL is, out of necessity, bloody complex, one that I have read several times and I’ve only just got that clause.— On Wed, 10/15/08, Bill Kendrick wrote:

People – please read the LGPL and understand it. It’s
not hard. :frowning: