diff options
101 files changed, 1380 insertions, 495 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index d4dbbdf..33e12e8 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -130,7 +130,7 @@ get_groups() { | |||
130 | emulator) | 130 | emulator) |
131 | PROJECT_GROUPS="emulator" | 131 | PROJECT_GROUPS="emulator" |
132 | ;; | 132 | ;; |
133 | jetson-tx1|jetson-tk1) | 133 | jetson-tx1|jetson-tx2|jetson-tk1) |
134 | PROJECT_GROUPS="jetson" | 134 | PROJECT_GROUPS="jetson" |
135 | ;; | 135 | ;; |
136 | salvator-x|h3ulcb|m3ulcb) | 136 | salvator-x|h3ulcb|m3ulcb) |
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" | |||
52 | create_tegraflash_pkg_prepend() { | 52 | create_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 | ||
49 | do_populate_sysroot[depends] += "p7zip-native:do_populate_sysroot" | 49 | do_populate_sdk[depends] += "p7zip-native:do_populate_sysroot" |
50 | 50 | ||
51 | fakeroot tar_sdk_sdkmingw32() { | 51 | fakeroot 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 | |||
3 | REMOVE_LIBTOOL_LA ?= "1" | ||
4 | |||
5 | remove_libtool_la() { | ||
6 | if [ "${REMOVE_LIBTOOL_LA}" != "0" ]; then | ||
7 | find "${D}" -ignore_readdir_race -name "*.la" -delete | ||
8 | fi | ||
9 | } | ||
10 | |||
11 | do_install[postfuncs] += "remove_libtool_la" | ||
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index 3048fff..08efdf1 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -54,6 +54,8 @@ SYSVINIT_ENABLED_GETTYS = "" | |||
54 | DISTRO_FEATURES_DEFAULT_remove = "irda pcmcia pci 3g nfc zeroconf x11" | 54 | DISTRO_FEATURES_DEFAULT_remove = "irda pcmcia pci 3g nfc zeroconf x11" |
55 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit" | 55 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit" |
56 | 56 | ||
57 | DISTRO_FEATURES_FILTER_NATIVESDK_append = " wayland" | ||
58 | |||
57 | FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache" | 59 | FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache" |
58 | 60 | ||
59 | # use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 | 61 | # use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 |
diff --git a/conf/distro/include/emulator.conf b/conf/distro/include/emulator.conf index a749086..b6125ae 100644 --- a/conf/distro/include/emulator.conf +++ b/conf/distro/include/emulator.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -49,6 +49,4 @@ MACHINE_EXTRA_INSTALL += "\ | |||
49 | mount-vboxsf \ | 49 | mount-vboxsf \ |
50 | qtsystems \ | 50 | qtsystems \ |
51 | qtglesstream \ | 51 | qtglesstream \ |
52 | b2qt-emulator-proxy \ | ||
53 | b2qt-emulator-vinput \ | ||
54 | " | 52 | " |
diff --git a/conf/distro/include/imx7s-warp.conf b/conf/distro/include/imx7s-warp.conf index fdd7f17..1d30445 100644 --- a/conf/distro/include/imx7s-warp.conf +++ b/conf/distro/include/imx7s-warp.conf | |||
@@ -35,3 +35,5 @@ PREFERRED_PROVIDER_virtual/egl = "opengldummy" | |||
35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | 35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" |
36 | 36 | ||
37 | DISTRO_FEATURES_remove = "webengine wayland" | 37 | DISTRO_FEATURES_remove = "webengine wayland" |
38 | |||
39 | KERNEL_DEVICETREE = "imx7d-warp.dtb" | ||
diff --git a/conf/distro/include/jetson-tx1.conf b/conf/distro/include/jetson-tx1.conf index 80435f3..ca82ab0 100644 --- a/conf/distro/include/jetson-tx1.conf +++ b/conf/distro/include/jetson-tx1.conf | |||
@@ -29,16 +29,4 @@ | |||
29 | 29 | ||
30 | DEPLOY_CONF_NAME = "NVIDIA Jetson TX1" | 30 | DEPLOY_CONF_NAME = "NVIDIA Jetson TX1" |
31 | 31 | ||
32 | # use mmc0 | 32 | include conf/distro/include/jetson.inc |
33 | ROOTFS_DEVICE = "mmcblk1p1" | ||
34 | |||
35 | INITRAMFS_MAXSIZE = "165888" | ||
36 | IMAGE_CLASSES += "image_types_tegra" | ||
37 | IMAGE_FSTYPES += "tegraflash" | ||
38 | IMAGE_ROOTFS_ALIGNMENT = "1024" | ||
39 | UBOOT_SUFFIX = "bin" | ||
40 | |||
41 | QBSP_IMAGE_CONTENT = "\ | ||
42 | ${IMAGE_LINK_NAME}.img \ | ||
43 | ${IMAGE_LINK_NAME}.conf \ | ||
44 | " | ||
diff --git a/recipes/gnutls/gnutls_3.%.bbappend b/conf/distro/include/jetson-tx2.conf index 8d91bb0..7ab3fb0 100644 --- a/recipes/gnutls/gnutls_3.%.bbappend +++ b/conf/distro/include/jetson-tx2.conf | |||
@@ -27,6 +27,6 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 30 | DEPLOY_CONF_NAME = "NVIDIA Jetson TX2" |
31 | 31 | ||
32 | SRC_URI += "file://check_SYS_getrandom.patch" | 32 | include conf/distro/include/jetson.inc |
diff --git a/conf/distro/include/jetson.inc b/conf/distro/include/jetson.inc new file mode 100644 index 0000000..98c71f4 --- /dev/null +++ b/conf/distro/include/jetson.inc | |||
@@ -0,0 +1,44 @@ | |||
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 | |||
30 | PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra" | ||
31 | |||
32 | # use mmc0 | ||
33 | ROOTFS_DEVICE = "mmcblk1p1" | ||
34 | |||
35 | INITRAMFS_MAXSIZE = "165888" | ||
36 | IMAGE_CLASSES += "image_types_tegra" | ||
37 | IMAGE_FSTYPES += "tegraflash" | ||
38 | IMAGE_ROOTFS_ALIGNMENT = "1024" | ||
39 | UBOOT_SUFFIX = "bin" | ||
40 | |||
41 | QBSP_IMAGE_CONTENT = "\ | ||
42 | ${IMAGE_LINK_NAME}.img \ | ||
43 | ${IMAGE_LINK_NAME}.conf \ | ||
44 | " | ||
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 | ||
72 | BBMASK += "\ | 72 | BBMASK += "\ |
73 | meta-tegra/recipes-bsp/flashing \ | 73 | meta-tegra/recipes-bsp/flashing \ |
74 | meta-vib4/recipes-connectivity/openssl \ | ||
74 | meta-vib4/recipes-core/busybox \ | 75 | meta-vib4/recipes-core/busybox \ |
75 | meta-vib4/recipes-core/glibc \ | 76 | meta-vib4/recipes-core/glibc \ |
76 | meta-vib4/recipes-core/images \ | 77 | meta-vib4/recipes-core/images \ |
diff --git a/conf/distro/include/toradex.inc b/conf/distro/include/toradex.inc index ef395a1..83b6d45 100644 --- a/conf/distro/include/toradex.inc +++ b/conf/distro/include/toradex.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -29,6 +29,12 @@ | |||
29 | 29 | ||
30 | include conf/distro/include/fsl.inc | 30 | include conf/distro/include/fsl.inc |
31 | 31 | ||
32 | BBMASK += "\ | ||
33 | meta-toradex-nxp/recipes-graphics/xorg-xserver \ | ||
34 | meta-toradex-bsp-common/recipes-devtools/python \ | ||
35 | meta-toradex-bsp-common/recipes-devtools/e2fsprogs \ | ||
36 | " | ||
37 | |||
32 | PREFERRED_PROVIDER_u-boot = "u-boot-toradex" | 38 | PREFERRED_PROVIDER_u-boot = "u-boot-toradex" |
33 | 39 | ||
34 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" | 40 | EXTRA_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 @@ | |||
1 | From 9ffa222dbaa3b11c3b1399192e0abd478fc3b564 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sami Nurmenniemi <sami.nurmenniemi@qt.io> | ||
3 | Date: Mon, 18 Sep 2017 12:45:54 +0300 | ||
4 | Subject: [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 | |||
10 | diff --git a/arch/arm/boot/dts/imx7d-warp.dts b/arch/arm/boot/dts/imx7d-warp.dts | ||
11 | index 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 | -- | ||
24 | 2.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 | ||
30 | SRCBRANCH = "linux_4.1.29" | ||
31 | SRCREV = "881845d84e3c2e58a00b9c36616203d748b7df0e" | ||
32 | LOCALVERSION = "-warp7" | ||
33 | |||
34 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | ||
35 | SRC_URI += " \ | ||
36 | file://0001-Fix-dev-hwrng-by-enabling-warp7-crypto-device.patch \ | ||
37 | " | ||
38 | |||
30 | do_configure_prepend() { | 39 | do_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 @@ | |||
1 | From ef2f2eeef6974bda0fd878c5f76b8b05ac16aa3d Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Wed, 13 Sep 2017 09:40:44 +0300 | ||
4 | Subject: [PATCH] use imx7d-warp.dtb | ||
5 | |||
6 | --- | ||
7 | include/configs/warp7.h | 2 +- | ||
8 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/include/configs/warp7.h b/include/configs/warp7.h | ||
11 | index 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}:" | |||
31 | SRC_URI += " \ | 31 | SRC_URI += " \ |
32 | file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ | 32 | file://0001-Updated-kernel-arguments-for-sabre-sd.patch \ |
33 | file://0001-Use-hdmi-as-primary-display-only-if-connected.patch \ | 33 | file://0001-Use-hdmi-as-primary-display-only-if-connected.patch \ |
34 | file://0001-use-imx7d-warp.dtb.patch \ | ||
34 | " | 35 | " |
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend index b1826db..bfa84e3 100644 --- a/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend | |||
@@ -34,3 +34,4 @@ SRC_URI += " \ | |||
34 | file://0003-apalis-imx6-Ixora-v1.0-support.patch \ | 34 | file://0003-apalis-imx6-Ixora-v1.0-support.patch \ |
35 | file://0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch \ | 35 | file://0004-apalis-imx6-lower-default-resolution-on-HDMI-to-720p.patch \ |
36 | " | 36 | " |
37 | DEPENDS += "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 | |||
35 | EXTRA_IMAGECMD_ext3 += "-L rootfs" | 35 | EXTRA_IMAGECMD_ext3 += "-L rootfs" |
36 | 36 | ||
37 | do_populate_boot() { | 37 | do_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 |
2 | serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 | 2 | serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 |
3 | default=boot | 3 | default=boot |
4 | timeout=10 | 4 | timeout=0 |
5 | 5 | ||
6 | menuentry 'boot' { | 6 | menuentry '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-qt/qt5/qtsensors_git.bbappend b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.bbappend index 655364b..7c2f7b5 100644 --- a/recipes-qt/qt5/qtsensors_git.bbappend +++ b/meta-nvidia-extras/recipes/systemd/systemd-compat-units.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,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | EXTRA_QMAKEVARS_PRE_append_emulator = " SENSORS_PLUGINS=simulator" | 30 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
31 | DEPENDS_append_emulator = " qtsimulator" | ||
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 @@ | |||
1 | From 1cfc1434a5d385a74de593ec7601674dba39e2fe Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Wed, 11 May 2016 16:16:30 +0300 | ||
4 | Subject: [PATCH] configure.ac: Fix wayland-protocols path | ||
5 | |||
6 | The wayland-protocols directory is used during build: Fix the path | ||
7 | to point to sysroot specified in recipe. | ||
8 | |||
9 | Normally PKG_CONFIG_SYSROOT_DIR could be used in configure.ac but that | ||
10 | breaks multilib weston as it would point to multilib sysroot when the | ||
11 | (allarch) wayland-protocols is actually in the machine sysroot. | ||
12 | |||
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
14 | Upstream-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 @@ | |||
1 | From c22e90365d89346258394833cbcad03ff32b2e27 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 May 2015 20:56:00 -0700 | ||
4 | Subject: [PATCH weston] make error() portable | ||
5 | |||
6 | error() is not posix but gnu extension so may not be available on all | ||
7 | kind of systemsi e.g. musl. | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-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 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 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" | ||
32 | diff --git a/src/weston-error.h b/src/weston-error.h | ||
33 | new file mode 100644 | ||
34 | index 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 | + | ||
58 | diff --git a/src/weston-launch.c b/src/weston-launch.c | ||
59 | index 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 | -- | ||
79 | 2.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 @@ | |||
1 | From 8ff6ed03ec4079f32e9b34085414e57be4730e04 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
3 | Date: Wed, 22 Feb 2017 15:53:30 +0200 | ||
4 | Subject: [PATCH] weston-launch: Provide a default version that doesn't require | ||
5 | PAM | ||
6 | |||
7 | weston-launch requires PAM for starting weston as a non-root user. | ||
8 | |||
9 | Since starting weston as root is a valid use case by itself, if | ||
10 | PAM is not available, provide a default version of weston-launch | ||
11 | without non-root-user support. | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
16 | Signed-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 | |||
22 | diff --git a/configure.ac b/configure.ac | ||
23 | index 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 | |||
54 | diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c | ||
55 | index 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 | -- | ||
173 | 2.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 @@ | |||
1 | From 6c89292024cc08d4499916dc153c354175bd81c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Daniel=20D=C3=ADaz?= <daniel.diaz@linaro.org> | ||
3 | Date: Fri, 21 Oct 2016 14:03:13 -0500 | ||
4 | Subject: [PATCH] Add configuration option for no input device. | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | [Backported from master, 75b7197.) | ||
10 | |||
11 | As it has been discussed in the past [1], running Weston | ||
12 | without any input device at launch might be beneficial for | ||
13 | some use cases. | ||
14 | |||
15 | Certainly, it's best for the vast majority of users (and | ||
16 | the project) to require an input device to be present, as | ||
17 | to avoid frustration and hassle, but for those brave souls | ||
18 | that so prefer, this patch lets them run without any input | ||
19 | device at all. | ||
20 | |||
21 | This introduces a simple configuration in weston.ini: | ||
22 | [core] | ||
23 | require-input=true | ||
24 | |||
25 | True is the default, so no behavioral change is introduced. | ||
26 | |||
27 | [1] https://lists.freedesktop.org/archives/wayland-devel/2015-November/025193.html | ||
28 | |||
29 | Signed-off-by: Daniel DÃaz <daniel.diaz@linaro.org> | ||
30 | Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> | ||
31 | Reviewed-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 | |||
40 | diff --git a/man/weston.ini.man b/man/weston.ini.man | ||
41 | index 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 | ||
56 | diff --git a/src/compositor.h b/src/compositor.h | ||
57 | index 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 { | ||
71 | diff --git a/src/libinput-seat.c b/src/libinput-seat.c | ||
72 | index 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. " | ||
88 | diff --git a/src/main.c b/src/main.c | ||
89 | index 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; | ||
111 | diff --git a/weston.ini.in b/weston.ini.in | ||
112 | index 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 | -- | ||
124 | 1.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 @@ | |||
1 | Index: 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 @@ | |||
1 | From 8e1efcd40b3bad81c83744e2e120d70c2b567ef2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Frederico Cadete <frederico@cadete.eu> | ||
3 | Date: Mon, 28 Sep 2015 00:30:10 +0200 | ||
4 | Subject: configure.ac: add explicit enable/disable for systemd-login support | ||
5 | |||
6 | Otherwise, auto-enable depending on whether the system has the necessary | ||
7 | libraries. | ||
8 | |||
9 | [Updated help text as per pq suggestion -- bwh] | ||
10 | |||
11 | Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> | ||
12 | Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> | ||
13 | Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | Backported from Weston git: | ||
17 | http://cgit.freedesktop.org/wayland/weston/commit/?id=8e1efc | ||
18 | |||
19 | Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> | ||
20 | |||
21 | diff --git a/configure.ac b/configure.ac | ||
22 | index 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 | -- | ||
69 | cgit 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 @@ | |||
1 | From 5eb025a867b42f8bc7bc73279eac8de58e51a13e Mon Sep 17 00:00:00 2001 | ||
2 | From: Frederico Cadete <frederico@cadete.eu> | ||
3 | Date: Mon, 28 Sep 2015 00:30:09 +0200 | ||
4 | Subject: configure.ac: add support for new versions of systemd | ||
5 | |||
6 | Starting from systemd version 209, a single libsystemd.pc is provided. | ||
7 | For previous versions, fall back on libsystemd-login.pc. | ||
8 | |||
9 | Signed-off-by: Frederico Cadete <frederico@cadete.eu> | ||
10 | Reviewed-by: Bryce Harrington <bryce@osg.samsung.com> | ||
11 | Reviewed-by: Derek Foreman <derekf@osg.samsung.com> | ||
12 | |||
13 | Upstream-Status: Backport | ||
14 | Backported from Weston git: | ||
15 | http://cgit.freedesktop.org/wayland/weston/commit/?id=5eb025 | ||
16 | |||
17 | Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> | ||
18 | |||
19 | diff --git a/configure.ac b/configure.ac | ||
20 | index 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 | -- | ||
52 | cgit 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 @@ | |||
1 | weston-1.5.0/configure.ac: make lcms explicitly configurable | ||
2 | |||
3 | The lcms package is outside of openembedded-core, so make it | ||
4 | explicitly configurable. Make it deterministic, so that if lcms | ||
5 | dependencies are missing, autoconf throws a fatal error. Follow | ||
6 | upstream style to make it more likely to be merged. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Index: 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 | |||
2 | The libwebp package is outside of openembedded-core, so make it | ||
3 | explicitly configurable. Make it deterministic, so that if libwebp | ||
4 | dependencies are missing, autoconf throws a fatal error. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Index: 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] | ||
2 | Encoding=UTF-8 | ||
3 | Type=Application | ||
4 | Name=Weston | ||
5 | Comment=Wayland Compostitor | ||
6 | Exec=weston | ||
7 | Icon=weston | ||
8 | Terminal=false | ||
9 | Categories=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 | |||
3 | if type Xwayland >/dev/null 2>/dev/null; then | ||
4 | mkdir -p /tmp/.X11-unix | ||
5 | |||
6 | add_weston_argument "--modules=xwayland.so" | ||
7 | fi | ||
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 | ||
30 | PACKAGECONFIG_remove = "kms" | 30 | PACKAGECONFIG_remove = "kms" |
31 | DEPENDS += "drm" | ||
31 | 32 | ||
32 | TARGET_CFLAGS += "-DWIN_INTERFACE_CUSTOM" | 33 | TARGET_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 @@ | |||
1 | SUMMARY = "Weston, a Wayland compositor" | ||
2 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | ||
3 | HOMEPAGE = "http://wayland.freedesktop.org" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | ||
6 | file://src/compositor.c;endline=23;md5=1d535fed266cf39f6d8c0647f52ac331" | ||
7 | |||
8 | SRC_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 | " | ||
18 | SRC_URI[md5sum] = "66bbba12f546570b4d97f676bc79a28e" | ||
19 | SRC_URI[sha256sum] = "9c1b03f3184fa0b0dfdf67e215048085156e1a2ca344af6613fed36794ac48cf" | ||
20 | |||
21 | inherit autotools pkgconfig useradd distro_features_check | ||
22 | # depends on virtual/egl | ||
23 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
24 | |||
25 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg" | ||
26 | DEPENDS += "wayland libinput virtual/egl pango wayland-native" | ||
27 | |||
28 | EXTRA_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 | |||
36 | EXTRA_OECONF_append_qemux86 = "\ | ||
37 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
38 | " | ||
39 | EXTRA_OECONF_append_qemux86-64 = "\ | ||
40 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
41 | " | ||
42 | PACKAGECONFIG ??= "${@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 | ||
51 | PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev virtual/mesa mtdev" | ||
52 | # Weston on Wayland (nested Weston) | ||
53 | PACKAGECONFIG[wayland] = "--enable-wayland-compositor,--disable-wayland-compositor,virtual/mesa" | ||
54 | # Weston on X11 | ||
55 | PACKAGECONFIG[x11] = "--enable-x11-compositor,--disable-x11-compositor,virtual/libx11 libxcb libxcb libxcursor cairo" | ||
56 | # Headless Weston | ||
57 | PACKAGECONFIG[headless] = "--enable-headless-compositor,--disable-headless-compositor" | ||
58 | # Weston on framebuffer | ||
59 | PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor,--disable-fbdev-compositor,udev mtdev" | ||
60 | # weston-launch | ||
61 | PACKAGECONFIG[launch] = "--enable-weston-launch,--disable-weston-launch,libpam drm" | ||
62 | # VA-API desktop recorder | ||
63 | PACKAGECONFIG[vaapi] = "--enable-vaapi-recorder,--disable-vaapi-recorder,libva" | ||
64 | # Weston with EGL support | ||
65 | PACKAGECONFIG[egl] = "--enable-egl --enable-simple-egl-clients,--disable-egl --disable-simple-egl-clients,virtual/egl" | ||
66 | # Weston with cairo glesv2 support | ||
67 | PACKAGECONFIG[cairo-glesv2] = "--with-cairo-glesv2,--with-cairo=image,cairo" | ||
68 | # Weston with lcms support | ||
69 | PACKAGECONFIG[lcms] = "--enable-lcms,--disable-lcms,lcms" | ||
70 | # Weston with webp support | ||
71 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | ||
72 | # Weston with unwinding support | ||
73 | PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" | ||
74 | # Weston with systemd-login support | ||
75 | PACKAGECONFIG[systemd] = "--enable-systemd-login,--disable-systemd-login,systemd dbus" | ||
76 | # Weston with Xwayland support | ||
77 | PACKAGECONFIG[xwayland] = "--enable-xwayland,--disable-xwayland,libxcb libxcursor cairo" | ||
78 | # colord CMS support | ||
79 | PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord" | ||
80 | |||
81 | do_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 | |||
95 | PACKAGES += "${PN}-examples" | ||
96 | |||
97 | FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}" | ||
98 | FILES_${PN}-examples = "${bindir}/*" | ||
99 | |||
100 | RDEPENDS_${PN} += "xkeyboard-config" | ||
101 | RRECOMMENDS_${PN} = "liberation-fonts" | ||
102 | |||
103 | USERADD_PACKAGES = "${PN}" | ||
104 | GROUPADD_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 | ||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI_append = " file://gl3ext.h" | ||
33 | |||
30 | DEPENDS = "mesa" | 34 | DEPENDS = "mesa" |
35 | |||
36 | do_install_append() { | ||
37 | install -m 644 ${WORKDIR}/gl3ext.h ${D}/${includedir}/GLES3/ | ||
38 | } | ||
diff --git a/meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h b/meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h new file mode 100644 index 0000000..4d4ea96 --- /dev/null +++ b/meta-renesas-extras/recipes/gles-module/gles-user-module/gl3ext.h | |||
@@ -0,0 +1,24 @@ | |||
1 | #ifndef __gl3ext_h_ | ||
2 | #define __gl3ext_h_ | ||
3 | |||
4 | /* $Revision: 17809 $ on $Date:: 2012-05-14 08:03:36 -0700 #$ */ | ||
5 | |||
6 | /* | ||
7 | * This document is licensed under the SGI Free Software B License Version | ||
8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | ||
9 | */ | ||
10 | |||
11 | /* OpenGL ES 3 Extensions | ||
12 | * | ||
13 | * After an OES extension's interactions with OpenGl ES 3.0 have been documented, | ||
14 | * its tokens and function definitions should be added to this file in a manner | ||
15 | * that does not conflict with gl2ext.h or gl3.h. | ||
16 | * | ||
17 | * Tokens and function definitions for extensions that have become standard | ||
18 | * features in OpenGL ES 3.0 will not be added to this file. | ||
19 | * | ||
20 | * Applications using OpenGL-ES-2-only extensions should include gl2ext.h | ||
21 | */ | ||
22 | |||
23 | #endif /* __gl3ext_h_ */ | ||
24 | |||
diff --git a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index 940c931..85be953 100644 --- a/meta-tegra-extras/recipes/drm/libdrm_%.bbappend +++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | |||
@@ -27,6 +27,4 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | do_install_append() { | 30 | DEPENDS += "wayland-kms libgbm" |
31 | rm -f ${D}${libdir}/libdrm.so.2 | ||
32 | } | ||
diff --git a/meta-renesas-extras/recipes/mesa/mesa_12.%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend index 0542b65..0542b65 100644 --- a/meta-renesas-extras/recipes/mesa/mesa_12.%.bbappend +++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend | |||
diff --git a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend index 361abbf..47fe2ce 100644 --- a/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend +++ b/meta-renesas-extras/recipes/u-boot/u-boot_%.bbappend | |||
@@ -27,10 +27,14 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | LICENSE = "GPLv2+" | ||
31 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 32 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
31 | 33 | ||
32 | SRC_URI += "file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch" | 34 | SRC_URI += "file://0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch" |
33 | 35 | ||
36 | S = "${WORKDIR}/git" | ||
37 | |||
34 | do_deploy_prepend() { | 38 | do_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 | ||
30 | BBCLASSEXTEND += "nativesdk" | 30 | DEPENDS += "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 | |||
30 | EXTRA_OECONF += "WAYLAND_PROTOCOLS_SYSROOT_DIR=${RECIPE_SYSROOT}" | ||
diff --git a/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch b/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch index c700e0e..dd58eed 100644 --- a/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch +++ b/meta-tegra-extras/recipes/linux/linux-tegra/0001-fbcon-Compare-variable-screen-info-instead-of-modes-.patch | |||
@@ -16,14 +16,14 @@ NULL pointer dereference in fbcon_switch. | |||
16 | Fix the issue by using the variable screen info structure also when adding | 16 | Fix the issue by using the variable screen info structure also when adding |
17 | new mode to the modelist. | 17 | new mode to the modelist. |
18 | --- | 18 | --- |
19 | drivers/video/modedb.c | 7 ++++--- | 19 | drivers/video/fbdev/core/modedb.c | 7 ++++--- |
20 | 1 file changed, 4 insertions(+), 3 deletions(-) | 20 | 1 file changed, 4 insertions(+), 3 deletions(-) |
21 | 21 | ||
22 | diff --git a/drivers/video/modedb.c b/drivers/video/modedb.c | 22 | diff --git a/drivers/video/fbdev/core/modedb.c b/drivers/video/fbdev/core/modedb.c |
23 | index 12dadab..e5093cf 100644 | 23 | index f5a53a6..a8fd871 100644 |
24 | --- a/drivers/video/modedb.c | 24 | --- a/drivers/video/fbdev/core/modedb.c |
25 | +++ b/drivers/video/modedb.c | 25 | +++ b/drivers/video/fbdev/core/modedb.c |
26 | @@ -2190,13 +2190,14 @@ int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) | 26 | @@ -2187,13 +2187,14 @@ int fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) |
27 | { | 27 | { |
28 | struct list_head *pos; | 28 | struct list_head *pos; |
29 | struct fb_modelist *modelist; | 29 | struct fb_modelist *modelist; |
diff --git a/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend b/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend index 8770c65..d48d6ac 100644 --- a/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend +++ b/meta-tegra-extras/recipes/qt5/qtbase_git.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
diff --git a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend b/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend index 1f375e6..84a817c 100644 --- a/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend +++ b/meta-tegra-extras/recipes/tegra-binaries/tegra-libraries_%.bbappend | |||
@@ -27,8 +27,6 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa', '', d)}" | ||
31 | |||
32 | PACKAGES += "${PN}-dev" | 30 | PACKAGES += "${PN}-dev" |
33 | RRECOMMENDS_${PN}-dev += "\ | 31 | RRECOMMENDS_${PN}-dev += "\ |
34 | libgles1-mesa-dev \ | 32 | libgles1-mesa-dev \ |
@@ -37,7 +35,3 @@ RRECOMMENDS_${PN}-dev += "\ | |||
37 | libegl-mesa-dev \ | 35 | libegl-mesa-dev \ |
38 | libgl-mesa-dev \ | 36 | libgl-mesa-dev \ |
39 | " | 37 | " |
40 | |||
41 | do_install_append() { | ||
42 | install -m 0644 ${DRVROOT}/tegra/libdrm* ${D}${libdir} | ||
43 | } | ||
diff --git a/meta-ti-extras/recipes/dtc/dtc_git.bbappend b/meta-ti-extras/recipes/dtc/dtc_%.bbappend index e4f43eb..c22b103 100644 --- a/meta-ti-extras/recipes/dtc/dtc_git.bbappend +++ b/meta-ti-extras/recipes/dtc/dtc_%.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
diff --git a/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch b/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch new file mode 100644 index 0000000..8a986ef --- /dev/null +++ b/meta-ti-extras/recipes/libgles/ti-sgx-ddk-um/0001-Change-typedef-for-EGLNativeDisplayType.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From fdbf7768bcd14b182b0372631fe762a3fde16a49 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 8 Jun 2017 15:42:58 +0300 | ||
4 | Subject: [PATCH] Change typedef for EGLNativeDisplayType | ||
5 | |||
6 | Change 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 | |||
11 | diff --git a/targetfs/ti335x/include/EGL/eglplatform.h b/targetfs/ti335x/include/EGL/eglplatform.h | ||
12 | index 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 | ||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | 30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" |
31 | SRC_URI += "\ | 31 | SRC_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 1de4c09..6ba1d5c 100644 --- a/recipes-qt/automotive/gammaray_git.bb +++ b/recipes-qt/automotive/gammaray_git.bb | |||
@@ -8,8 +8,8 @@ inherit cmake_qt5 | |||
8 | 8 | ||
9 | SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" | 9 | SRC_URI = "git://github.com/KDAB/GammaRay;branch=${BRANCH}" |
10 | 10 | ||
11 | BRANCH = "5.9" | 11 | BRANCH = "master" |
12 | SRCREV = "ff53d7328d6db17dcb6486bb98b02a2f107b4066" | 12 | SRCREV = "bc0ceb37dc8ef8e3a2a09a8fbc3e300f853a58e3" |
13 | PV = "${BRANCH}+git${SRCPV}" | 13 | PV = "${BRANCH}+git${SRCPV}" |
14 | 14 | ||
15 | DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ | 15 | DEPENDS = "qtdeclarative qtlocation qtsvg qttools qtconnectivity qt3d qtivi qtscxml qtscxml-native \ |
diff --git a/recipes-qt/automotive/neptune-ui_git.bb b/recipes-qt/automotive/neptune-ui_git.bb index e8d01f2..f13bbfb 100644 --- a/recipes-qt/automotive/neptune-ui_git.bb +++ b/recipes-qt/automotive/neptune-ui_git.bb | |||
@@ -41,15 +41,13 @@ SRC_URI += " \ | |||
41 | file://neptune.service \ | 41 | file://neptune.service \ |
42 | " | 42 | " |
43 | 43 | ||
44 | SRCREV = "2a242aa65f267d010d8c10b8c5da5a1e728d0551" | 44 | SRCREV = "2cf65ed117e8e4494b1ab66b35e3dc9a70234659" |
45 | 45 | ||
46 | DEPENDS = "qtbase qtdeclarative qttools-native qtquickcontrols2 qtapplicationmanager" | 46 | DEPENDS = "qtbase qtdeclarative qttools-native qtquickcontrols2 qtapplicationmanager" |
47 | RDEPENDS_${PN} = "qtivi qtvirtualkeyboard dbus \ | 47 | RDEPENDS_${PN} = "qtivi qtvirtualkeyboard dbus \ |
48 | qtquickcontrols-qmlplugins qtgraphicaleffects-qmlplugins \ | 48 | qtquickcontrols-qmlplugins qtgraphicaleffects-qmlplugins \ |
49 | ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" | 49 | ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)}" |
50 | 50 | ||
51 | EXTRA_QMAKEVARS_PRE += "INSTALL_PREFIX=/opt" | ||
52 | |||
53 | do_install_append() { | 51 | do_install_append() { |
54 | install -m 0755 -d ${D}${systemd_unitdir}/system | 52 | install -m 0755 -d ${D}${systemd_unitdir}/system |
55 | install -m 0644 ${WORKDIR}/neptune.service ${D}${systemd_unitdir}/system/ | 53 | install -m 0644 ${WORKDIR}/neptune.service ${D}${systemd_unitdir}/system/ |
@@ -58,9 +56,9 @@ do_install_append() { | |||
58 | PACKAGES =+ "${PN}-apps" | 56 | PACKAGES =+ "${PN}-apps" |
59 | RRECOMMENDS_${PN} += "${PN}-apps" | 57 | RRECOMMENDS_${PN} += "${PN}-apps" |
60 | 58 | ||
61 | FILES_${PN}-apps += "/opt/neptune-ui/apps" | 59 | FILES_${PN}-apps += "/opt/neptune/apps" |
62 | FILES_${PN} += "\ | 60 | FILES_${PN} += "\ |
63 | /opt/neptune-ui \ | 61 | /opt/neptune \ |
64 | " | 62 | " |
65 | 63 | ||
66 | SYSTEMD_SERVICE_${PN} = "neptune.service" | 64 | SYSTEMD_SERVICE_${PN} = "neptune.service" |
diff --git a/recipes-qt/automotive/qtapplicationmanager_git.bb b/recipes-qt/automotive/qtapplicationmanager_git.bb index 5b112b5..93fd7ac 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" | |||
34 | inherit qt5-module | 34 | inherit qt5-module |
35 | require recipes-qt/qt5/qt5-git.inc | 35 | require recipes-qt/qt5/qt5-git.inc |
36 | 36 | ||
37 | SRCREV = "57ff870b0790e1e1feb3421cdfb46dff82878825" | 37 | SRCREV = "9295baad5f20cf7b3e12aad37e7255a143b0c89b" |
38 | 38 | ||
39 | DEPENDS = "qtbase qtdeclarative libyaml libarchive \ | 39 | DEPENDS = "qtbase qtdeclarative libyaml libarchive \ |
40 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" | 40 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "qtwayland", "", d)}" |
diff --git a/recipes-qt/automotive/qtivi_git.bb b/recipes-qt/automotive/qtivi_git.bb index 3eb48e5..aad9909 100644 --- a/recipes-qt/automotive/qtivi_git.bb +++ b/recipes-qt/automotive/qtivi_git.bb | |||
@@ -50,7 +50,7 @@ SRC_URI += " \ | |||
50 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ | 50 | file://0001-Use-QT_HOST_BINS-get-for-getting-correct-path.patch \ |
51 | " | 51 | " |
52 | 52 | ||
53 | SRCREV_qtivi = "705acb8d595d772778dd4985b762ed6a604473d9" | 53 | SRCREV_qtivi = "aeb240744ce9fc7937f5879271aca2f84a682e6a" |
54 | SRCREV_qface = "295824c8df7f74af8f3d1f368ec15942e6622f22" | 54 | SRCREV_qface = "295824c8df7f74af8f3d1f368ec15942e6622f22" |
55 | SRCREV = "${SRCREV_qtivi}" | 55 | SRCREV = "${SRCREV_qtivi}" |
56 | SRCREV_FORMAT = "qtivi_qface" | 56 | SRCREV_FORMAT = "qtivi_qface" |
diff --git a/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf b/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf index 83f3876..c9a10b6 100644 --- a/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf +++ b/recipes-qt/b2qt-addons/b2qt-appcontroller/emulator/appcontroller.conf | |||
@@ -3,6 +3,7 @@ env=QT_QPA_EGLFS_HIDECURSOR=1 | |||
3 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins | 3 | env=QML2_IMPORT_PATH=/data/user/qt/qmlplugins |
4 | env=QT_IM_MODULE=qtvirtualkeyboard | 4 | env=QT_IM_MODULE=qtvirtualkeyboard |
5 | env=QTGLESSTREAM_DISPLAY=192.168.56.1 | 5 | env=QTGLESSTREAM_DISPLAY=192.168.56.1 |
6 | env=SIMULATOR_HOSTNAME=192.168.56.1 | ||
6 | env=QT_QUICK_CONTROLS_1_STYLE=Flat | 7 | env=QT_QUICK_CONTROLS_1_STYLE=Flat |
7 | env=XDG_RUNTIME_DIR=/tmp | 8 | env=XDG_RUNTIME_DIR=/tmp |
8 | base=linux | 9 | base=linux |
diff --git a/recipes-qt/b2qt-addons/b2qt-demos.bb b/recipes-qt/b2qt-addons/b2qt-demos.bb index f133352..1c46277 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 | ||
47 | PV = "5.7+git${SRCPV}" | 47 | PV = "5.10.0+git${SRCPV}" |
48 | 48 | ||
49 | BRANCH = "5.7" | 49 | BRANCH = "5.10" |
50 | BROWSER_BRANCH = "dev" | 50 | BROWSER_BRANCH = "dev" |
51 | QT_BRANCH = "5.7" | 51 | QT_BRANCH = "5.10" |
52 | SRCREV_demos = "cd9f0c40f30226c7ce1c3259aea8ebca08acfbb8" | 52 | SRCREV_demos = "f9c7da64cea85d44998e62f4e0d3ec217a22f0d2" |
53 | SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a" | 53 | SRCREV_qtcanvas3d = "32404e27101c5ec81b4ab965faf38263429bbc5a" |
54 | SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1" | 54 | SRCREV_qtquickcontrols = "c6713e212ef0b97c45d6466b73220567e94a05f1" |
55 | SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd" | 55 | SRCREV_qtwebbrowser = "7c570ee4297946f3ed70565a630d690070533cbd" |
@@ -77,6 +77,7 @@ do_install_append() { | |||
77 | # but none of the source files | 77 | # but none of the source files |
78 | find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete | 78 | find ${D}/data/user/qt/ \( -name '*.cpp' -or -name '*.h' -or -name '*.pro' \) -delete |
79 | rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser | 79 | rm -rf ${D}/data/user/qt/qtwebbrowser/tqtc-qtwebbrowser |
80 | rm -rf ${D}/data/user/qt/qtwebbrowser/qmldir | ||
80 | 81 | ||
81 | if [ -d ${WORKDIR}/git/images ]; then | 82 | if [ -d ${WORKDIR}/git/images ]; then |
82 | install -d 0755 ${D}/data/images | 83 | install -d 0755 ${D}/data/images |
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb b/recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb deleted file mode 100644 index 0692fc0..0000000 --- a/recipes-qt/b2qt-addons/b2qt-emulator-proxy.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Proxy daemon for QtSimulator" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://proxy.h;md5=709ec9e3c40137fa6068a903c57acdc1;beginline=1;endline=17" | ||
33 | |||
34 | inherit qmake5 | ||
35 | |||
36 | SRC_URI = " \ | ||
37 | git://codereview.qt-project.org/tqtc-boot2qt/emulator;branch=${BRANCH};protocol=ssh \ | ||
38 | file://emulatorproxyd.sh \ | ||
39 | file://emulatorproxy.service \ | ||
40 | " | ||
41 | |||
42 | SRCREV = "ab4a9f13831f44f3dcd375fa17ed7e102647febe" | ||
43 | BRANCH = "master" | ||
44 | PV = "1.0+git${SRCPV}" | ||
45 | |||
46 | S = "${WORKDIR}/git/src/helperlibs/proxy" | ||
47 | |||
48 | DEPENDS = "qtbase qtsimulator" | ||
49 | |||
50 | do_install_append() { | ||
51 | install -m 0755 -d ${D}${sysconfdir}/init.d | ||
52 | install -m 0755 ${WORKDIR}/emulatorproxyd.sh ${D}${sysconfdir}/init.d/ | ||
53 | |||
54 | install -m 0755 -d ${D}${systemd_unitdir}/system | ||
55 | install -m 0644 ${WORKDIR}/emulatorproxy.service ${D}${systemd_unitdir}/system/ | ||
56 | } | ||
57 | |||
58 | INITSCRIPT_NAME = "emulatorproxyd.sh" | ||
59 | INITSCRIPT_PARAMS = "defaults 97 10" | ||
60 | |||
61 | SYSTEMD_SERVICE_${PN} = "emulatorproxy.service" | ||
62 | |||
63 | inherit update-rc.d systemd | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb b/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb deleted file mode 100644 index b9acd13..0000000 --- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "SD-Card mount daemon for Emulator" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://sdcardmountd.h;md5=709ec9e3c40137fa6068a903c57acdc1;beginline=1;endline=17" | ||
33 | |||
34 | inherit qmake5 | ||
35 | |||
36 | SRC_URI = " \ | ||
37 | git://codereview.qt-project.org/tqtc-boot2qt/emulator;branch=${BRANCH};protocol=ssh \ | ||
38 | file://sdcardmountd.sh \ | ||
39 | file://sdcardmount.service \ | ||
40 | " | ||
41 | |||
42 | SRCREV = "ab4a9f13831f44f3dcd375fa17ed7e102647febe" | ||
43 | BRANCH = "master" | ||
44 | PV = "1.0+git${SRCPV}" | ||
45 | |||
46 | S = "${WORKDIR}/git/src/helperlibs/sdcarddaemon" | ||
47 | |||
48 | DEPENDS = "qtbase qtsimulator" | ||
49 | |||
50 | do_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 | |||
58 | INITSCRIPT_NAME = "sdcardmountd.sh" | ||
59 | INITSCRIPT_PARAMS = "defaults 97 10" | ||
60 | |||
61 | SYSTEMD_SERVICE_${PN} = "sdcardmount.service" | ||
62 | |||
63 | inherit 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] | ||
2 | Description=QtSimulator SD Card Mount Daemon | ||
3 | After=systemd-user-sessions.service | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/usr/bin/sdcardmountd | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=multi-user.target | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh b/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh deleted file mode 100755 index 0849cc7..0000000 --- a/recipes-qt/b2qt-addons/b2qt-emulator-sdcardmountd/sdcardmountd.sh +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | ############################################################################ | ||
3 | ## | ||
4 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
5 | ## Contact: https://www.qt.io/licensing/ | ||
6 | ## | ||
7 | ## This file is part of the Boot to Qt meta layer. | ||
8 | ## | ||
9 | ## $QT_BEGIN_LICENSE:GPL$ | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at https://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## GNU General Public License Usage | ||
19 | ## Alternatively, this file may be used under the terms of the GNU | ||
20 | ## General Public License version 3 or (at your option) any later version | ||
21 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
22 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
23 | ## included in the packaging of this file. Please review the following | ||
24 | ## information to ensure the GNU General Public License requirements will | ||
25 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
26 | ## | ||
27 | ## $QT_END_LICENSE$ | ||
28 | ## | ||
29 | ############################################################################ | ||
30 | |||
31 | DAEMON=/usr/bin/sdcardmountd | ||
32 | |||
33 | case "$1" in | ||
34 | start) | ||
35 | start-stop-daemon --start --quiet --exec $DAEMON & | ||
36 | ;; | ||
37 | stop) | ||
38 | start-stop-daemon --stop --quiet --exec $DAEMON | ||
39 | ;; | ||
40 | restart) | ||
41 | start-stop-daemon --stop --quiet --exec $DAEMON | ||
42 | sleep 1 | ||
43 | start-stop-daemon --start --quiet --exec $DAEMON & | ||
44 | ;; | ||
45 | *) | ||
46 | echo "Usage: $0 {start|stop|restart}" | ||
47 | exit 1 | ||
48 | esac | ||
49 | exit 0 | ||
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 | ||
46 | SRCREV = "7ff96b74f8721dbaf50722561770815a4530b6a0" | 46 | SRCREV = "d2ec2dc7034c31e3602003b55d5f2a2c98983651" |
47 | 47 | ||
48 | DEPENDS = "qtbase qtdeclarative \ | 48 | DEPENDS = "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 | ||
49 | SRCREV = "430e26a747c1df605d1f6b55f4a7f7125d100dca" | 49 | SRCREV = "ade3c7f1978f608e3d1c9520552c7345939aa567" |
50 | PV = "1.0.0+git${SRCPV}" | 50 | PV = "1.0.2+git${SRCPV}" |
51 | 51 | ||
52 | REQUIRED_DISTRO_FEATURES = "systemd" | 52 | REQUIRED_DISTRO_FEATURES = "systemd" |
53 | DEPENDS = "qtbase" | 53 | DEPENDS = "qtbase" |
diff --git a/recipes-qt/b2qt-addons/qdbd/defaults b/recipes-qt/b2qt-addons/qdbd/defaults index cb4a78f..5ced90d 100644 --- a/recipes-qt/b2qt-addons/qdbd/defaults +++ b/recipes-qt/b2qt-addons/qdbd/defaults | |||
@@ -5,3 +5,4 @@ if [ -e /sys/class/net/eth0/address ]; then | |||
5 | else | 5 | else |
6 | SERIAL=$(hostname)-$(cat /etc/machine-id) | 6 | SERIAL=$(hostname)-$(cat /etc/machine-id) |
7 | fi | 7 | fi |
8 | export QT_HASH_SEED=0 | ||
diff --git a/recipes-qt/qt5-addons/qtglesstream.bb b/recipes-qt/qt5-addons/qtglesstream.bb index bbf3d00..0f942e7 100644 --- a/recipes-qt/qt5-addons/qtglesstream.bb +++ b/recipes-qt/qt5-addons/qtglesstream.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -29,7 +29,7 @@ | |||
29 | 29 | ||
30 | DESCRIPTION = "QtGlesStream" | 30 | DESCRIPTION = "QtGlesStream" |
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | 31 | LICENSE = "The-Qt-Company-DCLA-2.1" |
32 | LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=e95d9351d26ed899188e02d44133cae0" | 32 | LIC_FILES_CHKSUM = "file://qtglesstream.pro;md5=875f34471470b09977705aed7863e440" |
33 | 33 | ||
34 | inherit qt5-module | 34 | inherit qt5-module |
35 | 35 | ||
@@ -38,14 +38,12 @@ SRC_URI = " \ | |||
38 | " | 38 | " |
39 | 39 | ||
40 | PV = "1.0.0" | 40 | PV = "1.0.0" |
41 | SRCREV = "114e5a1941f831d082395ed80a017f45d3b71a63" | 41 | SRCREV = "37f98d4b7123378d1ade7beedf5c5150cd26e178" |
42 | BRANCH = "dev" | 42 | BRANCH = "dev" |
43 | 43 | ||
44 | S = "${WORKDIR}/git" | 44 | S = "${WORKDIR}/git" |
45 | 45 | ||
46 | DEPENDS = "qtbase" | 46 | DEPENDS = "qtbase" |
47 | RREPLACES_${PN} = "qtglesstream-dummy-client" | ||
48 | RREPLACES_${PN}-dev = "qtglesstream-dummy-client-dev" | ||
49 | 47 | ||
50 | do_install_append() { | 48 | do_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..1fad9f3 100644 --- a/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb +++ b/recipes-qt/qt5-addons/qtquickcompiler-sdk.bb | |||
@@ -33,6 +33,8 @@ LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | |||
33 | 33 | ||
34 | inherit allarch qmake5_paths | 34 | inherit allarch qmake5_paths |
35 | 35 | ||
36 | do_unpack[depends] += "p7zip-native:do_populate_sysroot" | ||
37 | |||
36 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/mingw_32/i686-4.9.2-release-posix-dwarf-rt_v3-rev1-runtime.7z" | 38 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/mingw_32/i686-4.9.2-release-posix-dwarf-rt_v3-rev1-runtime.7z" |
37 | 39 | ||
38 | SRC_URI[md5sum] = "a7d673c4ad8bcef9e464ea5386492cb3" | 40 | SRC_URI[md5sum] = "a7d673c4ad8bcef9e464ea5386492cb3" |
@@ -64,7 +66,6 @@ do_install() { | |||
64 | do_install_append_mingw32() { | 66 | do_install_append_mingw32() { |
65 | if [ "${PN}" = "nativesdk-qtquickcompiler-sdk" ]; then | 67 | if [ "${PN}" = "nativesdk-qtquickcompiler-sdk" ]; then |
66 | install -m 0644 ${WORKDIR}/libgcc_s_dw2-1.dll ${D}${OE_QMAKE_PATH_BINS} | 68 | install -m 0644 ${WORKDIR}/libgcc_s_dw2-1.dll ${D}${OE_QMAKE_PATH_BINS} |
67 | install -m 0644 ${WORKDIR}/libwinpthread-1.dll ${D}${OE_QMAKE_PATH_BINS} | ||
68 | fi | 69 | fi |
69 | } | 70 | } |
70 | 71 | ||
diff --git a/recipes-qt/qt5-addons/qtsimulator/emulator b/recipes-qt/qt5-addons/qtsimulator/emulator new file mode 100644 index 0000000..aa4a718 --- /dev/null +++ b/recipes-qt/qt5-addons/qtsimulator/emulator | |||
@@ -0,0 +1 @@ | |||
SIMULATOR_HOSTNAME=192.168.56.1 | |||
diff --git a/recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh b/recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh new file mode 100644 index 0000000..c1a6954 --- /dev/null +++ b/recipes-qt/qt5-addons/qtsimulator/emulator-hostname.sh | |||
@@ -0,0 +1 @@ | |||
export SIMULATOR_HOSTNAME=192.168.56.1 | |||
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxy.service b/recipes-qt/qt5-addons/qtsimulator/emulatorproxy.service index 7a709fd..2deb091 100644 --- a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxy.service +++ b/recipes-qt/qt5-addons/qtsimulator/emulatorproxy.service | |||
@@ -5,6 +5,7 @@ After=systemd-user-sessions.service | |||
5 | [Service] | 5 | [Service] |
6 | Type=forking | 6 | Type=forking |
7 | ExecStart=/usr/bin/emulatorproxyd | 7 | ExecStart=/usr/bin/emulatorproxyd |
8 | EnvironmentFile=/etc/default/emulator | ||
8 | 9 | ||
9 | [Install] | 10 | [Install] |
10 | WantedBy=multi-user.target | 11 | WantedBy=multi-user.target |
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxyd.sh b/recipes-qt/qt5-addons/qtsimulator/emulatorproxyd.sh index d73f1e7..d73f1e7 100755 --- a/recipes-qt/b2qt-addons/b2qt-emulator-proxy/emulatorproxyd.sh +++ b/recipes-qt/qt5-addons/qtsimulator/emulatorproxyd.sh | |||
diff --git a/recipes-qt/qt5-addons/qtsimulator_1.0.bb b/recipes-qt/qt5-addons/qtsimulator_1.0.bb index 4d46679..6810d06 100644 --- a/recipes-qt/qt5-addons/qtsimulator_1.0.bb +++ b/recipes-qt/qt5-addons/qtsimulator_1.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -29,17 +29,44 @@ | |||
29 | 29 | ||
30 | DESCRIPTION = "QtSimulator" | 30 | DESCRIPTION = "QtSimulator" |
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | 31 | LICENSE = "The-Qt-Company-DCLA-2.1" |
32 | LIC_FILES_CHKSUM = "file://src/simulator/version.h;md5=eb588a9fa3a2a45f725e9eb9f864e74b;beginline=1;endline=17" | 32 | LIC_FILES_CHKSUM = "file://src/simulator/simulatorglobal.h;md5=3daa1a609195439d0292259a74c7d615;beginline=1;endline=20" |
33 | 33 | ||
34 | inherit qt5-module | 34 | inherit qt5-module |
35 | 35 | ||
36 | SRC_URI = " \ | 36 | SRC_URI = " \ |
37 | git://codereview.qt-project.org/tqtc-boot2qt/qtsimulator;branch=${BRANCH};protocol=ssh \ | 37 | git://codereview.qt-project.org/tqtc-boot2qt/qtsimulator;branch=${BRANCH};protocol=ssh \ |
38 | file://emulatorproxyd.sh \ | ||
39 | file://emulatorproxy.service \ | ||
40 | file://emulator-hostname.sh \ | ||
41 | file://emulator \ | ||
38 | " | 42 | " |
39 | 43 | ||
40 | SRCREV = "0307e85a8d3a8b83a346aa3910e88aabb7b7b2ac" | 44 | SRCREV = "f98633ebee7dbce79c00fbfec86537c6330e2b5f" |
41 | BRANCH = "master" | 45 | BRANCH = "master" |
42 | 46 | ||
43 | S = "${WORKDIR}/git" | 47 | S = "${WORKDIR}/git" |
44 | 48 | ||
45 | DEPENDS = "qtbase" | 49 | DEPENDS = "qtbase" |
50 | RRECOMMENDS_${PN} += "${PN}-tools" | ||
51 | |||
52 | # Proxy daemon for QtSimulator | ||
53 | do_install_append() { | ||
54 | install -m 0755 -d ${D}${sysconfdir}/init.d | ||
55 | install -m 0755 ${WORKDIR}/emulatorproxyd.sh ${D}${sysconfdir}/init.d/ | ||
56 | |||
57 | install -m 0755 -d ${D}${systemd_unitdir}/system | ||
58 | install -m 0644 ${WORKDIR}/emulatorproxy.service ${D}${systemd_unitdir}/system/ | ||
59 | |||
60 | install -m 0755 -d ${D}${sysconfdir}/profile.d | ||
61 | install -m 0644 ${WORKDIR}/emulator-hostname.sh ${D}${sysconfdir}/profile.d/ | ||
62 | |||
63 | install -m 0755 -d ${D}${sysconfdir}/default | ||
64 | install -m 0644 ${WORKDIR}/emulator ${D}${sysconfdir}/default/ | ||
65 | } | ||
66 | |||
67 | INITSCRIPT_NAME = "emulatorproxyd.sh" | ||
68 | INITSCRIPT_PARAMS = "defaults 97 10" | ||
69 | |||
70 | SYSTEMD_SERVICE_${PN} = "emulatorproxy.service" | ||
71 | |||
72 | inherit update-rc.d systemd | ||
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bbappend b/recipes-qt/qt5/nativesdk-qtbase_git.bbappend index d79bf57..2ae2206 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bbappend +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bbappend | |||
@@ -40,3 +40,5 @@ PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl" | |||
40 | 40 | ||
41 | fakeroot do_generate_qt_environment_file_mingw32() { | 41 | fakeroot do_generate_qt_environment_file_mingw32() { |
42 | } | 42 | } |
43 | |||
44 | SRC_URI_append_mingw32 = "file://0001-disable-qt_random_cpu.patch" | ||
diff --git a/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch b/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch new file mode 100644 index 0000000..720a8ef --- /dev/null +++ b/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From ef03baa1188f411948f99c18d5e9414721996158 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 23 Nov 2017 11:28:47 +0200 | ||
4 | Subject: [PATCH] disable qt_random_cpu | ||
5 | |||
6 | The code caused internal compiler error when compiling for mingw32 | ||
7 | |||
8 | Change-Id: Ieba798a9599a6d683c6630c6cd3731b2b909b628 | ||
9 | --- | ||
10 | src/corelib/global/qrandom.cpp | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp | ||
14 | index 72ac8d3..10a8390 100644 | ||
15 | --- a/src/corelib/global/qrandom.cpp | ||
16 | +++ b/src/corelib/global/qrandom.cpp | ||
17 | @@ -92,7 +92,7 @@ DECLSPEC_IMPORT BOOLEAN WINAPI SystemFunction036(PVOID RandomBuffer, ULONG Rando | ||
18 | |||
19 | QT_BEGIN_NAMESPACE | ||
20 | |||
21 | -#if defined(Q_PROCESSOR_X86) && QT_COMPILER_SUPPORTS_HERE(RDRND) | ||
22 | +#if 0 | ||
23 | static qssize_t qt_random_cpu(void *buffer, qssize_t count) Q_DECL_NOTHROW; | ||
24 | |||
25 | # ifdef Q_PROCESSOR_X86_64 | ||
diff --git a/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri b/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri index 43e1685..d29adb2 100644 --- a/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri +++ b/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri | |||
@@ -3,4 +3,4 @@ QMAKE_LIBS_OPENGL_ES2 = -lQtGlesStreamClient | |||
3 | 3 | ||
4 | QMAKE_PLATFORM += boot2qt | 4 | QMAKE_PLATFORM += boot2qt |
5 | QT_QPA_DEFAULT_PLATFORM = eglfs | 5 | QT_QPA_DEFAULT_PLATFORM = eglfs |
6 | EGLFS_DEVICE_INTEGRATION = none | 6 | EGLFS_DEVICE_INTEGRATION = eglfs_emu |
diff --git a/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri b/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri new file mode 100644 index 0000000..d4c14ca --- /dev/null +++ b/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri | |||
@@ -0,0 +1,4 @@ | |||
1 | QMAKE_PLATFORM += boot2qt | ||
2 | |||
3 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
4 | EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice | ||
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 | ||
46 | SRCREV = "03b3e6fd62ff9e9a80212a313340e0a0c2f0135f" | 46 | SRCREV = "61e9e8c83e817b3692beae03bd8e683d247207b0" |
47 | 47 | ||
48 | DEPENDS = "qtbase qtdeclarative qtconnectivity" | 48 | DEPENDS = "qtbase qtdeclarative qtconnectivity" |
diff --git a/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch b/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch new file mode 100644 index 0000000..ad4c7b8 --- /dev/null +++ b/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Wed, 25 Oct 2017 13:22:16 +0300 | ||
4 | Subject: [PATCH] location: disable simulator content under plugins | ||
5 | |||
6 | Does not build against more recent simulator | ||
7 | --- | ||
8 | src/plugins/position/position.pro | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro | ||
12 | index 1687a9d..347963f 100644 | ||
13 | --- a/src/plugins/position/position.pro | ||
14 | +++ b/src/plugins/position/position.pro | ||
15 | @@ -5,7 +5,7 @@ QT_FOR_CONFIG += positioning-private | ||
16 | qtHaveModule(dbus):SUBDIRS += geoclue | ||
17 | qtConfig(gypsy):SUBDIRS += gypsy | ||
18 | qtConfig(winrt_geolocation):SUBDIRS += winrt | ||
19 | -qtHaveModule(simulator):SUBDIRS += simulator | ||
20 | +#qtHaveModule(simulator):SUBDIRS += simulator | ||
21 | osx|ios|tvos:SUBDIRS += corelocation | ||
22 | android:SUBDIRS += android | ||
23 | win32:qtHaveModule(serialport):SUBDIRS += serialnmea | ||
diff --git a/recipes-qt/qt5/qtlocation_git.bbappend b/recipes-qt/qt5/qtlocation_git.bbappend index 2a949eb..d6ee6a1 100644 --- a/recipes-qt/qt5/qtlocation_git.bbappend +++ b/recipes-qt/qt5/qtlocation_git.bbappend | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -27,5 +27,8 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" | 30 | PACKAGECONFIG += "geoservices_mapboxgl" |
31 | DEPENDS_append_emulator = " qtsimulator" | 31 | |
32 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
33 | |||
34 | SRC_URI += "file://0001-location-disable-simulator-content-under-plugins.patch" | ||
diff --git a/recipes-qt/qt5/qtquickcompiler_git.bb b/recipes-qt/qt5/qtquickcompiler_git.bb index 11e103e..36d2c19 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 | ||
40 | SRCREV = "3eee8b042877c9e03cb4ccf154518d0f9a32335a" | 40 | SRCREV = "4e05e09f19bac2901cb16bf1229e396930b831ee" |
41 | 41 | ||
42 | S = "${WORKDIR}/git" | 42 | S = "${WORKDIR}/git" |
43 | 43 | ||
diff --git a/recipes-qt/qt5/qtsystems_git.bbappend b/recipes-qt/qt5/qtsystems_git.bbappend index 57c8285..83bead3 100644 --- a/recipes-qt/qt5/qtsystems_git.bbappend +++ b/recipes-qt/qt5/qtsystems_git.bbappend | |||
@@ -29,5 +29,3 @@ | |||
29 | 29 | ||
30 | EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" | 30 | EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" |
31 | DEPENDS_append_emulator = " qtsimulator" | 31 | DEPENDS_append_emulator = " qtsimulator" |
32 | |||
33 | SRCREV = "434af789f0d56ca7a521ca2d9ec8cf3b1057fd37" | ||
diff --git a/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend b/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend index 59fb06b..b7368ff 100644 --- a/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend +++ b/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend | |||
@@ -30,3 +30,4 @@ | |||
30 | inherit qtquickcompiler | 30 | inherit qtquickcompiler |
31 | 31 | ||
32 | PACKAGECONFIG = "lipi-toolkit lang-all hunspell" | 32 | PACKAGECONFIG = "lipi-toolkit lang-all hunspell" |
33 | RDEPENDS_${PN} += "hunspell-dicts" | ||
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 | |||
30 | LDGOLD_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 | ||
30 | SUMMARY = "Open Sans Fonts" | 30 | SUMMARY = "Open Sans Fonts" |
31 | SECTION = "fonts" | 31 | SECTION = "fonts" |
32 | HOMEPAGE = "https://www.google.com/fonts" | 32 | HOMEPAGE = "https://fonts.google.com" |
33 | LICENSE = "Apache-2.0" | 33 | LICENSE = "Apache-2.0" |
34 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" | 34 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.txt;md5=d273d63619c9aeaf15cdaf76422c4f87" |
35 | 35 | ||
36 | INHIBIT_DEFAULT_DEPS = "1" | 36 | INHIBIT_DEFAULT_DEPS = "1" |
37 | do_unpack[depends] += "unzip-native:do_populate_sysroot" | ||
37 | 38 | ||
38 | inherit allarch fontcache | 39 | inherit allarch fontcache |
39 | 40 | ||
40 | SRC_URI = "https://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ;downloadfilename=Open_Sans.zip" | 41 | SRC_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 |
42 | BB_STRICT_CHECKSUM = "" | 43 | BB_STRICT_CHECKSUM = "" |
43 | 44 | ||
diff --git a/recipes/gdb/gdb-cross-canadian_7.%.bbappend b/recipes/gdb/gdb-cross-canadian_7.%.bbappend index 452753d..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 | ||
30 | FILESEXTRAPATHS_prepend_sdkmingw32 := "${THISDIR}/${BPN}:" | ||
31 | SRC_URI_append_sdkmingw32 = " file://0001-Do-not-use-win32-specific-filehandling.patch" | ||
32 | |||
30 | DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python" | 33 | DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python" |
31 | RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" | 34 | RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" |
32 | EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no" | 35 | EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no" |
33 | EXTRA_OECONF_append_sdkmingw32 = " --with-python" | 36 | EXTRA_OECONF_append_sdkmingw32 = " --with-python=${WORKDIR}/python_win" |
37 | CXXFLAGS_append_sdkmingw32 = " -D_hypot=hypot" | ||
38 | |||
39 | do_configure_prepend_sdkmingw32() { | ||
40 | cat > ${WORKDIR}/python_win << EOF | ||
41 | #! /bin/sh | ||
42 | case "\$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 ;; | ||
47 | esac | ||
48 | exit 0 | ||
49 | EOF | ||
50 | chmod +x ${WORKDIR}/python_win | ||
51 | } | ||
34 | 52 | ||
35 | do_install_append_sdkmingw32() { | 53 | do_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 @@ | |||
1 | From 3c928a3bf8d873f6173a076da6e4c1bc85e9a3a0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Wed, 28 Jun 2017 20:41:49 +0300 | ||
4 | Subject: [PATCH] Do not use win32 specific filehandling | ||
5 | |||
6 | PyFile_FromString and PyFile_AsFile are no longer available in python3 | ||
7 | see 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 | |||
12 | diff --git a/gdb/python/python.c b/gdb/python/python.c | ||
13 | index 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 @@ | |||
1 | From f26c3979ab0325edb2e410d287bc501cf00e0ac0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||
3 | Date: Mon, 22 Aug 2016 16:32:34 +0200 | ||
4 | Subject: [PATCH] rnd-linux: added check for SYS_getrandom being defined | ||
5 | |||
6 | This allows to compile the getrandom() code in old Linux systems | ||
7 | which do not have the system call defined. | ||
8 | --- | ||
9 | |||
10 | Upstream-Status: Backport | ||
11 | Signed-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 | |||
16 | diff --git a/lib/nettle/rnd-linux.c b/lib/nettle/rnd-linux.c | ||
17 | index 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 | -- | ||
34 | libgit2 0.24.0 | ||
35 | |||
36 | |||
diff --git a/recipes/hunspell/hunspell-dicts.bb b/recipes/hunspell/hunspell-dicts.bb new file mode 100644 index 0000000..92fd300 --- /dev/null +++ b/recipes/hunspell/hunspell-dicts.bb | |||
@@ -0,0 +1,57 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Hunspell Dictionaries" | ||
31 | |||
32 | LICENSE = "GPL-2.0 & (GPL-2.0|LGPL-2.1|MPL-1.1)" | ||
33 | LIC_FILES_CHKSUM = " \ | ||
34 | file://en/license.txt;md5=686e6cb566fd6382c9fcc7a557bf4544 \ | ||
35 | file://ar/COPYING.txt;md5=ccafd10563b9ffba693011bf470062c6 \ | ||
36 | " | ||
37 | |||
38 | SRC_URI = "git://github.com/libreoffice/dictionaries.git;branch=libreoffice-5-4-2" | ||
39 | |||
40 | S = "${WORKDIR}/git" | ||
41 | |||
42 | inherit bin_package | ||
43 | |||
44 | # using branch libreoffice-5.4.2 for dictionaries | ||
45 | SRCREV = "28016713cf482d2ac466d03e007ce91ddb8b76aa" | ||
46 | |||
47 | FILES_${PN} = "${datadir}/hunspell" | ||
48 | |||
49 | do_install() { | ||
50 | install -m 0755 -d ${D}${datadir}/hunspell | ||
51 | |||
52 | install -m 0755 ${S}/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic | ||
53 | install -m 0755 ${S}/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff | ||
54 | |||
55 | install -m 0755 ${S}/en/en_GB.dic ${D}${datadir}/hunspell | ||
56 | install -m 0755 ${S}/en/en_GB.aff ${D}${datadir}/hunspell | ||
57 | } | ||
diff --git a/recipes/hunspell/hunspell_1.3.2.bb b/recipes/hunspell/hunspell_1.3.2.bb deleted file mode 100644 index e47c9c1..0000000 --- a/recipes/hunspell/hunspell_1.3.2.bb +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DESCRIPTION = "Hunspell" | ||
31 | LICENSE = "LGPLv2" | ||
32 | LIC_FILES_CHKSUM = "file://${WORKDIR}/hunspell-${PV}/COPYING;md5=ed3a37b3ba6d6be3e08ab45987cf1b88" | ||
33 | |||
34 | SRC_URI = "http://downloads.sourceforge.net/hunspell/hunspell-${PV}.tar.gz;name=hunspell \ | ||
35 | git://github.com/libreoffice/dictionaries.git;branch=libreoffice-4-3-2;name=dictionaries \ | ||
36 | " | ||
37 | |||
38 | SRC_URI[hunspell.md5sum] = "3121aaf3e13e5d88dfff13fb4a5f1ab8" | ||
39 | SRC_URI[hunspell.sha256sum] = "b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd" | ||
40 | # using branch libreoffice-4.3.2 for dictionaries | ||
41 | SRCREV_dictionaries = "aa497b3c345133a1dc180dfb95dd1b3677b92afa" | ||
42 | |||
43 | PR = "r0" | ||
44 | |||
45 | inherit autotools gettext | ||
46 | |||
47 | PACKAGES += "${PN}-dicts" | ||
48 | RRECOMMENDS_${PN} += "${PN}-dicts" | ||
49 | FILES_${PN}-dicts = "${datadir}/hunspell" | ||
50 | |||
51 | do_install_append() { | ||
52 | install -m 0755 -d ${D}${datadir}/hunspell | ||
53 | |||
54 | install -m 0755 ${WORKDIR}/git/ar/ar.dic ${D}${datadir}/hunspell/ar_EG.dic | ||
55 | install -m 0755 ${WORKDIR}/git/ar/ar.aff ${D}${datadir}/hunspell/ar_EG.aff | ||
56 | |||
57 | install -m 0755 ${WORKDIR}/git/en/en_GB.dic ${D}${datadir}/hunspell | ||
58 | install -m 0755 ${WORKDIR}/git/en/en_GB.aff ${D}${datadir}/hunspell | ||
59 | } | ||
diff --git a/recipes/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 | ||
39 | require opengldummy.inc | 39 | require opengldummy.inc |
40 | 40 | ||
41 | inherit nopackages | ||
42 | |||
41 | S = "${WORKDIR}" | 43 | S = "${WORKDIR}" |
42 | 44 | ||
43 | do_compile() { | 45 | do_compile() { |
diff --git a/recipes/ostree/ostree.bb b/recipes/ostree/ostree.bb index 267289a..e4c8076 100644 --- a/recipes/ostree/ostree.bb +++ b/recipes/ostree/ostree.bb | |||
@@ -52,7 +52,7 @@ SRCREV = "8ece4d6d51bdbe3e41ab318259276bb83e553aa0" | |||
52 | 52 | ||
53 | S = "${WORKDIR}/git" | 53 | S = "${WORKDIR}/git" |
54 | 54 | ||
55 | DEPENDS = "glib-2.0 e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd" | 55 | DEPENDS = "glib-2.0 glib-2.0-native e2fsprogs gpgme attr libsoup-2.4 libassuan xz systemd" |
56 | # Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. | 56 | # Bash is needed by the shipped dracut module. This dracut module is used to generate initramfs image. |
57 | # The production image do not require bash for proper working. | 57 | # The production image do not require bash for proper working. |
58 | RDEPENDS_${PN} += "bash" | 58 | RDEPENDS_${PN} += "bash" |
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb index 65f7f5e..b6573e2 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb | |||
@@ -52,6 +52,7 @@ RDEPENDS_${PN} = "\ | |||
52 | tzdata-asia \ | 52 | tzdata-asia \ |
53 | tzdata-europe \ | 53 | tzdata-europe \ |
54 | connman \ | 54 | connman \ |
55 | rng-tools \ | ||
55 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \ | 56 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \ |
56 | ${MACHINE_EXTRA_INSTALL} \ | 57 | ${MACHINE_EXTRA_INSTALL} \ |
57 | " | 58 | " |
diff --git a/recipes/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 | |||
30 | LICENSE = "PSFv2" | ||
31 | |||
32 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Python-2.0;md5=a5c8025e305fb49e6d405769358851f6" | ||
33 | |||
34 | inherit bin_package nativesdk | ||
35 | |||
36 | COMPATIBLE_HOST = ".*-mingw.*" | ||
37 | |||
38 | SRC_URI[md5sum] = "6d37712f01fa836b1303141a6d4cabda" | ||
39 | SRC_URI[sha256sum] = "3835868c171dddb8cb68ed5578b6d4d639387a038e999a5b008f393b704d6ad7" | ||
40 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/gdb/build-prerequisites/python.zip" | ||
41 | |||
42 | S = "${WORKDIR}" | ||
43 | |||
44 | do_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 | |||
55 | sysroot_stage_dirs_append() { | ||
56 | sysroot_stage_dir $from${bindir} $to${bindir} | ||
57 | } | ||
58 | |||
59 | # requires /usr/local/bin/python, but no providers found | ||
60 | INSANE_SKIP_${PN} += "file-rdeps" | ||
diff --git a/recipes-qt/b2qt-addons/b2qt-emulator-vinput.bb b/recipes/python/nativesdk-prebuild-python.inc index 2fb3f8c..71e8e72 100644 --- a/recipes-qt/b2qt-addons/b2qt-emulator-vinput.bb +++ b/recipes/python/nativesdk-prebuild-python.inc | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -27,22 +27,31 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | DESCRIPTION = "Virtual input plugin for QtSimulator" | 30 | LICENSE = "PSFv2" |
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://qvinput.h;md5=f25c7436dbc72d4719a5684b28dbcf4b;beginline=1;endline=17" | ||
33 | 31 | ||
34 | inherit qt5-module | 32 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4b8a9367e6bb2acb6f26dc08654f6ee5" |
35 | 33 | ||
36 | SRC_URI = " \ | 34 | do_unpack[depends] += "p7zip-native:do_populate_sysroot" |
37 | git://codereview.qt-project.org/tqtc-boot2qt/emulator;branch=${BRANCH};protocol=ssh \ | ||
38 | " | ||
39 | 35 | ||
40 | SRCREV = "011e1c40716c8323f247e927de6640653d6811c4" | 36 | DEPENDS = "unzip-native" |
41 | BRANCH = "master" | ||
42 | PV = "1.0+git${SRCPV}" | ||
43 | 37 | ||
44 | EXTRA_QMAKEVARS_PRE += "CONFIG+=force_independent" | 38 | inherit bin_package nativesdk python3-dir |
45 | 39 | ||
46 | S = "${WORKDIR}/git/src/helperlibs/vinput" | 40 | PV = "3.5.2" |
47 | 41 | ||
48 | DEPENDS = "qtbase qtsimulator" | 42 | S = "${WORKDIR}" |
43 | |||
44 | do_install() { | ||
45 | install -d ${D}${includedir}/${PYTHON_DIR} | ||
46 | install -m 0644 ${S}/include/* ${D}${includedir}/${PYTHON_DIR} | ||
47 | |||
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/ca-certificates/ca-certificates_%.bbappend b/recipes/python/nativesdk-prebuild-python_i686.bb index 210f550..cf7204a 100644 --- a/recipes/ca-certificates/ca-certificates_%.bbappend +++ b/recipes/python/nativesdk-prebuild-python_i686.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | ############################################################################ | 1 | ############################################################################ |
2 | ## | 2 | ## |
3 | ## Copyright (C) 2016 The Qt Company Ltd. | 3 | ## Copyright (C) 2017 The Qt Company Ltd. |
4 | ## Contact: https://www.qt.io/licensing/ | 4 | ## Contact: https://www.qt.io/licensing/ |
5 | ## | 5 | ## |
6 | ## This file is part of the Boot to Qt meta layer. | 6 | ## This file is part of the Boot to Qt meta layer. |
@@ -27,8 +27,11 @@ | |||
27 | ## | 27 | ## |
28 | ############################################################################ | 28 | ############################################################################ |
29 | 29 | ||
30 | SRC_URI_remove = "file://0001-update-ca-certificates-remove-c-rehash.patch" | 30 | require nativesdk-prebuild-python.inc |
31 | DEPENDS_class-native = "coreutils-native" | ||
32 | 31 | ||
33 | # for c_rehash | 32 | COMPATIBLE_HOST = "i686.*-mingw.*" |
34 | RDEPENDS_${PN}_class-target += "openssl openssl-misc" | 33 | |
34 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/python/Python35-win-x86.7z" | ||
35 | |||
36 | SRC_URI[md5sum] = "3da266445a4e6a93ff1949810141da8f" | ||
37 | SRC_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 | |||
30 | require nativesdk-prebuild-python.inc | ||
31 | |||
32 | COMPATIBLE_HOST = "x86_64.*-mingw.*" | ||
33 | |||
34 | SRC_URI = "http://download.qt.io/development_releases/prebuilt/python/Python35-win-x64.7z" | ||
35 | |||
36 | SRC_URI[md5sum] = "08766b13bcbdcf8217a98bfc291d549f" | ||
37 | SRC_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] | ||
2 | Description=Hardware RNG Entropy Gatherer Daemon | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=@SBINDIR@/rngd -f | ||
6 | SuccessExitStatus=66 | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=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 | |||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "\ | ||
32 | file://rngd.service \ | ||
33 | " | ||
34 | |||
35 | inherit systemd | ||
36 | |||
37 | do_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 | |||
45 | SYSTEMD_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 | ||
39 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" | 39 | SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/VirtualBox-${PV}.tar.bz2" |
40 | 40 | ||
41 | SRC_URI[md5sum] = "21eaec9f21477d555559a63761779880" | 41 | SRC_URI[md5sum] = "37ebbd51370841eed8ab80f2f38446d6" |
42 | SRC_URI[sha256sum] = "8267bb026717c6e55237eb798210767d9c703cfcdf01224d9bc26f7dac9f228a" | 42 | SRC_URI[sha256sum] = "78071c3172f3bd3c7981c352c3ae6c6a9c01f6ab24bc0aa7ec79f3528b2291a7" |
43 | 43 | ||
44 | S = "${WORKDIR}/vbox" | 44 | S = "${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 | |||
85 | source $CONFIG | 85 | source $CONFIG |
86 | 86 | ||
87 | MKSPEC="devices/linux-oe-generic-g++" | 87 | MKSPEC="devices/linux-oe-generic-g++" |
88 | MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC})) | 88 | MKSPECPATH=$(find ${OECORE_TARGET_SYSROOT} -name $(basename ${MKSPEC}) 2>/dev/null || true) |
89 | if [ ! -d "${MKSPECPATH}" ]; then | 89 | if [ ! -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 fa728d9..a8a25a9 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="1d92cb1a20135cfffff9f94a6633ec0840518738" | 19 | revision="827eb5b232d54909377e2b18d39d34d6c1c21413" |
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="18fc887ad1695f93623699b0a7a730b5d0adc305" | 27 | revision="502fd4f0bebb8b24926376c99bcd3c0d45269b07" |
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="4a621def8529c3a55c6fcaef72e3b1832a9327b3"/> | 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="34ddb90840f9bb895cd5d275922d153e35620fa3" |
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" |
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index fbe8672..204ded6 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -83,7 +83,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
83 | emulator) | 83 | emulator) |
84 | LAYERSCONF="bblayers.conf.emulator.sample" | 84 | LAYERSCONF="bblayers.conf.emulator.sample" |
85 | ;; | 85 | ;; |
86 | jetson-tx1|jetson-tk1) | 86 | jetson-tx1|jetson-tx2|jetson-tk1) |
87 | LAYERSCONF="bblayers.conf.jetson.sample" | 87 | LAYERSCONF="bblayers.conf.jetson.sample" |
88 | ;; | 88 | ;; |
89 | *) | 89 | *) |