> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-
> c...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt
> Sent: den 9 september 2021 21:54
> To: Ross Burton <r...@burtonini.com>; openembedded-
> c...@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 12/14] ffmpeg: update LICENSE
> 
> > -----Original Message-----
> > From: openembedded-core@lists.openembedded.org <openembedded-
> > c...@lists.openembedded.org> On Behalf Of Ross Burton
> > Sent: den 3 september 2021 15:25
> > To: openembedded-core@lists.openembedded.org
> > 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 <ross.bur...@arm.com>
> > ---
> >  meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
> b/meta/recipes-
> > multimedia/ffmpeg/ffmpeg_4.4.bb
> > index e19077541ec..f822ba9ab78 100644
> > --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
> > +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
> > @@ -5,7 +5,7 @@ DESCRIPTION = "FFmpeg is the leading multimedia framework,
> > able to decode, encod
> >  HOMEPAGE = "https://www.ffmpeg.org/";
> >  SECTION = "libs"
> >
> > -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.

> >  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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156075): 
https://lists.openembedded.org/g/openembedded-core/message/156075
Mute This Topic: https://lists.openembedded.org/mt/85640034/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to