英文:
Usage of library with MPL-2 license in a frontend, which uses MIT resp. Apache-2 license. What happens?
问题
- 修改后的文本编辑器版本如何处理?许可证如何处理?必须开源还是可以闭源?
- 对于整个前端,同样的问题。
英文:
Assume, I build a frontend with MIT or Apache-2 license.
Now, there is a library (in this case text editor) with MPL-2 license. I would like to take this editor and modify it somewhat. Then I would like to embed either the modified or the unmodified version of the editor into frontend with the MIT resp. Apache-2 license?
My questions are now:
- What happened to the modified version of the text editor? What about the license? Does it have to be open-source or can it be closed-source?
- Same questions from above to the entire frontend.
答案1
得分: 1
这是一个很好的问题。MPL和GPL在很大程度上是相似的,但你的使用情况直接涉及到一个关键区别。
文本编辑器使用的是MPL许可证,因此无论你如何修改它,你的文本编辑器的衍生版本仍将继续受到MPL许可证的约束。
详情请参阅:https://www.mozilla.org/en-US/MPL/2.0/FAQ/
问题9:我想分发(在我的组织之外)我已经修改过的MPL许可的源代码。我需要做什么?
要查看完整的要求集,请阅读许可证。但通常来说:
你必须通知接收方,源代码是根据MPL的条款(第3.1节)提供给他们的,包括你创建的任何修改(如第1.10节所定义)。
你必须执行许可证第2节中描述的授权。
你必须尊重源代码中的移除或更改通知的限制(第3.4节)。
然后,你可以将编辑器的修改版本或未修改版本嵌入到具有BSD或Apache许可的前端中。
我可以将MPL许可的代码和BSD许可的代码合并到同一个可执行程序中吗?Apache呢?
对于两者都可以。Mozilla目前在BSD许可的代码中使用了这样做。例如,libvpx,它在Firefox中用于解码WebM视频,使用的是BSD许可。
你项目中基于BSD许可的部分可以重新授权为闭源许可,但该许可将不会直接覆盖MPL许可的代码。你的项目用户需要同意两个许可协议,一个是你的新闭源前端的协议,另一个是嵌入其中的编辑器的MPL许可。
请注意,我不是律师,因此请自行承担风险。如果这对你的财务状况非常重要,你可以花几百美元咨询律师以确保一切合规。
英文:
This is a great question. The MPL and GPL are broadly similar, but your usage hits directly on a key difference.
The text editor was under the MPL license, so no matter how you modify it, your derivative version of the text editor will continue to be MPL Licensed.
See: https://www.mozilla.org/en-US/MPL/2.0/FAQ/
> Q9: I want to distribute (outside my organization) MPL-licensed source code that I have modified. What do I have to do?
To see the complete set of requirements, read the license. However, generally:
>
> * You must inform the recipients that the source code is made available to them under the terms of the MPL (Section 3.1), including any Modifications (as defined in Section 1.10) that you have created.
>
> * You must make the grants described in Section 2 of the license.
>
> * You must respect the restrictions on removing or altering notices in the source code (Section 3.4).
You can then embed either the modified or the unmodified version of the editor into frontend with the BSD or Apache license.
> May I combine MPL-licensed code and BSD-licensed code in the same executable program? What about Apache?
>
> Yes to both. Mozilla currently does this with BSD-licensed code. For example, libvpx, which is used in Firefox to decode WebM video, is under a BSD license.
The portion of your project under the BSD license, you could re-license under a closed source license, but it that license would not directly cover the MPL licensed code. The user of your project would have to agree to both license agreements, your agreement for your new closed source font end, and the MPL license for the editor that's embedded.
Note that I'm not a lawyer, so rely on this at your own risk. If it's a make or break deal for you financially, you spend spend a few hundred dollars on an attorney to make certain.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论