To clear this up as clear as it gets (being that LGPL has a few grey
areas up for interpretation).
You can do a number of things on reasonably firm legal grounds.
-If you link your code against SDL (and not include SDL in your
code), then your code is not considered LGPL by reference.
-If you include SDL code in your code, your code is now LGPL by
reference.
-If you include the SDL .dll’s with your product, you are legaly
obliged to provide the code for SDL (assuming you made no modifications
to SDL you can just point them at loki).
-If you link against SDL .dlls (during run time) and do not include
them with your product (just tell the user where to get them), you
don’t need to provide either the .dll’s or the code.
Besides the somewhat questionable point of pointing people at loki
for the sdl code (don’t know if they would like it or not). Loki as it
is has a obligation to provide the code because of the LGPL (or at
least the last version of code under the LGPL), and your also obliged
to provide your enhancements/code changes that you’ve done to SDL to
loki (because of the LGPL).On the chance that you are curious to what the ‘grey area’ is, it is the ‘api’ which cannot be considered under the legalities of the GPL/LGPL etc… In general respects a API is void of legal inference (API in this case is equivilant to the function prototypes and not code, documentation, etc… what so ever). Tim Jansen wrote:
Sam Lantinga wrote:
To comply with this license, you must give prominent notice that
you use the
Simple DirectMedia Layer library, and that it is included under the
terms of
the LGPL license. You must include a copy of the LGPL license.
You must also do one of the following:1. Include the source code for the version of SDL that you link
with,
as well as the full source or object code to your
application so that
the user can relink your application, or 2. Include a written offer, valid for at least three years, to
provide
the materials listed in option 1, charging no more than the
cost of
providing this distribution, or 3. Make the materials listed in option 1 available from the
same place
that your application is available.
Maybe I’m wrong, but AFAIK you only have to do this if you distribute
the library in
binary form. If you write an application (commercial or GPL) that
links dynamically
to SDL and you require the user to get SDL from another source then
you dont have to
provide the source for SDL. This is the common case for most
OpenSource software, as
package systems like rpm and deb separate the libraries from the
programs and source
tars with configure usually dont include the libraries.bye…
=====
Jason Platt.
“In theory: theory and practice are the same.
In practice: they arn’t.”
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.