summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/image_types_sdcard.bbclass14
-rw-r--r--classes/populate_b2qt_sdk.bbclass2
-rw-r--r--classes/remove-libtool.bbclass11
-rw-r--r--conf/distro/include/imx7s-warp.conf2
-rw-r--r--conf/distro/include/tegra-t18x.conf1
-rw-r--r--conf/distro/include/toradex.inc7
-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/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/systemd/systemd-compat-units.bbappend (renamed from recipes/gnutls/gnutls_3.%.bbappend)4
-rw-r--r--meta-nvidia-extras/recipes/wayland/wayland_%.bbappend2
-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 recipes/ca-certificates/ca-certificates_%.bbappend)8
-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/libyaml/libyaml_%.bbappend)4
-rw-r--r--meta-renesas-extras/recipes/wayland/weston_1.11.0.bbappend30
-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/gammaray_git.bb6
-rw-r--r--recipes-qt/automotive/qtapplicationmanager_git.bb6
-rw-r--r--recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch29
-rw-r--r--recipes-qt/automotive/qtivi_git.bb5
-rw-r--r--recipes-qt/b2qt-addons/b2qt-demos.bb10
-rw-r--r--recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb63
-rw-r--r--recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmount.service9
-rw-r--r--recipes-qt/b2qt-addons/b2qt-launcher.bb4
-rw-r--r--recipes-qt/b2qt-addons/qdbd.bb6
-rw-r--r--recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb1
-rw-r--r--recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb1
-rw-r--r--recipes-qt/qt5-addons/qtglesstream.bb8
-rw-r--r--recipes-qt/qt5-addons/qtquickcompiler-sdk.bb1
-rw-r--r--recipes-qt/qt5/qtdeviceutilities.bb2
-rw-r--r--recipes-qt/qt5/qtlocation_git.bbappend3
-rw-r--r--recipes-qt/qt5/qtquickcompiler_git.bb2
-rw-r--r--recipes/binutils/binutils-cross_%.bbappend30
-rw-r--r--recipes/fonts/ttf-opensans.bb5
-rw-r--r--recipes/gdb/gdb-cross-canadian_7.%.bbappend26
-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/opengldummy/qtglesstream-dummy-client.bb2
-rw-r--r--recipes/packagegroup/packagegroup-b2qt-embedded-base.bb1
-rw-r--r--recipes/python/nativesdk-prebuild-python.bb60
-rw-r--r--[-rwxr-xr-x]recipes/python/nativesdk-prebuild-python.inc (renamed from recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh)50
-rw-r--r--recipes/python/nativesdk-prebuild-python_i686.bb37
-rw-r--r--recipes/python/nativesdk-prebuild-python_x86_64.bb37
-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.xml22
75 files changed, 1232 insertions, 290 deletions
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/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/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/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..e1bc589 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,11 @@
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 "
36
32PREFERRED_PROVIDER_u-boot = "u-boot-toradex" 37PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
33 38
34EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" 39EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex"
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 78e32d3..3d288f1 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend
@@ -33,3 +33,4 @@ SRC_URI += " \
33 file://0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch \ 33 file://0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch \
34 file://0003-apalis-imx6-Ixora-v1.0-support.patch \ 34 file://0003-apalis-imx6-Ixora-v1.0-support.patch \
35 " 35 "
36DEPENDS += "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/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/gnutls/gnutls_3.%.bbappend b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
index 8d91bb0..7c2f7b5 100644
--- a/recipes/gnutls/gnutls_3.%.bbappend
+++ b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend
@@ -27,6 +27,4 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30FILESEXTRAPATHS_prepend := "${THISDIR}/files:" 30LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
31
32SRC_URI += "file://check_SYS_getrandom.patch"
diff --git a/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend b/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend
index 5ab7634..f05607c 100644
--- a/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend
+++ b/meta-nvidia-extras/recipes/wayland/wayland_%.bbappend
@@ -31,4 +31,4 @@ FILESEXTRAPATHS_append := ":${LNX_TOPDIR}_src/wayland"
31 31
32SRC_URI = "file://wayland-1.11.0-src.tar.gz" 32SRC_URI = "file://wayland-1.11.0-src.tar.gz"
33 33
34DEPENDS_class-target += "wayland-egl" 34DEPENDS_append_class-target = " wayland-egl"
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/recipes/ca-certificates/ca-certificates_%.bbappend b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index 210f550..85be953 100644
--- a/recipes/ca-certificates/ca-certificates_%.bbappend
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.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
30SRC_URI_remove = "file://0001-update-ca-certificates-remove-c-rehash.patch" 30DEPENDS += "wayland-kms libgbm"
31DEPENDS_class-native = "coreutils-native"
32
33# for c_rehash
34RDEPENDS_${PN}_class-target += "openssl openssl-misc"
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/libyaml/libyaml_%.bbappend b/meta-renesas-extras/recipes/wayland/wayland-kms_1.6.0.bbappend
index 728a546..0cd3eec 100644
--- a/recipes/libyaml/libyaml_%.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
30BBCLASSEXTEND += "nativesdk" 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-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/gammaray_git.bb b/recipes-qt/automotive/gammaray_git.bb
index 6317040..d1e8f38 100644
--- a/recipes-qt/automotive/gammaray_git.bb
+++ b/recipes-qt/automotive/gammaray_git.bb
@@ -8,11 +8,11 @@ inherit cmake_qt5
8 8
9SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" 9SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}"
10 10
11BRANCH = "2.7" 11BRANCH = "master"
12SRCREV = "a22da6d63cab08f3ef8588611fdbda3f96731efe" 12SRCREV = "fb918ea49c816dea915a7e7899ad6a765fef28a8"
13PV = "${BRANCH}+git${SRCPV}" 13PV = "${BRANCH}+git${SRCPV}"
14 14
15DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml \ 15DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \
16 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" 16 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
diff --git a/recipes-qt/automotive/qtapplicationmanager_git.bb b/recipes-qt/automotive/qtapplicationmanager_git.bb
index 52ee20e..f327dcc 100644
--- a/recipes-qt/automotive/qtapplicationmanager_git.bb
+++ b/recipes-qt/automotive/qtapplicationmanager_git.bb
@@ -34,7 +34,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL3;md5=43a31c6abffdd61c938811959b3c1b71"
34inherit qt5-module 34inherit qt5-module
35require recipes-qt/qt5/qt5-git.inc 35require recipes-qt/qt5/qt5-git.inc
36 36
37SRCREV = "f472ef3662cf0a9bc2bf727c7cef18fd884df5a2" 37SRCREV = "199503309b078e127150575ae774d2bf5b24fe16"
38 38
39DEPENDS = "qtbase qtdeclarative libyaml libarchive \ 39DEPENDS = "qtbase qtdeclarative libyaml libarchive \
40 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" 40 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}"
@@ -60,8 +60,8 @@ FILES_${PN} += "\
60 60
61BBCLASSEXTEND += "nativesdk" 61BBCLASSEXTEND += "nativesdk"
62 62
63DEPENDS_class-nativesdk = "qtbase nativesdk-glibc-locale" 63DEPENDS_class-nativesdk = "qtbase nativesdk-glibc-locale nativesdk-libarchive"
64DEPENDS_class-nativesdk_remove_mingw32 += "nativesdk-glibc-locale" 64DEPENDS_class-nativesdk_remove_mingw32 += "nativesdk-glibc-locale nativesdk-libarchive"
65 65
66EXTRA_QMAKEVARS_PRE_class-nativesdk += "\ 66EXTRA_QMAKEVARS_PRE_class-nativesdk += "\
67 -config tools-only \ 67 -config tools-only \
diff --git a/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch b/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch
new file mode 100644
index 0000000..9f6c0c0
--- /dev/null
+++ b/recipes-qt/automotive/qtivi/0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch
@@ -0,0 +1,29 @@
1From b4ed8c9d4a391771cba485bfa685147126260dc2 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 7 Sep 2017 10:24:11 +0300
4Subject: [PATCH] Use QT_HOST_BINS/get for getting correct path
5
6Patch QT_HOST_BINS same way as is done it qtbase for getting
7the EffectivePath instead of installation path.
8
9Change-Id: I3e9c04019c432e182dcb5c0898275173f20de1e2
10---
11 mkspecs/features/ivigenerator.prf | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/mkspecs/features/ivigenerator.prf b/mkspecs/features/ivigenerator.prf
15index 65c497e..7634355 100644
16--- a/mkspecs/features/ivigenerator.prf
17+++ b/mkspecs/features/ivigenerator.prf
18@@ -31,9 +31,9 @@ QFACE_YAML = $$QFACE_ABS_PWD/$${QFACE_BASE_NAME}.yaml
19 OTHER_FILES += $$QFACE_FILE
20
21 # Detect whether we are using the feature inside the qtivi repository
22-VIRTUALENV_PATH = $$[QT_HOST_BINS]/ivigenerator/qtivi_qface_virtualenv
23+VIRTUALENV_PATH = $$[QT_HOST_BINS/get]/ivigenerator/qtivi_qface_virtualenv
24 INTERNAL_VIRTUALENV_PATH = $$QTIVI_BUILD_ROOT/src/tools/ivigenerator/qtivi_qface_virtualenv
25-IVI_GENERATOR_PATH = $$[QT_HOST_BINS]/ivigenerator
26+IVI_GENERATOR_PATH = $$[QT_HOST_BINS/get]/ivigenerator
27 QTEST_ENVIRONMENT = $$upper($$(QTEST_ENVIRONMENT))
28
29 # Try to use the internal virtualenv when building qtivi
diff --git a/recipes-qt/automotive/qtivi_git.bb b/recipes-qt/automotive/qtivi_git.bb
index 0f49d5d..2a6f765 100644
--- a/recipes-qt/automotive/qtivi_git.bb
+++ b/recipes-qt/automotive/qtivi_git.bb
@@ -47,10 +47,11 @@ QT_MODULE_BRANCH_QFACE = "upstream/develop"
47 47
48SRC_URI += " \ 48SRC_URI += " \
49 ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \ 49 ${QT_GIT}/qtivi-qface.git;name=qface;branch=${QT_MODULE_BRANCH_QFACE};protocol=${QT_GIT_PROTOCOL};destsuffix=git/src/3rdparty/qface \
50 file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \
50" 51"
51 52
52SRCREV_qtivi = "3205b6e8f57273096ae60d8f6fcdbe597c350393" 53SRCREV_qtivi = "b8aa8e65981071555a52c6861cec9a05bb8bfaf4"
53SRCREV_qface = "b1d96d85a7c43ac74335b9a1a99a68507047f5bc" 54SRCREV_qface = "e2fd9cd6ff915378779c3f604736b8b4a2584d0b"
54SRCREV = "${SRCREV_qtivi}" 55SRCREV = "${SRCREV_qtivi}"
55SRCREV_FORMAT = "qtivi_qface" 56SRCREV_FORMAT = "qtivi_qface"
56 57
diff --git a/recipes-qt/b2qt-addons/b2qt-demos.bb b/recipes-qt/b2qt-addons/b2qt-demos.bb
index f133352..d1861a3 100644
--- a/recipes-qt/b2qt-addons/b2qt-demos.bb
+++ b/recipes-qt/b2qt-addons/b2qt-demos.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.
@@ -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.7+git${SRCPV}" 47PV = "5.10.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 = "55ce120e6ceccb40f19a941fbda05edefd22d64c"
53SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a" 53SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a"
54SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1" 54SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1"
55SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd" 55SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd"
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-launcher.bb b/recipes-qt/b2qt-addons/b2qt-launcher.bb
index 32f569b..691fb97 100644
--- a/recipes-qt/b2qt-addons/b2qt-launcher.bb
+++ b/recipes-qt/b2qt-addons/b2qt-launcher.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.
@@ -43,7 +43,7 @@ SRC_URI += " \
43 file://b2qt.service \ 43 file://b2qt.service \
44 " 44 "
45 45
46SRCREV = "7ff96b74f8721dbaf50722561770815a4530b6a0" 46SRCREV = "d2ec2dc7034c31e3602003b55d5f2a2c98983651"
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/qdbd.bb b/recipes-qt/b2qt-addons/qdbd.bb
index 3a9a002..e6c4509 100644
--- a/recipes-qt/b2qt-addons/qdbd.bb
+++ b/recipes-qt/b2qt-addons/qdbd.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.
@@ -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/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
index 7a22951..98ec531 100644
--- a/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
+++ b/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
@@ -57,7 +57,6 @@ RDEPENDS_${PN} += " \
57 qtlocation-dev \ 57 qtlocation-dev \
58 qtmultimedia-dev \ 58 qtmultimedia-dev \
59 qtnetworkauth-dev \ 59 qtnetworkauth-dev \
60 qtotaupdate-dev \
61 qtquickcontrols-dev \ 60 qtquickcontrols-dev \
62 qtquickcontrols2-dev \ 61 qtquickcontrols2-dev \
63 qtremoteobjects-dev \ 62 qtremoteobjects-dev \
diff --git a/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb b/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
index 8ad37d8..f07315c 100644
--- a/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
+++ b/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
@@ -49,7 +49,6 @@ RDEPENDS_${PN} += " \
49 qtlocation \ 49 qtlocation \
50 qtmultimedia \ 50 qtmultimedia \
51 qtnetworkauth \ 51 qtnetworkauth \
52 qtotaupdate \
53 qtquickcontrols \ 52 qtquickcontrols \
54 qtquickcontrols2 \ 53 qtquickcontrols2 \
55 qtremoteobjects \ 54 qtremoteobjects \
diff --git a/recipes-qt/qt5-addons/qtglesstream.bb b/recipes-qt/qt5-addons/qtglesstream.bb
index bbf3d00..7443724 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 = "17f5dc862f6669261cd08e948b2083bb7dca2b28"
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
index b21b2ce..3743623 100644
--- a/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb
+++ b/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb
@@ -64,7 +64,6 @@ do_install() {
64do_install_append_mingw32() { 64do_install_append_mingw32() {
65 if [ "${PN}" = "nativesdk-qtquickcompiler-sdk" ]; then 65 if [ "${PN}" = "nativesdk-qtquickcompiler-sdk" ]; then
66 install -m 0644 ${WORKDIR}/libgcc_s_dw2-1.dll ${D}${OE_QMAKE_PATH_BINS} 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 67 fi
69} 68}
70 69
diff --git a/recipes-qt/qt5/qtdeviceutilities.bb b/recipes-qt/qt5/qtdeviceutilities.bb
index c22024d..8af01c7 100644
--- a/recipes-qt/qt5/qtdeviceutilities.bb
+++ b/recipes-qt/qt5/qtdeviceutilities.bb
@@ -43,6 +43,6 @@ SRC_URI = " \
43 git://codereview.qt-project.org/qt/qtdeviceutilities;${QT_MODULE_BRANCH_PARAM};protocol=http \ 43 git://codereview.qt-project.org/qt/qtdeviceutilities;${QT_MODULE_BRANCH_PARAM};protocol=http \
44 " 44 "
45 45
46SRCREV = "03b3e6fd62ff9e9a80212a313340e0a0c2f0135f" 46SRCREV = "61e9e8c83e817b3692beae03bd8e683d247207b0"
47 47
48DEPENDS = "qtbase qtdeclarative qtconnectivity" 48DEPENDS = "qtbase qtdeclarative qtconnectivity"
diff --git a/recipes-qt/qt5/qtlocation_git.bbappend b/recipes-qt/qt5/qtlocation_git.bbappend
index 2a949eb..a81e16c 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,6 @@
27## 27##
28############################################################################ 28############################################################################
29 29
30PACKAGECONFIG += "geoservices_mapboxgl"
30EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" 31EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator"
31DEPENDS_append_emulator = " qtsimulator" 32DEPENDS_append_emulator = " qtsimulator"
diff --git a/recipes-qt/qt5/qtquickcompiler_git.bb b/recipes-qt/qt5/qtquickcompiler_git.bb
index be10a78..a3849a3 100644
--- a/recipes-qt/qt5/qtquickcompiler_git.bb
+++ b/recipes-qt/qt5/qtquickcompiler_git.bb
@@ -37,7 +37,7 @@ SRC_URI = " \
37 git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh \ 37 git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh \
38 " 38 "
39 39
40SRCREV = "dd96b1d76162d719f9ba572d2c4659f7bcd47710" 40SRCREV = "cd3e5533e0597aece6d1e536e2b57beff15e1c5f"
41 41
42S = "${WORKDIR}/git" 42S = "${WORKDIR}/git"
43 43
diff --git a/recipes/binutils/binutils-cross_%.bbappend b/recipes/binutils/binutils-cross_%.bbappend
new file mode 100644
index 0000000..8a069ed
--- /dev/null
+++ b/recipes/binutils/binutils-cross_%.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
30LDGOLD_sdkmingw32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
diff --git a/recipes/fonts/ttf-opensans.bb b/recipes/fonts/ttf-opensans.bb
index 08e8421..a4af90e 100644
--- a/recipes/fonts/ttf-opensans.bb
+++ b/recipes/fonts/ttf-opensans.bb
@@ -29,15 +29,16 @@
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://${WORKDIR}/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87"
35 35
36INHIBIT_DEFAULT_DEPS = "1" 36INHIBIT_DEFAULT_DEPS = "1"
37do_unpack[depends] += "unzip-native:do_populate_sysroot"
37 38
38inherit allarch fontcache 39inherit allarch fontcache
39 40
40SRC_URI = "https://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ;downloadfilename=Open_Sans.zip" 41SRC_URI = "https://fonts.google.com/download?family=Open%20Sans;downloadfilename=Open_Sans.zip"
41# Google packs fonts package on demand which results in unpredictable md5sum, so disable checksum check 42# Google packs fonts package on demand which results in unpredictable md5sum, so disable checksum check
42BB_STRICT_CHECKSUM = "" 43BB_STRICT_CHECKSUM = ""
43 44
diff --git a/recipes/gdb/gdb-cross-canadian_7.%.bbappend b/recipes/gdb/gdb-cross-canadian_7.%.bbappend
index 9e3c296..a47bca7 100644
--- a/recipes/gdb/gdb-cross-canadian_7.%.bbappend
+++ b/recipes/gdb/gdb-cross-canadian_7.%.bbappend
@@ -27,13 +27,29 @@
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" 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
38 cp ${STAGING_DIR_HOST}${exec_prefix}/bin/python27.dll ${D}${bindir}
39} 55}
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/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/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/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/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh b/recipes/python/nativesdk-prebuild-python.inc
index 0849cc7..71e8e72 100755..100644
--- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh
+++ b/recipes/python/nativesdk-prebuild-python.inc
@@ -1,7 +1,6 @@
1#!/bin/sh
2############################################################################ 1############################################################################
3## 2##
4## Copyright (C) 2016 The Qt Company Ltd. 3## Copyright (C) 2017 The Qt Company Ltd.
5## Contact: https://www.qt.io/licensing/ 4## Contact: https://www.qt.io/licensing/
6## 5##
7## This file is part of the Boot to Qt meta layer. 6## This file is part of the Boot to Qt meta layer.
@@ -28,22 +27,31 @@
28## 27##
29############################################################################ 28############################################################################
30 29
31DAEMON=/usr/bin/sdcardmountd 30LICENSE = "PSFv2"
32 31
33case "$1" in 32LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4b8a9367e6bb2acb6f26dc08654f6ee5"
34start) 33
35 start-stop-daemon --start --quiet --exec $DAEMON & 34do_unpack[depends] += "p7zip-native:do_populate_sysroot"
36 ;; 35
37stop) 36DEPENDS = "unzip-native"
38 start-stop-daemon --stop --quiet --exec $DAEMON 37
39 ;; 38inherit bin_package nativesdk python3-dir
40restart) 39
41 start-stop-daemon --stop --quiet --exec $DAEMON 40PV = "3.5.2"
42 sleep 1 41
43 start-stop-daemon --start --quiet --exec $DAEMON & 42S = "${WORKDIR}"
44 ;; 43
45*) 44do_install() {
46 echo "Usage: $0 {start|stop|restart}" 45 install -d ${D}${includedir}/${PYTHON_DIR}
47 exit 1 46 install -m 0644 ${S}/include/* ${D}${includedir}/${PYTHON_DIR}
48esac 47
49exit 0 48 install -d ${D}${libdir}
49 install -m 0644 ${S}/libs/*.a ${D}${libdir}
50
51 install -d ${D}${bindir}
52 install -m 0644 ${S}/python.exe ${D}${bindir}
53 install -m 0644 ${S}/python35.dll ${D}${bindir}
54
55 install -d ${D}${libdir}/${PYTHON_DIR}
56 unzip ${S}/python35.zip -d ${D}${libdir}/${PYTHON_DIR}
57}
diff --git a/recipes/python/nativesdk-prebuild-python_i686.bb b/recipes/python/nativesdk-prebuild-python_i686.bb
new file mode 100644
index 0000000..cf7204a
--- /dev/null
+++ b/recipes/python/nativesdk-prebuild-python_i686.bb
@@ -0,0 +1,37 @@
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 = "i686.*-mingw.*"
33
34SRC_URI = "http://download.qt.io/development_releases/prebuilt/python/Python35-win-x86.7z"
35
36SRC_URI[md5sum] = "3da266445a4e6a93ff1949810141da8f"
37SRC_URI[sha256sum] = "b60c49227c6e920904d784681c16ee3591a18824c3abb89613813f93fde1c1f2"
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..f0cc4ca
--- /dev/null
+++ b/recipes/python/nativesdk-prebuild-python_x86_64.bb
@@ -0,0 +1,37 @@
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 = "http://download.qt.io/development_releases/prebuilt/python/Python35-win-x64.7z"
35
36SRC_URI[md5sum] = "08766b13bcbdcf8217a98bfc291d549f"
37SRC_URI[sha256sum] = "43e38c8a05dcbc2effd1915dbe2dc2be6e701ebf3eb00d6e45197ee773978124"
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 eb1f22f..e8e050b 100644
--- a/scripts/manifest.xml
+++ b/scripts/manifest.xml
@@ -16,49 +16,49 @@
16 16
17 <project name="poky" 17 <project name="poky"
18 remote="yocto" 18 remote="yocto"
19 revision="e2fcc721c2af8e2785a91eaceea1d81f503ea2ec" 19 revision="ce26a57e04ad65c02087629701d96448a44e73d5"
20 path="sources/poky"/> 20 path="sources/poky"/>
21 <project name="meta-openembedded" 21 <project name="meta-openembedded"
22 remote="oe-mirror" 22 remote="oe-mirror"
23 revision="b40116cf457b88a2db14b86fda9627fb34d56ae6" 23 revision="5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
24 path="sources/meta-openembedded"/> 24 path="sources/meta-openembedded"/>
25 <project name="meta-qt5" 25 <project name="meta-qt5"
26 remote="qtyocto" 26 remote="qtyocto"
27 revision="e0db5666f9c04c92683514ca220b0aafd0a49df2" 27 revision="5d583afc7156521d15f85d1f4c197d57d5f63322"
28 path="sources/meta-qt5"/> 28 path="sources/meta-qt5"/>
29 <project name="meta-mingw" 29 <project name="meta-mingw"
30 remote="qtyocto" 30 remote="qtyocto"
31 path="sources/meta-mingw" 31 revision="27ccecd47b5e745d4c6a11708dd42a90cc235fb3"
32 revision="bfda0f040958b3c533123071ff031037389eed62"/> 32 path="sources/meta-mingw"/>
33 33
34 <project name="meta-freescale" 34 <project name="meta-freescale"
35 remote="freescale" 35 remote="freescale"
36 revision="05681fdf8298bb441c15135eae424c7601b07e98" 36 revision="10d8ccb5ff2c31d2a5b13e088a8ec9511cbc3e72"
37 path="sources/meta-freescale" 37 path="sources/meta-freescale"
38 groups="notdefault,external,fsl,toradex,ti,smx6,renesas-gen3"/> 38 groups="notdefault,external,fsl,toradex,ti,smx6,renesas-gen3"/>
39 <project name="meta-freescale-3rdparty" 39 <project name="meta-freescale-3rdparty"
40 remote="freescale" 40 remote="freescale"
41 revision="1879485e63ce369292c89b5902ff6df13509090b" 41 revision="35badbde05d4f10d4faeefc30bc126b5bd228e2e"
42 path="sources/meta-freescale-3rdparty" 42 path="sources/meta-freescale-3rdparty"
43 groups="notdefault,external,fsl,toradex,smx6"/> 43 groups="notdefault,external,fsl,toradex,smx6"/>
44 <project name="meta-ti" 44 <project name="meta-ti"
45 remote="yocto" 45 remote="yocto"
46 revision="0862a33b8d642e5fad031a78f90410d497453415" 46 revision="aca8f5d6ff8a529e00bdeae5b401c791ed6ecb2b"
47 path="sources/meta-ti" 47 path="sources/meta-ti"
48 groups="notdefault,external,ti"/> 48 groups="notdefault,external,ti"/>
49 <project name="meta-raspberrypi" 49 <project name="meta-raspberrypi"
50 remote="yocto" 50 remote="yocto"
51 revision="380bf2ff445c2049bdea15f3bb36e8cb36540345" 51 revision="8ba2d6fc80b31c87d25c87c863e2a77752b07c3c"
52 path="sources/meta-raspberrypi" 52 path="sources/meta-raspberrypi"
53 groups="notdefault,external,rpi"/> 53 groups="notdefault,external,rpi"/>
54 <project name="meta-intel" 54 <project name="meta-intel"
55 remote="intel" 55 remote="intel"
56 revision="6add41510412ca196efb3e4f949d403a8b6f35d7" 56 revision="7e8f98aa326f16edd679a95f7bb2daf4256479f3"
57 path="sources/meta-intel" 57 path="sources/meta-intel"
58 groups="notdefault,external,intel"/> 58 groups="notdefault,external,intel"/>
59 <project name="meta-tegra" 59 <project name="meta-tegra"
60 remote="madisongh" 60 remote="madisongh"
61 revision="fba09b70a8ac36248e5fcea611e3bb661bb089fc" 61 revision="65bc6c3b285a7b6d5df72318de56e6068039e668"
62 path="sources/meta-tegra" 62 path="sources/meta-tegra"
63 groups="notdefault,external,jetson"/> 63 groups="notdefault,external,jetson"/>
64 <project name="meta-renesas" 64 <project name="meta-renesas"