-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LZO implementation is GPL-licensed #12
Comments
I guess you are right, I never really looked at the legal side of software development. Edit: What's with the older versions of the library, do I have to update their license as well? It would be annoying to purge everything from the git repository. |
Unfortunately not. We have BSD-2 licensed code and it would've been great to use node-lzo. Having a GPL-licensed dependency shouldn't be an issue for us, as our code is already open-source, but but we want people to be able to use our code in closed-source apps as well. I think we'll have to switch to an LZO implementation with a more permissive license (MIT/BSD) or LGPL. I have not been able to find any MIT/BSD licensed implementations, but there are LGPL implementations in for example ffmpeg. |
I am sorry for that. The only way you could use this is if I were to write the LZO implementation on my own or used a library that works with the MIT License, right? |
Yes, an MIT- or BSD-licensed library would be ideal, but the only one I've found is written in C#. You could also used a LGPL-licensed implentation. I've started working on building a module that makes use of the one in FFmpeg's avutil C library, using N-API to wrap the calls. |
I actually planned on writing a pure JavaScript implementation when I kicked off this library, but I was very much too inexperienced with C and not motivated enough to dig through the code and translate everything to JS. It also doesn't help that everything is written in a rather obfuscated manner. |
I do indeed: https://www.kernel.org/doc/Documentation/lzo.txt It's a description of how the LZO decompression algorithm in the Linux kernel works. |
Oh cool, I will definitely take a look at it. Thank you! |
Hi there,
I noticed that node-lzo is licensed under the MIT license, but the LZO implementation used is GPL. Wouldn't that make node-lzo GPL-licensed as well?
The text was updated successfully, but these errors were encountered: