summaryrefslogtreecommitdiffstats
path: root/meta-boot2qt-distro
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2018-07-03 13:35:25 +0300
committerSamuli Piippo <samuli.piippo@qt.io>2018-10-12 06:13:06 +0000
commit3f992f0e90f4b8150394d559ef4ff37a3d953e0b (patch)
treedd2a1fb87e05a2816da6e270787fe5d57e13939d /meta-boot2qt-distro
parent7ca9ecbd2868c3462b7ac1c300e9c236c7f8365b (diff)
downloadmeta-boot2qt-3f992f0e90f4b8150394d559ef4ff37a3d953e0b.tar.gz
Add configuration to build non-(L)GPLv3 image
The include file marks all (L)GPLv3 packages incompatible and removes dependencies to those compoments from the image. Not all dependencies can be removed and for those there are GPLv2 alternatives available in meta-gplv2 [1] which needs to be separately added to build configuration. Note that, these relocated GPLv2 recipes do not receive the same level of maintenance as other core recipes. The recipes do not get security fixes and upstream no longer maintains them. Intel NUC is not fully supported as there is no alternative recipe available for grub-efi. [1] https://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#migration-2.3-gplv2-and-gplv3-moves Task-number: QTBUG-68713 Change-Id: Ie41ec924f42b1bf67c8f2c2dd26bb7dfc2b45f1d Reviewed-by: Risto Avila <risto.avila@qt.io>
Diffstat (limited to 'meta-boot2qt-distro')
-rw-r--r--meta-boot2qt-distro/conf/distro/include/no-gpl3.inc48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc b/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc
new file mode 100644
index 0000000..ffb9741
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/no-gpl3.inc
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# Configuration for boot2qt image without (L)GPLv3 components
31# Include in your conf/local.conf and add meta-gplv2 layer to your configuration
32# https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-2.3-gplv2-and-gplv3-moves
33
34INCOMPATIBLE_LICENSE += "*GPLv3"
35
36IMAGE_FEATURES_remove_pn-b2qt-embedded-qt5-image = "tools-debug debug-tweaks"
37IMAGE_FEATURES_remove_pn-b2qt-automotive-qt5-image = "tools-debug debug-tweaks"
38
39RDEPENDS_packagegroup-b2qt-embedded-tools_remove_pn-packagegroup-b2qt-embedded-tools = "binutils binutils-symlinks perf"
40RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "ttf-freefont-mono"
41
42PACKAGECONFIG_remove_pn-qtvirtualkeyboard = "hunspell"
43PACKAGECONFIG_remove_pn-python3-pygobject = "cairo"
44
45# intel nuc specific changes
46IMAGE_FSTYPES_intel-corei7-64 = "tar.gz"
47MACHINE_EXTRA_INSTALL_remove_intel-corei7-64 = "grub-efi-config"
48QBSP_IMAGE_CONTENT_intel-corei7-64 = ""