Skip to content
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

what is the exact license? #61

Closed
retsyo opened this issue Mar 24, 2023 · 6 comments
Closed

what is the exact license? #61

retsyo opened this issue Mar 24, 2023 · 6 comments
Labels
question Further information is requested

Comments

@retsyo
Copy link

retsyo commented Mar 24, 2023

https://github.com/alifcommunity/webui/blob/main/LICENSE says it is LGPL, so if offical DLL is used, the application can be closed-source even for commercial case.

however, https://github.com/alifcommunity/webui/blob/main/README.md says GNU General Public License v3.0 is applied.
At the same time, https://github.com/alifcommunity/webui/blob/main/include/mongoose.h uses GPL for Non-Commercial Project, but needs money for Commercial Product.

So what is the exact license for webui? If it is LGPL, maybe it is more friendly for amateur

@AlbertShown
Copy link
Contributor

AlbertShown commented Mar 24, 2023

https://github.com/alifcommunity/webui/blob/main/LICENSE says it is LGPL, so if offical DLL is used, the application can be closed-source even for commercial case.

Yes, that's correct.

however, https://github.com/alifcommunity/webui/blob/main/README.md says GNU General Public License v3.0 is applied

It's a typo. As we recently switched from GPL to LGPL, I will fix it soon.

At the same time, https://github.com/alifcommunity/webui/blob/main/include/mongoose.h uses GPL for Non-Commercial Project, but needs money for Commercial Product.

We should have been aware of that. Mongoose use GPLv2, Thank you for reporting that.

So what is the exact license for webui?

Any suggestion?

@AlbertShown
Copy link
Contributor

https://www.gnu.org/licenses/rms-why-gplv3.en.html

When we say that GPLv2 and GPLv3 are incompatible, it means there is no legal way to combine code under GPLv2 with code under GPLv3 in a single program. This is because both GPLv2 and GPLv3 are copyleft licenses: each of them says, “If you include code under this license in a larger program, the larger program must be under this license too.” There is no way to make them compatible.

Is that mean as WebUI uses Mongoose, then we have no choice other than to use the same Mongoose License, which is GPLv2?

@AlbertShown
Copy link
Contributor

AlbertShown commented Mar 24, 2023

https://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.en.html#IfLibraryIsGPL

If a library is released under the GPL (not the LGPL), does that mean that any program which uses it has to be under the GPL?

Yes, because the program actually links to the library. As such, the terms of the GPL apply to the entire combination. The software modules that link with the library may be under various GPL compatible licenses, but the work as a whole must be licensed under the GPL.

That means we can use any GPL license we want.

@retsyo
Copy link
Author

retsyo commented Mar 24, 2023

I see your post cesanta/mongoose#2133

let's wait for the official answer

@AlbertShown
Copy link
Contributor

So, their final answer is we have no other choice. By the GPL v2 requirement, we should follow the same license, which is GPLv2.0.

@AlbertShown
Copy link
Contributor

Also, I asked ChatGPT!

Can I use the MIT license for my open-source project that uses a GPLv2 Third-party library?

No, you cannot use the MIT license for your open source project if it uses a GPLv2 third-party library. This is because the GPLv2 license is a copyleft license, which means that any derivative works must also be licensed under the same terms as the original work. This would include any code that links or is combined with the GPLv2 library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants