Draft: don't build GPL modules in LGPL builds
Draft with a single GPL module to get feedback.
Will handle the remaining modules after initial positive feedback on this.
Merge request reports
Activity
- Resolved by Martin Finkel
Why this module ? It's LGPL 2.1+ like most module files.
changed milestone to %4.0
added Component::Build system Platform::Windows desktop labels
If you're assuming that the SDK contains no copyleft and no nonredistributable depedency, then you can select the license in contribs. There is no point adding configure flags.
If the SDK does contain problematic libraries, we have no way to check in configure.
So either way this is pointless. That's why it was rejected in the past already.
If you're assuming that the SDK contains no copyleft and no nonredistributable depedency, then you can select the license in contribs
This is not possible when using prebuilt contribs. Maybe prebuilt should be disabled when forcing a license. Or we could include something in the prebuilt tarball saying which license it was compiled for.
If that case happens, that means the module descriptor is not correct.
The module descriptor cannot be correct by your understanding. The configure script does not know which license a given dependency has, and neither do module descriptors.
We have several modules under LGPL depending on GPL libraries, or under v2+ depending on v3+ libraries.
Edited by Rémi Denis-CourmontThe configure script does not know which license a given dependency has, and neither do module descriptors.
But we do. All I'm doing is adding the ability to NOT build some modules. Users can choose which ones.
We have several modules under LGPL depending on GPL libraries, or under v2+ depending on v3+ libraries.
That's easy. We can disable these modules for the LGPL builds, since they are essentially GPL anyway in the end.
Very clearly not
Feel free to explain why or suggest a better approach then.
this was discussed previously.
Yes, licensing considerations are a moving target and a regular topic of interest and conversation. You can expect it to happen again in the future until an acceptable solution is found.
Feel free to explain why or suggest a better approach then
As explained you cannot know at configure/build time licence contamination by third parties because it's impossible to audit all their dependencies or check that the build lib include those or not. Only the builder can know its build environment. This would be possible if we were buildroot where we build, patch and configure everything but we aren't especially since contribs aren't even built if they are present in your system. Also I'd rather avoid starting a gstreamer's good bad and ugly mess now. And finally code can be licenced to whatever the author wants regardless of its dependencies only it's user needs to comply so using the licence of a module can end up being misleading anyway.
The only solution is a theoretical postinst script or manual removal. This is what we end up concluding everytime the discussion comes back.
Edited by Denis CharmetAndroid culls the unwanted modules before putting them in the lib and this is what I mean by postinst script.
Edited by Denis Charmet
mentioned in merge request !6090 (closed)