3 ms·
Somebody seems to have misunderstood what the GPL actually requires. Here's their example: "the company needs to ship a product so it’d like to keep their cor
by notacoward 12y ago
Somebody seems to have misunderstood what the GPL actually requires. Here's their example:
"the company needs to ship a product so it’d like to keep their core closed source. The GPL outlaws this kind of interaction. Our good citizen, a company wants to release their patches to your library back to the community and yet the GPL is banning them from doing so!"
That last sentence is utterly false, and the exclamation point doesn't make it true. The GPL is absolutely not prohibiting them from distributing their patched version of anyone's library. It merely requires that if they do so then they might have to publish other source as well. MIGHT. I'll get to that in a moment. The point is that GPL is adding a requirement, not a prohibition. Might they find that requirement onerous? Certainly. Nothing wrong with that, but portraying it as a prohibition is dishonest.
Now, about that "might" part. GPL might require that you publish other code only if it meets operative definitions of linkage and derivative works. Those are complex issues which I doubt can be addressed adequately here on HN, but maybe we can set some bounds. At one extreme, if you use a public API to an existing library which is loaded separately from your proprietary code, you're almost certainly OK. At the other extreme, if your proprietary code meddles in the GPL code's internals or vice versa (via your patches) to the extent that either becomes meaningless without the other, then you'd probably be held to have created a derivative work and would be required to publish the interdependent code under GPL.
The way this works out in practice is that the majority of proprietary/GPL combinations actually do not create an obligation to publish anything except your patches to the GPL code involved. When that's not the case, it's by design to prevent the "secret sauce" version of a library from displacing its still-open antecedent. Agree, disagree, but please don't misrepresent.