[OE-core] [PATCH 2/5] Add LICENSE_FLAGS to packages mentioned in COMMERCIAL_LICENSE
tom.zanussi at intel.com
Fri Jan 6 19:03:39 CET 2012
On Fri, 2012-01-06 at 17:15 +0000, Phil Blundell wrote:
> On Fri, 2012-01-06 at 10:45 -0600, tom.zanussi at intel.com wrote:
> > diff --git a/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.16.bb b/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.16.bb
> > index 5975513..0a90f9c 100644
> > --- a/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.16.bb
> > +++ b/meta/recipes-multimedia/gstreamer/gst-fluendo-mp3_0.10.16.bb
> > @@ -2,6 +2,7 @@ require gst-fluendo.inc
> > LICENSE = "MIT"
> > LIC_FILES_CHKSUM = "file://COPYING;md5=98326cbb1723a5a97e9b1db62e9faa05"
> > +LICENSE_FLAGS = "Commercial"
> If I'm understanding the mechanism correctly then just setting all of
> these to "Commercial" seems like a bit of a retrograde step. Is there
> an easy way in this new world for me to say that (for the sake of
> argument) gst-fluendo-mp3 is acceptable for inclusion but libomixl
Hmm, I don't think it's retrograde - it's true, this patchset simply
replaces the existing functionality, where those particular packages
previously were all essentially marked "COMMERCIAL" by virtue of all
existing within the one-and-all COMMERCIAL_LICENSE variable, whereas now
they're all marked as "Commercial" instead.
But the new mechanism is much more flexible, since it now allows you to
make the distinctions you're mentioning, which was impossible with the
previous scheme. So yeah, the idea is that you can use a string as
specific as you want for any give recipe e.g. have gst-fluendo-mp3
define LICENSE_FLAGS = "Commercial-gst-fluendo-mp3" and have something
similar for libomixl, or you might decide that libomxl is just fine
falling under the more general "Commercial" along with anything else
that might fall in the same general category.
I would expect whoever knows more about those particular packages to
actually submit changes for those if applicable. For now, this just
replaces it all with a more flexible mechanism that allows you to do
that, but doesn't make judgments about the particular packages, which I
actually don't know much about wrt licensing.
> It seems to me that, for this feature to be much use, the LICENSE_FLAGS
> need to be a bit more explicit about spelling out what the requirements
> really are for each package. So, if the issue here is that you need to
> pay the MP3 decoder licence on each unit you ship, let's say something
> like LICENSE_FLAGS = "mp3-decoder-royalties" rather than just
I think the new mechanism provides the ability do whatever's necessary,
but as far as it goes, and as mentioned in the commentary for patch 1,
these are just strings and matches between two sets of them,
LICENSE_FLAGS and LICENSE_FLAGS_WHITELIST. I'm afraid I don't know
enough about the distinctions between the different license categories
that might be needed. To me defining those falls under the heading of
'policy', and is something I'll have to leave for others. I'm simply
providing the mechanism with this patch.
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
More information about the Openembedded-core