[Patch] Enable gpl if enabled nonfree
Hi! IMO, it does not make much sense to be required to enable nonfree and gpl at the same time if one wants to use a nonfree and a gpl'ed library. Patch attached. Carl Eugen
On Mon, May 05, 2008 at 12:33:56PM +0200, Carl Eugen Hoyos wrote:
IMO, it does not make much sense to be required to enable nonfree and gpl at the same time if one wants to use a nonfree and a gpl'ed library.
Nah, make them type... Diego
Carl Eugen Hoyos <cehoyos <at> rainbow.studorg.tuwien.ac.at> writes:
Index: configure =================================================================== --- configure (revision 13060) +++ configure (working copy) @@ -1336,6 +1336,7 @@ fi fi
+enabled nonfree && enable gpl
if ! enabled gpl; then die_gpl_disabled(){
I'd like to propose this patch once again. I think it does not make sense semantically to --enable-gpl --enable-nonfree. Carl Eugen
On Sun, Jan 18, 2009 at 12:18:46PM +0000, Carl Eugen Hoyos wrote:
Carl Eugen Hoyos <cehoyos <at> rainbow.studorg.tuwien.ac.at> writes:
--- configure (revision 13060) +++ configure (working copy) @@ -1336,6 +1336,7 @@
+enabled nonfree && enable gpl
I'd like to propose this patch once again.
I think it does not make sense semantically to --enable-gpl --enable-nonfree.
I object. We should absolutely not fiddle with license issues behind the user's back. It should be an explicit choice made by the person running configure. Diego
Hi Diego! Diego Biurrun <diego <at> biurrun.de> writes:
On Sun, Jan 18, 2009 at 12:18:46PM +0000, Carl Eugen Hoyos wrote:
Carl Eugen Hoyos <cehoyos <at> rainbow.studorg.tuwien.ac.at> writes:
--- configure (revision 13060) +++ configure (working copy) @@ -1336,6 +1336,7 @@
+enabled nonfree && enable gpl
I'd like to propose this patch once again.
I think it does not make sense semantically to --enable-gpl --enable-nonfree.
I object. We should absolutely not fiddle with license issues behind the user's back.
That is what we do now: We force the user (in some cases) to --enable-gpl. when he actually compiles a non-free version of FFmpeg.
It should be an explicit choice made by the person running configure.
That is what I propose. Carl Eugen
On Sun, Jan 18, 2009 at 04:12:43PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
On Sun, Jan 18, 2009 at 12:18:46PM +0000, Carl Eugen Hoyos wrote:
Carl Eugen Hoyos <cehoyos <at> rainbow.studorg.tuwien.ac.at> writes:
--- configure (revision 13060) +++ configure (working copy) @@ -1336,6 +1336,7 @@
+enabled nonfree && enable gpl
I'd like to propose this patch once again.
I think it does not make sense semantically to --enable-gpl --enable-nonfree.
I object. We should absolutely not fiddle with license issues behind the user's back.
That is what we do now: We force the user (in some cases) to --enable-gpl. when he actually compiles a non-free version of FFmpeg.
That is not what we do. GPL parts have to be enabled explicitly, nonfree parts have to be enabled explicitly. Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable. Diego
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody. I was actually only answering the question you posted an hour later: "how can we make things clearer?" (As a second step, I wanted to forbid combining gpl and non-free in the configure line) Carl Eugen
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out: license: unredistributable at the end even when combining both options... Diego
2009/1/18 Diego Biurrun <diego at biurrun.de>:
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent. Regards, Rob
On Sun, Jan 18, 2009 at 05:17:35PM +0000, Robert Swain wrote:
2009/1/18 Diego Biurrun <diego at biurrun.de>:
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent.
Still it might make sense to just enable nonfree code without GPL code. Diego
On Sun, 18 Jan 2009 18:19:20 +0100 Diego Biurrun <diego at biurrun.de> wrote:
On Sun, Jan 18, 2009 at 05:17:35PM +0000, Robert Swain wrote:
2009/1/18 Diego Biurrun <diego at biurrun.de>:
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent.
Still it might make sense to just enable nonfree code without GPL code.
Any example ? As long as you enable nonfree, your binary is unredistributable. The GPL covers only distribution of the software, so the GPL has no sens at all regarding the unredistributable binary. IMO, the purpose of --enable-gpl and --enable-nonfree is not to select what part of the code is compiled. The purpose is to select which options can be enabled or not. eg. --enable-swscale can't be used in a pure LGPL compile, but it can be used in a GPL compile and it should also be possible to use in a nonfree compile, because the license of swscale allows it to be compiled in non-redistributable binaries (wheather you agree with the GPL or not). IOW, --enable-nonfree should really be a super-set of --enable-gpl because our nonfree "pseudo-license" allows inclusion of GPLed code. (just the same as --enable-gpl is a super-set of lgpl mode because GPL allows inclusion of LGPLed code) Aurel
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent.
Still it might make sense to just enable nonfree code without GPL code.
How about a --yes-i-mean-it when both are on ? so someone doing configure --enable-gpl --enable-nonfree && make would get an error, look at it, and decide to do it anyway. Fran?ois.
On Sun, Jan 18, 2009 at 05:17:35PM +0000, Robert Swain wrote:
2009/1/18 Diego Biurrun <diego at biurrun.de>:
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent.
why dont you rename --enable-nonfree to --enable-nonredistributable ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I do not agree with what you have to say, but I'll defend to the death your right to say it. -- Voltaire
On Sun, Jan 18, 2009 at 11:45:34PM +0100, Michael Niedermayer wrote:
On Sun, Jan 18, 2009 at 05:17:35PM +0000, Robert Swain wrote:
2009/1/18 Diego Biurrun <diego at biurrun.de>:
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent.
why dont you rename --enable-nonfree to --enable-nonredistributable ?
Do others agree that this will reduce the confusion? Diego
On Mon, Jan 19, 2009 at 11:00 AM, Diego Biurrun <diego at biurrun.de> wrote:
On Sun, Jan 18, 2009 at 11:45:34PM +0100, Michael Niedermayer wrote:
On Sun, Jan 18, 2009 at 05:17:35PM +0000, Robert Swain wrote:
2009/1/18 Diego Biurrun <diego at biurrun.de>:
On Sun, Jan 18, 2009 at 05:12:36PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
Of course the nonfree option is incompatible with everything and the resulting binary is nonredistributable.
"Of course" for us, but as I always expected and was shown to us today, not for everybody.
I still suspect PEBCAK because configure prints out:
license: unredistributable
at the end even when combining both options...
True. But maybe people do `./configure --OPTIONS && make && make install` and don't notice the output from configure. If no other license related options were allowed in conjunction with --enable-nonfree, it may make the license status more apparent.
why dont you rename --enable-nonfree to --enable-nonredistributable ?
Do others agree that this will reduce the confusion?
IMO it's a rather overly long configure option. Futhermore, it's generally annoying to change configure options (because people will spend the next 2 years complaining in #ffmpeg because all the guides on the internet are now wrong...) Dark Shikari
Le decadi 30 niv?se, an CCXVII, Diego Biurrun a ?crit?:
why dont you rename --enable-nonfree to --enable-nonredistributable ? Do others agree that this will reduce the confusion?
I am not sure: nonfree and nonredistributable are not at all synonyms: you could have ffmpeg linked with a codec library that is gratis for non-commercial use, which is non-Free but still redistributable. On the other hand, you could have ffmpeg linked with GPL codecs and OpenSSL for HTTPS, where everything is Free but makes it non-redistributable (OpenSSL license is incompatible with the GPL). I think things are fine now: "License: unredistributable" is perfectly clear, and people who do not read the output of configure would not read the options either. If new license issues were to arise (for example if someone actually submits support for OpenSSL or a gratis-for-non-commercial codec), I think the best solution would be to create the --license=XXX option to set the license of the resulting binary, and enable all modules that are compatible with it. Regards, -- Nicolas George
On Mon, Jan 19, 2009 at 06:14:19PM +0100, Nicolas George wrote:
Le decadi 30 niv?se, an CCXVII, Diego Biurrun a ?crit?:
why dont you rename --enable-nonfree to --enable-nonredistributable ? Do others agree that this will reduce the confusion?
I am not sure: nonfree and nonredistributable are not at all synonyms: you could have ffmpeg linked with a codec library that is gratis for non-commercial use, which is non-Free but still redistributable. On the other hand, you could have ffmpeg linked with GPL codecs and OpenSSL for HTTPS, where everything is Free but makes it non-redistributable (OpenSSL license is incompatible with the GPL).
I think things are fine now: "License: unredistributable" is perfectly clear, and people who do not read the output of configure would not read the options either.
I agree completely. The person who had this problem is on record saying to have skipped the output from configure. I consider this case closed. Diego
Le decadi 30 niv?se, an CCXVII, Diego Biurrun a ?crit?:
why dont you rename --enable-nonfree to --enable- nonredistributable ? Do others agree that this will reduce the confusion?
Seems my last post didn't go through... How about a --yes-i-mean-it when both are on ? so someone doing configure --enable-gpl --enable-nonfree && make would get an error, look at it, and decide to do it anyway. Fran?ois.
participants (9)
-
aurel@gnuage.org -
cehoyos@ag.or.at -
cehoyos@rainbow.studorg.tuwien.ac.at -
darkshikari@gmail.com -
diego@biurrun.de -
michaelni@gmx.at -
nicolas.george@normalesup.org -
revol@free.fr -
robert.swain@gmail.com