summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xb2qt-init-build-env11
-rw-r--r--classes/image_types_sdcard.bbclass14
-rw-r--r--classes/populate_b2qt_sdk.bbclass2
-rw-r--r--classes/qbsp.bbclass2
-rw-r--r--classes/qtquickcompiler.bbclass27
-rw-r--r--classes/remove-libtool.bbclass11
-rw-r--r--conf/bblayers.conf.boundary.sample53
-rw-r--r--conf/distro/b2qt.conf4
-rw-r--r--conf/distro/include/boundary.inc43
-rw-r--r--conf/distro/include/colibri-imx7.conf3
-rw-r--r--conf/distro/include/emulator.conf4
-rw-r--r--conf/distro/include/imx7s-warp.conf2
-rw-r--r--conf/distro/include/jetson-tx1.conf14
-rw-r--r--conf/distro/include/jetson-tx2.conf (renamed from recipes/gnutls/gnutls_3.%.bbappend)4
-rw-r--r--conf/distro/include/jetson.inc (renamed from recipes/init-ifupdown/init-ifupdown_1.0.bbappend)21
-rw-r--r--conf/distro/include/nitrogen6x.conf8
-rw-r--r--conf/distro/include/nitrogen7.conf (renamed from recipes/ca-certificates/ca-certificates_%.bbappend)14
-rw-r--r--conf/distro/include/tegra-t18x.conf1
-rw-r--r--conf/distro/include/toradex.inc8
-rw-r--r--conf/local.conf.sample3
-rw-r--r--conf/machine/emulator.conf2
-rw-r--r--meta-fsl-extras/recipes/linux/linux-warp7/0001-Fix-dev-hwrng-by-enabling-warp7-crypto-device.patch25
-rw-r--r--meta-fsl-extras/recipes/linux/linux-warp7_4.1.bbappend15
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch22
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend (renamed from meta-fsl-extras/recipes/u-boot/u-boot-fslc_2016.%.bbappend)1
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend1
-rw-r--r--meta-intel-extras/classes/image_dd_efi.bbclass9
-rw-r--r--meta-intel-extras/recipes/grub/grub-efi/grub.cfg2
-rw-r--r--meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend2
-rw-r--r--meta-intel-extras/recipes/linux/linux-intel/b2qt.cfg (renamed from meta-intel-extras/recipes/linux/linux-yocto/b2qt.cfg)0
-rw-r--r--meta-intel-extras/recipes/linux/linux-intel/wlan-realtek.cfg (renamed from meta-intel-extras/recipes/linux/linux-yocto/wlan-realtek.cfg)0
-rw-r--r--meta-intel-extras/recipes/linux/linux-intel_%.bbappend (renamed from meta-intel-extras/recipes/linux/linux-yocto_4.%.bbappend)0
-rw-r--r--meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend (renamed from recipes/libyaml/libyaml_%.bbappend)4
-rw-r--r--meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend30
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch29
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch80
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch174
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch125
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/disable-wayland-scanner-pkg-check.patch13
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch70
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/libsystemd.patch53
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch43
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch37
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/weston.desktop9
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/weston.pngbin0 -> 2383 bytes
-rw-r--r--meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start7
-rw-r--r--meta-nvidia-extras/recipes/weston/weston_%.bbappend1
-rw-r--r--meta-nvidia-extras/recipes/weston/weston_1.9.0.bb104
-rw-r--r--meta-renesas-extras/recipes/gles-module/gles-user-module.bbappend8
-rw-r--r--meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h24
-rw-r--r--meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend (renamed from meta-tegra-extras/recipes/drm/libdrm_%.bbappend)4
-rw-r--r--meta-renesas-extras/recipes/mesa/mesa_%.bbappend (renamed from meta-renesas-extras/recipes/mesa/mesa_12.%.bbappend)0
-rw-r--r--meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend4
-rw-r--r--meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend (renamed from recipes-qt/qt5/qtcharts_git.bbappend)4
-rw-r--r--meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend30
-rw-r--r--meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch12
-rw-r--r--meta-tegra-extras/recipes/qt5/qtbase_git.bbappend2
-rw-r--r--meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend6
-rw-r--r--meta-ti-extras/recipes/dtc/dtc_%.bbappend (renamed from meta-ti-extras/recipes/dtc/dtc_git.bbappend)2
-rw-r--r--meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch28
-rw-r--r--meta-ti-extras/recipes/libgles/ti-sgx-ddk-um_%.bbappend1
-rw-r--r--meta-ti-extras/recipes/linux/linux-ti-staging_%.bbappend (renamed from meta-ti-extras/recipes/linux/linux-ti-staging_4.4.bbappend)2
-rw-r--r--recipes-qt/automotive/neptune-ui/neptune.service2
-rw-r--r--recipes-qt/automotive/neptune-ui_git.bb19
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf2
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf1
-rw-r--r--recipes-qt/b2qt-addons/b2qt-demos.bb11
-rw-r--r--recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb63
-rw-r--r--recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb63
-rw-r--r--recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmount.service9
-rwxr-xr-xrecipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh49
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher.bb2
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service10
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service11
-rw-r--r--recipes-qt/b2qt-addons/qdbd.bb4
-rw-r--r--recipes-qt/b2qt-addons/qdbd/defaults1
-rw-r--r--recipes-qt/meta/meta-b2qt-automotive-qbsp.bb2
-rw-r--r--recipes-qt/meta/meta-b2qt-embedded-qbsp.bb2
-rw-r--r--recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb2
-rw-r--r--recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb2
-rw-r--r--recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb2
-rw-r--r--recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb1
-rw-r--r--recipes-qt/qt5-addons/installer-framework-native_3.0.1.bb (renamed from recipes-qt/qt5-addons/installer-framework_3.0.1.bb)0
-rw-r--r--recipes-qt/qt5-addons/qtglesstream.bb8
-rw-r--r--recipes-qt/qt5-addons/qtquickcompiler-sdk.bb78
-rw-r--r--recipes-qt/qt5-addons/qtsimulator/custom.target5
-rw-r--r--recipes-qt/qt5-addons/qtsimulator/emulator1
-rw-r--r--recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh1
-rw-r--r--recipes-qt/qt5-addons/qtsimulator/emulatorproxy.service (renamed from recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxy.service)5
-rwxr-xr-xrecipes-qt/qt5-addons/qtsimulator/emulatorproxyd.sh (renamed from recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxyd.sh)0
-rw-r--r--recipes-qt/qt5-addons/qtsimulator_1.0.bb35
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bbappend2
-rw-r--r--recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch25
-rw-r--r--recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri2
-rw-r--r--recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri4
-rw-r--r--recipes-qt/qt5/qtbase_git.bbappend1
-rw-r--r--recipes-qt/qt5/qtdeclarative_git.bbappend32
-rw-r--r--recipes-qt/qt5/qtdeviceutilities.bb2
-rw-r--r--recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch23
-rw-r--r--recipes-qt/qt5/qtlocation_git.bbappend9
-rw-r--r--recipes-qt/qt5/qtsystems_git.bbappend9
-rw-r--r--recipes-qt/qt5/qtvirtualkeyboard_git.bbappend5
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch47
-rw-r--r--recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch26
-rw-r--r--recipes/alsa-utils/alsa-utils_%.bbappend (renamed from recipes-qt/qt5/qtsensors_git.bbappend)7
-rw-r--r--recipes/binutils/binutils-cross_%.bbappend (renamed from recipes-qt/qt5/qtwebengine_git.bbappend)8
-rw-r--r--recipes/connman/connman_%.bbappend2
-rw-r--r--recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch (renamed from recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch)0
-rw-r--r--recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch11
-rw-r--r--recipes/fonts/otf-noto_git.bb3
-rw-r--r--recipes/fonts/ttf-opensans.bb13
-rw-r--r--recipes/gdb/gdb-cross-canadian_7.%.bbappend25
-rw-r--r--recipes/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch24
-rw-r--r--recipes/gnutls/files/check_SYS_getrandom.patch36
-rw-r--r--recipes/hunspell/hunspell-dicts.bb57
-rw-r--r--recipes/hunspell/hunspell_1.3.2.bb59
-rw-r--r--recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces33
-rw-r--r--recipes/init-ifupdown/init-ifupdown/emulator/interfaces33
-rwxr-xr-xrecipes/init-ifupdown/init-ifupdown/fixed_mac_address7
-rw-r--r--recipes/init-ifupdown/init-ifupdown/interfaces32
-rw-r--r--recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces31
-rw-r--r--recipes/opengldummy/qtglesstream-dummy-client.bb2
-rw-r--r--recipes/ostree/ostree.bb2
-rw-r--r--recipes/packagegroup/packagegroup-b2qt-embedded-base.bb1
-rw-r--r--recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb2
-rw-r--r--recipes/perf/perf.bbappend5
-rw-r--r--recipes/python/nativesdk-prebuild-python.bb60
-rw-r--r--recipes/python/nativesdk-prebuild-python.inc (renamed from recipes-qt/qt5/qtquickcompiler_git.bb)32
-rw-r--r--recipes/python/nativesdk-prebuild-python_i686.bb (renamed from recipes-qt/b2qt-addons/b2qt-emulator-vinput.bb)26
-rw-r--r--recipes/python/nativesdk-prebuild-python_x86_64.bb42
-rw-r--r--recipes/rng-tools/rng-tools/rngd.service9
-rw-r--r--recipes/rng-tools/rng-tools_5.bbappend45
-rw-r--r--recipes/virtualbox/virtualbox-guest-additions_5.1.16.bb (renamed from recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb)6
-rwxr-xr-xscripts/configure-qtcreator.sh2
-rw-r--r--scripts/manifest.xml35
-rwxr-xr-xscripts/setup-environment.sh11
-rwxr-xr-xscripts/update-qt5-modules.sh5
143 files changed, 1621 insertions, 863 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env
index d4dbbdf..064aa27 100755
--- a/b2qt-init-build-env
+++ b/b2qt-init-build-env
@@ -109,7 +109,10 @@ get_groups() {
109 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) 109 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7)
110 PROJECT_GROUPS="toradex" 110 PROJECT_GROUPS="toradex"
111 ;; 111 ;;
112 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd|imx7s-warp) 112 nitrogen6x|nitrogen7)
113 PROJECT_GROUPS="boundary"
114 ;;
115 imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp)
113 PROJECT_GROUPS="fsl" 116 PROJECT_GROUPS="fsl"
114 ;; 117 ;;
115 smarc-samx6i) 118 smarc-samx6i)
@@ -130,7 +133,7 @@ get_groups() {
130 emulator) 133 emulator)
131 PROJECT_GROUPS="emulator" 134 PROJECT_GROUPS="emulator"
132 ;; 135 ;;
133 jetson-tx1|jetson-tk1) 136 jetson-tx1|jetson-tx2|jetson-tk1)
134 PROJECT_GROUPS="jetson" 137 PROJECT_GROUPS="jetson"
135 ;; 138 ;;
136 salvator-x|h3ulcb|m3ulcb) 139 salvator-x|h3ulcb|m3ulcb)
@@ -188,10 +191,6 @@ init() {
188 ln -s ${DIR} sources/meta-boot2qt 191 ln -s ${DIR} sources/meta-boot2qt
189 fi 192 fi
190 193
191 if [ ! -e "sources/meta-qt5" ] && [ -e "${DIR}/../meta-qt5" ]; then
192 ln -s $(readlink -f ${DIR}/../meta-qt5) sources/meta-qt5
193 fi
194
195 if [ ! -e "setup-environment.sh" ]; then 194 if [ ! -e "setup-environment.sh" ]; then
196 ln -s ${DIR}/scripts/setup-environment.sh setup-environment.sh 195 ln -s ${DIR}/scripts/setup-environment.sh setup-environment.sh
197 fi 196 fi
diff --git a/classes/image_types_sdcard.bbclass b/classes/image_types_sdcard.bbclass
index 5bd86c2..37b1b61 100644
--- a/classes/image_types_sdcard.bbclass
+++ b/classes/image_types_sdcard.bbclass
@@ -52,16 +52,16 @@ IMAGE_DEPENDS_tegraflash_append = " parted-native:do_populate_sysroot"
52create_tegraflash_pkg_prepend() { 52create_tegraflash_pkg_prepend() {
53 # Create partition table 53 # Create partition table
54 SDCARD=${IMGDEPLOYDIR}/${IMAGE_NAME}.img 54 SDCARD=${IMGDEPLOYDIR}/${IMAGE_NAME}.img
55 SDCARD_ROOTFS=${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.ext3 55 SDCARD_ROOTFS=${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.ext4
56 SDCARD_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT}) 56 SDCARD_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + ${ROOTFS_SIZE} + ${IMAGE_ROOTFS_ALIGNMENT})
57 57
58 dd if=/dev/zero of=${SDCARD} bs=1 count=0 seek=$(expr 1024 \* ${SDCARD_SIZE}) 58 dd if=/dev/zero of=$SDCARD bs=1 count=0 seek=$(expr 1024 \* $SDCARD_SIZE)
59 59
60 parted -s ${SDCARD} mklabel gpt 60 parted -s $SDCARD mklabel gpt
61 parted -s ${SDCARD} unit KiB mkpart primary ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${ROOTFS_SIZE}) 61 parted -s $SDCARD unit KiB mkpart primary ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${ROOTFS_SIZE})
62 parted ${SDCARD} print 62 parted $SDCARD print
63 63
64 dd if=${SDCARD_ROOTFS} of=${SDCARD} conv=notrunc,fsync seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) 64 dd if=$SDCARD_ROOTFS of=$SDCARD conv=notrunc,fsync seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024)
65 65
66 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 66 rm -f ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
67 ln -s ${IMAGE_NAME}.img ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img 67 ln -s ${IMAGE_NAME}.img ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.img
diff --git a/classes/populate_b2qt_sdk.bbclass b/classes/populate_b2qt_sdk.bbclass
index fc64842..8d600d0 100644
--- a/classes/populate_b2qt_sdk.bbclass
+++ b/classes/populate_b2qt_sdk.bbclass
@@ -46,7 +46,7 @@ replace_sysroot_symlink() {
46 done 46 done
47} 47}
48 48
49do_populate_sysroot[depends] += "p7zip-native:do_populate_sysroot" 49do_populate_sdk[depends] += "p7zip-native:do_populate_sysroot"
50 50
51fakeroot tar_sdk_sdkmingw32() { 51fakeroot tar_sdk_sdkmingw32() {
52 replace_sysroot_symlink ${SDK_OUTPUT}${SDKTARGETSYSROOT} ${SDK_OUTPUT}${SDKTARGETSYSROOT} 52 replace_sysroot_symlink ${SDK_OUTPUT}${SDKTARGETSYSROOT} ${SDK_OUTPUT}${SDKTARGETSYSROOT}
diff --git a/classes/qbsp.bbclass b/classes/qbsp.bbclass
index 8b8aa7f..da790bf 100644
--- a/classes/qbsp.bbclass
+++ b/classes/qbsp.bbclass
@@ -43,7 +43,7 @@ SRC_URI = "\
43INHIBIT_DEFAULT_DEPS = "1" 43INHIBIT_DEFAULT_DEPS = "1"
44do_qbsp[depends] += "\ 44do_qbsp[depends] += "\
45 p7zip-native:do_populate_sysroot \ 45 p7zip-native:do_populate_sysroot \
46 installer-framework:do_populate_sysroot \ 46 installer-framework-native:do_populate_sysroot \
47 ${QBSP_SDK_TASK}:do_populate_sdk \ 47 ${QBSP_SDK_TASK}:do_populate_sdk \
48 ${QBSP_IMAGE_TASK}:do_image_complete \ 48 ${QBSP_IMAGE_TASK}:do_image_complete \
49 " 49 "
diff --git a/classes/qtquickcompiler.bbclass b/classes/qtquickcompiler.bbclass
index 3a1bcbe..f54887c 100644
--- a/classes/qtquickcompiler.bbclass
+++ b/classes/qtquickcompiler.bbclass
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,27 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30python __anonymous() { 30EXTRA_QMAKEVARS_PRE += "CONFIG+=qtquickcompiler"
31 if d.getVar('DISABLE_QTQUICKCOMPILER', True) == "1":
32 return
33
34 provider = ""
35 sdk_path = d.getVar('B2QTBASE', True) + "/recipes-qt/qt5-addons/qtquickcompiler-sdk"
36 pn = d.getVar("PN", True)
37
38 if d.getVar('ENABLE_QTQUICKCOMPILER', True) == "1":
39 provider = "qtquickcompiler"
40 elif os.path.isdir(sdk_path):
41 provider = "qtquickcompiler-sdk"
42 else:
43 bb.note("qtquickcompiler not enabled for %s" % pn)
44 return
45
46 if "toolchain-host" in pn:
47 d.appendVar('RDEPENDS_' + pn, " nativesdk-%s-tools" % provider)
48 if "toolchain-target" in pn:
49 d.appendVar('RDEPENDS_' + pn, " %s-dev" % provider)
50 else:
51 d.appendVar('DEPENDS', " %s %s-native" % (provider, provider))
52 d.appendVar('EXTRA_QMAKEVARS_PRE', " CONFIG+=qtquickcompiler")
53}
diff --git a/classes/remove-libtool.bbclass b/classes/remove-libtool.bbclass
deleted file mode 100644
index 0d7bd21..0000000
--- a/classes/remove-libtool.bbclass
+++ /dev/null
@@ -1,11 +0,0 @@
1# This class removes libtool .la files after do_install
2
3REMOVE_LIBTOOL_LA ?= "1"
4
5remove_libtool_la() {
6 if [ "${REMOVE_LIBTOOL_LA}" != "0" ]; then
7 find "${D}" -ignore_readdir_race -name "*.la" -delete
8 fi
9}
10
11do_install[postfuncs] += "remove_libtool_la"
diff --git a/conf/bblayers.conf.boundary.sample b/conf/bblayers.conf.boundary.sample
new file mode 100644
index 0000000..b5ab9c7
--- /dev/null
+++ b/conf/bblayers.conf.boundary.sample
@@ -0,0 +1,53 @@
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# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-boundary \
42 ${BSPDIR}/sources/meta-freescale \
43 ${BSPDIR}/sources/meta-freescale-3rdparty \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \
46 ${BSPDIR}/sources/meta-openembedded/meta-networking \
47 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \
53 "
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf
index 3048fff..1aa4bd5 100644
--- a/conf/distro/b2qt.conf
+++ b/conf/distro/b2qt.conf
@@ -54,6 +54,8 @@ SYSVINIT_ENABLED_GETTYS = ""
54DISTRO_FEATURES_DEFAULT_remove = "irda pcmcia pci 3g nfc zeroconf x11" 54DISTRO_FEATURES_DEFAULT_remove = "irda pcmcia pci 3g nfc zeroconf x11"
55DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit" 55DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit"
56 56
57DISTRO_FEATURES_FILTER_NATIVESDK_append = " wayland"
58
57FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache" 59FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache"
58 60
59# use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 61# use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10
@@ -74,8 +76,6 @@ OE_QMAKE_PLATFORM_mingw32 = "win32-g++-oe"
74# Disable SHA validation for branch 76# Disable SHA validation for branch
75QT_MODULE_BRANCH_PARAM = "nobranch=1" 77QT_MODULE_BRANCH_PARAM = "nobranch=1"
76 78
77PACKAGE_EXCLUDE_COMPLEMENTARY ?= "qtquickcompiler"
78
79IMAGE_FSTYPES = "conf" 79IMAGE_FSTYPES = "conf"
80IMAGE_CLASSES += "image_types_sdcard deploy-conf" 80IMAGE_CLASSES += "image_types_sdcard deploy-conf"
81 81
diff --git a/conf/distro/include/boundary.inc b/conf/distro/include/boundary.inc
new file mode 100644
index 0000000..c8f5424
--- /dev/null
+++ b/conf/distro/include/boundary.inc
@@ -0,0 +1,43 @@
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
30include conf/distro/include/fsl.inc
31
32BBMASK += " \
33 meta-boundary/recipes-browser/chromium \
34 meta-boundary/recipes-core/init-ifupdown \
35 meta-boundary/recipes-mozilla/firefox \
36 "
37
38EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary"
39
40MACHINE_EXTRA_INSTALL += "\
41 kernel-module-qcacld \
42 linux-firmware-bdsdmac-wlan \
43 "
diff --git a/conf/distro/include/colibri-imx7.conf b/conf/distro/include/colibri-imx7.conf
index 6e80e00..4e0daa7 100644
--- a/conf/distro/include/colibri-imx7.conf
+++ b/conf/distro/include/colibri-imx7.conf
@@ -41,3 +41,6 @@ PREFERRED_PROVIDER_virtual/egl = "opengldummy"
41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
42 42
43DISTRO_FEATURES_remove = "webengine wayland" 43DISTRO_FEATURES_remove = "webengine wayland"
44
45# try to limit the maximum size of the tezi image
46RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/conf/distro/include/emulator.conf b/conf/distro/include/emulator.conf
index a749086..b6125ae 100644
--- a/conf/distro/include/emulator.conf
+++ b/conf/distro/include/emulator.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -49,6 +49,4 @@ MACHINE_EXTRA_INSTALL += "\
49 mount-vboxsf \ 49 mount-vboxsf \
50 qtsystems \ 50 qtsystems \
51 qtglesstream \ 51 qtglesstream \
52 b2qt-emulator-proxy \
53 b2qt-emulator-vinput \
54 " 52 "
diff --git a/conf/distro/include/imx7s-warp.conf b/conf/distro/include/imx7s-warp.conf
index fdd7f17..1d30445 100644
--- a/conf/distro/include/imx7s-warp.conf
+++ b/conf/distro/include/imx7s-warp.conf
@@ -35,3 +35,5 @@ PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" 35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36 36
37DISTRO_FEATURES_remove = "webengine wayland" 37DISTRO_FEATURES_remove = "webengine wayland"
38
39KERNEL_DEVICETREE = "imx7d-warp.dtb"
diff --git a/conf/distro/include/jetson-tx1.conf b/conf/distro/include/jetson-tx1.conf
index 80435f3..ca82ab0 100644
--- a/conf/distro/include/jetson-tx1.conf
+++ b/conf/distro/include/jetson-tx1.conf
@@ -29,16 +29,4 @@
29 29
30DEPLOY_CONF_NAME = "NVIDIA Jetson TX1" 30DEPLOY_CONF_NAME = "NVIDIA Jetson TX1"
31 31
32# use mmc0 32include conf/distro/include/jetson.inc
33ROOTFS_DEVICE = "mmcblk1p1"
34
35INITRAMFS_MAXSIZE = "165888"
36IMAGE_CLASSES += "image_types_tegra"
37IMAGE_FSTYPES += "tegraflash"
38IMAGE_ROOTFS_ALIGNMENT = "1024"
39UBOOT_SUFFIX = "bin"
40
41QBSP_IMAGE_CONTENT = "\
42 ${IMAGE_LINK_NAME}.img \
43 ${IMAGE_LINK_NAME}.conf \
44 "
diff --git a/recipes/gnutls/gnutls_3.%.bbappend b/conf/distro/include/jetson-tx2.conf
index 8d91bb0..7ab3fb0 100644
--- a/recipes/gnutls/gnutls_3.%.bbappend
+++ b/conf/distro/include/jetson-tx2.conf
@@ -27,6 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 30DEPLOY_CONF_NAME = "NVIDIA Jetson TX2"
31 31
32SRC_URI += "file://check_SYS_getrandom.patch" 32include conf/distro/include/jetson.inc
diff --git a/recipes/init-ifupdown/init-ifupdown_1.0.bbappend b/conf/distro/include/jetson.inc
index 430999a..98c71f4 100644
--- a/recipes/init-ifupdown/init-ifupdown_1.0.bbappend
+++ b/conf/distro/include/jetson.inc
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,11 +27,18 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 30PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra"
31 31
32SRC_URI_append_beagleboard = " file://fixed_mac_address" 32# use mmc0
33ROOTFS_DEVICE = "mmcblk1p1"
33 34
34do_install_append_beagleboard() { 35INITRAMFS_MAXSIZE = "165888"
35 install -d ${D}${sysconfdir}/init.d 36IMAGE_CLASSES += "image_types_tegra"
36 install -m 0755 ${WORKDIR}/fixed_mac_address ${D}${sysconfdir}/network/if-pre-up.d/ 37IMAGE_FSTYPES += "tegraflash"
37} 38IMAGE_ROOTFS_ALIGNMENT = "1024"
39UBOOT_SUFFIX = "bin"
40
41QBSP_IMAGE_CONTENT = "\
42 ${IMAGE_LINK_NAME}.img \
43 ${IMAGE_LINK_NAME}.conf \
44 "
diff --git a/conf/distro/include/nitrogen6x.conf b/conf/distro/include/nitrogen6x.conf
index 389ac03..894d51d 100644
--- a/conf/distro/include/nitrogen6x.conf
+++ b/conf/distro/include/nitrogen6x.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,7 +27,7 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/boundary.inc
31include conf/distro/include/opencv.inc 31include conf/distro/include/opencv.inc
32 32
33DEPLOY_CONF_NAME = "Boundary Devices i.MX6" 33DEPLOY_CONF_NAME = "Boundary Devices i.MX6"
@@ -51,6 +51,8 @@ BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \
51 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \ 51 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \
52 " 52 "
53 53
54PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary"
55
54UBOOT_MACHINE = "" 56UBOOT_MACHINE = ""
55UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \ 57UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \
56 nitrogen6dl nitrogen6dl2g \ 58 nitrogen6dl nitrogen6dl2g \
@@ -76,8 +78,6 @@ UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config"
76UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config" 78UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config"
77UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config" 79UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config"
78 80
79EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary"
80
81KERNEL_DEVICETREE += "\ 81KERNEL_DEVICETREE += "\
82 imx6dl-nit6xlite.dtb \ 82 imx6dl-nit6xlite.dtb \
83 " 83 "
diff --git a/recipes/ca-certificates/ca-certificates_%.bbappend b/conf/distro/include/nitrogen7.conf
index 210f550..1614b04 100644
--- a/recipes/ca-certificates/ca-certificates_%.bbappend
+++ b/conf/distro/include/nitrogen7.conf
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,8 +27,12 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30SRC_URI_remove = "file://0001-update-ca-certificates-remove-c-rehash.patch" 30include conf/distro/include/boundary.inc
31DEPENDS_class-native = "coreutils-native" 31
32DEPLOY_CONF_NAME = "Boundary Devices i.MX7"
33
34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36
37DISTRO_FEATURES_remove = "webengine wayland"
32 38
33# for c_rehash
34RDEPENDS_${PN}_class-target += "openssl openssl-misc"
diff --git a/conf/distro/include/tegra-t18x.conf b/conf/distro/include/tegra-t18x.conf
index bde2d16..6c79d2c 100644
--- a/conf/distro/include/tegra-t18x.conf
+++ b/conf/distro/include/tegra-t18x.conf
@@ -71,6 +71,7 @@ PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.4"
71 71
72BBMASK += "\ 72BBMASK += "\
73 meta-tegra/recipes-bsp/flashing \ 73 meta-tegra/recipes-bsp/flashing \
74 meta-vib4/recipes-connectivity/openssl \
74 meta-vib4/recipes-core/busybox \ 75 meta-vib4/recipes-core/busybox \
75 meta-vib4/recipes-core/glibc \ 76 meta-vib4/recipes-core/glibc \
76 meta-vib4/recipes-core/images \ 77 meta-vib4/recipes-core/images \
diff --git a/conf/distro/include/toradex.inc b/conf/distro/include/toradex.inc
index ef395a1..83b6d45 100644
--- a/conf/distro/include/toradex.inc
+++ b/conf/distro/include/toradex.inc
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -29,6 +29,12 @@
29 29
30include conf/distro/include/fsl.inc 30include conf/distro/include/fsl.inc
31 31
32BBMASK += "\
33 meta-toradex-nxp/recipes-graphics/xorg-xserver \
34 meta-toradex-bsp-common/recipes-devtools/python \
35 meta-toradex-bsp-common/recipes-devtools/e2fsprogs \
36 "
37
32PREFERRED_PROVIDER_u-boot = "u-boot-toradex" 38PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
33 39
34EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" 40EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex"
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
index 166ae94..ae60ef4 100644
--- a/conf/local.conf.sample
+++ b/conf/local.conf.sample
@@ -281,9 +281,6 @@ CONF_VERSION = "1"
281INHERIT += "image-buildinfo" 281INHERIT += "image-buildinfo"
282INHERIT += "internal-build" 282INHERIT += "internal-build"
283 283
284# Enables use of QtQuickCompiler if you have access to the gerrit project
285#ENABLE_QTQUICKCOMPILER = "1"
286
287ACCEPT_FSL_EULA = "1" 284ACCEPT_FSL_EULA = "1"
288LICENSE_FLAGS_WHITELIST = "commercial" 285LICENSE_FLAGS_WHITELIST = "commercial"
289 286
diff --git a/conf/machine/emulator.conf b/conf/machine/emulator.conf
index 21cd96d..2ab622e 100644
--- a/conf/machine/emulator.conf
+++ b/conf/machine/emulator.conf
@@ -48,3 +48,5 @@ MACHINE_FEATURES += "x86"
48MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions" 48MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions"
49 49
50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" 50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen"
51
52SYSTEMD_DEFAULT_TARGET = "custom.target"
diff --git a/meta-fsl-extras/recipes/linux/linux-warp7/0001-Fix-dev-hwrng-by-enabling-warp7-crypto-device.patch b/meta-fsl-extras/recipes/linux/linux-warp7/0001-Fix-dev-hwrng-by-enabling-warp7-crypto-device.patch
new file mode 100644
index 0000000..dbb7995
--- /dev/null
+++ b/meta-fsl-extras/recipes/linux/linux-warp7/0001-Fix-dev-hwrng-by-enabling-warp7-crypto-device.patch
@@ -0,0 +1,25 @@
1From 9ffa222dbaa3b11c3b1399192e0abd478fc3b564 Mon Sep 17 00:00:00 2001
2From: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
3Date: Mon, 18 Sep 2017 12:45:54 +0300
4Subject: [PATCH 1/1] Fix /dev/hwrng by enabling warp7 crypto-device
5
6---
7 arch/arm/boot/dts/imx7d-warp.dts | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/arch/arm/boot/dts/imx7d-warp.dts b/arch/arm/boot/dts/imx7d-warp.dts
11index ee72690..19aee0e 100755
12--- a/arch/arm/boot/dts/imx7d-warp.dts
13+++ b/arch/arm/boot/dts/imx7d-warp.dts
14@@ -181,7 +181,7 @@
15 };
16
17 &crypto {
18- status = "disabled";
19+ status = "okay";
20 };
21
22 &clks {
23--
242.7.4
25
diff --git a/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bbappend b/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bbappend
index 5efcce0..72db716 100644
--- a/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bbappend
+++ b/meta-fsl-extras/recipes/linux/linux-warp7_4.1.bbappend
@@ -27,8 +27,23 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30SRCBRANCH = "linux_4.1.29"
31SRCREV = "881845d84e3c2e58a00b9c36616203d748b7df0e"
32LOCALVERSION = "-warp7"
33
34FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
35SRC_URI += " \
36 file://0001-Fix-dev-hwrng-by-enabling-warp7-crypto-device.patch \
37 "
38
30do_configure_prepend() { 39do_configure_prepend() {
31 echo "CONFIG_NAMESPACES=y" >> ${B}/.config 40 echo "CONFIG_NAMESPACES=y" >> ${B}/.config
32 echo "CONFIG_FHANDLE=y" >> ${B}/.config 41 echo "CONFIG_FHANDLE=y" >> ${B}/.config
33 echo "CONFIG_USB_FUNCTIONFS=m" >> ${B}/.config 42 echo "CONFIG_USB_FUNCTIONFS=m" >> ${B}/.config
43
44 echo "CONFIG_MXC_CAMERA_OV2680_MIPI=m" >> ${B}/.config
45 echo "CONFIG_FB_MXC_TRULY_PANEL_TDO_ST7796H=y" >> ${B}/.config
46 echo "CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_CORE=y" >> ${B}/.config
47 echo "CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_RMI_DEV=y >> ${B}/.config
48 echo "CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_FW_UPDATE=y >> ${B}/.config
34} 49}
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch
new file mode 100644
index 0000000..e8a0573
--- /dev/null
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc/0001-use-imx7d-warp.dtb.patch
@@ -0,0 +1,22 @@
1From ef2f2eeef6974bda0fd878c5f76b8b05ac16aa3d Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 13 Sep 2017 09:40:44 +0300
4Subject: [PATCH] use imx7d-warp.dtb
5
6---
7 include/configs/warp7.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/include/configs/warp7.h b/include/configs/warp7.h
11index b3e1f2e..edbd43f 100644
12--- a/include/configs/warp7.h
13+++ b/include/configs/warp7.h
14@@ -35,7 +35,7 @@
15 "ethact=usb_ether\0" \
16 "fdt_high=0xffffffff\0" \
17 "initrd_high=0xffffffff\0" \
18- "fdt_file=imx7s-warp.dtb\0" \
19+ "fdt_file=imx7d-warp.dtb\0" \
20 "fdt_addr=0x83000000\0" \
21 "boot_fdt=try\0" \
22 "ip_dyn=yes\0" \
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2016.%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend
index c5201a0..b1df421 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-fslc_2016.%.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-fslc_%.bbappend
@@ -31,4 +31,5 @@ FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += " \ 31SRC_URI += " \
32 file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ 32 file://0001-Updated-kernel-arguments-for-sabre-sd.patch \
33 file://0001-Use-hdmi-as-primary-display-only-if-connected.patch \ 33 file://0001-Use-hdmi-as-primary-display-only-if-connected.patch \
34 file://0001-use-imx7d-warp.dtb.patch \
34 " 35 "
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend
index b1826db..bfa84e3 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend
@@ -34,3 +34,4 @@ SRC_URI += " \
34 file://0003-apalis-imx6-Ixora-v1.0-support.patch \ 34 file://0003-apalis-imx6-Ixora-v1.0-support.patch \
35 file://0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch \ 35 file://0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch \
36 " 36 "
37DEPENDS += "dtc-native"
diff --git a/meta-intel-extras/classes/image_dd_efi.bbclass b/meta-intel-extras/classes/image_dd_efi.bbclass
index 1f5fd9f..4454051 100644
--- a/meta-intel-extras/classes/image_dd_efi.bbclass
+++ b/meta-intel-extras/classes/image_dd_efi.bbclass
@@ -35,10 +35,15 @@ inherit image_dd
35EXTRA_IMAGECMD_ext3 += "-L rootfs" 35EXTRA_IMAGECMD_ext3 += "-L rootfs"
36 36
37do_populate_boot() { 37do_populate_boot() {
38 GRUB_IMAGE="grub-efi-bootia32.efi"
39 DEST_IMAGE="bootia32.efi"
40 if [ "${TARGET_ARCH}" = "x86_64" ]; then
41 GRUB_IMAGE="grub-efi-bootx64.efi"
42 DEST_IMAGE="bootx64.efi"
43 fi
38 44
39 mkdir -p ${WORKDIR}/EFI/BOOT/ 45 mkdir -p ${WORKDIR}/EFI/BOOT/
40 # Path where EFI firmware searches for EFI executable 46 # Path where EFI firmware searches for EFI executable
41 cp ${DEPLOY_DIR_IMAGE}/bootx64.efi ${WORKDIR}/EFI/BOOT/ 47 cp ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${WORKDIR}/EFI/BOOT/${DEST_IMAGE}
42 mcopy -s -i ${WORKDIR}/boot.img ${WORKDIR}/EFI ::/EFI 48 mcopy -s -i ${WORKDIR}/boot.img ${WORKDIR}/EFI ::/EFI
43} 49}
44
diff --git a/meta-intel-extras/recipes/grub/grub-efi/grub.cfg b/meta-intel-extras/recipes/grub/grub-efi/grub.cfg
index ca53537..287cf7c 100644
--- a/meta-intel-extras/recipes/grub/grub-efi/grub.cfg
+++ b/meta-intel-extras/recipes/grub/grub-efi/grub.cfg
@@ -1,7 +1,7 @@
1# Created by meta-b2qt 1# Created by meta-b2qt
2serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 2serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
3default=boot 3default=boot
4timeout=10 4timeout=0
5 5
6menuentry 'boot' { 6menuentry 'boot' {
7 linux /boot/bzImage root=LABEL=rootfs 7 linux /boot/bzImage root=LABEL=rootfs
diff --git a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend b/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
index 0104aab..f3a95f2 100644
--- a/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
+++ b/meta-intel-extras/recipes/grub/grub-efi_2.00.bbappend
@@ -32,7 +32,7 @@ SRC_URI += "file://grub.cfg"
32 32
33do_install[depends] += " \ 33do_install[depends] += " \
34 virtual/kernel:do_deploy \ 34 virtual/kernel:do_deploy \
35 ${INITRAMFS_IMAGE}:do_rootfs \ 35 ${INITRAMFS_IMAGE}:do_image_complete \
36 ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \ 36 ${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', 'intel-microcode:do_deploy', '', d)} \
37" 37"
38 38
diff --git a/meta-intel-extras/recipes/linux/linux-yocto/b2qt.cfg b/meta-intel-extras/recipes/linux/linux-intel/b2qt.cfg
index 7902798..7902798 100644
--- a/meta-intel-extras/recipes/linux/linux-yocto/b2qt.cfg
+++ b/meta-intel-extras/recipes/linux/linux-intel/b2qt.cfg
diff --git a/meta-intel-extras/recipes/linux/linux-yocto/wlan-realtek.cfg b/meta-intel-extras/recipes/linux/linux-intel/wlan-realtek.cfg
index 65ac248..65ac248 100644
--- a/meta-intel-extras/recipes/linux/linux-yocto/wlan-realtek.cfg
+++ b/meta-intel-extras/recipes/linux/linux-intel/wlan-realtek.cfg
diff --git a/meta-intel-extras/recipes/linux/linux-yocto_4.%.bbappend b/meta-intel-extras/recipes/linux/linux-intel_%.bbappend
index a61cf4d..a61cf4d 100644
--- a/meta-intel-extras/recipes/linux/linux-yocto_4.%.bbappend
+++ b/meta-intel-extras/recipes/linux/linux-intel_%.bbappend
diff --git a/recipes/libyaml/libyaml_%.bbappend b/meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend
index 728a546..ca8f573 100644
--- a/recipes/libyaml/libyaml_%.bbappend
+++ b/meta-nvidia-extras/recipes/ppp/ppp_2.4.%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30BBCLASSEXTEND += "nativesdk" 30SRC_URI_remove = "file://ppp-fix-building-with-linux-4.8.patch"
diff --git a/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
new file mode 100644
index 0000000..7c2f7b5
--- /dev/null
+++ b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2017 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
30LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch b/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
new file mode 100644
index 0000000..5f4d79c
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/0001-configure.ac-Fix-wayland-protocols-path.patch
@@ -0,0 +1,29 @@
1From 1cfc1434a5d385a74de593ec7601674dba39e2fe Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Wed, 11 May 2016 16:16:30 +0300
4Subject: [PATCH] configure.ac: Fix wayland-protocols path
5
6The wayland-protocols directory is used during build: Fix the path
7to point to sysroot specified in recipe.
8
9Normally PKG_CONFIG_SYSROOT_DIR could be used in configure.ac but that
10breaks multilib weston as it would point to multilib sysroot when the
11(allarch) wayland-protocols is actually in the machine sysroot.
12
13Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
14Upstream-Status: Inappropriate [embedded specific]
15---
16 configure.ac | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19--- a/configure.ac
20+++ b/configure.ac
21@@ -187,7 +187,7 @@ PKG_CHECK_MODULES(LIBINPUT_BACKEND, [lib
22 PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES])
23
24 PKG_CHECK_MODULES(WAYLAND_PROTOCOLS, [wayland-protocols >= 1.7],
25- [ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
26+ [ac_wayland_protocols_pkgdatadir=${WAYLAND_PROTOCOLS_SYSROOT_DIR}`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`])
27 AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
28
29 AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],,
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch b/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch
new file mode 100644
index 0000000..148848d
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/0001-make-error-portable.patch
@@ -0,0 +1,80 @@
1From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 29 May 2015 20:56:00 -0700
4Subject: [PATCH weston] make error() portable
5
6error() is not posix but gnu extension so may not be available on all
7kind of systemsi e.g. musl.
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Submitted
12
13 configure.ac | 2 ++
14 src/weston-error.h | 20 ++++++++++++++++++++
15 src/weston-launch.c | 2 +-
16 3 files changed, 23 insertions(+), 1 deletion(-)
17 create mode 100644 src/weston-error.h
18
19diff --git a/configure.ac b/configure.ac
20index 263fc22..f52cd62 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -57,6 +57,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
24 [[#include <time.h>]])
25 AC_CHECK_HEADERS([execinfo.h])
26
27+AC_CHECK_HEADERS([error.h])
28+
29 AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
30
31 COMPOSITOR_MODULES="wayland-server >= 1.7.93 pixman-1 >= 0.25.2"
32diff --git a/src/weston-error.h b/src/weston-error.h
33new file mode 100644
34index 0000000..2089d02
35--- /dev/null
36+++ b/src/weston-error.h
37@@ -0,0 +1,20 @@
38+#ifndef _WESTON_ERROR_H
39+#define _WESTON_ERROR_H
40+
41+#if defined(HAVE_ERROR_H)
42+#include <error.h>
43+#else
44+#include <err.h>
45+#include <string.h>
46+#define _weston_error(S, E, F, ...) do { \
47+ if (E) \
48+ err(S, F ": %s", ##__VA_ARGS__, strerror(E)); \
49+ else \
50+ err(S, F, ##__VA_ARGS__); \
51+} while(0)
52+
53+#define error _weston_error
54+#endif
55+
56+#endif
57+
58diff --git a/src/weston-launch.c b/src/weston-launch.c
59index 10c66de..3e6d30a 100644
60--- a/src/weston-launch.c
61+++ b/src/weston-launch.c
62@@ -30,7 +30,6 @@
63 #include <poll.h>
64 #include <errno.h>
65
66-#include <error.h>
67 #include <getopt.h>
68
69 #include <sys/types.h>
70@@ -56,6 +55,7 @@
71 #endif
72
73 #include "weston-launch.h"
74+#include "weston-error.h"
75
76 #define DRM_MAJOR 226
77
78--
792.1.4
80
diff --git a/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch b/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
new file mode 100644
index 0000000..70b9888
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch
@@ -0,0 +1,174 @@
1From 8ff6ed03ec4079f32e9b34085414e57be4730e04 Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Wed, 22 Feb 2017 15:53:30 +0200
4Subject: [PATCH] weston-launch: Provide a default version that doesn't require
5 PAM
6
7weston-launch requires PAM for starting weston as a non-root user.
8
9Since starting weston as root is a valid use case by itself, if
10PAM is not available, provide a default version of weston-launch
11without non-root-user support.
12
13Upstream-Status: Pending
14
15Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
16Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
17---
18 configure.ac | 9 +++++++--
19 libweston/weston-launch.c | 20 ++++++++++++++++++++
20 2 files changed, 27 insertions(+), 2 deletions(-)
21
22diff --git a/configure.ac b/configure.ac
23index 46cb2c7..bb45f46 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -435,13 +435,17 @@ AC_ARG_ENABLE(resize-optimization,
27 AS_IF([test "x$enable_resize_optimization" = "xyes"],
28 [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
29
30+AC_ARG_WITH(pam,
31+ AS_HELP_STRING([--with-pam], [Use PAM]),
32+ [use_pam=$withval], [use_pam=yes])
33 AC_ARG_ENABLE(weston-launch, [ --enable-weston-launch],, enable_weston_launch=yes)
34 AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch = xyes)
35-if test x$enable_weston_launch = xyes; then
36+if test x$enable_weston_launch = xyes -a x$use_pam = xyes; then
37 WESTON_SEARCH_LIBS([PAM], [pam], [pam_open_session], [have_pam=yes], [have_pam=no])
38 if test x$have_pam = xno; then
39- AC_ERROR([weston-launch requires pam])
40+ AC_ERROR([PAM support is explicitly requested, but libpam couldn't be found])
41 fi
42+ AC_DEFINE([HAVE_PAM], [1], [Define if PAM is available])
43 fi
44
45 AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes")
46@@ -701,6 +705,7 @@ AC_MSG_RESULT([
47 Enable developer documentation ${enable_devdocs}
48
49 weston-launch utility ${enable_weston_launch}
50+ PAM support ${use_pam}
51 systemd-login support ${have_systemd_login}
52 systemd notify support ${enable_systemd_notify}
53
54diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c
55index 0491896..07e7469 100644
56--- a/libweston/weston-launch.c
57+++ b/libweston/weston-launch.c
58@@ -51,7 +51,9 @@
59
60 #include <pwd.h>
61 #include <grp.h>
62+#ifdef HAVE_PAM
63 #include <security/pam_appl.h>
64+#endif
65
66 #ifdef HAVE_SYSTEMD_LOGIN
67 #include <systemd/sd-login.h>
68@@ -93,8 +95,10 @@ drmSetMaster(int drm_fd)
69 #endif
70
71 struct weston_launch {
72+#ifdef HAVE_PAM
73 struct pam_conv pc;
74 pam_handle_t *ph;
75+#endif
76 int tty;
77 int ttynr;
78 int sock[2];
79@@ -181,6 +185,7 @@ weston_launch_allowed(struct weston_launch *wl)
80 return false;
81 }
82
83+#ifdef HAVE_PAM
84 static int
85 pam_conversation_fn(int msg_count,
86 const struct pam_message **messages,
87@@ -221,6 +226,7 @@ setup_pam(struct weston_launch *wl)
88
89 return 0;
90 }
91+#endif
92
93 static int
94 setup_launcher_socket(struct weston_launch *wl)
95@@ -414,6 +420,7 @@ quit(struct weston_launch *wl, int status)
96 close(wl->signalfd);
97 close(wl->sock[0]);
98
99+#ifdef HAVE_PAM
100 if (wl->new_user) {
101 err = pam_close_session(wl->ph, 0);
102 if (err)
103@@ -421,6 +428,7 @@ quit(struct weston_launch *wl, int status)
104 err, pam_strerror(wl->ph, err));
105 pam_end(wl->ph, err);
106 }
107+#endif
108
109 if (ioctl(wl->tty, KDSKBMUTE, 0) &&
110 ioctl(wl->tty, KDSKBMODE, wl->kb_mode))
111@@ -600,6 +608,7 @@ setup_session(struct weston_launch *wl, char **child_argv)
112 setenv("HOME", wl->pw->pw_dir, 1);
113 setenv("SHELL", wl->pw->pw_shell, 1);
114
115+#ifdef HAVE_PAM
116 env = pam_getenvlist(wl->ph);
117 if (env) {
118 for (i = 0; env[i]; ++i) {
119@@ -608,6 +617,7 @@ setup_session(struct weston_launch *wl, char **child_argv)
120 }
121 free(env);
122 }
123+#endif
124
125 /*
126 * We open a new session, so it makes sense
127@@ -675,7 +685,9 @@ static void
128 help(const char *name)
129 {
130 fprintf(stderr, "Usage: %s [args...] [-- [weston args..]]\n", name);
131+#ifdef HAVE_PAM
132 fprintf(stderr, " -u, --user Start session as specified username\n");
133+#endif
134 fprintf(stderr, " -t, --tty Start session on alternative tty\n");
135 fprintf(stderr, " -v, --verbose Be verbose\n");
136 fprintf(stderr, " -h, --help Display this help message\n");
137@@ -688,7 +700,9 @@ main(int argc, char *argv[])
138 int i, c;
139 char *tty = NULL;
140 struct option opts[] = {
141+#ifdef HAVE_PAM
142 { "user", required_argument, NULL, 'u' },
143+#endif
144 { "tty", required_argument, NULL, 't' },
145 { "verbose", no_argument, NULL, 'v' },
146 { "help", no_argument, NULL, 'h' },
147@@ -700,9 +714,13 @@ main(int argc, char *argv[])
148 while ((c = getopt_long(argc, argv, "u:t::vh", opts, &i)) != -1) {
149 switch (c) {
150 case 'u':
151+#ifdef HAVE_PAM
152 wl.new_user = optarg;
153 if (getuid() != 0)
154 error(1, 0, "Permission denied. -u allowed for root only");
155+#else
156+ error(1, 0, "-u is unsupported in this weston-launch build");
157+#endif
158 break;
159 case 't':
160 tty = optarg;
161@@ -740,8 +758,10 @@ main(int argc, char *argv[])
162 if (setup_tty(&wl, tty) < 0)
163 exit(EXIT_FAILURE);
164
165+#ifdef HAVE_PAM
166 if (wl.new_user && setup_pam(&wl) < 0)
167 exit(EXIT_FAILURE);
168+#endif
169
170 if (setup_launcher_socket(&wl) < 0)
171 exit(EXIT_FAILURE);
172--
1732.1.4
174
diff --git a/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch b/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch
new file mode 100644
index 0000000..93376ef
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/add-config-option-for-no-input-device.patch
@@ -0,0 +1,125 @@
1From 6c89292024cc08d4499916dc153c354175bd81c4 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Daniel=20D=C3=ADaz?= <daniel.diaz@linaro.org>
3Date: Fri, 21 Oct 2016 14:03:13 -0500
4Subject: [PATCH] Add configuration option for no input device.
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9[Backported from master, 75b7197.)
10
11As it has been discussed in the past [1], running Weston
12without any input device at launch might be beneficial for
13some use cases.
14
15Certainly, it's best for the vast majority of users (and
16the project) to require an input device to be present, as
17to avoid frustration and hassle, but for those brave souls
18that so prefer, this patch lets them run without any input
19device at all.
20
21This introduces a simple configuration in weston.ini:
22 [core]
23 require-input=true
24
25True is the default, so no behavioral change is introduced.
26
27[1] https://lists.freedesktop.org/archives/wayland-devel/2015-November/025193.html
28
29Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
30Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
31Reviewed-by: Daniel Stone <daniels@collabora.com>
32---
33 man/weston.ini.man | 5 +++++
34 src/compositor.h | 4 ++++
35 src/libinput-seat.c | 6 ++++++
36 src/main.c | 5 +++++
37 weston.ini.in | 1 +
38 5 files changed, 21 insertions(+)
39
40diff --git a/man/weston.ini.man b/man/weston.ini.man
41index a9b6026..668b16f 100644
42--- a/man/weston.ini.man
43+++ b/man/weston.ini.man
44@@ -169,6 +169,11 @@ time, the one specified in the command-line will be used. On the other
45 hand, if none of these sets the value, default idle timeout will be
46 set to 300 seconds.
47 .RS
48+.PP
49+.RE
50+.TP 7
51+.BI "require-input=" true
52+require an input device for launch
53
54 .SH "LIBINPUT SECTION"
55 The
56diff --git a/src/compositor.h b/src/compositor.h
57index c4c81f0..292a412 100644
58--- a/src/compositor.h
59+++ b/src/compositor.h
60@@ -701,6 +701,10 @@ struct weston_compositor {
61
62 void *user_data;
63 void (*exit)(struct weston_compositor *c);
64+
65+ /* Whether to let the compositor run without any input device. */
66+ bool require_input;
67+
68 };
69
70 struct weston_buffer {
71diff --git a/src/libinput-seat.c b/src/libinput-seat.c
72index c9f9ed2..1c4c358 100644
73--- a/src/libinput-seat.c
74+++ b/src/libinput-seat.c
75@@ -250,6 +250,12 @@ udev_input_enable(struct udev_input *input)
76 devices_found = 1;
77 }
78
79+ if (devices_found == 0 && !c->require_input) {
80+ weston_log("warning: no input devices found, but none required "
81+ "as per configuration.\n");
82+ return 0;
83+ }
84+
85 if (devices_found == 0) {
86 weston_log(
87 "warning: no input devices on entering Weston. "
88diff --git a/src/main.c b/src/main.c
89index a98570e..b8632e9 100644
90--- a/src/main.c
91+++ b/src/main.c
92@@ -658,6 +658,7 @@ int main(int argc, char *argv[])
93 struct wl_client *primary_client;
94 struct wl_listener primary_client_destroyed;
95 struct weston_seat *seat;
96+ int require_input;
97
98 const struct weston_option core_options[] = {
99 { WESTON_OPTION_STRING, "backend", 'B', &backend },
100@@ -737,6 +738,10 @@ int main(int argc, char *argv[])
101 if (weston_compositor_init_config(ec, config) < 0)
102 goto out_signals;
103
104+ weston_config_section_get_bool(section, "require-input",
105+ &require_input, true);
106+ ec->require_input = require_input;
107+
108 if (backend_init(ec, &argc, argv, config) < 0) {
109 weston_log("fatal: failed to create compositor backend\n");
110 goto out_signals;
111diff --git a/weston.ini.in b/weston.ini.in
112index 06b51df..e9ef992 100644
113--- a/weston.ini.in
114+++ b/weston.ini.in
115@@ -2,6 +2,7 @@
116 #modules=xwayland.so,cms-colord.so
117 #shell=desktop-shell.so
118 #gbm-format=xrgb2101010
119+#require-input=true
120
121 [shell]
122 background-image=/usr/share/backgrounds/gnome/Aqua.jpg
123--
1241.9.1
125
diff --git a/meta-nvidia-extras/recipes/weston/weston/disable-wayland-scanner-pkg-check.patch b/meta-nvidia-extras/recipes/weston/weston/disable-wayland-scanner-pkg-check.patch
deleted file mode 100644
index 062da5c..0000000
--- a/meta-nvidia-extras/recipes/weston/weston/disable-wayland-scanner-pkg-check.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Index: weston-1.5.0/configure.ac
2===================================================================
3--- weston-1.5.0.orig/configure.ac
4+++ weston-1.5.0/configure.ac
5@@ -503,7 +503,7 @@ if test x$wayland_scanner = x; then
6 AC_MSG_ERROR([wayland-scanner is needed to compile weston])
7 fi
8
9-PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner)
10+#PKG_CHECK_MODULES(WAYLAND_SCANNER, wayland-scanner)
11
12 AC_CONFIG_FILES([Makefile src/version.h src/weston.pc])
13
diff --git a/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch b/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch
new file mode 100644
index 0000000..a40eaf1
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/explicit-enable-disable-systemd.patch
@@ -0,0 +1,70 @@
1From 8e1efcd40b3bad81c83744e2e120d70c2b567ef2 Mon Sep 17 00:00:00 2001
2From: Frederico Cadete <frederico@cadete.eu>
3Date: Mon, 28 Sep 2015 00:30:10 +0200
4Subject: configure.ac: add explicit enable/disable for systemd-login support
5
6Otherwise, auto-enable depending on whether the system has the necessary
7libraries.
8
9[Updated help text as per pq suggestion -- bwh]
10
11Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
12Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
13Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
14
15Upstream-Status: Backport
16Backported from Weston git:
17http://cgit.freedesktop.org/wayland/weston/commit/?id=8e1efc
18
19Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
20
21diff --git a/configure.ac b/configure.ac
22index a9cd429..67e80d0 100644
23--- a/configure.ac
24+++ b/configure.ac
25@@ -380,18 +380,30 @@ AC_ARG_ENABLE(resize-optimization,
26 AS_IF([test "x$enable_resize_optimization" = "xyes"],
27 [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
28
29-PKG_CHECK_MODULES(SYSTEMD_LOGIN,
30- [libsystemd >= 209],
31- [have_systemd_login_209=yes;have_systemd_login=yes],
32- [have_systemd_login_209=no;have_systemd_login=no])
33-
34-# Older versions of systemd package systemd-login separately. Fall back on that
35-AS_IF([test x$have_systemd_login != xyes],[
36- PKG_CHECK_MODULES(SYSTEMD_LOGIN,
37- [libsystemd-login >= 198],
38- [have_systemd_login=yes],
39- [have_systemd_login=no])
40- ])
41+AC_ARG_ENABLE(systemd-login,
42+ AS_HELP_STRING([--enable-systemd-login],
43+ [Enable logind support]),,
44+ enable_systemd_login=auto)
45+if test x$enable_systemd_login != xno; then
46+ PKG_CHECK_MODULES(SYSTEMD_LOGIN,
47+ [libsystemd >= 209],
48+ [have_systemd_login_209=yes;have_systemd_login=yes],
49+ [have_systemd_login_209=no;have_systemd_login=no])
50+
51+ # Older versions of systemd package systemd-login separately. Fall back on that
52+ AS_IF([test x$have_systemd_login != xyes],[
53+ PKG_CHECK_MODULES(SYSTEMD_LOGIN,
54+ [libsystemd-login >= 198],
55+ [have_systemd_login=yes],
56+ [have_systemd_login=no])
57+ ])
58+else
59+ have_systemd_login=no
60+fi
61+
62+if test "x$have_systemd_login" = "xno" -a "x$enable_systemd_login" = "xyes"; then
63+ AC_MSG_ERROR([systemd-login support explicitly enabled, but can't find libsystemd>=209 or libsystemd-login])
64+fi
65
66 AS_IF([test "x$have_systemd_login" = "xyes"],
67 [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])])
68--
69cgit v0.10.2
70
diff --git a/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch b/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch
new file mode 100644
index 0000000..2d28d56
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/libsystemd.patch
@@ -0,0 +1,53 @@
1From 5eb025a867b42f8bc7bc73279eac8de58e51a13e Mon Sep 17 00:00:00 2001
2From: Frederico Cadete <frederico@cadete.eu>
3Date: Mon, 28 Sep 2015 00:30:09 +0200
4Subject: configure.ac: add support for new versions of systemd
5
6Starting from systemd version 209, a single libsystemd.pc is provided.
7For previous versions, fall back on libsystemd-login.pc.
8
9Signed-off-by: Frederico Cadete <frederico@cadete.eu>
10Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
11Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
12
13Upstream-Status: Backport
14Backported from Weston git:
15http://cgit.freedesktop.org/wayland/weston/commit/?id=5eb025
16
17Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
18
19diff --git a/configure.ac b/configure.ac
20index 045291c..a9cd429 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -380,14 +380,23 @@ AC_ARG_ENABLE(resize-optimization,
24 AS_IF([test "x$enable_resize_optimization" = "xyes"],
25 [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
26
27-PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login >= 198],
28- [have_systemd_login=yes], [have_systemd_login=no])
29+PKG_CHECK_MODULES(SYSTEMD_LOGIN,
30+ [libsystemd >= 209],
31+ [have_systemd_login_209=yes;have_systemd_login=yes],
32+ [have_systemd_login_209=no;have_systemd_login=no])
33+
34+# Older versions of systemd package systemd-login separately. Fall back on that
35+AS_IF([test x$have_systemd_login != xyes],[
36+ PKG_CHECK_MODULES(SYSTEMD_LOGIN,
37+ [libsystemd-login >= 198],
38+ [have_systemd_login=yes],
39+ [have_systemd_login=no])
40+ ])
41+
42 AS_IF([test "x$have_systemd_login" = "xyes"],
43 [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])])
44 AM_CONDITIONAL(HAVE_SYSTEMD_LOGIN, test "x$have_systemd_login" = "xyes")
45
46-PKG_CHECK_MODULES(SYSTEMD_LOGIN_209, [libsystemd-login >= 209],
47- [have_systemd_login_209=yes], [have_systemd_login_209=no])
48 AS_IF([test "x$have_systemd_login_209" = "xyes"],
49 [AC_DEFINE([HAVE_SYSTEMD_LOGIN_209], [1], [Have systemd-login >= 209])])
50
51--
52cgit v0.10.2
53
diff --git a/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch b/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch
new file mode 100644
index 0000000..35e6d6f
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/make-lcms-explicitly-configurable.patch
@@ -0,0 +1,43 @@
1weston-1.5.0/configure.ac: make lcms explicitly configurable
2
3The lcms package is outside of openembedded-core, so make it
4explicitly configurable. Make it deterministic, so that if lcms
5dependencies are missing, autoconf throws a fatal error. Follow
6upstream style to make it more likely to be merged.
7
8Upstream-Status: Pending
9
10Index: weston-1.5.0/configure.ac
11===================================================================
12--- weston-1.5.0.orig/configure.ac
13+++ weston-1.5.0/configure.ac
14@@ -491,12 +491,24 @@ AC_ARG_ENABLE(demo-clients-install,
15 enable_demo_clients_install=no)
16 AM_CONDITIONAL(INSTALL_DEMO_CLIENTS, [test "x$enable_demo_clients_install" = "xyes"])
17
18-PKG_CHECK_MODULES(LCMS, lcms2,
19- [have_lcms=yes], [have_lcms=no])
20-if test "x$have_lcms" = xyes; then
21- AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
22+AC_ARG_ENABLE(lcms,
23+ AS_HELP_STRING([--disable-lcms],
24+ [Disable lcms support]),,
25+ enable_lcms=auto)
26+AM_CONDITIONAL(HAVE_LCMS, [test "x$enable_lcms" = xyes])
27+if test "x$enable_lcms" != "xno"; then
28+ PKG_CHECK_MODULES(LCMS,
29+ lcms2,
30+ [have_lcms=yes],
31+ [have_lcms=no])
32+ if test "x$have_lcms" = "xno" -a "x$enable_lcms" = "xyes"; then
33+ AC_MSG_ERROR([lcms support explicitly requested, but lcms couldn't be found])
34+ fi
35+ if test "x$have_lcms" = "xyes"; then
36+ enable_lcms=yes
37+ AC_DEFINE(HAVE_LCMS, 1, [Have lcms support])
38+ fi
39 fi
40-AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes])
41
42 AC_PATH_PROG([wayland_scanner], [wayland-scanner])
43 if test x$wayland_scanner = x; then
diff --git a/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch b/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch
new file mode 100644
index 0000000..ad07d4f
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/make-libwebp-explicitly-configurable.patch
@@ -0,0 +1,37 @@
1
2The libwebp package is outside of openembedded-core, so make it
3explicitly configurable. Make it deterministic, so that if libwebp
4dependencies are missing, autoconf throws a fatal error.
5
6Upstream-Status: Pending
7
8Index: weston-1.5.0/configure.ac
9===================================================================
10--- weston-1.5.0.orig/configure.ac
11+++ weston-1.5.0/configure.ac
12@@ -268,9 +268,22 @@ fi
13
14 PKG_CHECK_MODULES(PIXMAN, [pixman-1])
15 PKG_CHECK_MODULES(PNG, [libpng])
16-PKG_CHECK_MODULES(WEBP, [libwebp], [have_webp=yes], [have_webp=no])
17-AS_IF([test "x$have_webp" = "xyes"],
18- [AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
19+AC_ARG_ENABLE(webp,
20+ AS_HELP_STRING([--disable-webp],
21+ [Disable libwebp support]),,
22+ enable_webp=auto)
23+AM_CONDITIONAL(HAVE_WEBP, [test "x$enable_webp" = xyes])
24+AS_IF([test "x$enable_webp" != "xno"],
25+ PKG_CHECK_MODULES(WEBP,
26+ [libwebp],
27+ [have_webp=yes],
28+ [have_webp=no])
29+ AS_IF([test "x$have_webp" = "xno" -a "x$enable_webp" = "xyes"],
30+ AC_MSG_ERROR([libwebp support explicitly request, but lipwebp could not be found]))
31+ AS_IF([test "x$have_webp" = "xyes"],
32+ [enable_webp=yes]
33+ [AC_DEFINE([HAVE_WEBP], [1], [Have webp])])
34+)
35
36 AC_ARG_ENABLE(vaapi-recorder, [ --enable-vaapi-recorder],,
37 enable_vaapi_recorder=auto)
diff --git a/meta-nvidia-extras/recipes/weston/weston/weston.desktop b/meta-nvidia-extras/recipes/weston/weston/weston.desktop
new file mode 100644
index 0000000..1086ae8
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/weston.desktop
@@ -0,0 +1,9 @@
1[Desktop Entry]
2Encoding=UTF-8
3Type=Application
4Name=Weston
5Comment=Wayland Compostitor
6Exec=weston
7Icon=weston
8Terminal=false
9Categories=Utility;
diff --git a/meta-nvidia-extras/recipes/weston/weston/weston.png b/meta-nvidia-extras/recipes/weston/weston/weston.png
new file mode 100644
index 0000000..ea8b7e0
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/weston.png
Binary files differ
diff --git a/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start b/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start
new file mode 100644
index 0000000..b483c97
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston/xwayland.weston-start
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3if type Xwayland >/dev/null 2>/dev/null; then
4 mkdir -p /tmp/.X11-unix
5
6 add_weston_argument "--modules=xwayland.so"
7fi
diff --git a/meta-nvidia-extras/recipes/weston/weston_%.bbappend b/meta-nvidia-extras/recipes/weston/weston_%.bbappend
index 22f0f11..e9a2154 100644
--- a/meta-nvidia-extras/recipes/weston/weston_%.bbappend
+++ b/meta-nvidia-extras/recipes/weston/weston_%.bbappend
@@ -28,5 +28,6 @@
28############################################################################ 28############################################################################
29 29
30PACKAGECONFIG_remove = "kms" 30PACKAGECONFIG_remove = "kms"
31DEPENDS += "drm"
31 32
32TARGET_CFLAGS += "-DWIN_INTERFACE_CUSTOM" 33TARGET_CFLAGS += "-DWIN_INTERFACE_CUSTOM"
diff --git a/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb b/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb
new file mode 100644
index 0000000..3fdfbab
--- /dev/null
+++ b/meta-nvidia-extras/recipes/weston/weston_1.9.0.bb
@@ -0,0 +1,104 @@
1SUMMARY = "Weston, a Wayland compositor"
2DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
3HOMEPAGE = "http://wayland.freedesktop.org"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \
6 file://src/compositor.c;endline=23;md5=1d535fed266cf39f6d8c0647f52ac331"
7
8SRC_URI = "http://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
9 file://weston.png \
10 file://weston.desktop \
11 file://make-lcms-explicitly-configurable.patch \
12 file://make-libwebp-explicitly-configurable.patch \
13 file://0001-make-error-portable.patch \
14 file://libsystemd.patch \
15 file://explicit-enable-disable-systemd.patch \
16 file://add-config-option-for-no-input-device.patch \
17"
18SRC_URI[md5sum] = "66bbba12f546570b4d97f676bc79a28e"
19SRC_URI[sha256sum] = "9c1b03f3184fa0b0dfdf67e215048085156e1a2ca344af6613fed36794ac48cf"
20
21inherit autotools pkgconfig useradd distro_features_check
22# depends on virtual/egl
23REQUIRED_DISTRO_FEATURES = "opengl"
24
25DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
26DEPENDS += "wayland libinput virtual/egl pango wayland-native"
27
28EXTRA_OECONF = "--enable-setuid-install \
29 --enable-simple-clients \
30 --enable-clients \
31 --enable-demo-clients-install \
32 --disable-rpi-compositor \
33 --disable-rdp-compositor \
34 "
35
36EXTRA_OECONF_append_qemux86 = "\
37 WESTON_NATIVE_BACKEND=fbdev-backend.so \
38 "
39EXTRA_OECONF_append_qemux86-64 = "\
40 WESTON_NATIVE_BACKEND=fbdev-backend.so \
41 "
42PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
44 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'launch', '', d)} \
45 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
46 "
47#
48# Compositor choices
49#
50# Weston on KMS
51PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev"
52# Weston on Wayland (nested Weston)
53PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa"
54# Weston on X11
55PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo"
56# Headless Weston
57PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor"
58# Weston on framebuffer
59PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev"
60# weston-launch
61PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm"
62# VA-API desktop recorder
63PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva"
64# Weston with EGL support
65PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl"
66# Weston with cairo glesv2 support
67PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo"
68# Weston with lcms support
69PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms"
70# Weston with webp support
71PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
72# Weston with unwinding support
73PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind"
74# Weston with systemd-login support
75PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus"
76# Weston with Xwayland support
77PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,libxcb libxcursor cairo"
78# colord CMS support
79PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
80
81do_install_append() {
82 # Weston doesn't need the .la files to load modules, so wipe them
83 rm -f ${D}/${libdir}/weston/*.la
84
85 # If X11, ship a desktop file to launch it
86 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "x11" ]; then
87 install -d ${D}${datadir}/applications
88 install ${WORKDIR}/weston.desktop ${D}${datadir}/applications
89
90 install -d ${D}${datadir}/icons/hicolor/48x48/apps
91 install ${WORKDIR}/weston.png ${D}${datadir}/icons/hicolor/48x48/apps
92 fi
93}
94
95PACKAGES += "${PN}-examples"
96
97FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}"
98FILES_${PN}-examples = "${bindir}/*"
99
100RDEPENDS_${PN} += "xkeyboard-config"
101RRECOMMENDS_${PN} = "liberation-fonts"
102
103USERADD_PACKAGES = "${PN}"
104GROUPADD_PARAM_${PN} = "--system weston-launch"
diff --git a/meta-renesas-extras/recipes/gles-module/gles-user-module.bbappend b/meta-renesas-extras/recipes/gles-module/gles-user-module.bbappend
index 8a9bda0..9806a3c 100644
--- a/meta-renesas-extras/recipes/gles-module/gles-user-module.bbappend
+++ b/meta-renesas-extras/recipes/gles-module/gles-user-module.bbappend
@@ -27,4 +27,12 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32SRC_URI_append = " file://gl3ext.h"
33
30DEPENDS = "mesa" 34DEPENDS = "mesa"
35
36do_install_append() {
37 install -m 644 ${WORKDIR}/gl3ext.h ${D}/${includedir}/GLES3/
38}
diff --git a/meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h b/meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h
new file mode 100644
index 0000000..4d4ea96
--- /dev/null
+++ b/meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h
@@ -0,0 +1,24 @@
1#ifndef __gl3ext_h_
2#define __gl3ext_h_
3
4/* $Revision: 17809 $ on $Date:: 2012-05-14 08:03:36 -0700 #$ */
5
6/*
7 * This document is licensed under the SGI Free Software B License Version
8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 */
10
11/* OpenGL ES 3 Extensions
12 *
13 * After an OES extension's interactions with OpenGl ES 3.0 have been documented,
14 * its tokens and function definitions should be added to this file in a manner
15 * that does not conflict with gl2ext.h or gl3.h.
16 *
17 * Tokens and function definitions for extensions that have become standard
18 * features in OpenGL ES 3.0 will not be added to this file.
19 *
20 * Applications using OpenGL-ES-2-only extensions should include gl2ext.h
21 */
22
23#endif /* __gl3ext_h_ */
24
diff --git a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 940c931..85be953 100644
--- a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -27,6 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30do_install_append() { 30DEPENDS += "wayland-kms libgbm"
31 rm -f ${D}${libdir}/libdrm.so.2
32}
diff --git a/meta-renesas-extras/recipes/mesa/mesa_12.%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
index 0542b65..0542b65 100644
--- a/meta-renesas-extras/recipes/mesa/mesa_12.%.bbappend
+++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
diff --git a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend
index 361abbf..47fe2ce 100644
--- a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend
+++ b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend
@@ -27,10 +27,14 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30LICENSE = "GPLv2+"
31
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 32FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31 33
32SRC_URI += "file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch" 34SRC_URI += "file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch"
33 35
36S = "${WORKDIR}/git"
37
34do_deploy_prepend() { 38do_deploy_prepend() {
35 cp ${B}/${UBOOT_SREC} ${S}/${UBOOT_SREC} 39 cp ${B}/${UBOOT_SREC} ${S}/${UBOOT_SREC}
36} 40}
diff --git a/recipes-qt/qt5/qtcharts_git.bbappend b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend
index 8297a74..0cd3eec 100644
--- a/recipes-qt/qt5/qtcharts_git.bbappend
+++ b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,4 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30inherit qtquickcompiler 30DEPENDS += "wayland-native"
diff --git a/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend b/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend
new file mode 100644
index 0000000..ef14c2f
--- /dev/null
+++ b/meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2017 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
30EXTRA_OECONF += "WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}"
diff --git a/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch b/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch
index c700e0e..dd58eed 100644
--- a/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch
+++ b/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch
@@ -16,14 +16,14 @@ NULL pointer dereference in fbcon_switch.
16Fix the issue by using the variable screen info structure also when adding 16Fix the issue by using the variable screen info structure also when adding
17new mode to the modelist. 17new mode to the modelist.
18--- 18---
19 drivers/video/modedb.c | 7 ++++--- 19 drivers/video/fbdev/core/modedb.c | 7 ++++---
20 1 file changed, 4 insertions(+), 3 deletions(-) 20 1 file changed, 4 insertions(+), 3 deletions(-)
21 21
22diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c 22diff --git a/drivers/video/fbdev/core/modedb.c b/drivers/video/fbdev/core/modedb.c
23index 12dadab..e5093cf 100644 23index f5a53a6..a8fd871 100644
24--- a/drivers/video/modedb.c 24--- a/drivers/video/fbdev/core/modedb.c
25+++ b/drivers/video/modedb.c 25+++ b/drivers/video/fbdev/core/modedb.c
26@@ -2190,13 +2190,14 @@ int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) 26@@ -2187,13 +2187,14 @@ int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head)
27 { 27 {
28 struct list_head *pos; 28 struct list_head *pos;
29 struct fb_modelist *modelist; 29 struct fb_modelist *modelist;
diff --git a/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend b/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend
index 8770c65..d48d6ac 100644
--- a/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend
+++ b/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
diff --git a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend b/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend
index 1f375e6..84a817c 100644
--- a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend
+++ b/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend
@@ -27,8 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa', '', d)}"
31
32PACKAGES += "${PN}-dev" 30PACKAGES += "${PN}-dev"
33RRECOMMENDS_${PN}-dev += "\ 31RRECOMMENDS_${PN}-dev += "\
34 libgles1-mesa-dev \ 32 libgles1-mesa-dev \
@@ -37,7 +35,3 @@ RRECOMMENDS_${PN}-dev += "\
37 libegl-mesa-dev \ 35 libegl-mesa-dev \
38 libgl-mesa-dev \ 36 libgl-mesa-dev \
39 " 37 "
40
41do_install_append() {
42 install -m 0644 ${DRVROOT}/tegra/libdrm* ${D}${libdir}
43}
diff --git a/meta-ti-extras/recipes/dtc/dtc_git.bbappend b/meta-ti-extras/recipes/dtc/dtc_%.bbappend
index e4f43eb..c22b103 100644
--- a/meta-ti-extras/recipes/dtc/dtc_git.bbappend
+++ b/meta-ti-extras/recipes/dtc/dtc_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
diff --git a/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch b/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch
new file mode 100644
index 0000000..8a986ef
--- /dev/null
+++ b/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch
@@ -0,0 +1,28 @@
1From fdbf7768bcd14b182b0372631fe762a3fde16a49 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 8 Jun 2017 15:42:58 +0300
4Subject: [PATCH] Change typedef for EGLNativeDisplayType
5
6Change EGLNativeDisplayType to void* as it's in more recent versions
7---
8 targetfs/ti335x/include/EGL/eglplatform.h | 7 +------
9 1 file changed, 1 insertion(+), 6 deletions(-)
10
11diff --git a/targetfs/ti335x/include/EGL/eglplatform.h b/targetfs/ti335x/include/EGL/eglplatform.h
12index 7943741..e71df55 100644
13--- a/targetfs/ti335x/include/EGL/eglplatform.h
14+++ b/targetfs/ti335x/include/EGL/eglplatform.h
15@@ -94,12 +94,7 @@ typedef Window EGLNativeWindowType;
16
17 /* NULLWS fallback */
18
19-#if defined(_WIN64) || __WORDSIZE == 64
20-typedef khronos_int64_t EGLNativeDisplayType;
21-#else
22-typedef int EGLNativeDisplayType;
23-#endif
24-
25+typedef void* EGLNativeDisplayType;
26 typedef void* EGLNativePixmapType;
27 typedef void* EGLNativeWindowType;
28
diff --git a/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um_%.bbappend b/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um_%.bbappend
index 94ef641..c2251a8 100644
--- a/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um_%.bbappend
+++ b/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um_%.bbappend
@@ -29,6 +29,7 @@
29 29
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" 30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += "\ 31SRC_URI += "\
32 file://0001-Change-typedef-for-EGLNativeDisplayType.patch \
32 file://99-fb.rules \ 33 file://99-fb.rules \
33 file://pvr.service \ 34 file://pvr.service \
34 " 35 "
diff --git a/meta-ti-extras/recipes/linux/linux-ti-staging_4.4.bbappend b/meta-ti-extras/recipes/linux/linux-ti-staging_%.bbappend
index 0d9e282..a3c7cac 100644
--- a/meta-ti-extras/recipes/linux/linux-ti-staging_4.4.bbappend
+++ b/meta-ti-extras/recipes/linux/linux-ti-staging_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
diff --git a/recipes-qt/automotive/neptune-ui/neptune.service b/recipes-qt/automotive/neptune-ui/neptune.service
index ef73324..16b6a1f 100644
--- a/recipes-qt/automotive/neptune-ui/neptune.service
+++ b/recipes-qt/automotive/neptune-ui/neptune.service
@@ -5,7 +5,7 @@ After=dbus.service dbus-session.service systemd-user-sessions.service
5[Service] 5[Service]
6ExecStart=/usr/bin/appcontroller /usr/bin/appman -r --dbus session -c am-config.yaml 6ExecStart=/usr/bin/appcontroller /usr/bin/appman -r --dbus session -c am-config.yaml
7Restart=on-failure 7Restart=on-failure
8WorkingDirectory=/opt/neptune-ui 8WorkingDirectory=/usr/neptune-ui
9 9
10[Install] 10[Install]
11WantedBy=multi-user.target 11WantedBy=multi-user.target
diff --git a/recipes-qt/automotive/neptune-ui_git.bb b/recipes-qt/automotive/neptune-ui_git.bb
index 5fc3965..5898424 100644
--- a/recipes-qt/automotive/neptune-ui_git.bb
+++ b/recipes-qt/automotive/neptune-ui_git.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Copyright (C) 2018 Pelagicore AG. 4## Copyright (C) 2018 Pelagicore AG.
5## Contact: https://www.qt.io/licensing/ 5## Contact: https://www.qt.io/licensing/
6## 6##
@@ -30,7 +30,10 @@
30 30
31DESCRIPTION = "Neptune IVI UI" 31DESCRIPTION = "Neptune IVI UI"
32LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1" 32LICENSE = "GPL-3.0 | The-Qt-Company-DCLA-2.1"
33LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=c41b4a3e669de55dfe304b8376b04a82" 33LIC_FILES_CHKSUM = "\
34 file://LICENSE.GPL3;md5=c41b4a3e669de55dfe304b8376b04a82 \
35 file://imports/assets/fonts/OFL.txt;md5=a729250f3548d9d2deab9bfeb8a7ad51 \
36"
34 37
35inherit qt5-module systemd 38inherit qt5-module systemd
36require recipes-qt/qt5/qt5-git.inc 39require recipes-qt/qt5/qt5-git.inc
@@ -48,19 +51,23 @@ RDEPENDS_${PN} = "qtivi qtvirtualkeyboard dbus \
48 qtquickcontrols-qmlplugins qtgraphicaleffects-qmlplugins \ 51 qtquickcontrols-qmlplugins qtgraphicaleffects-qmlplugins \
49 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" 52 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}"
50 53
51EXTRA_QMAKEVARS_PRE += "INSTALL_PREFIX=/opt"
52
53do_install_append() { 54do_install_append() {
54 install -m 0755 -d ${D}${systemd_unitdir}/system 55 install -m 0755 -d ${D}${systemd_unitdir}/system
55 install -m 0644 ${WORKDIR}/neptune.service ${D}${systemd_unitdir}/system/ 56 install -m 0644 ${WORKDIR}/neptune.service ${D}${systemd_unitdir}/system/
57
58 # Move the fonts to the system-wide font location
59 install -m 0755 -d ${D}${datadir}/fonts/ttf/
60 mv ${D}/usr/neptune-ui/imports/assets/fonts/*.ttf ${D}${datadir}/fonts/ttf/
61 rm -rf ${D}/usr/neptune-ui/imports/assets/fonts/
56} 62}
57 63
58PACKAGES =+ "${PN}-apps" 64PACKAGES =+ "${PN}-apps"
59RRECOMMENDS_${PN} += "${PN}-apps" 65RRECOMMENDS_${PN} += "${PN}-apps"
60 66
61FILES_${PN}-apps += "/opt/neptune-ui/apps" 67FILES_${PN}-apps += "/usr/neptune-ui/apps"
62FILES_${PN} += "\ 68FILES_${PN} += "\
63 /opt/neptune-ui \ 69 /usr/neptune-ui \
70 ${datadir}/fonts/ttf \
64 " 71 "
65 72
66SYSTEMD_SERVICE_${PN} = "neptune.service" 73SYSTEMD_SERVICE_${PN} = "neptune.service"
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf
index 61818b8..1ef3732 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/appcontroller.conf
@@ -3,4 +3,5 @@ env=QT_IM_MODULE=qtvirtualkeyboard
3env=QT_QPA_EGLFS_FORCE888=0 3env=QT_QPA_EGLFS_FORCE888=0
4env=QT_QUICK_CONTROLS_1_STYLE=Flat 4env=QT_QUICK_CONTROLS_1_STYLE=Flat
5env=XDG_RUNTIME_DIR=/tmp 5env=XDG_RUNTIME_DIR=/tmp
6env=QTWEBENGINE_DISABLE_SANDBOX=1
6base=linux 7base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf
index db9fe89..4fa1931 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/colibri-vf/appcontroller.conf
@@ -5,4 +5,5 @@ env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins
5env=QT_IM_MODULE=qtvirtualkeyboard 5env=QT_IM_MODULE=qtvirtualkeyboard
6env=QT_QUICK_CONTROLS_1_STYLE=Flat 6env=QT_QUICK_CONTROLS_1_STYLE=Flat
7env=XDG_RUNTIME_DIR=/tmp 7env=XDG_RUNTIME_DIR=/tmp
8env=QTWEBENGINE_DISABLE_SANDBOX=1
8base=linux 9base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf
index 83f3876..2bc6eca 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf
@@ -3,6 +3,8 @@ env=QT_QPA_EGLFS_HIDECURSOR=1
3env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins 3env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins
4env=QT_IM_MODULE=qtvirtualkeyboard 4env=QT_IM_MODULE=qtvirtualkeyboard
5env=QTGLESSTREAM_DISPLAY=192.168.56.1 5env=QTGLESSTREAM_DISPLAY=192.168.56.1
6env=SIMULATOR_HOSTNAME=192.168.56.1
6env=QT_QUICK_CONTROLS_1_STYLE=Flat 7env=QT_QUICK_CONTROLS_1_STYLE=Flat
7env=XDG_RUNTIME_DIR=/tmp 8env=XDG_RUNTIME_DIR=/tmp
9env=QTWEBENGINE_DISABLE_SANDBOX=1
8base=linux 10base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf
index 4608bfe..4e3415f 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/mx6/appcontroller.conf
@@ -6,4 +6,5 @@ env=QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/event0
6env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4l2videosrc,v4l2src 6env=QT_GSTREAMER_CAMERABIN_VIDEOSRC=mxc_v4l2=imxv4l2videosrc,v4l2src
7env=QT_QUICK_CONTROLS_1_STYLE=Flat 7env=QT_QUICK_CONTROLS_1_STYLE=Flat
8env=XDG_RUNTIME_DIR=/tmp 8env=XDG_RUNTIME_DIR=/tmp
9env=QTWEBENGINE_DISABLE_SANDBOX=1
9base=linux 10base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf
index 71a4f4f..b27315e 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/mx7/appcontroller.conf
@@ -5,4 +5,5 @@ env=QSG_RENDER_LOOP=basic
5env=QT_IM_MODULE=qtvirtualkeyboard 5env=QT_IM_MODULE=qtvirtualkeyboard
6env=QT_QUICK_CONTROLS_1_STYLE=Flat 6env=QT_QUICK_CONTROLS_1_STYLE=Flat
7env=XDG_RUNTIME_DIR=/tmp 7env=XDG_RUNTIME_DIR=/tmp
8env=QTWEBENGINE_DISABLE_SANDBOX=1
8base=linux 9base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf
index aad2161..0915343 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/rpi/appcontroller.conf
@@ -3,4 +3,5 @@ env=QT_IM_MODULE=qtvirtualkeyboard
3env=QT_QPA_EGLFS_FORCE888=1 3env=QT_QPA_EGLFS_FORCE888=1
4env=QT_QUICK_CONTROLS_1_STYLE=Flat 4env=QT_QUICK_CONTROLS_1_STYLE=Flat
5env=XDG_RUNTIME_DIR=/tmp 5env=XDG_RUNTIME_DIR=/tmp
6env=QTWEBENGINE_DISABLE_SANDBOX=1
6base=linux 7base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf
index 0b7ae16..21bb44c 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/tegra-t18x/appcontroller.conf
@@ -4,4 +4,5 @@ env=QT_QPA_EGLFS_FORCE888=0
4env=QT_QUICK_CONTROLS_1_STYLE=Flat 4env=QT_QUICK_CONTROLS_1_STYLE=Flat
5env=XDG_RUNTIME_DIR=/tmp 5env=XDG_RUNTIME_DIR=/tmp
6env=QSG_RENDER_LOOP=basic 6env=QSG_RENDER_LOOP=basic
7env=QTWEBENGINE_DISABLE_SANDBOX=1
7base=linux 8base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf
index 4935581..37284de 100644
--- a/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf
+++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/ti33x/appcontroller.conf
@@ -4,4 +4,5 @@ env=QT_QPA_EGLFS_FORCE888=0
4env=QT_QUICK_CONTROLS_1_STYLE=Flat 4env=QT_QUICK_CONTROLS_1_STYLE=Flat
5env=QT_QPA_EGLFS_INTEGRATION=none 5env=QT_QPA_EGLFS_INTEGRATION=none
6env=XDG_RUNTIME_DIR=/tmp 6env=XDG_RUNTIME_DIR=/tmp
7env=QTWEBENGINE_DISABLE_SANDBOX=1
7base=linux 8base=linux
diff --git a/recipes-qt/b2qt-addons/b2qt-demos.bb b/recipes-qt/b2qt-addons/b2qt-demos.bb
index b816a11..3726482 100644
--- a/recipes-qt/b2qt-addons/b2qt-demos.bb
+++ b/recipes-qt/b2qt-addons/b2qt-demos.bb
@@ -33,7 +33,7 @@ LIC_FILES_CHKSUM = "file://about-b2qt/AboutBoot2Qt.qml;md5=b0a1a6eef4a172b0a8cb4
33 33
34inherit qmake5 34inherit qmake5
35 35
36QT_GIT_PROJECT = "" 36QT_GIT_PROJECT=""
37 37
38SRC_URI = " \ 38SRC_URI = " \
39 ${QT_GIT}qt-apps/boot2qt-demos.git;branch=${BRANCH};name=demos \ 39 ${QT_GIT}qt-apps/boot2qt-demos.git;branch=${BRANCH};name=demos \
@@ -44,12 +44,12 @@ SRC_URI = " \
44 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \ 44 https://s3-eu-west-1.amazonaws.com/qt-files/examples/Videos/Qt+World+Summit+2015+Recap.mp4;name=video2 \
45 " 45 "
46 46
47PV = "5.9.5+git${SRCPV}" 47PV = "5.11.0+git${SRCPV}"
48 48
49BRANCH = "5.7" 49BRANCH = "5.10"
50BROWSER_BRANCH = "dev" 50BROWSER_BRANCH = "dev"
51QT_BRANCH = "5.7" 51QT_BRANCH = "5.10"
52SRCREV_demos = "cd9f0c40f30226c7ce1c3259aea8ebca08acfbb8" 52SRCREV_demos = "f9c7da64cea85d44998e62f4e0d3ec217a22f0d2"
53SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a" 53SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a"
54SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1" 54SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1"
55SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd" 55SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd"
@@ -77,6 +77,7 @@ do_install_append() {
77 # but none of the source files 77 # but none of the source files
78 find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete 78 find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete
79 rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser 79 rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser
80 rm -rf ${D}/data/user/qt/qtwebbrowser/qmldir
80 81
81 if [ -d ${WORKDIR}/git/images ]; then 82 if [ -d ${WORKDIR}/git/images ]; then
82 install -d 0755 ${D}/data/images 83 install -d 0755 ${D}/data/images
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb b/recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb
deleted file mode 100644
index 0692fc0..0000000
--- a/recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb
+++ /dev/null
@@ -1,63 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30DESCRIPTION = "Proxy daemon for QtSimulator"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://proxy.h;md5=709ec9e3c40137fa6068a903c57acdc1;beginline=1;endline=17"
33
34inherit qmake5
35
36SRC_URI = " \
37 git://codereview.qt-project.org/tqtc-boot2qt/emulator;branch=${BRANCH};protocol=ssh \
38 file://emulatorproxyd.sh \
39 file://emulatorproxy.service \
40 "
41
42SRCREV = "ab4a9f13831f44f3dcd375fa17ed7e102647febe"
43BRANCH = "master"
44PV = "1.0+git${SRCPV}"
45
46S = "${WORKDIR}/git/src/helperlibs/proxy"
47
48DEPENDS = "qtbase qtsimulator"
49
50do_install_append() {
51 install -m 0755 -d ${D}${sysconfdir}/init.d
52 install -m 0755 ${WORKDIR}/emulatorproxyd.sh ${D}${sysconfdir}/init.d/
53
54 install -m 0755 -d ${D}${systemd_unitdir}/system
55 install -m 0644 ${WORKDIR}/emulatorproxy.service ${D}${systemd_unitdir}/system/
56}
57
58INITSCRIPT_NAME = "emulatorproxyd.sh"
59INITSCRIPT_PARAMS = "defaults 97 10"
60
61SYSTEMD_SERVICE_${PN} = "emulatorproxy.service"
62
63inherit update-rc.d systemd
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb b/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb
deleted file mode 100644
index b9acd13..0000000
--- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb
+++ /dev/null
@@ -1,63 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30DESCRIPTION = "SD-Card mount daemon for Emulator"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://sdcardmountd.h;md5=709ec9e3c40137fa6068a903c57acdc1;beginline=1;endline=17"
33
34inherit qmake5
35
36SRC_URI = " \
37 git://codereview.qt-project.org/tqtc-boot2qt/emulator;branch=${BRANCH};protocol=ssh \
38 file://sdcardmountd.sh \
39 file://sdcardmount.service \
40 "
41
42SRCREV = "ab4a9f13831f44f3dcd375fa17ed7e102647febe"
43BRANCH = "master"
44PV = "1.0+git${SRCPV}"
45
46S = "${WORKDIR}/git/src/helperlibs/sdcarddaemon"
47
48DEPENDS = "qtbase qtsimulator"
49
50do_install_append() {
51 install -m 0755 -d ${D}${sysconfdir}/init.d
52 install -m 0755 ${WORKDIR}/sdcardmountd.sh ${D}${sysconfdir}/init.d/
53
54 install -m 0755 -d ${D}${systemd_unitdir}/system
55 install -m 0644 ${WORKDIR}/sdcardmount.service ${D}${systemd_unitdir}/system/
56}
57
58INITSCRIPT_NAME = "sdcardmountd.sh"
59INITSCRIPT_PARAMS = "defaults 97 10"
60
61SYSTEMD_SERVICE_${PN} = "sdcardmount.service"
62
63inherit update-rc.d systemd
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmount.service b/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmount.service
deleted file mode 100644
index 1171089..0000000
--- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmount.service
+++ /dev/null
@@ -1,9 +0,0 @@
1[Unit]
2Description=QtSimulator SD Card Mount Daemon
3After=systemd-user-sessions.service
4
5[Service]
6ExecStart=/usr/bin/sdcardmountd
7
8[Install]
9WantedBy=multi-user.target
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh b/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh
deleted file mode 100755
index 0849cc7..0000000
--- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh
+++ /dev/null
@@ -1,49 +0,0 @@
1#!/bin/sh
2############################################################################
3##
4## Copyright (C) 2016 The Qt Company Ltd.
5## Contact: https://www.qt.io/licensing/
6##
7## This file is part of the Boot to Qt meta layer.
8##
9## $QT_BEGIN_LICENSE:GPL$
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see https://www.qt.io/terms-conditions. For further
16## information use the contact form at https://www.qt.io/contact-us.
17##
18## GNU General Public License Usage
19## Alternatively, this file may be used under the terms of the GNU
20## General Public License version 3 or (at your option) any later version
21## approved by the KDE Free Qt Foundation. The licenses are as published by
22## the Free Software Foundation and appearing in the file LICENSE.GPL3
23## included in the packaging of this file. Please review the following
24## information to ensure the GNU General Public License requirements will
25## be met: https://www.gnu.org/licenses/gpl-3.0.html.
26##
27## $QT_END_LICENSE$
28##
29############################################################################
30
31DAEMON=/usr/bin/sdcardmountd
32
33case "$1" in
34start)
35 start-stop-daemon --start --quiet --exec $DAEMON &
36 ;;
37stop)
38 start-stop-daemon --stop --quiet --exec $DAEMON
39 ;;
40restart)
41 start-stop-daemon --stop --quiet --exec $DAEMON
42 sleep 1
43 start-stop-daemon --start --quiet --exec $DAEMON &
44 ;;
45*)
46 echo "Usage: $0 {start|stop|restart}"
47 exit 1
48esac
49exit 0
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher.bb b/recipes-qt/b2qt-addons/b2qt-launcher.bb
index 0a0a21f..225079d 100644
--- a/recipes-qt/b2qt-addons/b2qt-launcher.bb
+++ b/recipes-qt/b2qt-addons/b2qt-launcher.bb
@@ -43,7 +43,7 @@ SRC_URI += " \
43 file://b2qt.service \ 43 file://b2qt.service \
44 " 44 "
45 45
46SRCREV = "7ff96b74f8721dbaf50722561770815a4530b6a0" 46SRCREV = "8d7fe0e4b8852a16469a6d0fe910309e8964ab58"
47 47
48DEPENDS = "qtbase qtdeclarative \ 48DEPENDS = "qtbase qtdeclarative \
49 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" 49 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}"
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service b/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service
new file mode 100644
index 0000000..65fba92
--- /dev/null
+++ b/recipes-qt/b2qt-addons/b2qt-launcher/emulator/b2qt.service
@@ -0,0 +1,10 @@
1[Unit]
2Description=B2Qt user application
3After=multi-user.target
4ConditionPathExists=/usr/bin/b2qt
5
6[Service]
7ExecStart=-/usr/bin/appcontroller /usr/bin/b2qt
8
9[Install]
10WantedBy=custom.target
diff --git a/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service b/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service
new file mode 100644
index 0000000..2b02c87
--- /dev/null
+++ b/recipes-qt/b2qt-addons/b2qt-launcher/emulator/qtlauncher.service
@@ -0,0 +1,11 @@
1[Unit]
2Description=B2Qt Launcher Demo
3After=multi-user.target
4
5ConditionPathExists=!/usr/bin/b2qt
6
7[Service]
8ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt
9
10[Install]
11WantedBy=custom.target
diff --git a/recipes-qt/b2qt-addons/qdbd.bb b/recipes-qt/b2qt-addons/qdbd.bb
index c98e682..7e56592 100644
--- a/recipes-qt/b2qt-addons/qdbd.bb
+++ b/recipes-qt/b2qt-addons/qdbd.bb
@@ -46,8 +46,8 @@ SRC_URI += "file://b2qt-gadget-network.sh \
46 file://qdbd-init.sh \ 46 file://qdbd-init.sh \
47 " 47 "
48 48
49SRCREV = "430e26a747c1df605d1f6b55f4a7f7125d100dca" 49SRCREV = "ade3c7f1978f608e3d1c9520552c7345939aa567"
50PV = "1.0.0+git${SRCPV}" 50PV = "1.0.2+git${SRCPV}"
51 51
52REQUIRED_DISTRO_FEATURES = "systemd" 52REQUIRED_DISTRO_FEATURES = "systemd"
53DEPENDS = "qtbase" 53DEPENDS = "qtbase"
diff --git a/recipes-qt/b2qt-addons/qdbd/defaults b/recipes-qt/b2qt-addons/qdbd/defaults
index cb4a78f..5ced90d 100644
--- a/recipes-qt/b2qt-addons/qdbd/defaults
+++ b/recipes-qt/b2qt-addons/qdbd/defaults
@@ -5,3 +5,4 @@ if [ -e /sys/class/net/eth0/address ]; then
5else 5else
6 SERIAL=$(hostname)-$(cat /etc/machine-id) 6 SERIAL=$(hostname)-$(cat /etc/machine-id)
7fi 7fi
8export QT_HASH_SEED=0
diff --git a/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb b/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
index 3752fc0..5595cc6 100644
--- a/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
+++ b/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
@@ -38,7 +38,7 @@ S = "${WORKDIR}"
38 38
39inherit qbsp 39inherit qbsp
40 40
41PV := "${@d.getVar('PV', True)[0:5]}" 41PV := "${@d.getVar('PV', True).split('+')[0]}"
42 42
43QBSP_NAME = "Automotive ${PV}" 43QBSP_NAME = "Automotive ${PV}"
44QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" 44QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}"
diff --git a/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb b/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb
index 1d0b018..dc2873f 100644
--- a/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb
+++ b/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb
@@ -38,7 +38,7 @@ S = "${WORKDIR}"
38 38
39inherit qbsp 39inherit qbsp
40 40
41PV := "${@d.getVar('PV', True)[0:5]}" 41PV := "${@d.getVar('PV', True).split('+')[0]}"
42 42
43VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}" 43VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}"
44QBSP_NAME = "Boot2Qt ${PV}" 44QBSP_NAME = "Boot2Qt ${PV}"
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb
index 1ba6d97..7ce53c6 100644
--- a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb
+++ b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb
@@ -31,7 +31,7 @@ DESCRIPTION = "Host packages for B2Qt automotive Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1" 31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0" 32PR = "r0"
33 33
34inherit nativesdk packagegroup qtquickcompiler 34inherit nativesdk packagegroup
35 35
36RDEPENDS_${PN} += "\ 36RDEPENDS_${PN} += "\
37 nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host \ 37 nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host \
diff --git a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
index c3f07b8..3ce2e79 100644
--- a/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
+++ b/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
@@ -31,7 +31,7 @@ DESCRIPTION = "Host packages for B2Qt embedded Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1" 31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0" 32PR = "r0"
33 33
34inherit nativesdk packagegroup qtquickcompiler 34inherit nativesdk packagegroup
35 35
36python __anonymous() { 36python __anonymous() {
37 overrides = d.getVar("OVERRIDES", True).split(":") 37 overrides = d.getVar("OVERRIDES", True).split(":")
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
index 7a22951..2af00da 100644
--- a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
+++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
@@ -31,7 +31,7 @@ DESCRIPTION = "Target packages for B2Qt embedded Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1" 31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0" 32PR = "r0"
33 33
34inherit packagegroup qtquickcompiler 34inherit packagegroup
35 35
36PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" 36PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
37 37
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb b/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
index 8ad37d8..a79d596 100644
--- a/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
+++ b/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
@@ -73,6 +73,7 @@ RDEPENDS_${PN} += " \
73 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qttranslations-qtwebengine qtwebview', '', d)} \ 73 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qttranslations-qtwebengine qtwebview', '', d)} \
74 qtwebsockets \ 74 qtwebsockets \
75 qtwebchannel \ 75 qtwebchannel \
76 qtwebglplugin \
76 qtxmlpatterns \ 77 qtxmlpatterns \
77 qtvirtualkeyboard \ 78 qtvirtualkeyboard \
78 " 79 "
diff --git a/recipes-qt/qt5-addons/installer-framework_3.0.1.bb b/recipes-qt/qt5-addons/installer-framework-native_3.0.1.bb
index 5bc09c0..5bc09c0 100644
--- a/recipes-qt/qt5-addons/installer-framework_3.0.1.bb
+++ b/recipes-qt/qt5-addons/installer-framework-native_3.0.1.bb
diff --git a/recipes-qt/qt5-addons/qtglesstream.bb b/recipes-qt/qt5-addons/qtglesstream.bb
index bbf3d00..0f942e7 100644
--- a/recipes-qt/qt5-addons/qtglesstream.bb
+++ b/recipes-qt/qt5-addons/qtglesstream.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -29,7 +29,7 @@
29 29
30DESCRIPTION = "QtGlesStream" 30DESCRIPTION = "QtGlesStream"
31LICENSE = "The-Qt-Company-DCLA-2.1" 31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=e95d9351d26ed899188e02d44133cae0" 32LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=875f34471470b09977705aed7863e440"
33 33
34inherit qt5-module 34inherit qt5-module
35 35
@@ -38,14 +38,12 @@ SRC_URI = " \
38 " 38 "
39 39
40PV = "1.0.0" 40PV = "1.0.0"
41SRCREV = "114e5a1941f831d082395ed80a017f45d3b71a63" 41SRCREV = "37f98d4b7123378d1ade7beedf5c5150cd26e178"
42BRANCH = "dev" 42BRANCH = "dev"
43 43
44S = "${WORKDIR}/git" 44S = "${WORKDIR}/git"
45 45
46DEPENDS = "qtbase" 46DEPENDS = "qtbase"
47RREPLACES_${PN} = "qtglesstream-dummy-client"
48RREPLACES_${PN}-dev = "qtglesstream-dummy-client-dev"
49 47
50do_install_append() { 48do_install_append() {
51 install -m 0755 -d ${D}${includedir}/EGL 49 install -m 0755 -d ${D}${includedir}/EGL
diff --git a/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb b/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb
deleted file mode 100644
index b21b2ce..0000000
--- a/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb
+++ /dev/null
@@ -1,78 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30DESCRIPTION = "Qt Quick Compiler using prebuilt binaries from Qt SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
33
34inherit allarch qmake5_paths
35
36SRC_URI = "http://download.qt.io/development_releases/prebuilt/mingw_32/i686-4.9.2-release-posix-dwarf-rt_v3-rev1-runtime.7z"
37
38SRC_URI[md5sum] = "a7d673c4ad8bcef9e464ea5386492cb3"
39SRC_URI[sha256sum] = "f7e58b0fb1f5aa4c23eefdc60abb88cb642eaa272fb741dca23068c70ca86542"
40
41S = "${WORKDIR}"
42
43NATIVESDK_BINARY = "qtquickcompiler"
44NATIVESDK_BINARY_mingw32 = "qtquickcompiler.exe"
45
46do_install() {
47 install -d ${D}${OE_QMAKE_PATH_ARCHDATA}/mkspecs/features
48 install -m 0755 ${THISDIR}/qtquickcompiler-sdk/mkspecs/features/qtquickcompiler.prf ${D}${OE_QMAKE_PATH_ARCHDATA}/mkspecs/features
49 install -d ${D}${OE_QMAKE_PATH_ARCHDATA}/cmake/Qt5QuickCompiler
50 install -m 0644 ${THISDIR}/qtquickcompiler-sdk/lib/cmake/Qt5QuickCompiler/Qt5QuickCompilerConfig.cmake ${D}${OE_QMAKE_PATH_ARCHDATA}/cmake/Qt5QuickCompiler
51
52 if [ "${PN}" = "qtquickcompiler-sdk-native" ]; then
53 install -d ${D}${OE_QMAKE_PATH_BINS}
54 install -m 0755 ${THISDIR}/qtquickcompiler-sdk/bin/qtquickcompiler ${D}${OE_QMAKE_PATH_BINS}
55 elif [ "${PN}" = "nativesdk-qtquickcompiler-sdk" ]; then
56 install -d ${D}${OE_QMAKE_PATH_BINS}
57 install -m 0755 ${THISDIR}/qtquickcompiler-sdk/bin/${NATIVESDK_BINARY} ${D}${OE_QMAKE_PATH_BINS}
58 fi
59
60 # Use the EffectivePath instead of installation path
61 sed -i -e 's|QT_HOST_BINS|QT_HOST_BINS/get|' ${D}${OE_QMAKE_PATH_ARCHDATA}/mkspecs/features/qtquickcompiler.prf
62}
63
64do_install_append_mingw32() {
65 if [ "${PN}" = "nativesdk-qtquickcompiler-sdk" ]; then
66 install -m 0644 ${WORKDIR}/libgcc_s_dw2-1.dll ${D}${OE_QMAKE_PATH_BINS}
67 install -m 0644 ${WORKDIR}/libwinpthread-1.dll ${D}${OE_QMAKE_PATH_BINS}
68 fi
69}
70
71INHIBIT_PACKAGE_STRIP = "1"
72ALLOW_EMPTY_${PN} = "1"
73PACKAGES =+ "${PN}-tools"
74FILES_${PN}-tools = "${OE_QMAKE_PATH_BINS}"
75FILES_${PN}-dev = "${OE_QMAKE_PATH_ARCHDATA}"
76INSANE_SKIP_${PN} += "already-stripped"
77
78BBCLASSEXTEND = "native nativesdk"
diff --git a/recipes-qt/qt5-addons/qtsimulator/custom.target b/recipes-qt/qt5-addons/qtsimulator/custom.target
new file mode 100644
index 0000000..05b2268
--- /dev/null
+++ b/recipes-qt/qt5-addons/qtsimulator/custom.target
@@ -0,0 +1,5 @@
1[Unit]
2Description=Custom Target
3Requires=multi-user.target
4After=multi-user.target
5AllowIsolate=yes
diff --git a/recipes-qt/qt5-addons/qtsimulator/emulator b/recipes-qt/qt5-addons/qtsimulator/emulator
new file mode 100644
index 0000000..aa4a718
--- /dev/null
+++ b/recipes-qt/qt5-addons/qtsimulator/emulator
@@ -0,0 +1 @@
SIMULATOR_HOSTNAME=192.168.56.1
diff --git a/recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh b/recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh
new file mode 100644
index 0000000..c1a6954
--- /dev/null
+++ b/recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh
@@ -0,0 +1 @@
export SIMULATOR_HOSTNAME=192.168.56.1
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxy.service b/recipes-qt/qt5-addons/qtsimulator/emulatorproxy.service
index 7a709fd..baf0296 100644
--- a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxy.service
+++ b/recipes-qt/qt5-addons/qtsimulator/emulatorproxy.service
@@ -1,10 +1,11 @@
1[Unit] 1[Unit]
2Description=QtSimulator Proxy Daemon 2Description=QtSimulator Proxy Daemon
3After=systemd-user-sessions.service 3After=multi-user.target
4 4
5[Service] 5[Service]
6Type=forking 6Type=forking
7ExecStart=/usr/bin/emulatorproxyd 7ExecStart=/usr/bin/emulatorproxyd
8EnvironmentFile=/etc/default/emulator
8 9
9[Install] 10[Install]
10WantedBy=multi-user.target 11WantedBy=custom.target
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxyd.sh b/recipes-qt/qt5-addons/qtsimulator/emulatorproxyd.sh
index d73f1e7..d73f1e7 100755
--- a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxyd.sh
+++ b/recipes-qt/qt5-addons/qtsimulator/emulatorproxyd.sh
diff --git a/recipes-qt/qt5-addons/qtsimulator_1.0.bb b/recipes-qt/qt5-addons/qtsimulator_1.0.bb
index 4d46679..c4c8d21 100644
--- a/recipes-qt/qt5-addons/qtsimulator_1.0.bb
+++ b/recipes-qt/qt5-addons/qtsimulator_1.0.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -29,17 +29,46 @@
29 29
30DESCRIPTION = "QtSimulator" 30DESCRIPTION = "QtSimulator"
31LICENSE = "The-Qt-Company-DCLA-2.1" 31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://src/simulator/version.h;md5=eb588a9fa3a2a45f725e9eb9f864e74b;beginline=1;endline=17" 32LIC_FILES_CHKSUM = "file://src/simulator/simulatorglobal.h;md5=3daa1a609195439d0292259a74c7d615;beginline=1;endline=20"
33 33
34inherit qt5-module 34inherit qt5-module
35 35
36SRC_URI = " \ 36SRC_URI = " \
37 git://codereview.qt-project.org/tqtc-boot2qt/qtsimulator;branch=${BRANCH};protocol=ssh \ 37 git://codereview.qt-project.org/tqtc-boot2qt/qtsimulator;branch=${BRANCH};protocol=ssh \
38 file://emulatorproxyd.sh \
39 file://emulatorproxy.service \
40 file://emulator-hostname.sh \
41 file://emulator \
42 file://custom.target \
38 " 43 "
39 44
40SRCREV = "0307e85a8d3a8b83a346aa3910e88aabb7b7b2ac" 45SRCREV = "f98633ebee7dbce79c00fbfec86537c6330e2b5f"
41BRANCH = "master" 46BRANCH = "master"
42 47
43S = "${WORKDIR}/git" 48S = "${WORKDIR}/git"
44 49
45DEPENDS = "qtbase" 50DEPENDS = "qtbase"
51RRECOMMENDS_${PN} += "${PN}-tools"
52
53# Proxy daemon for QtSimulator
54do_install_append() {
55 install -m 0755 -d ${D}${sysconfdir}/init.d
56 install -m 0755 ${WORKDIR}/emulatorproxyd.sh ${D}${sysconfdir}/init.d/
57
58 install -m 0755 -d ${D}${systemd_unitdir}/system
59 install -m 0644 ${WORKDIR}/emulatorproxy.service ${D}${systemd_unitdir}/system/
60 install -m 0644 ${WORKDIR}/custom.target ${D}${systemd_unitdir}/system/
61
62 install -m 0755 -d ${D}${sysconfdir}/profile.d
63 install -m 0644 ${WORKDIR}/emulator-hostname.sh ${D}${sysconfdir}/profile.d/
64
65 install -m 0755 -d ${D}${sysconfdir}/default
66 install -m 0644 ${WORKDIR}/emulator ${D}${sysconfdir}/default/
67}
68
69INITSCRIPT_NAME = "emulatorproxyd.sh"
70INITSCRIPT_PARAMS = "defaults 97 10"
71
72SYSTEMD_SERVICE_${PN} = "emulatorproxy.service custom.target"
73
74inherit update-rc.d systemd
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bbappend b/recipes-qt/qt5/nativesdk-qtbase_git.bbappend
index d79bf57..2ae2206 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bbappend
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bbappend
@@ -40,3 +40,5 @@ PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl"
40 40
41fakeroot do_generate_qt_environment_file_mingw32() { 41fakeroot do_generate_qt_environment_file_mingw32() {
42} 42}
43
44SRC_URI_append_mingw32 = "file://0001-disable-qt_random_cpu.patch"
diff --git a/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch b/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch
new file mode 100644
index 0000000..26c7838
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch
@@ -0,0 +1,25 @@
1From 655618933b78f53bb4338c8b7e3109da780ad3c6 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 23 Nov 2017 11:28:47 +0200
4Subject: [PATCH] disable qt_random_cpu
5
6The code caused internal compiler error when compiling for mingw32
7
8Change-Id: Ieba798a9599a6d683c6630c6cd3731b2b909b628
9---
10 src/corelib/global/qrandom.cpp | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp
14index 6769190..c1a775a 100644
15--- a/src/corelib/global/qrandom.cpp
16+++ b/src/corelib/global/qrandom.cpp
17@@ -92,7 +92,7 @@ DECLSPEC_IMPORT BOOLEAN WINAPI SystemFunction036(PVOID RandomBuffer, ULONG Rando
18
19 QT_BEGIN_NAMESPACE
20
21-#if defined(Q_PROCESSOR_X86) && QT_COMPILER_SUPPORTS_HERE(RDRND)
22+#if 0
23 static qsizetype qt_random_cpu(void *buffer, qsizetype count) Q_DECL_NOTHROW;
24
25 # ifdef Q_PROCESSOR_X86_64
diff --git a/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri b/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri
index 43e1685..d29adb2 100644
--- a/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri
+++ b/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri
@@ -3,4 +3,4 @@ QMAKE_LIBS_OPENGL_ES2 = -lQtGlesStreamClient
3 3
4QMAKE_PLATFORM += boot2qt 4QMAKE_PLATFORM += boot2qt
5QT_QPA_DEFAULT_PLATFORM = eglfs 5QT_QPA_DEFAULT_PLATFORM = eglfs
6EGLFS_DEVICE_INTEGRATION = none 6EGLFS_DEVICE_INTEGRATION = eglfs_emu
diff --git a/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri b/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri
new file mode 100644
index 0000000..d4c14ca
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri
@@ -0,0 +1,4 @@
1QMAKE_PLATFORM += boot2qt
2
3QT_QPA_DEFAULT_PLATFORM = eglfs
4EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
diff --git a/recipes-qt/qt5/qtbase_git.bbappend b/recipes-qt/qt5/qtbase_git.bbappend
index 7685c5a..e7c7adf 100644
--- a/recipes-qt/qt5/qtbase_git.bbappend
+++ b/recipes-qt/qt5/qtbase_git.bbappend
@@ -43,7 +43,6 @@ PACKAGECONFIG += " \
43 icu \ 43 icu \
44 libinput \ 44 libinput \
45 linuxfb \ 45 linuxfb \
46 qml-debug \
47 sql-sqlite \ 46 sql-sqlite \
48 tslib \ 47 tslib \
49 xkbcommon-evdev \ 48 xkbcommon-evdev \
diff --git a/recipes-qt/qt5/qtdeclarative_git.bbappend b/recipes-qt/qt5/qtdeclarative_git.bbappend
new file mode 100644
index 0000000..d9144a8
--- /dev/null
+++ b/recipes-qt/qt5/qtdeclarative_git.bbappend
@@ -0,0 +1,32 @@
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
30FILES_${PN}-plugins_mingw32 = " \
31 ${OE_QMAKE_PATH_PLUGINS}/*/*.dll \
32"
diff --git a/recipes-qt/qt5/qtdeviceutilities.bb b/recipes-qt/qt5/qtdeviceutilities.bb
index 60b5534..7405424 100644
--- a/recipes-qt/qt5/qtdeviceutilities.bb
+++ b/recipes-qt/qt5/qtdeviceutilities.bb
@@ -39,6 +39,6 @@ PACKAGECONFIG[wpasupplicant] = "CONFIG+=wpasupplicant,,wpa-supplicant"
39 39
40EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}" 40EXTRA_QMAKEVARS_PRE += "${PACKAGECONFIG_CONFARGS}"
41 41
42SRCREV = "ade83ab2c5dc02a0e59c4abcf528bc3592179137" 42SRCREV = "796fff1debaa161483515779bb68999948d48c59"
43 43
44DEPENDS = "qtbase qtdeclarative qtconnectivity" 44DEPENDS = "qtbase qtdeclarative qtconnectivity"
diff --git a/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch b/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
new file mode 100644
index 0000000..ad4c7b8
--- /dev/null
+++ b/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
@@ -0,0 +1,23 @@
1From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Wed, 25 Oct 2017 13:22:16 +0300
4Subject: [PATCH] location: disable simulator content under plugins
5
6Does not build against more recent simulator
7---
8 src/plugins/position/position.pro | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro
12index 1687a9d..347963f 100644
13--- a/src/plugins/position/position.pro
14+++ b/src/plugins/position/position.pro
15@@ -5,7 +5,7 @@ QT_FOR_CONFIG += positioning-private
16 qtHaveModule(dbus):SUBDIRS += geoclue
17 qtConfig(gypsy):SUBDIRS += gypsy
18 qtConfig(winrt_geolocation):SUBDIRS += winrt
19-qtHaveModule(simulator):SUBDIRS += simulator
20+#qtHaveModule(simulator):SUBDIRS += simulator
21 osx|ios|tvos:SUBDIRS += corelocation
22 android:SUBDIRS += android
23 win32:qtHaveModule(serialport):SUBDIRS += serialnmea
diff --git a/recipes-qt/qt5/qtlocation_git.bbappend b/recipes-qt/qt5/qtlocation_git.bbappend
index 2a949eb..d6ee6a1 100644
--- a/recipes-qt/qt5/qtlocation_git.bbappend
+++ b/recipes-qt/qt5/qtlocation_git.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,5 +27,8 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" 30PACKAGECONFIG += "geoservices_mapboxgl"
31DEPENDS_append_emulator = " qtsimulator" 31
32FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
33
34SRC_URI += "file://0001-location-disable-simulator-content-under-plugins.patch"
diff --git a/recipes-qt/qt5/qtsystems_git.bbappend b/recipes-qt/qt5/qtsystems_git.bbappend
index 8ae3521..e8fe1f3 100644
--- a/recipes-qt/qt5/qtsystems_git.bbappend
+++ b/recipes-qt/qt5/qtsystems_git.bbappend
@@ -29,12 +29,3 @@
29 29
30EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" 30EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator"
31DEPENDS_append_emulator = " qtsimulator" 31DEPENDS_append_emulator = " qtsimulator"
32
33LIC_FILES_CHKSUM = " \
34 file://LICENSE.LGPLv21;md5=4193e7f1d47a858f6b7c0f1ee66161de \
35 file://LICENSE.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
36 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
37 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
38"
39
40SRCREV = "434af789f0d56ca7a521ca2d9ec8cf3b1057fd37"
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend b/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
index 59fb06b..4f48099 100644
--- a/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
+++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
@@ -27,6 +27,5 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30inherit qtquickcompiler 30PACKAGECONFIG_append = " hunspell"
31 31RDEPENDS_${PN} += "hunspell-dicts"
32PACKAGECONFIG = "lipi-toolkit lang-all hunspell"
diff --git a/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch b/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch
deleted file mode 100644
index 2af19e8..0000000
--- a/recipes-qt/qt5/qtwebengine/0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 4903971e1e4b58f03b0f636a1ab494bfbc5d76d4 Mon Sep 17 00:00:00 2001
2From: Michal Klocek <michal.klocek@theqtcompany.com>
3Date: Mon, 7 Dec 2015 15:48:32 +0200
4Subject: [PATCH] Fix slow video with webengine on nitrogen6x
5
6Disable texture_rg on nitrogen6x. Yocto
7image 1.8 has driver which reports opengl es 3.0
8support, however texture_rg does not
9work properly.
10---
11 src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc | 18 ------------------
12 1 file changed, 18 deletions(-)
13
14diff --git a/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc b/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc
15index 58aa147..4ab682a 100644
16--- a/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc
17+++ b/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.cc
18@@ -1258,26 +1258,6 @@ void FeatureInfo::InitializeFeatures() {
19 }
20 }
21
22- if ((gl_version_info_->is_es3 || gl_version_info_->is_desktop_core_profile ||
23- extensions.Contains("GL_EXT_texture_rg") ||
24- extensions.Contains("GL_ARB_texture_rg")) &&
25- IsGL_REDSupportedOnFBOs()) {
26- feature_flags_.ext_texture_rg = true;
27- AddExtensionString("GL_EXT_texture_rg");
28-
29- validators_.texture_format.AddValue(GL_RED_EXT);
30- validators_.texture_format.AddValue(GL_RG_EXT);
31- validators_.texture_internal_format.AddValue(GL_RED_EXT);
32- validators_.texture_internal_format.AddValue(GL_R8_EXT);
33- validators_.texture_internal_format.AddValue(GL_RG_EXT);
34- validators_.texture_internal_format.AddValue(GL_RG8_EXT);
35- validators_.read_pixel_format.AddValue(GL_RED_EXT);
36- validators_.read_pixel_format.AddValue(GL_RG_EXT);
37- validators_.render_buffer_format.AddValue(GL_R8_EXT);
38- validators_.render_buffer_format.AddValue(GL_RG8_EXT);
39- validators_.texture_unsized_internal_format.AddValue(GL_RED_EXT);
40- validators_.texture_unsized_internal_format.AddValue(GL_RG_EXT);
41- }
42 UMA_HISTOGRAM_BOOLEAN("GPU.TextureRG", feature_flags_.ext_texture_rg);
43
44 bool has_opengl_dual_source_blending =
45--
461.9.1
47
diff --git a/recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch b/recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch
new file mode 100644
index 0000000..2c0530e
--- /dev/null
+++ b/recipes/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch
@@ -0,0 +1,26 @@
1From 804c0ca68e18a3e83ccbf49d0476fce3eb739477 Mon Sep 17 00:00:00 2001
2From: Kari Oikarinen <kari.oikarinen@qt.io>
3Date: Mon, 11 Dec 2017 13:55:27 +0200
4Subject: [PATCH] Increase default playback volume
5
6It is too quiet otherwise on Apalis iMX6.
7---
8 alsactl/init/default | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/alsactl/init/default b/alsactl/init/default
12index 1c84f3e..af41576 100644
13--- a/alsactl/init/default
14+++ b/alsactl/init/default
15@@ -12,7 +12,7 @@
16
17 ENV{ppercent}:="75%"
18 ENV{cpercent}:="75%"
19-ENV{pvolume}:="-20dB"
20+ENV{pvolume}:="5dB"
21 ENV{cvolume}:="12dB"
22 ENV{has_pmaster_vol}:="false"
23
24--
252.11.0
26
diff --git a/recipes-qt/qt5/qtsensors_git.bbappend b/recipes/alsa-utils/alsa-utils_%.bbappend
index 655364b..ddb5c91 100644
--- a/recipes-qt/qt5/qtsensors_git.bbappend
+++ b/recipes/alsa-utils/alsa-utils_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,5 +27,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30EXTRA_QMAKEVARS_PRE_append_emulator = " SENSORS_PLUGINS=simulator" 30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31DEPENDS_append_emulator = " qtsimulator" 31
32SRC_URI_append_apalis-imx6 = "file://0001-Increase-default-playback-volume.patch"
diff --git a/recipes-qt/qt5/qtwebengine_git.bbappend b/recipes/binutils/binutils-cross_%.bbappend
index 9d4ef68..8a069ed 100644
--- a/recipes-qt/qt5/qtwebengine_git.bbappend
+++ b/recipes/binutils/binutils-cross_%.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,8 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" 30LDGOLD_sdkmingw32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
31
32SRC_URI_append_mx6 = " \
33 file://0001-Fix-slow-video-with-webengine-on-nitrogen6x.patch \
34 "
diff --git a/recipes/connman/connman_%.bbappend b/recipes/connman/connman_%.bbappend
index 0b03755..fda246a 100644
--- a/recipes/connman/connman_%.bbappend
+++ b/recipes/connman/connman_%.bbappend
@@ -21,4 +21,4 @@
21 21
22FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 22FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
23 23
24SRC_URI += "file://0001-disable-connman-when-booting-over-nfs.patch" 24SRC_URI += "file://0001-disable-connman-when-booting-over-nfs-${PV}.patch"
diff --git a/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
index f893746..f893746 100644
--- a/recipes/connman/files/0001-disable-connman-when-booting-over-nfs.patch
+++ b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
diff --git a/recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
new file mode 100644
index 0000000..8b46666
--- /dev/null
+++ b/recipes/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
@@ -0,0 +1,11 @@
1--- a/src/connman.service.in
2+++ b/src/connman.service.in
3@@ -7,6 +7,7 @@
4 Before=network.target multi-user.target shutdown.target
5 Wants=network.target
6 Conflicts=systemd-resolved.service
7+ConditionKernelCommandLine=!root=/dev/nfs
8
9 [Service]
10 Type=dbus
11
diff --git a/recipes/fonts/otf-noto_git.bb b/recipes/fonts/otf-noto_git.bb
index 3be53c2..093ee33 100644
--- a/recipes/fonts/otf-noto_git.bb
+++ b/recipes/fonts/otf-noto_git.bb
@@ -45,8 +45,7 @@ S = "${WORKDIR}/git"
45 45
46do_install() { 46do_install() {
47 install -m 0755 -d ${D}${datadir}/fonts/otf/noto 47 install -m 0755 -d ${D}${datadir}/fonts/otf/noto
48 install -m 0644 ${S}/NotoSansCJKsc-*.otf ${D}${datadir}/fonts/otf/noto 48 install -m 0644 ${S}/NotoSansCJKsc-Regular.otf ${D}${datadir}/fonts/otf/noto
49 install -m 0644 ${S}/NotoSansMonoCJKsc-*.otf ${D}${datadir}/fonts/otf/noto
50} 49}
51 50
52PACKAGES = "${PN}" 51PACKAGES = "${PN}"
diff --git a/recipes/fonts/ttf-opensans.bb b/recipes/fonts/ttf-opensans.bb
index 08e8421..1d581ac 100644
--- a/recipes/fonts/ttf-opensans.bb
+++ b/recipes/fonts/ttf-opensans.bb
@@ -29,21 +29,22 @@
29 29
30SUMMARY = "Open Sans Fonts" 30SUMMARY = "Open Sans Fonts"
31SECTION = "fonts" 31SECTION = "fonts"
32HOMEPAGE = "https://www.google.com/fonts" 32HOMEPAGE = "https://fonts.google.com"
33LICENSE = "Apache-2.0" 33LICENSE = "Apache-2.0"
34LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" 34LIC_FILES_CHKSUM = "file://apache/opensans/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87"
35 35
36INHIBIT_DEFAULT_DEPS = "1" 36INHIBIT_DEFAULT_DEPS = "1"
37 37
38inherit allarch fontcache 38inherit allarch fontcache
39 39
40SRC_URI = "https://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ;downloadfilename=Open_Sans.zip" 40SRC_URI = "git://github.com/google/fonts"
41# Google packs fonts package on demand which results in unpredictable md5sum, so disable checksum check 41SRCREV = "beaec0837bd21524b57ecb435158f9011fc03999"
42BB_STRICT_CHECKSUM = "" 42
43S = "${WORKDIR}/git"
43 44
44do_install() { 45do_install() {
45 install -m 0755 -d ${D}${datadir}/fonts/truetype/opensans 46 install -m 0755 -d ${D}${datadir}/fonts/truetype/opensans
46 install -m 0644 ${WORKDIR}/*.ttf ${D}${datadir}/fonts/truetype/opensans 47 install -m 0644 apache/opensans/*.ttf ${D}${datadir}/fonts/truetype/opensans
47} 48}
48 49
49PACKAGES = "${PN}" 50PACKAGES = "${PN}"
diff --git a/recipes/gdb/gdb-cross-canadian_7.%.bbappend b/recipes/gdb/gdb-cross-canadian_7.%.bbappend
index 452753d..4e55e66 100644
--- a/recipes/gdb/gdb-cross-canadian_7.%.bbappend
+++ b/recipes/gdb/gdb-cross-canadian_7.%.bbappend
@@ -27,13 +27,30 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend_sdkmingw32 := "${THISDIR}/${BPN}:"
31SRC_URI_append_sdkmingw32 = " file://0001-Do-not-use-win32-specific-filehandling.patch"
32
30DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python" 33DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python"
31RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" 34RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python"
32EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no" 35EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no"
33EXTRA_OECONF_append_sdkmingw32 = " --with-python" 36EXTRA_OECONF_append_sdkmingw32 = " --with-python=${WORKDIR}/python_win"
37CXXFLAGS_append_sdkmingw32 = " -D_hypot=hypot"
38
39do_configure_prepend_sdkmingw32() {
40cat > ${WORKDIR}/python_win << EOF
41#! /bin/sh
42case "\$2" in
43 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}" ;;
44 --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -lpython35" ;;
45 --exec-prefix) echo "${exec_prefix}" ;;
46 *) exit 1 ;;
47esac
48exit 0
49EOF
50 chmod +x ${WORKDIR}/python_win
51}
34 52
35do_install_append_sdkmingw32() { 53do_install_append_sdkmingw32() {
36 mkdir -p ${D}${bindir}/lib 54 ln -s ../python35.dll ${D}${bindir}/
37 cp -r ${STAGING_DIR_HOST}${exec_prefix}/lib/python2.7/* -d ${D}${bindir}/lib 55 ln -s ../python35.zip ${D}${bindir}/
38 cp ${STAGING_DIR_HOST}${exec_prefix}/bin/python27.dll ${D}${bindir}
39} 56}
diff --git a/recipes/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch b/recipes/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch
new file mode 100644
index 0000000..c9a20ed
--- /dev/null
+++ b/recipes/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch
@@ -0,0 +1,24 @@
1From 3c928a3bf8d873f6173a076da6e4c1bc85e9a3a0 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 28 Jun 2017 20:41:49 +0300
4Subject: [PATCH] Do not use win32 specific filehandling
5
6PyFile_FromString and PyFile_AsFile are no longer available in python3
7see https://sourceware.org/bugzilla/show_bug.cgi?id=15600
8---
9 gdb/python/python.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/gdb/python/python.c b/gdb/python/python.c
13index 9bccaa9..1d58dff 100644
14--- a/gdb/python/python.c
15+++ b/gdb/python/python.c
16@@ -374,7 +374,7 @@ python_interactive_command (char *arg, int from_tty)
17 static void
18 python_run_simple_file (FILE *file, const char *filename)
19 {
20-#ifndef _WIN32
21+#ifdef _WIN32
22
23 PyRun_SimpleFile (file, filename);
24
diff --git a/recipes/gnutls/files/check_SYS_getrandom.patch b/recipes/gnutls/files/check_SYS_getrandom.patch
deleted file mode 100644
index 50693bf..0000000
--- a/recipes/gnutls/files/check_SYS_getrandom.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From f26c3979ab0325edb2e410d287bc501cf00e0ac0 Mon Sep 17 00:00:00 2001
2From: Nikos Mavrogiannopoulos <nmav@redhat.com>
3Date: Mon, 22 Aug 2016 16:32:34 +0200
4Subject: [PATCH] rnd-linux: added check for SYS_getrandom being defined
5
6This allows to compile the getrandom() code in old Linux systems
7which do not have the system call defined.
8---
9
10Upstream-Status: Backport
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13 lib/nettle/rnd-linux.c | 6 +++++-
14 1 file changed, 5 insertions(+), 1 deletion(-)
15
16diff --git a/lib/nettle/rnd-linux.c b/lib/nettle/rnd-linux.c
17index d7f07a6..7a24d05 100644
18--- a/lib/nettle/rnd-linux.c
19+++ b/lib/nettle/rnd-linux.c
20@@ -56,7 +56,11 @@ static dev_t _gnutls_urandom_fd_rdev = 0;
21 # else
22 # include <sys/syscall.h>
23 # undef getrandom
24-# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags)
25+# if defined(SYS_getrandom)
26+# define getrandom(dst,s,flags) syscall(SYS_getrandom, (void*)dst, (size_t)s, (unsigned int)flags)
27+# else
28+# define getrandom(dst,s,flags) -1
29+# endif
30 # endif
31
32 static unsigned have_getrandom(void)
33--
34libgit2 0.24.0
35
36
diff --git a/recipes/hunspell/hunspell-dicts.bb b/recipes/hunspell/hunspell-dicts.bb
new file mode 100644
index 0000000..92fd300
--- /dev/null
+++ b/recipes/hunspell/hunspell-dicts.bb
@@ -0,0 +1,57 @@
1############################################################################
2##
3## Copyright (C) 2017 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
30DESCRIPTION = "Hunspell Dictionaries"
31
32LICENSE = "GPL-2.0 & (GPL-2.0|LGPL-2.1|MPL-1.1)"
33LIC_FILES_CHKSUM = " \
34 file://en/license.txt;md5=686e6cb566fd6382c9fcc7a557bf4544 \
35 file://ar/COPYING.txt;md5=ccafd10563b9ffba693011bf470062c6 \
36"
37
38SRC_URI = "git://github.com/libreoffice/dictionaries.git;branch=libreoffice-5-4-2"
39
40S = "${WORKDIR}/git"
41
42inherit bin_package
43
44# using branch libreoffice-5.4.2 for dictionaries
45SRCREV = "28016713cf482d2ac466d03e007ce91ddb8b76aa"
46
47FILES_${PN} = "${datadir}/hunspell"
48
49do_install() {
50 install -m 0755 -d ${D}${datadir}/hunspell
51
52 install -m 0755 ${S}/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic
53 install -m 0755 ${S}/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff
54
55 install -m 0755 ${S}/en/en_GB.dic ${D}${datadir}/hunspell
56 install -m 0755 ${S}/en/en_GB.aff ${D}${datadir}/hunspell
57}
diff --git a/recipes/hunspell/hunspell_1.3.2.bb b/recipes/hunspell/hunspell_1.3.2.bb
deleted file mode 100644
index e47c9c1..0000000
--- a/recipes/hunspell/hunspell_1.3.2.bb
+++ /dev/null
@@ -1,59 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30DESCRIPTION = "Hunspell"
31LICENSE = "LGPLv2"
32LIC_FILES_CHKSUM = "file://${WORKDIR}/hunspell-${PV}/COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88"
33
34SRC_URI = "http://downloads.sourceforge.net/hunspell/hunspell-${PV}.tar.gz;name=hunspell \
35 git://github.com/libreoffice/dictionaries.git;branch=libreoffice-4-3-2;name=dictionaries \
36 "
37
38SRC_URI[hunspell.md5sum] = "3121aaf3e13e5d88dfff13fb4a5f1ab8"
39SRC_URI[hunspell.sha256sum] = "b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd"
40# using branch libreoffice-4.3.2 for dictionaries
41SRCREV_dictionaries = "aa497b3c345133a1dc180dfb95dd1b3677b92afa"
42
43PR = "r0"
44
45inherit autotools gettext
46
47PACKAGES += "${PN}-dicts"
48RRECOMMENDS_${PN} += "${PN}-dicts"
49FILES_${PN}-dicts = "${datadir}/hunspell"
50
51do_install_append() {
52 install -m 0755 -d ${D}${datadir}/hunspell
53
54 install -m 0755 ${WORKDIR}/git/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic
55 install -m 0755 ${WORKDIR}/git/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff
56
57 install -m 0755 ${WORKDIR}/git/en/en_GB.dic ${D}${datadir}/hunspell
58 install -m 0755 ${WORKDIR}/git/en/en_GB.aff ${D}${datadir}/hunspell
59}
diff --git a/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces b/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces
deleted file mode 100644
index e315b94..0000000
--- a/recipes/init-ifupdown/init-ifupdown/beagleboard/interfaces
+++ /dev/null
@@ -1,33 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wireless interfaces
8iface wlan0 inet dhcp
9 wireless_mode managed
10 wireless_essid any
11 wpa-driver wext
12 wpa-conf /etc/wpa_supplicant.conf
13
14iface atml0 inet dhcp
15
16# Wired or wireless interfaces
17auto eth0
18iface eth0 inet dhcp
19 hostname `/bin/hostname`
20# hwaddress ether 00:00:00:00:00:00
21iface eth1 inet dhcp
22
23# Ethernet/RNDIS gadget (g_ether)
24# ... or on host side, usbnet and random hwaddr
25iface usb0 inet static
26 address 192.168.7.2
27 netmask 255.255.255.0
28 network 192.168.7.0
29 gateway 192.168.7.1
30
31# Bluetooth networking
32iface bnep0 inet dhcp
33
diff --git a/recipes/init-ifupdown/init-ifupdown/emulator/interfaces b/recipes/init-ifupdown/init-ifupdown/emulator/interfaces
deleted file mode 100644
index 06adafb..0000000
--- a/recipes/init-ifupdown/init-ifupdown/emulator/interfaces
+++ /dev/null
@@ -1,33 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wireless interfaces
8iface wlan0 inet dhcp
9 wireless_mode managed
10 wireless_essid any
11 wpa-driver wext
12 wpa-conf /etc/wpa_supplicant.conf
13
14iface atml0 inet dhcp
15
16# Wired or wireless interfaces
17auto eth0
18iface eth0 inet dhcp
19auto eth1
20iface eth1 inet dhcp
21 hostname `/bin/hostname`
22
23# Ethernet/RNDIS gadget (g_ether)
24# ... or on host side, usbnet and random hwaddr
25iface usb0 inet static
26 address 192.168.7.2
27 netmask 255.255.255.0
28 network 192.168.7.0
29 gateway 192.168.7.1
30
31# Bluetooth networking
32iface bnep0 inet dhcp
33
diff --git a/recipes/init-ifupdown/init-ifupdown/fixed_mac_address b/recipes/init-ifupdown/init-ifupdown/fixed_mac_address
deleted file mode 100755
index 020257e..0000000
--- a/recipes/init-ifupdown/init-ifupdown/fixed_mac_address
+++ /dev/null
@@ -1,7 +0,0 @@
1#!/bin/sh
2
3if [ ! -e /etc/network/interfaces.fixed ]; then
4 HWADDRESS=$(cat /sys/class/net/eth0/address)
5 sed -i -e 's,^#\(.*\)00:00:00:00:00:00,\1'$HWADDRESS',' /etc/network/interfaces
6 touch /etc/network/interfaces.fixed
7fi
diff --git a/recipes/init-ifupdown/init-ifupdown/interfaces b/recipes/init-ifupdown/init-ifupdown/interfaces
deleted file mode 100644
index 5c1ec07..0000000
--- a/recipes/init-ifupdown/init-ifupdown/interfaces
+++ /dev/null
@@ -1,32 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wireless interfaces
8iface wlan0 inet dhcp
9 wireless_mode managed
10 wireless_essid any
11 wpa-driver wext
12 wpa-conf /etc/wpa_supplicant.conf
13
14iface atml0 inet dhcp
15
16# Wired or wireless interfaces
17auto eth0
18iface eth0 inet dhcp
19 hostname `/bin/hostname`
20iface eth1 inet dhcp
21
22# Ethernet/RNDIS gadget (g_ether)
23# ... or on host side, usbnet and random hwaddr
24iface usb0 inet static
25 address 192.168.7.2
26 netmask 255.255.255.0
27 network 192.168.7.0
28 gateway 192.168.7.1
29
30# Bluetooth networking
31iface bnep0 inet dhcp
32
diff --git a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces b/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces
deleted file mode 100644
index 93ba671..0000000
--- a/recipes/init-ifupdown/init-ifupdown/nitrogen6x/interfaces
+++ /dev/null
@@ -1,31 +0,0 @@
1# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
2
3# The loopback interface
4auto lo
5iface lo inet loopback
6
7# Wireless interfaces
8iface wlan0 inet dhcp
9 wireless_mode managed
10 wireless_essid any
11 wpa-driver nl80211
12 wpa-conf /etc/wpa_supplicant.conf
13
14iface atml0 inet dhcp
15
16# Wired or wireless interfaces
17auto eth0
18iface eth0 inet dhcp
19 hostname `/bin/hostname`
20
21# Ethernet/RNDIS gadget (g_ether)
22# ... or on host side, usbnet and random hwaddr
23iface usb0 inet static
24 address 192.168.7.2
25 netmask 255.255.255.0
26 network 192.168.7.0
27 gateway 192.168.7.1
28
29# Bluetooth networking
30iface bnep0 inet dhcp
31
diff --git a/recipes/opengldummy/qtglesstream-dummy-client.bb b/recipes/opengldummy/qtglesstream-dummy-client.bb
index ad33127..1d4e223 100644
--- a/recipes/opengldummy/qtglesstream-dummy-client.bb
+++ b/recipes/opengldummy/qtglesstream-dummy-client.bb
@@ -38,6 +38,8 @@ SOLIBMINOR = "0"
38 38
39require opengldummy.inc 39require opengldummy.inc
40 40
41inherit nopackages
42
41S = "${WORKDIR}" 43S = "${WORKDIR}"
42 44
43do_compile() { 45do_compile() {
diff --git a/recipes/ostree/ostree.bb b/recipes/ostree/ostree.bb
index 267289a..e4c8076 100644
--- a/recipes/ostree/ostree.bb
+++ b/recipes/ostree/ostree.bb
@@ -52,7 +52,7 @@ SRCREV = "8ece4d6d51bdbe3e41ab318259276bb83e553aa0"
52 52
53S = "${WORKDIR}/git" 53S = "${WORKDIR}/git"
54 54
55DEPENDS = "glib-2.0 e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd" 55DEPENDS = "glib-2.0 glib-2.0-native e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd"
56# Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. 56# Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image.
57# The production image do not require bash for proper working. 57# The production image do not require bash for proper working.
58RDEPENDS_${PN} += "bash" 58RDEPENDS_${PN} += "bash"
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb
index 65f7f5e..b6573e2 100644
--- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb
+++ b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb
@@ -52,6 +52,7 @@ RDEPENDS_${PN} = "\
52 tzdata-asia \ 52 tzdata-asia \
53 tzdata-europe \ 53 tzdata-europe \
54 connman \ 54 connman \
55 rng-tools \
55 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \ 56 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \
56 ${MACHINE_EXTRA_INSTALL} \ 57 ${MACHINE_EXTRA_INSTALL} \
57 " 58 "
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb
index e8936e4..7644f6f 100644
--- a/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb
+++ b/recipes/packagegroup/packagegroup-b2qt-embedded-tools.bb
@@ -44,7 +44,9 @@ RDEPENDS_${PN} = "\
44 ldd \ 44 ldd \
45 openssh-sftp-server \ 45 openssh-sftp-server \
46 perf \ 46 perf \
47 procps \
47 rsync \ 48 rsync \
48 tslib-calibrate \ 49 tslib-calibrate \
50 valgrind \
49 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-analyze", "", d)} \ 51 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-analyze", "", d)} \
50 " 52 "
diff --git a/recipes/perf/perf.bbappend b/recipes/perf/perf.bbappend
index 487cd41..f8a9591 100644
--- a/recipes/perf/perf.bbappend
+++ b/recipes/perf/perf.bbappend
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,5 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30PERF_FEATURES_ENABLE = "perf-libunwind" 30PACKAGECONFIG_append = " libunwind"
31EXTRA_OEMAKE_remove = "NO_DWARF=1"
diff --git a/recipes/python/nativesdk-prebuild-python.bb b/recipes/python/nativesdk-prebuild-python.bb
deleted file mode 100644
index e8edb9e..0000000
--- a/recipes/python/nativesdk-prebuild-python.bb
+++ /dev/null
@@ -1,60 +0,0 @@
1############################################################################
2##
3## Copyright (C) 2016 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
30LICENSE = "PSFv2"
31
32LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Python-2.0;md5=a5c8025e305fb49e6d405769358851f6"
33
34inherit bin_package nativesdk
35
36COMPATIBLE_HOST = ".*-mingw.*"
37
38SRC_URI[md5sum] = "6d37712f01fa836b1303141a6d4cabda"
39SRC_URI[sha256sum] = "3835868c171dddb8cb68ed5578b6d4d639387a038e999a5b008f393b704d6ad7"
40SRC_URI = "http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip"
41
42S = "${WORKDIR}"
43
44do_install() {
45 install -d ${D}${bindir}
46 install ${WORKDIR}/python/python27.dll ${D}${bindir}
47 install -d ${D}${includedir}
48 install ${WORKDIR}/python/include/* ${D}${includedir}
49 install -d ${D}${libdir}
50 install ${WORKDIR}/python/libs/* ${D}${libdir}
51 install -d ${D}${libdir}/python2.7
52 cp -r ${WORKDIR}/python/lib/* ${D}${libdir}/python2.7
53}
54
55sysroot_stage_dirs_append() {
56 sysroot_stage_dir $from${bindir} $to${bindir}
57}
58
59# requires /usr/local/bin/python, but no providers found
60INSANE_SKIP_${PN} += "file-rdeps"
diff --git a/recipes-qt/qt5/qtquickcompiler_git.bb b/recipes/python/nativesdk-prebuild-python.inc
index 677d0d2..3d8c083 100644
--- a/recipes-qt/qt5/qtquickcompiler_git.bb
+++ b/recipes/python/nativesdk-prebuild-python.inc
@@ -27,25 +27,27 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30DESCRIPTION = "Qt Quick Compiler" 30LICENSE = "PSFv2"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://compiler/qtquickcompiler.h;md5=02f6307ab0d6c4bd38a1540f16ea705d;beginline=1;endline=17"
33 31
34inherit qt5-module 32LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4b8a9367e6bb2acb6f26dc08654f6ee5"
35 33
36SRC_URI = " \ 34do_unpack[depends] += "p7zip-native:do_populate_sysroot"
37 git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh \
38 "
39 35
40SRCREV = "a9196dd301edca8c1198b24154d9e4b5faefb3a3" 36inherit bin_package nativesdk python3-dir
41 37
42S = "${WORKDIR}/git" 38PV = "3.5.2"
43 39
44DEPENDS = "qtbase qtdeclarative" 40S = "${WORKDIR}"
45 41
46do_install_append() { 42do_install() {
47 # Use the EffectivePath instead of installation path 43 install -d ${D}${includedir}/${PYTHON_DIR}
48 sed -i -e 's|QT_HOST_BINS|QT_HOST_BINS/get|' ${D}${OE_QMAKE_PATH_ARCHDATA}/mkspecs/features/qtquickcompiler.prf 44 install -m 0644 ${S}/include/* ${D}${includedir}/${PYTHON_DIR}
49} 45
46 install -d ${D}${libdir}
47 install -m 0644 ${S}/libs/*.a ${D}${libdir}
50 48
51BBCLASSEXTEND = "native nativesdk" 49 install -d ${D}${bindir}
50 install -m 0644 ${S}/python.exe ${D}${bindir}
51 install -m 0644 ${S}/python35.dll ${D}${bindir}
52 install -m 0644 ${S}/python35.zip ${D}${bindir}
53}
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-vinput.bb b/recipes/python/nativesdk-prebuild-python_i686.bb
index 2fb3f8c..2ff4f76 100644
--- a/recipes-qt/b2qt-addons/b2qt-emulator-vinput.bb
+++ b/recipes/python/nativesdk-prebuild-python_i686.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -27,22 +27,16 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30DESCRIPTION = "Virtual input plugin for QtSimulator" 30require nativesdk-prebuild-python.inc
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://qvinput.h;md5=f25c7436dbc72d4719a5684b28dbcf4b;beginline=1;endline=17"
33 31
34inherit qt5-module 32COMPATIBLE_HOST = "i686.*-mingw.*"
35 33
36SRC_URI = " \ 34SRC_URI = "\
37 git://codereview.qt-project.org/tqtc-boot2qt/emulator;branch=${BRANCH};protocol=ssh \ 35 https://download.qt.io/development_releases/prebuilt/python/Python35-win-x86.7z \
36 https://www.python.org/ftp/python/${PV}/python-${PV}-embed-win32.zip;name=bin \
38 " 37 "
39 38
40SRCREV = "011e1c40716c8323f247e927de6640653d6811c4" 39SRC_URI[md5sum] = "3da266445a4e6a93ff1949810141da8f"
41BRANCH = "master" 40SRC_URI[sha256sum] = "b60c49227c6e920904d784681c16ee3591a18824c3abb89613813f93fde1c1f2"
42PV = "1.0+git${SRCPV}" 41SRC_URI[bin.md5sum] = "ad637a1db7cf91e344318d55c94ad3ca"
43 42SRC_URI[bin.sha256sum] = "75f05800fbe4a8cd6672b268ca53244838684561e03c60c668a7dccb050eb954"
44EXTRA_QMAKEVARS_PRE += "CONFIG+=force_independent"
45
46S = "${WORKDIR}/git/src/helperlibs/vinput"
47
48DEPENDS = "qtbase qtsimulator"
diff --git a/recipes/python/nativesdk-prebuild-python_x86_64.bb b/recipes/python/nativesdk-prebuild-python_x86_64.bb
new file mode 100644
index 0000000..8e69fbd
--- /dev/null
+++ b/recipes/python/nativesdk-prebuild-python_x86_64.bb
@@ -0,0 +1,42 @@
1############################################################################
2##
3## Copyright (C) 2017 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
30require nativesdk-prebuild-python.inc
31
32COMPATIBLE_HOST = "x86_64.*-mingw.*"
33
34SRC_URI = "\
35 https://download.qt.io/development_releases/prebuilt/python/Python35-win-x64.7z \
36 https://www.python.org/ftp/python/${PV}/python-${PV}-embed-amd64.zip;name=bin \
37 "
38
39SRC_URI[md5sum] = "08766b13bcbdcf8217a98bfc291d549f"
40SRC_URI[sha256sum] = "43e38c8a05dcbc2effd1915dbe2dc2be6e701ebf3eb00d6e45197ee773978124"
41SRC_URI[bin.md5sum] = "f1c24bb78bd6dd792a73d5ebfbd3b20e"
42SRC_URI[bin.sha256sum] = "faefbd98f61c0d87c5683eeb526ae4d4a9ddc369bef27870cfe1c8939329d066"
diff --git a/recipes/rng-tools/rng-tools/rngd.service b/recipes/rng-tools/rng-tools/rngd.service
new file mode 100644
index 0000000..22c7361
--- /dev/null
+++ b/recipes/rng-tools/rng-tools/rngd.service
@@ -0,0 +1,9 @@
1[Unit]
2Description=Hardware RNG Entropy Gatherer Daemon
3
4[Service]
5ExecStart=@SBINDIR@/rngd -f
6SuccessExitStatus=66
7
8[Install]
9WantedBy=multi-user.target
diff --git a/recipes/rng-tools/rng-tools_5.bbappend b/recipes/rng-tools/rng-tools_5.bbappend
new file mode 100644
index 0000000..dedddf0
--- /dev/null
+++ b/recipes/rng-tools/rng-tools_5.bbappend
@@ -0,0 +1,45 @@
1############################################################################
2##
3## Copyright (C) 2017 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
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += "\
32 file://rngd.service \
33 "
34
35inherit systemd
36
37do_install_append() {
38 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
39 install -d ${D}${systemd_unitdir}/system
40 install -m 644 ${WORKDIR}/rngd.service ${D}${systemd_unitdir}/system
41 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/rngd.service
42 fi
43}
44
45SYSTEMD_SERVICE_${PN} = "rngd.service"
diff --git a/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb b/recipes/virtualbox/virtualbox-guest-additions_5.1.16.bb
index 00dcaa5..752d8cb 100644
--- a/recipes/virtualbox/virtualbox-guest-additions_5.1.14.bb
+++ b/recipes/virtualbox/virtualbox-guest-additions_5.1.16.bb
@@ -1,6 +1,6 @@
1############################################################################ 1############################################################################
2## 2##
3## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
5## 5##
6## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -38,8 +38,8 @@ PR = "${MACHINE_KERNEL_PR}"
38 38
39SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" 39SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2"
40 40
41SRC_URI[md5sum] = "21eaec9f21477d555559a63761779880" 41SRC_URI[md5sum] = "37ebbd51370841eed8ab80f2f38446d6"
42SRC_URI[sha256sum] = "8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a" 42SRC_URI[sha256sum] = "78071c3172f3bd3c7981c352c3ae6c6a9c01f6ab24bc0aa7ec79f3528b2291a7"
43 43
44S = "${WORKDIR}/vbox" 44S = "${WORKDIR}/vbox"
45 45
diff --git a/scripts/configure-qtcreator.sh b/scripts/configure-qtcreator.sh
index d6e9c07..7386f70 100755
--- a/scripts/configure-qtcreator.sh
+++ b/scripts/configure-qtcreator.sh
@@ -85,7 +85,7 @@ fi
85source $CONFIG 85source $CONFIG
86 86
87MKSPEC="devices/linux-oe-generic-g++" 87MKSPEC="devices/linux-oe-generic-g++"
88MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC})) 88MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC}) 2>/dev/null || true)
89if [ ! -d "${MKSPECPATH}" ]; then 89if [ ! -d "${MKSPECPATH}" ]; then
90 echo "Error: could not find mkspec ${MKSPEC} from the toolchain" 90 echo "Error: could not find mkspec ${MKSPEC} from the toolchain"
91 exit 1 91 exit 1
diff --git a/scripts/manifest.xml b/scripts/manifest.xml
index 96bcf7f..5e68eb7 100644
--- a/scripts/manifest.xml
+++ b/scripts/manifest.xml
@@ -13,52 +13,53 @@
13 <remote fetch="git://github.com/renesas-rcar" name="renesas"/> 13 <remote fetch="git://github.com/renesas-rcar" name="renesas"/>
14 <remote fetch="git://git.linaro.org/openembedded" name="linaro"/> 14 <remote fetch="git://git.linaro.org/openembedded" name="linaro"/>
15 <remote fetch="git://git.toradex.com" name="toradex"/> 15 <remote fetch="git://git.toradex.com" name="toradex"/>
16 <remote fetch="git://github.com/boundarydevices" name="boundary"/>
16 17
17 <project name="poky" 18 <project name="poky"
18 remote="yocto" 19 remote="yocto"
19 revision="e3ff03599e55fd2abcaa33e29779c388cdbed94e" 20 revision="b9ad197bbc88cad4ef8d2245a2d262b8d8dd757e"
20 path="sources/poky"/> 21 path="sources/poky"/>
21 <project name="meta-openembedded" 22 <project name="meta-openembedded"
22 remote="oe-mirror" 23 remote="oe-mirror"
23 revision="b40116cf457b88a2db14b86fda9627fb34d56ae6" 24 revision="b2ce52334cf88e07f703cf25ced92302edd5b0e9"
24 path="sources/meta-openembedded"/> 25 path="sources/meta-openembedded"/>
25 <project name="meta-qt5" 26 <project name="meta-qt5"
26 remote="qtyocto" 27 remote="qtyocto"
27 revision="144a388b5f8d6f76858469a160714a0cec811ecb" 28 revision="4f1e157da16e615a79903abc7363799eac2670c7"
28 path="sources/meta-qt5"/> 29 path="sources/meta-qt5"/>
29 <project name="meta-mingw" 30 <project name="meta-mingw"
30 remote="qtyocto" 31 remote="qtyocto"
31 path="sources/meta-mingw" 32 revision="27ccecd47b5e745d4c6a11708dd42a90cc235fb3"
32 revision="4a621def8529c3a55c6fcaef72e3b1832a9327b3"/> 33 path="sources/meta-mingw"/>
33 34
34 <project name="meta-freescale" 35 <project name="meta-freescale"
35 remote="freescale" 36 remote="freescale"
36 revision="05681fdf8298bb441c15135eae424c7601b07e98" 37 revision="06178400afbd641a6709473fd21d893dcd3cfbfa"
37 path="sources/meta-freescale" 38 path="sources/meta-freescale"
38 groups="notdefault,external,fsl,toradex,ti,smx6,renesas-gen3"/> 39 groups="notdefault,external,fsl,toradex,ti,smx6,renesas-gen3,boundary"/>
39 <project name="meta-freescale-3rdparty" 40 <project name="meta-freescale-3rdparty"
40 remote="freescale" 41 remote="freescale"
41 revision="1879485e63ce369292c89b5902ff6df13509090b" 42 revision="9613dbc02ca970122a01c935bc9e5789ced73a9d"
42 path="sources/meta-freescale-3rdparty" 43 path="sources/meta-freescale-3rdparty"
43 groups="notdefault,external,fsl,toradex,smx6"/> 44 groups="notdefault,external,fsl,toradex,smx6,boundary"/>
44 <project name="meta-ti" 45 <project name="meta-ti"
45 remote="yocto" 46 remote="yocto"
46 revision="0862a33b8d642e5fad031a78f90410d497453415" 47 revision="aca8f5d6ff8a529e00bdeae5b401c791ed6ecb2b"
47 path="sources/meta-ti" 48 path="sources/meta-ti"
48 groups="notdefault,external,ti"/> 49 groups="notdefault,external,ti"/>
49 <project name="meta-raspberrypi" 50 <project name="meta-raspberrypi"
50 remote="yocto" 51 remote="yocto"
51 revision="380bf2ff445c2049bdea15f3bb36e8cb36540345" 52 revision="8ba2d6fc80b31c87d25c87c863e2a77752b07c3c"
52 path="sources/meta-raspberrypi" 53 path="sources/meta-raspberrypi"
53 groups="notdefault,external,rpi"/> 54 groups="notdefault,external,rpi"/>
54 <project name="meta-intel" 55 <project name="meta-intel"
55 remote="intel" 56 remote="intel"
56 revision="6add41510412ca196efb3e4f949d403a8b6f35d7" 57 revision="7e8f98aa326f16edd679a95f7bb2daf4256479f3"
57 path="sources/meta-intel" 58 path="sources/meta-intel"
58 groups="notdefault,external,intel"/> 59 groups="notdefault,external,intel"/>
59 <project name="meta-tegra" 60 <project name="meta-tegra"
60 remote="madisongh" 61 remote="madisongh"
61 revision="fba09b70a8ac36248e5fcea611e3bb661bb089fc" 62 revision="34ddb90840f9bb895cd5d275922d153e35620fa3"
62 path="sources/meta-tegra" 63 path="sources/meta-tegra"
63 groups="notdefault,external,jetson"/> 64 groups="notdefault,external,jetson"/>
64 <project name="meta-renesas" 65 <project name="meta-renesas"
@@ -68,7 +69,7 @@
68 groups="notdefault,external,renesas-gen3"/> 69 groups="notdefault,external,renesas-gen3"/>
69 <project name="meta-linaro" 70 <project name="meta-linaro"
70 remote="linaro" 71 remote="linaro"
71 revision="c44bd0ebc8ca2e6201996ef7cba8b71421d3aff7" 72 revision="74dacb34c13d1c85fe4627a890b9c04940f9ffeb"
72 path="sources/meta-linaro" 73 path="sources/meta-linaro"
73 groups="notdefault,external,renesas-gen3"/> 74 groups="notdefault,external,renesas-gen3"/>
74 <project name="meta-toradex-bsp-common" 75 <project name="meta-toradex-bsp-common"
@@ -81,6 +82,11 @@
81 revision="45c33b79a734d016dddb997c1895b53202286f23" 82 revision="45c33b79a734d016dddb997c1895b53202286f23"
82 path="sources/meta-toradex-nxp" 83 path="sources/meta-toradex-nxp"
83 groups="notdefault,external,toradex"/> 84 groups="notdefault,external,toradex"/>
85 <project name="meta-boundary"
86 remote="boundary"
87 revision="42b00061076b2a6e15c1eeed7da6fc14a0dae9d8"
88 path="sources/meta-boundary"
89 groups="notdefault,external,boundary"/>
84 90
85 <project name="nvidia-layer" 91 <project name="nvidia-layer"
86 remote="playground" 92 remote="playground"
@@ -103,4 +109,3 @@
103 path="sources/meta-smx6" 109 path="sources/meta-smx6"
104 groups="notdefault,internal"/> 110 groups="notdefault,internal"/>
105</manifest> 111</manifest>
106
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh
index fbe8672..1fa2014 100755
--- a/scripts/setup-environment.sh
+++ b/scripts/setup-environment.sh
@@ -59,7 +59,10 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
59 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7) 59 apalis-imx6|colibri-imx6|colibri-vf|colibri-imx7)
60 LAYERSCONF="bblayers.conf.toradex.sample" 60 LAYERSCONF="bblayers.conf.toradex.sample"
61 ;; 61 ;;
62 imx6qsabresd|imx6dlsabresd|nitrogen6x|imx7dsabresd|imx7s-warp) 62 nitrogen6x|nitrogen7)
63 LAYERSCONF="bblayers.conf.boundary.sample"
64 ;;
65 imx6qsabresd|imx6dlsabresd|imx7dsabresd|imx7s-warp)
63 LAYERSCONF="bblayers.conf.fsl.sample" 66 LAYERSCONF="bblayers.conf.fsl.sample"
64 ;; 67 ;;
65 smarc-samx6i) 68 smarc-samx6i)
@@ -83,7 +86,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
83 emulator) 86 emulator)
84 LAYERSCONF="bblayers.conf.emulator.sample" 87 LAYERSCONF="bblayers.conf.emulator.sample"
85 ;; 88 ;;
86 jetson-tx1|jetson-tk1) 89 jetson-tx1|jetson-tx2|jetson-tk1)
87 LAYERSCONF="bblayers.conf.jetson.sample" 90 LAYERSCONF="bblayers.conf.jetson.sample"
88 ;; 91 ;;
89 *) 92 *)
@@ -95,10 +98,6 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then
95 mkdir -p ${PWD}/${BUILDDIRECTORY}/conf 98 mkdir -p ${PWD}/${BUILDDIRECTORY}/conf
96 cp ${PWD}/sources/meta-boot2qt/conf/${LAYERSCONF} ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf 99 cp ${PWD}/sources/meta-boot2qt/conf/${LAYERSCONF} ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf
97 100
98 if [ ! -d ${PWD}/sources/meta-qt5 ]; then
99 sed -i -e '/meta-qt5/d' ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf
100 fi
101
102 if [ ! -d ${PWD}/sources/meta-boot2qt/.git ]; then 101 if [ ! -d ${PWD}/sources/meta-boot2qt/.git ]; then
103 QT_SDK_PATH=$(readlink -f ${PWD}/sources/meta-boot2qt/../../../../) 102 QT_SDK_PATH=$(readlink -f ${PWD}/sources/meta-boot2qt/../../../../)
104 fi 103 fi
diff --git a/scripts/update-qt5-modules.sh b/scripts/update-qt5-modules.sh
index e6d945f..4ae42e8 100755
--- a/scripts/update-qt5-modules.sh
+++ b/scripts/update-qt5-modules.sh
@@ -53,9 +53,8 @@ for S in $SHA1S; do
53 elif [ "${PROJECT}" = "qtlocation/src/3rdparty/mapbox-gl-native" ]; then 53 elif [ "${PROJECT}" = "qtlocation/src/3rdparty/mapbox-gl-native" ]; then
54 sed -i -e "/^SRCREV_qtlocation-mapboxgl/s/\".*\"/\"${SHA1}\"/" qtlocation_git.bb* 54 sed -i -e "/^SRCREV_qtlocation-mapboxgl/s/\".*\"/\"${SHA1}\"/" qtlocation_git.bb*
55 echo "qtlocation (mapboxgl) -> ${SHA1}" 55 echo "qtlocation (mapboxgl) -> ${SHA1}"
56 elif [ "${PROJECT}" = "tqtc-qmlcompiler" ] && [ -e "qtquickcompiler_git.bb" ]; then 56 elif [ "${PROJECT}" = "qtenginio" ] || [ "${PROJECT}" = "qtquick1" ] || [ "${PROJECT}" = "qtsystems" ]; then
57 sed -i -e "/^SRCREV/s/\".*\"/\"${SHA1}\"/" qtquickcompiler_git.bb 57 echo "${PROJECT} -> ignored"
58 echo "qtquickcompiler -> ${SHA1}"
59 elif [ "$(echo *${PROJECT}*_git.bb*)" != "*${PROJECT}*_git.bb*" ]; then 58 elif [ "$(echo *${PROJECT}*_git.bb*)" != "*${PROJECT}*_git.bb*" ]; then
60 sed -i -e "/^SRCREV/s/\".*\"/\"${SHA1}\"/" *${PROJECT}*_git.bb* 59 sed -i -e "/^SRCREV/s/\".*\"/\"${SHA1}\"/" *${PROJECT}*_git.bb*
61 echo "${PROJECT} -> ${SHA1}" 60 echo "${PROJECT} -> ${SHA1}"