I Found Myself Accused of Stealing Code from WordPress
medium.com
medium.com
So it appears that although Wordpress is using GPL, the component that Wordpress based their wrapper on is using a MIT license; so it would seem there is a flexibility in being able to use either the GPL or MIT license.
What I'm basically seeing based on Kol's article is:
1. MIT created ZSSRichTextEditor, and distributed it using MIT license. (see: https://github.com/nnhubbard/ZSSRichTextEditor/blob/master/L...)
2. Wordpress then created a wrapper for ZSSRichTextEditor, and subsequently had it covered by GPL instead of MIT. (see: https://github.com/wordpress-mobile/WordPress-Editor-iOS/blo...)
3. Kol then took that stuff, implemented React, and re-applied MIT license to it, which whether intentional or not, was what the original license was.
That being said, it's all open source and in the public domain. There's no theft here if it's was freely distributed. Kol even took it one step further (as he should), and gave proper credit where due -- not only within the project, but on social media.
That said, I am not sure if you license a wrapper code of a GPL library as MIT? My gut says yes as you don't need to distribute the GPL'd code with your code, but I'd be happy to be enlightened.
The complaint isn't that the code in the repo isn't GPL, anyway. They released an app with GPLed code but have not released the source.
(There is one exception: if your wrapper just invokes a GPL program as you would on a shell, that's not considered a combined work. But anything else, static or dynamic linking, whatever, it pretty much immediately becomes GPL)
It may be pointless (I don't agree), but I wasn't writing about whether there was a point to it, but whether it could or could not be done.
> The complaint isn't that the code in the repo isn't GPL, anyway.
Where did I say that was what the complaint was? I was just responding to parents comment as I thought it was incorrect. If you read my first comment on this story it was to point this out.
See http://softwareengineering.stackexchange.com/a/260889 for a similar discussion.
At least that's my interpretation of GPL requirements.
Well, almost. In order to have permission from an author to copy or distribute a GPL licensed work, I have only the GPL to look to as a source for such a permission. The GPL states that I have to choose one of a number of options; if I choose none of them, I can’t distribute, because copyright law states that only the authors have that right, unless they give permission. The available options are listed in section 3 of GPL 2. The first option is to simply always send the source code with every copy of the program; as in, include the source code in the app or binary sent to every user of the program. The second option is to include a “written offer” for source code to every recipient of the app or binary, so that anyone in possession of this offer can take me up on it and have me send them the source code upon request. Note that the person using the offer can be anyone, not just the original recipient of it. The third option is only available if I myself received such a written offer – I can then choose to simply forward this offer on to you instead of making my own. Note that this third option is also only available for non-commercial distribution.
If you got a GPL licensed program from me, and I did not choose any of the three above options, I have violated the GPL and consequently violated the copyright of the original author. You don't have to write me and ask for the source code and be refused in order to know this: If I’m distributing commercially, I can’t use the third option; if you didn’t either get the source code on the disk or in the downloaded archive or had it available on the site for download where you got your app or binary, then I didn’t choose the first option; if you can’t find a written offer from me anywhere, then I didn’t choose the second option.
> Code in this git repo is licensed MIT, please consider the licenses of the dependencies separately.
With a link to the Wordpress library.
Regardless, reading Matt's original post, I see that his complaint was not about relicensing at all. It was more to do with whether Wix's app is allowed to use Wordpress's GPL'd code, without attribution or providing the source to their entire application.
The whole thing (IMHO) boils down to whether you can use a GPL'd lib in a codebase without having to:
1. provide attribution
2. apply GPL your entire codebase
I believe 1 is not required. A quick google says 2 is not "ok". If you use a GPL lib in your application, you must open source your entire application (LGPL is the GPL license created to allow you to use a GPL lib without "infecting" your codebase with the GPL).
That said, I can understand someone misunderstanding the implications GPL and believing they don't have to open source their work that utilises a GPL library.
What I believe should have happened is that Matt from WP should have reached out Tai from Wix and quietly informed them of their obligations WRT using their GPL'd license, giving Wix the opportunity to correct what could have been an honest mistake.
Taking this public and accusing people of "stealing"[0], as a first step, is a selfish action will make people even more wary of using GPL'd code in their projects.
[0] I hate it when people abuse the word "stealing" WRT intellectual property rights, it smacks of either dishonesty or ignorance.
The GPL is extremely protective of the code it covers. This protection can be used positively ("hey man, if you use my code it's only fair that you share yours, wanna collaborate?") or negatively ("dude, you used that code in ways you are not supposed to - stop immediately and stay away from it if you don't understand how it works"). This is why it's a bloody good license, for people who understand it and are ready to enforce it.
One of the direct intentions of the GPL was to prevent freeloading (which the MIT license allows).
As a result, this is a violation.
I'm sure if you can somehow separate the Wordpress and wrapper code you can license the wrapper code as MIT, but the moment it's used in an actual app it obviously has to come with the Wordpress code. At that point the whole becomes GPL.
> The MIT license gives less rights than GPL
The MIT license gives less rights to end users than GPL. The GPL gives less rights to publishers than MIT.
What do you call it when someone disregards an author's rights?
Copyright makes it Matt's code, which he grants others the right to use, if they follow his provisions. If you're unwilling to follow those provisions, you have no right to use that code.
"Stealing" implies something is taken and by being taken the owner is deprived of that thing. "Jill had her bike stolen and now she has to walk to work".
"Copyright infringement" is missing that loss to the owner which is why it's not called "stealing"
Wix needs to either:
1. Open source the application that uses the GPL code
2. Stop distributing their application until they can remove the GPL library
The GPL FAQ seems to think the answer is yes [1]. However, other, more legally astute commentators strongly disagree [2][3].
In fact, the GPL FAQ seems to make some rather strange claims, like whether the fact that code is dynamically or statically linked legally determines whether a calling code becomes derivative work. This is an argument has never been tested in court.
IMO, the GPL FAQ basically takes a copyright maximalist position in order to interpret the license as broadly as possible. These are arguments that, in other contexts, most geeks would find completely unacceptable. It's worthwhile to note that the GPL FAQ has no validity as a legal document, only the license itself.
[1] https://www.gnu.org/licenses/gpl-faq.en.html#IfLibraryIsGPL
[2] http://www.rosenlaw.com/lj19.htm
[3] http://illinoisjltp.com/journal/wp-content/uploads/2013/10/G... p.124
1. Whether the license makes derivative works fall under the same license (GPL does, LGPL doesn't)
2. Whether the work in question is in fact a derivative work (which is yet to be determined)
Even if it turns out that it is in fact a derivative work, using the library might constitute fair use.
The GPL license itself doesn't bother with such technical minutiae either. But it does concern itself with distributing GPL code and unrelated code as a "whole"; and undeniably the Wix Android app comes with the Wordpress GPL code.
So I don't think this is the particular case that you want to test the whole dynamic linking discussion on.
This could be construed willful:
Yes, we did use the WordPress open source library for a minor part of the application