lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Jan 7, 2013 at 3:33 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
>
> On Mon, Jan 7, 2013 at 12:17 PM, Patrick <patrick@spellingbeewinnars.org> wrote:
> > If I use GPL code in a C lua module and then "require" it into a lua script,
> > that lua script does not have to be GPL as well correct?
>
> my understanding is that the "derived works" concept applies if your
> code can work just the same without the GPL'ed part.
>
> for example: the standalone Lua interpreter can use GNU readline if
> available; but if not, it's not the end of the world, so it's not a
> "derived work" from the GPL'ed readline library.
>
> if your Lua script can't run without the GPL part, then it must be GPL'ed too

As far as I know one can distribute a program whose source if made of
Lua, plus some (say) BSD-licensed files, plus other GPL-licensed
files. The whole program will then be considered GPL, in the sense
that the binaries can only be distributed if the source is made
available with some freedoms being granted to downloaders, etc.
But users will be free to take the program's non-GPLed source files
and use them for the usual kinds of open-source-but-not-free-software
things if the individual licenses on those files allow that.

  Cheers,
    Eduardo Ochs
    eduardoochs@gmail.com
    http://angg.twu.net/#eev
    http://angg.twu.net/eev-videos/video4-eepitch.mp4

    http://www.gnu.org/licenses/gpl-faq.html