Re: License mismatched for libxshmfence_1.3.bb and recipeutils-test_1.2.bb


Robert Yang
 

Hi RP,

Thank you very much, I'm trying to run the test cases, but I found that you've already fixed them, thanks again.

// Robert

On 4/15/22 15:01, Richard Purdie wrote:
On Fri, 2022-04-15 at 11:55 +0800, Robert Yang wrote:
Hello,

The following two recipes use the similar sources, but their LICENSE are different
in the recipe:

meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb
SRC_URI =
"http://xorg.freedesktop.org/releases/individual/lib/libxshmfence-1.2.tar.bz2"
LICENSE = "Proprietary"

meta/recipes-graphics/xorg-lib/libxshmfence_1.3.bb
SRC_URI = "https://www.x.org/releases//individual/lib/libxshmfence-1.3.tar.bz2"
LICENSE = "MIT"

There is a COPYING file inside ibxshmfence-1.2.tar.bz2 and
libxshmfence-1.3.tar.bz2, they exactly the same:

$ diff libxshmfence-1.2/COPYING libxshmfence-1.3/COPYING

Please check the end for the full contents of COPYING, it's not either MIT or
Proprietary, but should be a free software.

How to fix the LICENSE name, please? Add a license file called libxshmfence? Any
comments is appreciated.
Having looked at a few SPDX licenses, I think this looks like HPND:
https://spdx.org/licenses/HPND.html
I suspect the license set in the recipeutils-test is there for testing purposes
and not as a "real" license but we probably need to make that clear, or only
modify it at runtime in the test.
Cheers,
Richard

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.