licenses: Add LGPL_Exception texts and reference them from LICENSE

* add the license text as they appear in qtbase 5.4 and 5.5
* The-Qt-Company-Qt-LGPL-Exception-1.1 will be used in 5.5 beta recipes
  I'll introduce shortly
* based on patch from Herb Kuta

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2015-04-17 15:30:26 +02:00
parent d17b8cd011
commit 48ebff679e
20 changed files with 83 additions and 14 deletions

View File

@@ -0,0 +1,22 @@
Digia Qt LGPL Exception version 1.1
As an additional permission to the GNU Lesser General Public License version
2.1, the object code form of a "work that uses the Library" may incorporate
material from a header file that is part of the Library. You may distribute
such object code under terms of your choice, provided that:
(i) the header files of the Library have not been modified; and
(ii) the incorporated material is limited to numerical parameters, data
structure layouts, accessors, macros, inline functions and
templates; and
(iii) you comply with the terms of Section 6 of the GNU Lesser General
Public License version 2.1.
Moreover, you may apply this exception to a modified version of the Library,
provided that such modification does not involve copying material from the
Library into the modified Library's header files unless such material is
limited to (i) numerical parameters; (ii) data structure layouts;
(iii) accessors; and (iv) small macros, templates and inline functions of
five lines or less in length.
Furthermore, you are not required to apply this additional permission to a
modified version of the Library.

View File

@@ -0,0 +1,22 @@
The Qt Company Qt LGPL Exception version 1.1
As an additional permission to the GNU Lesser General Public License version
2.1, the object code form of a "work that uses the Library" may incorporate
material from a header file that is part of the Library. You may distribute
such object code under terms of your choice, provided that:
(i) the header files of the Library have not been modified; and
(ii) the incorporated material is limited to numerical parameters, data
structure layouts, accessors, macros, inline functions and
templates; and
(iii) you comply with the terms of Section 6 of the GNU Lesser General
Public License version 2.1.
Moreover, you may apply this exception to a modified version of the Library,
provided that such modification does not involve copying material from the
Library into the modified Library's header files unless such material is
limited to (i) numerical parameters; (ii) data structure layouts;
(iii) accessors; and (iv) small macros, templates and inline functions of
five lines or less in length.
Furthermore, you are not required to apply this additional permission to a
modified version of the Library.

View File

@@ -12,7 +12,7 @@ SRC_URI += " \
S = "${WORKDIR}/${QT_MODULE}-opensource-src-${QT_VERSION}"
LICENSE = "GFDL-1.3 & LGPL-2.1 | LGPL-3.0"
LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=d87ae0d200af76dca730d911474cbe5b \
file://LICENSE.LGPLv3;md5=ffcfac38a32c9ebdb8ff768fa1702478 \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \

View File

@@ -16,7 +16,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/${BPN}-git:"
DEFAULT_PREFERENCE = "-1"
LICENSE = "GFDL-1.3 & LGPL-2.1 | LGPL-3.0"
LICENSE = "GFDL-1.3 & BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \

View File

@@ -22,6 +22,10 @@ SRC_URI += "\
DEPENDS += "qtbase-native"
# Used for examples and tests
# LGPL-3.0 is used only in src/plugins/platforms/android/extract.cpp
LICENSE += "& BSD"
# for syncqt
RDEPENDS_${PN}-tools += "perl"

View File

@@ -4,6 +4,8 @@ SRC_URI += " \
file://0001-qmltestexample-fix-link.patch \
"
# There are no LGPLv3-only licensed files in this component.
DEPENDS += "qtbase"
PACKAGECONFIG ??= "qtxmlpatterns"

View File

@@ -5,4 +5,4 @@ DEPENDS += "qtbase qtdeclarative qtxmlpatterns"
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6"
LICENSE = "LGPL-2.1 | GPL-3.0"
LICENSE = "BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"

View File

@@ -4,5 +4,6 @@ DEPENDS += "qtdeclarative"
RDEPENDS_${PN}-dev = ""
LICENSE += "| GPL-2.0"
# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"

View File

@@ -1,5 +1,7 @@
require qt5.inc
# There are no LGPLv3-only licensed files in this component.
DEPENDS += "qtdeclarative"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \

View File

@@ -3,5 +3,7 @@ require qt5.inc
DEPENDS += "qtscript qtsvg qtxmlpatterns qtwebkit"
# qttools
LICENSE += "| GPL-2.0"
# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
# Note that some files are LGPL-2.1 only without Digia-Qt-LGPL-Exception-1.1.
LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"

View File

@@ -1,3 +1,5 @@
require qt5.inc
# There are no LGPLv3-only licensed files in this component.
# Note that some files are LGPL-2.1 only without Digia-Qt-LGPL-Exception-1.1.
DEPENDS += "qtbase"

View File

@@ -2,5 +2,6 @@ require qt5.inc
DEPENDS += "qtbase qtdeclarative"
LICENSE += "| GPL-2.0"
# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"

View File

@@ -1,3 +1,4 @@
require qt5.inc
# There are no LGPLv3-only licensed files in this component.
DEPENDS += "qtbase"

View File

@@ -5,7 +5,7 @@ DEPENDS += "qtbase qttools-native"
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6"
LICENSE = "LGPL-2.1 | GPL-3.0"
LICENSE = "(LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
PACKAGES =. " \
${PN}-assistant \

View File

@@ -16,7 +16,8 @@ do_install() {
oe_runmake install INSTALL_ROOT=${D}
}
LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
# There are no LGPLv3-only licensed files in this component.
LICENSE = "BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \

View File

@@ -23,7 +23,8 @@ FILES_${PN}-plugins-dbg += " \
${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \
"
LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
# There are no LGPLv3-only licensed files in this component.
LICENSE = "BSD & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \

View File

@@ -2,5 +2,6 @@ require qt5.inc
DEPENDS += "qtdeclarative qtwebsockets"
LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7"
LICENSE = "LGPL-2.1"
# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"

View File

@@ -1,7 +1,10 @@
require qt5.inc
LICENSE = "BSD & LGPLv2+ | GPL-2.0"
# There are no LGPLv3-only licensed files in this component.
# There are no GPLv2 licensed files in this component.
LIC_FILES_CHKSUM = "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
file://examples/webkitwidgets/scroller/wheel/main.cpp;endline=112;md5=6f92d041824c63426993c8ce3ae0eb77 \
file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=223;md5=13ffb472fefe4bdf6464954a22251f35"

View File

@@ -2,6 +2,9 @@ require qt5.inc
DEPENDS += "qtbase qtdeclarative"
LICENSE = "GFDL & (LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | LGPL-3.0)"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
LICENSE = "LGPL-2.1 | GPL-2.0"
file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
"

View File

@@ -1,3 +1,4 @@
require qt5.inc
# There are no LGPLv3-only licensed files in this component.
DEPENDS += "qtbase"