Is it legal way to get use GPL code in close-source application through plugin? [closed]

两盒软妹~` 提交于 2019-12-03 00:34:07

This is definitely not ethical. When I choose GPL instead of, say BSD, my intention is clear - if you benefit from my code, then you SHOULD contribute back. And it is very clear how I expect you to contribute back - by providing full access to the COMPLETE system which is using my code. At the core of GPL, the intention is that someone else should be able to make modifications to such a system and build other things from it.

With steps 3.1/3.2 there are sociological problems. Who will the user ask when his system stops working? Especially when the problem is with the GPL plugin, will the GPL plugin author support such a user? Will the GPL plugin developer entertain the unethical closed-source application developer?

Given the above, nobody will attempt your question 4, 5 & 6 in a large enough scale to get noticed. Also, if you are writing commercial application from which you make lot of money, then you can typically license that GPL code from the copyright holder for use in your project for some price.

To answer question 3, if you are the sole author of GPL code, then you have full copyright to that code. You can do whatever you want with it, including using it in non-GPL project even while you have released it under GPL for others to use.

This is not a technical question, it is a legal question. Ask a lawyer licensed to practice in your area.

If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, which must be treated as an extension of both the main program and the plug-ins. In order to use the GPL-covered plug-ins, the main program must be released under the GPL or a GPL-compatible free software license, and that the terms of the GPL must be followed when the main program is distributed for use with these plug-ins.

Source

The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.

If a court finds that one is specifically designed to require the other, then you can expect trouble. The nature of Mock Program and Mock Plugin might play a role too, as to whether they are "real" programs or stooges. Consult an attorney.

I think you may be able to do it if you don't actually link the programs. Have them be separate processes, and communicate over a socket or named pipe or similar.

But really, I agree with the first poster. If you are planning to use GPL code in a non-GPL project, there are a few good options:

  1. Consult a lawyer versed in these kinds of issues
  2. Release the code to your entire project as GPL
  3. Don't use the GPL code in the place
  4. Contact authors of GPL code, offer them compensation in exchange for a license with less restrictions on your freedom to use their code.
James Fisher

I asked a very similar question over here, but from the starting point that I'm looking making the original product open source from the start which still leaves me the ability to sell it later.

I'm not saying the GPL is right - there are some areas I really disagree with (and some I really don't understand!), but at least it's a step in the right direction.

I think it really comes down to one question:-

  • Does your software require the GPL'd code to function.

If the answer is yes, then accept it and move on. If the answer is no (as in my case), then the consensus so far is that I don't have to worry about the GPL.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!