by ninefathom · 6y ago · 0 comments
Still- major kudos to Frictional for doing this. It's 100% an appreciated move, and very much in the right direction. The choice of FBX SDK is just, in hindsight, unfortunate, but that doesn't diminish the helpful nature of what they've done here.
(fingers crossed - maybe FBX SDK is just needed for the editor? Hope springs eternal...)
Looks like the culprits are "MeshLoaderFBX.cpp" and "LowLevelResourcesSDL.cpp" - any workarounds for FBX SDK would need to rework and/or replace those.
GPL restrictions apply to you, since you're a third party, a licensee. You can only use the code in compliance with the GPL.
So, if YOU take Amnesia's source code, and redistribute a binary, you MUST redistribute the source code as well.
If you write a software "foo" that links to a GPL-licensed library, then "foo" must be GPL as well.
This old trick was (maybe still is? I don't know) used by QT. There was a free, open source GPL version of QT; and there was a commercial version.
You could develop and distribute QT-based applications as long as they were GPL; if you wanted to write a commercial, closed source applications, you needed to pay for a QT license.
GPL just sets a base level of permission that you get, the rights owner is still free to grant any exemptions they want.
However, the Amensia devs aren't distributing the compiled game under the GPL, they're only distributing the source code, which doesn't include FBX. You're free to distribute code under the GPL which can't actually be compiled/linked.
That said, what you wrote doesn't make sense to me anyway, maybe I misunderstood it.
If I fork it I think I could add a new proprietary dependency and release the code for it but once it is built the binary would be unsharable as you say.
What I was trying to say originally is that if I was writing proprietary code I would not be able to add a gpl library and distribute the binary but I could do it the other way around.
No, GP is right. Your GPL license covers software "foo". GPL says what can be done with "foo" and things that depend on "foo"; it says nothing about what "foo" can or should depend on. "foo"'s dependencies can (and should) have their own licenses.
TL;DR: If you're writing a software "foo", you can choose what people do with YOUR OWN software (either directly or by linking into it), not with upstream dependencies.
EDIT: I think that what you mean is that, if you're a GPL licensee (not the copyright holder) for "foo", you cannot add a proprietary dependency to it and redistribute the binary. But the copyright holder CAN do this, and it CAN add exceptions to the GPL (it's the copyright holder who can choose what to do with its code)
It's complicated, but essentially yes, you can. But you may not be able to distribute the compiled work, just the source code, without bundling the closed source libraries.