]> code.ossystems Code Review - openembedded-core.git/commit
recipes: Fix license "names"/versions.
authorFilip Jareš <filipjares@gmail.com>
Wed, 5 Jun 2019 07:34:08 +0000 (09:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Jun 2019 23:38:38 +0000 (00:38 +0100)
commit85cdf2ddfbfa956f9fcb705f886645f1884149c1
treef0fe77ad1086d96fed8c069d50c019b3387937eb
parent4e3b013daaa07934f1fa81f1b26fe40fea1e3435
recipes: Fix license "names"/versions.

These were broken in commit 4786ecdf7cd427089464dcb62579110d494e7cd7
which performed a cleanup to avoid non-standard field names.

There is an SPDX License list at https://spdx.org/licenses/ which
aims to be a standard. Yocto also uses a substitution map SPDXLICENSEMAP,
default one stored at meta/conf/licenses.conf.

According to meta/conf/licenses.conf, "AFL-2" corresponds to "AFL-2.0"
which is not correct for dbus.

According to the same licenses.conf file "MPL-1" corresponds to "MPL-1.0",
which is correct for libical but since SPDX aims to be a standard
I am updating the identifier in libical's .bb file as well.

To verify the actual license used you can use:

dbus:

    cd /tmp/
    wget http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.110.tar.gz
    tar -xaf dbus-glib-0.110.tar.gz
    cd dbus-glib-0.110
    grep -A1 "^The Academic Free License$" COPYING

    cd /tmp/
    wget http://dbus.freedesktop.org/releases/dbus/dbus-1.12.14.tar.gz
    tar -xaf dbus-1.12.14.tar.gz
    cd dbus-1.12.14
    grep -A1 "^The Academic Free License$" COPYING

cairo:

    wget --quiet -O - https://cgit.freedesktop.org/cairo/plain/COPYING-MPL-1.1?h=1.16.0 | grep -A1 "MOZILLA PUBLIC LICENSE"

libical:

    wget --quiet -O - https://raw.githubusercontent.com/libical/libical/v2.0.0/COPYING | grep "Mozilla Public License"

taglib:

    wget --quiet -O - https://raw.githubusercontent.com/taglib/taglib/v1.11.1/COPYING.MPL | grep -A1 "MOZILLA PUBLIC LICENSE"

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/dbus/dbus-glib_0.110.bb
meta/recipes-core/dbus/dbus-test_1.12.14.bb
meta/recipes-core/dbus/dbus_1.12.14.bb
meta/recipes-graphics/cairo/cairo_1.16.0.bb
meta/recipes-support/libical/libical_2.0.0.bb
meta/recipes-support/taglib/taglib_1.11.1.bb