Missing Expat license (was: [PATCH 12/14] ffmpeg: update LICENSE)
Quoted 34 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 9 september 2021 21:54
To: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSEQuoted 10 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE"BSD" is ambiguous, ffmpeg comprises of several licenses which are BSD-like.
Review
Quoted 6 lines
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-
Quoted 9 lines
multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimedia framework,able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"
Quoted 5 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
Quoted 2 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"There is no "Expat" license in neither meta/files/common-licenses nor in
meta/conf/licenses.conf.
Ross, since you added the reference to the Expat license, did you plan on actually adding it as well? It being missing breaks at least our license handling. After writing this, I went digging in ffmpeg, and it seems that the Expat license (only mentioned by name, there is no actual license text) is only used for a test image (reference.pnm), which does not end up in any package. So to me it seems as this does not need to be included in LICENSE.
Also, given the long list of licenses that are now in LICENSE, what packages are actually expected to use those licenses? AFAICT, all packages that are explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The default licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness, LIC_FILES_CHKSUM lists GPLv2, GPLv3, LGPLv2 and LGPLv3, but neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no references for any of the newly added licenses.
Quoted 7 lines
Quoted 5 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
--
2.25.1//Peter
//Peter
Quoted 35 lines · Peter Kjellerstedt
Quoted 35 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 9 september 2021 21:54
To: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSEQuoted 10 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE"BSD" is ambiguous, ffmpeg comprises of several licenses which are BSD-like.
Review
Quoted 6 lines
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-
Quoted 9 lines
multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimedia framework,able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"
Quoted 6 lines
Quoted 5 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
Quoted 2 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"There is no "Expat" license in neither meta/files/common-licenses nor in
meta/conf/licenses.conf.
Perhaps adding it might be one way see
https://directory.fsf.org/wiki/License:Expat
SPDX seems to not have specific entry for it as it points to MIT there I think ptest package will contain vsynth2.yuv which is built using reference.pnm so technically
we need to use Expat for ptest package.
Quoted 30 lines
Ross, since you added the reference to the Expat license, did you plan on actually adding it as well? It being missing breaks at least our license handling. After writing this, I went digging in ffmpeg, and it seems that the Expat license (only mentioned by name, there is no actual license text) is only used for a test image (reference.pnm), which does not end up in any package. So to me it seems as this does not need to be included in LICENSE.
Also, given the long list of licenses that are now in LICENSE, what packages are actually expected to use those licenses? AFAICT, all packages that are explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The default licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness,
LIC_FILES_CHKSUMlists GPLv2, GPLv3, LGPLv2 and LGPLv3, but neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no references for any of the newly added licenses.Quoted 7 lines
Quoted 5 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
--
2.25.1//Peter
//Peter
Quoted 51 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: den 16 september 2021 01:06
To: Peter Kjellerstedt <[email protected]>
Cc: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] Missing Expat license (was: [PATCH 12/14] ffmpeg:
update LICENSE)Quoted 24 lines · Peter Kjellerstedt
Quoted 24 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 9 september 2021 21:54
To: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSEQuoted 15 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE"BSD" is ambiguous, ffmpeg comprises of several licenses which are BSD-like.
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb DESCRIPTION = "FFmpeg is the leading multimedia
Quoted 5 lines
multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimediaframework,
Quoted 6 lines
Quoted 6 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
Quoted 6 lines
able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"
Quoted 1 line
Quoted 1 line
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
There is no "Expat" license in neither meta/files/common-licenses nor in
meta/conf/licenses.conf.Perhaps adding it might be one way see
https://directory.fsf.org/wiki/License:Expat
SPDX seems to not have specific entry for it as it points to MIT there
If "the expat license" is in fact MIT (hard to tell as there is no license text in the ffmpeg sources), I do not see why we would need a special license for it. All other recipes use "MIT" without creating a specific license file. This includes the expat recipe itself, which use "MIT" as license.
Quoted 3 lines
I think ptest package will contain vsynth2.yuv which is built using reference.pnm so technically
we need to use Expat for ptest package.
ffmpeg does not produce any ptest package AFAICT.
//Peter
Quoted 41 lines
Quoted 1 line
Ross, since you added the reference to the Expat license, did you plan
on
Quoted 2 lines
actually adding it as well? It being missing breaks at least our license handling. After writing this, I went digging in ffmpeg, and it seems
that the
Quoted 1 line
Expat license (only mentioned by name, there is no actual license text)
is
Quoted 2 lines
only used for a test image (reference.pnm), which does not end up in any package. So to me it seems as this does not need to be included in
LICENSE.
Quoted 2 lines
Also, given the long list of licenses that are now in LICENSE, what
packages
Quoted 1 line
are actually expected to use those licenses? AFAICT, all packages that
are
Quoted 1 line
explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The
default
Quoted 4 lines
licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness,
LIC_FILES_CHKSUMlists GPLv2, GPLv3, LGPLv2 and LGPLv3,but
Quoted 1 line
neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no
references for
Quoted 4 lines
any of the newly added licenses.
Quoted 2 lines
Quoted 2 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl','GPLv2+', 'LGPLv2.1+', d)}"
Quoted 1 line
Quoted 1 line
Quoted 1 line
LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl',
'GPLv2+', 'LGPLv2.1+', d)}"
Quoted 10 lines
Quoted 4 lines
Quoted 2 lines
--
2.25.1//Peter
//Peter
Quoted 56 lines · Peter Kjellerstedt
Quoted 56 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: den 16 september 2021 01:06
To: Peter Kjellerstedt <[email protected]>
Cc: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] Missing Expat license (was: [PATCH 12/14] ffmpeg:
update LICENSE)Quoted 24 lines · Peter Kjellerstedt
Quoted 24 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 9 september 2021 21:54
To: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSEQuoted 15 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE"BSD" is ambiguous, ffmpeg comprises of several licenses which are BSD-like.
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb DESCRIPTION = "FFmpeg is the leading multimedia
Quoted 5 lines
multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimediaframework,
Quoted 6 lines
Quoted 6 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
Quoted 6 lines
able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"
Quoted 4 lines
Quoted 3 lines
There is no "Expat" license in neither meta/files/common-licenses nor in
meta/conf/licenses.conf.
Quoted 9 lines
Quoted 3 lines
Perhaps adding it might be one way see
https://directory.fsf.org/wiki/License:Expat
SPDX seems to not have specific entry for it as it points to MIT thereIf "the expat license" is in fact MIT (hard to tell as there is no license text in the ffmpeg sources), I do not see why we would need a special license for it. All other recipes use "MIT" without creating a specific license file. This includes the expat recipe itself, which use "MIT" as license.
this here is a interesting take on it
https://www.gnu.org/licenses/license-list.html#Expat
so it really is not MIT as per above
Quoted 5 lines
Quoted 3 lines
I think ptest package will contain vsynth2.yuv which is built using reference.pnm so technically
we need to use Expat for ptest package.ffmpeg does not produce any ptest package AFAICT.
We will still have it. it in -src packages, if its not used then perhaps just delete this file.
Quoted 44 lines
//Peter
Quoted 41 lines
Quoted 1 line
Ross, since you added the reference to the Expat license, did you plan
on
Quoted 2 lines
actually adding it as well? It being missing breaks at least our license handling. After writing this, I went digging in ffmpeg, and it seems
that the
Quoted 1 line
Expat license (only mentioned by name, there is no actual license text)
is
Quoted 2 lines
only used for a test image (reference.pnm), which does not end up in any package. So to me it seems as this does not need to be included in
LICENSE.
Quoted 2 lines
Also, given the long list of licenses that are now in LICENSE, what
packages
Quoted 1 line
are actually expected to use those licenses? AFAICT, all packages that
are
Quoted 1 line
explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The
default
Quoted 4 lines
licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness,
LIC_FILES_CHKSUMlists GPLv2, GPLv3, LGPLv2 and LGPLv3,but
Quoted 1 line
neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no
references for
Quoted 4 lines
any of the newly added licenses.
Quoted 2 lines
Quoted 2 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl','GPLv2+', 'LGPLv2.1+', d)}"
Quoted 1 line
Quoted 1 line
Quoted 1 line
LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl',
'GPLv2+', 'LGPLv2.1+', d)}"
Quoted 10 lines
Quoted 4 lines
Quoted 2 lines
--
2.25.1//Peter
//Peter
Quoted 79 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: den 16 september 2021 15:42
To: Peter Kjellerstedt <[email protected]>
Cc: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] Missing Expat license (was: [PATCH 12/14] ffmpeg:
update LICENSE)Quoted 8 lines · Peter Kjellerstedt
Quoted 8 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: den 16 september 2021 01:06
To: Peter Kjellerstedt <[email protected]>
Cc: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] Missing Expat license (was: [PATCH 12/14]ffmpeg:
Quoted 13 lines
Quoted 13 lines
update LICENSE)
Quoted 9 lines · Peter Kjellerstedt
Quoted 9 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 9 september 2021 21:54
To: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSEQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE"BSD" is ambiguous, ffmpeg comprises of several licenses which
are
Quoted 15 lines
Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
BSD-like.
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb DESCRIPTION = "FFmpeg is the leading multimedia
Quoted 5 lines
multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimediaframework,
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
Quoted 6 lines
able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause &BSD-3-
Quoted 3 lines
Quoted 3 lines
Clause & IJG"
Quoted 2 lines
Quoted 2 lines
There is no "Expat" license in neither meta/files/common-licenses
nor
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Quoted 1 line
in
meta/conf/licenses.conf.Perhaps adding it might be one way see
https://directory.fsf.org/wiki/License:Expat
SPDX seems to not have specific entry for it as it points to MIT thereIf "the expat license" is in fact MIT (hard to tell as there is no
license
Quoted 1 line
text in the ffmpeg sources), I do not see why we would need a special
license
Quoted 8 lines
Quoted 1 line
for it. All other recipes use "MIT" without creating a specific license
file.
Quoted 2 lines
This includes the expat recipe itself, which use "MIT" as license.
this here is a interesting take on it
https://www.gnu.org/licenses/license-list.html#Expat
so it really is not MIT as per above
Well, that page does not seem to acknowledge the term "the MIT license", which the rest of us obviously do... So while they may call it the Expat license, the actual license text at
https://directory.fsf.org/wiki/License:Expat is still ye goode olde MIT text.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
I think ptest package will contain vsynth2.yuv which is built using reference.pnm so technically
we need to use Expat for ptest package.ffmpeg does not produce any ptest package AFAICT.
We will still have it. it in -src packages, if its not used then perhaps just delete this file.
It does not end up in ffmpeg-src (since it is a picture I presume and not a source file) nor anywhere else (I have searched through the packages-split directory after building ffmpeg with the "poky" distro, which, e.g., enables ptest by default).
//Peter
Quoted 51 lines
Quoted 3 lines
//Peter
Quoted 1 line
Quoted 1 line
Ross, since you added the reference to the Expat license, did you
plan
Quoted 2 lines
Quoted 2 lines
on
Quoted 1 line
actually adding it as well? It being missing breaks at least our
license
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
handling. After writing this, I went digging in ffmpeg, and it seems
that the
Quoted 1 line
Expat license (only mentioned by name, there is no actual license
text)
Quoted 2 lines
Quoted 2 lines
is
Quoted 1 line
only used for a test image (reference.pnm), which does not end up in
any
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
package. So to me it seems as this does not need to be included in
LICENSE.
Quoted 2 lines
Also, given the long list of licenses that are now in LICENSE, what
packages
Quoted 1 line
are actually expected to use those licenses? AFAICT, all packages
that
Quoted 7 lines
Quoted 7 lines
are
Quoted 1 line
explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The
default
Quoted 4 lines
licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness,
LIC_FILES_CHKSUMlists GPLv2, GPLv3, LGPLv2 andLGPLv3,
Quoted 7 lines
Quoted 7 lines
but
Quoted 1 line
neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no
references for
Quoted 4 lines
any of the newly added licenses.
Quoted 2 lines
Quoted 2 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG','gpl',
Quoted 2 lines
Quoted 2 lines
'GPLv2+', 'LGPLv2.1+', d)}"
Quoted 1 line
Quoted 1 line
Quoted 1 line
LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG',
'gpl',
Quoted 11 lines
Quoted 11 lines
'GPLv2+', 'LGPLv2.1+', d)}"
Quoted 10 lines
Quoted 4 lines
Quoted 2 lines
--
2.25.1//Peter
//Peter
Quoted 101 lines · Peter Kjellerstedt
Quoted 80 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: den 16 september 2021 15:42
To: Peter Kjellerstedt <[email protected]>
Cc: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] Missing Expat license (was: [PATCH 12/14] ffmpeg:
update LICENSE)Quoted 8 lines · Peter Kjellerstedt
Quoted 8 lines
-----Original Message-----
From: Khem Raj <[email protected]>
Sent: den 16 september 2021 01:06
To: Peter Kjellerstedt <[email protected]>
Cc: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] Missing Expat license (was: [PATCH 12/14]ffmpeg:
Quoted 13 lines
Quoted 13 lines
update LICENSE)
Quoted 9 lines · Peter Kjellerstedt
Quoted 9 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Peter Kjellerstedt
Sent: den 9 september 2021 21:54
To: Ross Burton <[email protected]>; openembedded- [email protected]
Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSEQuoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Ross Burton
Sent: den 3 september 2021 15:25
To: [email protected]
Subject: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE"BSD" is ambiguous, ffmpeg comprises of several licenses which
are
Quoted 15 lines
Quoted 15 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
BSD-like.
Signed-off-by Ross Burton <[email protected]>--- meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Review
Quoted 1 line
(quoted diff) +0
-0b/meta/recipes-
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb DESCRIPTION = "FFmpeg is the leading multimedia
Quoted 5 lines
multimedia/ffmpeg/ffmpeg_4.4.bb
indexe19077541ec..f822ba9ab78100644meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +0
-0@@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimediaframework,
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
Quoted 6 lines
able to decode, encod
HOMEPAGE = "https://www.ffmpeg.org/"
SECTION = "libs"meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause &BSD-3-
Quoted 3 lines
Quoted 3 lines
Clause & IJG"
Quoted 2 lines
Quoted 2 lines
There is no "Expat" license in neither meta/files/common-licenses
nor
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Quoted 1 line
in
meta/conf/licenses.conf.Perhaps adding it might be one way see
https://directory.fsf.org/wiki/License:Expat
SPDX seems to not have specific entry for it as it points to MIT thereIf "the expat license" is in fact MIT (hard to tell as there is no
license
Quoted 1 line
text in the ffmpeg sources), I do not see why we would need a special
license
Quoted 8 lines
Quoted 1 line
for it. All other recipes use "MIT" without creating a specific license
file.
Quoted 2 lines
This includes the expat recipe itself, which use "MIT" as license.
this here is a interesting take on it
https://www.gnu.org/licenses/license-list.html#Expat
so it really is not MIT as per aboveWell, that page does not seem to acknowledge the term "the MIT license", which the rest of us obviously do... So while they may call it the Expat license, the actual license text at
https://directory.fsf.org/wiki/License:Expat is still ye goode olde MIT text.Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
I think ptest package will contain vsynth2.yuv which is built using reference.pnm so technically
we need to use Expat for ptest package.ffmpeg does not produce any ptest package AFAICT.
Quoted 7 lines
Quoted 2 lines
We will still have it. it in -src packages, if its not used then perhaps just delete this file.
It does not end up in ffmpeg-src (since it is a picture I presume and not a source file) nor anywhere else (I have searched through the packages-split directory after building ffmpeg with the "poky" distro, which, e.g., enables ptest by default).
OK that should be fine then, I thought we bundled all sources + generated sources with -src pkgs
Quoted 54 lines
//Peter
Quoted 51 lines
Quoted 3 lines
//Peter
Quoted 1 line
Quoted 1 line
Ross, since you added the reference to the Expat license, did you
plan
Quoted 2 lines
Quoted 2 lines
on
Quoted 1 line
actually adding it as well? It being missing breaks at least our
license
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
handling. After writing this, I went digging in ffmpeg, and it seems
that the
Quoted 1 line
Expat license (only mentioned by name, there is no actual license
text)
Quoted 2 lines
Quoted 2 lines
is
Quoted 1 line
only used for a test image (reference.pnm), which does not end up in
any
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
package. So to me it seems as this does not need to be included in
LICENSE.
Quoted 2 lines
Also, given the long list of licenses that are now in LICENSE, what
packages
Quoted 1 line
are actually expected to use those licenses? AFAICT, all packages
that
Quoted 7 lines
Quoted 7 lines
are
Quoted 1 line
explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The
default
Quoted 4 lines
licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness,
LIC_FILES_CHKSUMlists GPLv2, GPLv3, LGPLv2 andLGPLv3,
Quoted 7 lines
Quoted 7 lines
but
Quoted 1 line
neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no
references for
Quoted 4 lines
any of the newly added licenses.
Quoted 2 lines
Quoted 2 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG','gpl',
Quoted 2 lines
Quoted 2 lines
'GPLv2+', 'LGPLv2.1+', d)}"
Quoted 1 line
Quoted 1 line
Quoted 1 line
LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG',
'gpl',
Quoted 11 lines
Quoted 11 lines
'GPLv2+', 'LGPLv2.1+', d)}"
Quoted 10 lines
Quoted 4 lines
Quoted 2 lines
--
2.25.1//Peter
//Peter
Quoted 6 lines · Peter Kjellerstedt
Quoted 5 lines
Review
Quoted 2 lines
(quoted diff) +1
-1-LICENSE = "BSD & GPLv2+ & LGPLv2.1+ & MIT" +LICENSE = "GPLv2+ & LGPLv2.1+ & ISC & Expat & BSD-2-Clause & BSD-3-Clause & IJG"There is no "Expat" license in neither meta/files/common-licenses nor in
meta/conf/licenses.conf.
Quoted 6 lines
Ross, since you added the reference to the Expat license, did you plan on actually adding it as well? It being missing breaks at least our license handling. After writing this, I went digging in ffmpeg, and it seems that the Expat license (only mentioned by name, there is no actual license text) is only used for a test image (reference.pnm), which does not end up in any package. So to me it seems as this does not need to be included in LICENSE.
Whoops, sorry. Not sure how I didn't notice this. It should be MIT.
The other license issues are "interesting", yes. I think the recipe needs an overhaul...
Ross
Quoted 21 lines
Also, given the long list of licenses that are now in LICENSE, what packages are actually expected to use those licenses? AFAICT, all packages that are explicitly listed in the recipe either use GPLv2+ or LGPLv2.1+. The default licenses only seem to be used for, e.g., ffmpeg-dev, ffmpeg-dbg and ffmpeg-doc, which seems weird.
More weirdness,
LIC_FILES_CHKSUMlists GPLv2, GPLv3, LGPLv2 and LGPLv3, but neither GPLv3 nor LGPLv3 are used in LICENSE. And there are no references for any of the newly added licenses.Quoted 7 lines
Quoted 5 lines
LICENSE:${PN} = "GPLv2+"
LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
--
2.25.1//Peter
//Peter