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

Switch license from GPLv3 to LGPL #662

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from

Conversation

Ph0enixKM
Copy link
Member

@Ph0enixKM Ph0enixKM commented Jan 5, 2025

Issue: #661



Is your feature request related to a problem? Please describe.
I have this case that I want to develop an app on AppStore for iOS which uses Amber compiler as a dependency. The problem is that Amber is licensed under GPL that does not permit using this compiler as a dependency without the entire project becoming licensed under GPL. Apps licensed as GPL are rejected by the Apple.

Describe the solution you'd like
I would like to propose switching to LGPL license which enables developers to use Amber as a dependency keeping a license they prefer. This is the only modification that LGPL introduces. Other restrictions of GPL will still apply.

All of current rust dependencies are under either MIT, Apache 2.0, MPL 2.0 which are compatible with LGPL.

To change the license, all contributors whose code is included in the current version of the project must explicitly state their approval in the comment under this pull request.

@Ph0enixKM
Copy link
Member Author

I agree to relicense my contributions to Amber compiler under LGPL.

Copy link
Contributor

@hdwalters hdwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree to relicense my contributions to Amber compiler under LGPL.

@mks-h
Copy link
Member

mks-h commented Jan 5, 2025

I agree to relicense my contributions to Amber compiler under LGPL.

@mks-h

This comment has been minimized.

@Ph0enixKM

This comment has been minimized.

@lens0021
Copy link
Contributor

lens0021 commented Jan 5, 2025

I agree to relicense my contributions to Amber compiler under LGPL.

Copy link
Member

@Mte90 Mte90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't accept the license change until #660 (comment)

@mks-h
Copy link
Member

mks-h commented Jan 15, 2025

While reading up on Slint's licensing, I've found this interesting comment that argues it might not be possible for proprietary Rust applications to comply with LGPL as it uses static linking, while LGPL requires to make it possible to swap the LGPL component with a different one — what is usually possible with dynamic linking. Though according to this Reddit answer it is only a problem if the application's license is proprietary, as open source applications (under any OSS license) can be recompiled with a different component.

@Mte90
Copy link
Member

Mte90 commented Mar 3, 2025

I agree :-)

Copy link
Member

@b1ek b1ek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have spent the last few months studying LGPL and honestly i think its fine with me

my main concern was that a bigger company could potentially create their own proprietary licensed fork of this project and push a lot of funding into it, rendering our original project obsolete. and while this is now possible with LGPL, this has never actually happened in practice in the many years of open source being a thing, not even with MIT licensed projects

@mks-h
Copy link
Member

mks-h commented Mar 10, 2025

and while this is now possible with LGPL

This is specifically not possible with LGPL, because it doesn't allow to have proprietary forks of the project. It only allows other projects to use it without changing their license.

@b1ek
Copy link
Member

b1ek commented Mar 12, 2025

and while this is now possible with LGPL

This is specifically not possible with LGPL, because it doesn't allow to have proprietary forks of the project. It only allows other projects to use it without changing their license.

it requires to preserve LGPL code under LGPL, but whatever they may add on top of it can be their license

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

Successfully merging this pull request may close these issues.

6 participants