Question about the LGPL?

Okay, I’ve been using SDL 1.2, but had a few questions about the LGPL
license. So say I make my game, I dynamically link it. Can I give away the
normal game for free, without having to release all my source code? It’s
because as much as I lover open source, I don’t want to release a custom
engine that I spent over a year to write for free.–
I like http://www.xkcd.com/xkcd http://www.xkcd.com/

You can do that, you can even sell a game using LGPL components as long as they are separate files (dll’s and such).

The GPL is more aggressive, where a closed exe simply using a GPL dll causes the GPL to apply to both the exe and dll, the case of a GPL exe and closed dll similarly has the GPL apply to both.

But the LGPL is designed for this kind of usage, you just can’t static-link SDL 1.2 without applying the LGPL to the exe in the process.On 09/11/2012 06:17 PM, Muhammad Asavir wrote:

Okay, I’ve been using SDL 1.2, but had a few questions about the LGPL license. So say I make my game, I dynamically link it. Can I give away the normal game for free, without having to release all
my source code? It’s because as much as I lover open source, I don’t want to release a custom engine that I spent over a year to write for free.


I like http://www.xkcd.com/xkcd http://www.xkcd.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


LordHavoc
Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier

It’s worth noting that:

  1. SDL2 is under the more permission zlib license. Use this.
    http://www.libsdl.org/license.php

  2. Since you have to link statically on iOS (no technical reason: just
    because apple are tards), if you use SDL1.2 you WILL be statically
    linking with LGPL code, which does mean that your code must be LGPL as
    well.~
    Doug.

On Wed, Sep 12, 2012 at 9:40 AM, Forest Hale wrote:

You can do that, you can even sell a game using LGPL components as long as they are separate files (dll’s and such).

The GPL is more aggressive, where a closed exe simply using a GPL dll causes the GPL to apply to both the exe and dll, the case of a GPL exe and closed dll similarly has the GPL apply to both.

But the LGPL is designed for this kind of usage, you just can’t static-link SDL 1.2 without applying the LGPL to the exe in the process.

On 09/11/2012 06:17 PM, Muhammad Asavir wrote:

Okay, I’ve been using SDL 1.2, but had a few questions about the LGPL license. So say I make my game, I dynamically link it. Can I give away the normal game for free, without having to release all
my source code? It’s because as much as I lover open source, I don’t want to release a custom engine that I spent over a year to write for free.


I like http://www.xkcd.com/xkcd http://www.xkcd.com/


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


LordHavoc
Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

This is not correct, you only need to provide the linkable object code
of your application upon request, so that it can be linked with a
different version of SDL.

Best regards,
ElmarOn 09/12/2012 07:04 AM, Doug wrote:

It’s worth noting that:

  1. SDL2 is under the more permission zlib license. Use this.
    http://www.libsdl.org/license.php

  2. Since you have to link statically on iOS (no technical reason: just
    because apple are tards), if you use SDL1.2 you WILL be statically
    linking with LGPL code, which does mean that your code must be LGPL as
    well.

Really? I always assumed that sec’ 4b in the LGPL (the combined work
must be distributed with a copy of this license) meant the combined
work would be under the LGPL too; but hey, I’ve been wrong in the
past.~
Doug.

On Wed, Sep 12, 2012 at 4:29 PM, Elmar Krieger wrote:

On 09/12/2012 07:04 AM, Doug wrote:

It’s worth noting that:

  1. SDL2 is under the more permission zlib license. Use this.
    http://www.libsdl.org/license.php

  2. Since you have to link statically on iOS (no technical reason: just
    because apple are tards), if you use SDL1.2 you WILL be statically
    linking with LGPL code, which does mean that your code must be LGPL as
    well.

This is not correct, you only need to provide the linkable object code of
your application upon request, so that it can be linked with a different
version of SDL.

Best regards,
Elmar


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

You don’t have to give away your source code, as long as you follow a
few (reasonable) rules with the LGPL libraries.

That being said: SDL 2.0 is zlib-licensed, and avoids all that nonsense.
We recommend you use that instead, if you can…but we’ve shipped
multi-million dollar titles with SDL 1.2, so it’s definitely possible
even with the LGPL.

–ryan.On 09/11/2012 09:17 PM, Muhammad Asavir wrote:

Okay, I’ve been using SDL 1.2, but had a few questions about the LGPL
license. So say I make my game, I dynamically link it. Can I give away
the normal game for free, without having to release all my source code?
It’s because as much as I lover open source, I don’t want to release a
custom engine that I spent over a year to write for free.