diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-08-26 11:21:40 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-08-26 11:21:44 +0300 |
commit | 925af8ef05293e550f8fa8586ef3549e913b690c (patch) | |
tree | f1ac7c009711bb7afe7e338dfb33d2db048d98e7 | |
parent | 0f231fb1eb7b24f4a839106dc22ea472e6bc8eb4 (diff) | |
parent | 36529af42c25c3e14aa0918a6012f336151f9c2a (diff) | |
download | meta-boot2qt-925af8ef05293e550f8fa8586ef3549e913b690c.tar.gz |
Merge remote-tracking branch 'origin/dizzy' into dev
* origin/dizzy:
Add atk and atk-dev packages
ca-certificates: update to latest version
Add touch_frame events to Weston 1.5.0
kontron: Add support for Kontron SMARC-sARX6i
bootfs: make sure deploy dir exists before using it
Change-Id: I5c58c6ad47c0689c15e71948a486530f5504b329
13 files changed, 369 insertions, 2 deletions
diff --git a/b2qt-init-build-env b/b2qt-init-build-env index 2dfed01..0ccd952 100755 --- a/b2qt-init-build-env +++ b/b2qt-init-build-env | |||
@@ -88,7 +88,7 @@ get_groups() { | |||
88 | apalis-imx6|colibri-imx6|colibri-vf) | 88 | apalis-imx6|colibri-imx6|colibri-vf) |
89 | PROJECT_GROUPS="toradex" | 89 | PROJECT_GROUPS="toradex" |
90 | ;; | 90 | ;; |
91 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) | 91 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x|smarc-samx6i) |
92 | PROJECT_GROUPS="fsl" | 92 | PROJECT_GROUPS="fsl" |
93 | ;; | 93 | ;; |
94 | tibidabo) | 94 | tibidabo) |
diff --git a/classes/bootfs-image.bbclass b/classes/bootfs-image.bbclass index ccc995f..39c696d 100644 --- a/classes/bootfs-image.bbclass +++ b/classes/bootfs-image.bbclass | |||
@@ -42,6 +42,7 @@ fakeroot do_bootfs () { | |||
42 | cd ${S}/bootfs | 42 | cd ${S}/bootfs |
43 | rm -f ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz | 43 | rm -f ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz |
44 | 44 | ||
45 | mkdir -p ${DEPLOY_DIR_IMAGE} | ||
45 | tar czvf ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz . | 46 | tar czvf ${DEPLOY_DIR_IMAGE}/${BOOTFS_NAME}.tar.gz . |
46 | ln -s ${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz | 47 | ln -s ${BOOTFS_NAME}.tar.gz ${DEPLOY_DIR_IMAGE}/${BOOTFS_LINK_NAME}.tar.gz |
47 | } | 48 | } |
diff --git a/conf/distro/include/smarc-samx6i.conf b/conf/distro/include/smarc-samx6i.conf new file mode 100644 index 0000000..8e69ac8 --- /dev/null +++ b/conf/distro/include/smarc-samx6i.conf | |||
@@ -0,0 +1,46 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | include conf/distro/include/imx6.inc | ||
24 | |||
25 | KERNEL_IMAGETYPE = "uImage" | ||
26 | |||
27 | BOOTFS_CONTENT = " " | ||
28 | |||
29 | MACHINE_EXTRA_INSTALL = "\ | ||
30 | libgal-mx6 \ | ||
31 | libegl-mx6 \ | ||
32 | libgles2-mx6 \ | ||
33 | ${@base_contains("DISTRO_FEATURES", "gstreamer010", "gst-fsl-plugin", "", d)} \ | ||
34 | ${@base_contains("DISTRO_FEATURES", "gstreamer", "gstreamer1.0-plugins-imx-meta", "", d)} \ | ||
35 | kernel-devicetree \ | ||
36 | " | ||
37 | |||
38 | MACHINE_EXTRA_INSTALL_SDK = " \ | ||
39 | libgal-mx6 \ | ||
40 | libegl-mx6 \ | ||
41 | libegl-mx6-dev \ | ||
42 | libgles2-mx6 \ | ||
43 | libgles2-mx6-dev \ | ||
44 | " | ||
45 | |||
46 | KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" | ||
diff --git a/recipes/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch b/recipes/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch new file mode 100644 index 0000000..4b4b287 --- /dev/null +++ b/recipes/ca-certificates/ca-certificates/0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | ca-certificates is a package from Debian, but some host distros such as Fedora | ||
2 | have a leaner run-parts provided by cron which doesn't support --verbose or the | ||
3 | -- separator between arguments and paths. | ||
4 | |||
5 | This solves errors such as | ||
6 | |||
7 | | Running hooks in [...]/rootfs/etc/ca-certificates/update.d... | ||
8 | | [...]/usr/sbin/update-ca-certificates: line 194: Not: command not found | ||
9 | |||
10 | Upstream-Status: Inappropriate | ||
11 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
12 | --- | ||
13 | sbin/update-ca-certificates | 4 +--- | ||
14 | 1 file changed, 1 insertion(+), 3 deletions(-) | ||
15 | |||
16 | Index: git/sbin/update-ca-certificates | ||
17 | =================================================================== | ||
18 | --- git.orig/sbin/update-ca-certificates | ||
19 | +++ git/sbin/update-ca-certificates | ||
20 | @@ -191,9 +191,7 @@ if [ -d "$HOOKSDIR" ] | ||
21 | then | ||
22 | |||
23 | echo "Running hooks in $HOOKSDIR..." | ||
24 | - VERBOSE_ARG= | ||
25 | - [ "$verbose" = 0 ] || VERBOSE_ARG="--verbose" | ||
26 | - eval run-parts "$VERBOSE_ARG" --test -- "$HOOKSDIR" | while read hook | ||
27 | + eval run-parts --test -- "$HOOKSDIR" | while read hook | ||
28 | do | ||
29 | ( cat "$ADDED" | ||
30 | cat "$REMOVED" ) | "$hook" || echo "E: $hook exited with code $?." | ||
diff --git a/recipes/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch b/recipes/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch new file mode 100644 index 0000000..792b403 --- /dev/null +++ b/recipes/ca-certificates/ca-certificates/0002-update-ca-certificates-use-SYSROOT.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | From 724cb153ca0f607fb38b3a8db3ebb2742601cd81 Mon Sep 17 00:00:00 2001 | ||
4 | From: Andreas Oberritter <obi@opendreambox.org> | ||
5 | Date: Tue, 19 Mar 2013 17:14:33 +0100 | ||
6 | Subject: [PATCH 2/2] update-ca-certificates: use $SYSROOT | ||
7 | |||
8 | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> | ||
9 | --- | ||
10 | sbin/update-ca-certificates | 14 +++++++------- | ||
11 | 1 file changed, 7 insertions(+), 7 deletions(-) | ||
12 | |||
13 | Index: git/sbin/update-ca-certificates | ||
14 | =================================================================== | ||
15 | --- git.orig/sbin/update-ca-certificates | ||
16 | +++ git/sbin/update-ca-certificates | ||
17 | @@ -24,12 +24,12 @@ | ||
18 | verbose=0 | ||
19 | fresh=0 | ||
20 | default=0 | ||
21 | -CERTSCONF=/etc/ca-certificates.conf | ||
22 | -CERTSDIR=/usr/share/ca-certificates | ||
23 | -LOCALCERTSDIR=/usr/local/share/ca-certificates | ||
24 | +CERTSCONF=$SYSROOT/etc/ca-certificates.conf | ||
25 | +CERTSDIR=$SYSROOT/usr/share/ca-certificates | ||
26 | +LOCALCERTSDIR=$SYSROOT/usr/local/share/ca-certificates | ||
27 | CERTBUNDLE=ca-certificates.crt | ||
28 | -ETCCERTSDIR=/etc/ssl/certs | ||
29 | -HOOKSDIR=/etc/ca-certificates/update.d | ||
30 | +ETCCERTSDIR=$SYSROOT/etc/ssl/certs | ||
31 | +HOOKSDIR=$SYSROOT/etc/ca-certificates/update.d | ||
32 | |||
33 | while [ $# -gt 0 ]; | ||
34 | do | ||
35 | @@ -92,9 +92,9 @@ add() { | ||
36 | PEM="$ETCCERTSDIR/$(basename "$CERT" .crt | sed -e 's/ /_/g' \ | ||
37 | -e 's/[()]/=/g' \ | ||
38 | -e 's/,/_/g').pem" | ||
39 | - if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ] | ||
40 | + if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "${CERT##$SYSROOT}" ] | ||
41 | then | ||
42 | - ln -sf "$CERT" "$PEM" | ||
43 | + ln -sf "${CERT##$SYSROOT}" "$PEM" | ||
44 | echo "+$PEM" >> "$ADDED" | ||
45 | fi | ||
46 | # Add trailing newline to certificate, if it is missing (#635570) | ||
diff --git a/recipes/ca-certificates/ca-certificates/default-sysroot.patch b/recipes/ca-certificates/ca-certificates/default-sysroot.patch new file mode 100644 index 0000000..f8b0791 --- /dev/null +++ b/recipes/ca-certificates/ca-certificates/default-sysroot.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | update-ca-certificates: find SYSROOT relative to its own location | ||
4 | |||
5 | This makes the script relocatable. | ||
6 | |||
7 | Index: git/sbin/update-ca-certificates | ||
8 | =================================================================== | ||
9 | --- git.orig/sbin/update-ca-certificates | ||
10 | +++ git/sbin/update-ca-certificates | ||
11 | @@ -66,6 +66,39 @@ do | ||
12 | shift | ||
13 | done | ||
14 | |||
15 | +if [ -z "$SYSROOT" ]; then | ||
16 | + local_which () { | ||
17 | + if [ $# -lt 1 ]; then | ||
18 | + return 1 | ||
19 | + fi | ||
20 | + | ||
21 | + ( | ||
22 | + IFS=: | ||
23 | + for entry in $PATH; do | ||
24 | + if [ -x "$entry/$1" ]; then | ||
25 | + echo "$entry/$1" | ||
26 | + exit 0 | ||
27 | + fi | ||
28 | + done | ||
29 | + exit 1 | ||
30 | + ) | ||
31 | + } | ||
32 | + | ||
33 | + case "$0" in | ||
34 | + */*) | ||
35 | + sbindir=$(cd ${0%/*} && pwd) | ||
36 | + ;; | ||
37 | + *) | ||
38 | + sbindir=$(cd $(dirname $(local_which $0)) && pwd) | ||
39 | + ;; | ||
40 | + esac | ||
41 | + prefix=${sbindir%/*} | ||
42 | + SYSROOT=${prefix%/*} | ||
43 | + if [ ! -d "$SYSROOT/usr/share/ca-certificates" ]; then | ||
44 | + SYSROOT= | ||
45 | + fi | ||
46 | +fi | ||
47 | + | ||
48 | if [ ! -s "$CERTSCONF" ] | ||
49 | then | ||
50 | fresh=1 | ||
diff --git a/recipes/ca-certificates/ca-certificates/sbindir.patch b/recipes/ca-certificates/ca-certificates/sbindir.patch new file mode 100644 index 0000000..a113fa8 --- /dev/null +++ b/recipes/ca-certificates/ca-certificates/sbindir.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Let us alter the install destination of the script via SBINDIR | ||
4 | |||
5 | --- ca-certificates-20130119.orig/sbin/Makefile | ||
6 | +++ ca-certificates-20130119/sbin/Makefile | ||
7 | @@ -3,9 +3,12 @@ | ||
8 | # | ||
9 | # | ||
10 | |||
11 | +SBINDIR = /usr/sbin | ||
12 | + | ||
13 | all: | ||
14 | |||
15 | clean: | ||
16 | |||
17 | install: | ||
18 | - install -m755 update-ca-certificates $(DESTDIR)/usr/sbin/ | ||
19 | + install -d $(DESTDIR)$(SBINDIR) | ||
20 | + install -m755 update-ca-certificates $(DESTDIR)$(SBINDIR)/ | ||
diff --git a/recipes/ca-certificates/ca-certificates_20150426.bb b/recipes/ca-certificates/ca-certificates_20150426.bb new file mode 100644 index 0000000..716e3df --- /dev/null +++ b/recipes/ca-certificates/ca-certificates_20150426.bb | |||
@@ -0,0 +1,80 @@ | |||
1 | SUMMARY = "Common CA certificates" | ||
2 | DESCRIPTION = "This package includes PEM files of CA certificates to allow \ | ||
3 | SSL-based applications to check for the authenticity of SSL connections. \ | ||
4 | This derived from Debian's CA Certificates." | ||
5 | HOMEPAGE = "http://packages.debian.org/sid/ca-certificates" | ||
6 | SECTION = "misc" | ||
7 | LICENSE = "GPL-2.0+ & MPL-2.0" | ||
8 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=48d2baf97986999e776b43c8dd9e0c5a" | ||
9 | |||
10 | # This is needed to ensure we can run the postinst at image creation time | ||
11 | DEPENDS = "ca-certificates-native" | ||
12 | DEPENDS_class-native = "" | ||
13 | |||
14 | # tag: debian/20150426 + 2 | ||
15 | SRCREV = "d4790d2832aaac9152f450e06661511067592227" | ||
16 | |||
17 | SRC_URI = "git://anonscm.debian.org/collab-maint/ca-certificates.git \ | ||
18 | file://0001-update-ca-certificates-remove-c-rehash.patch \ | ||
19 | file://0002-update-ca-certificates-use-SYSROOT.patch \ | ||
20 | file://0001-update-ca-certificates-don-t-use-Debianisms-in-run-p.patch \ | ||
21 | file://default-sysroot.patch \ | ||
22 | file://sbindir.patch" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | inherit allarch | ||
27 | |||
28 | EXTRA_OEMAKE = "\ | ||
29 | 'CERTSDIR=${datadir}/ca-certificates' \ | ||
30 | 'SBINDIR=${sbindir}' \ | ||
31 | " | ||
32 | |||
33 | do_compile_prepend() { | ||
34 | oe_runmake clean | ||
35 | } | ||
36 | |||
37 | do_install () { | ||
38 | install -d ${D}${datadir}/ca-certificates \ | ||
39 | ${D}${sysconfdir}/ssl/certs \ | ||
40 | ${D}${sysconfdir}/ca-certificates/update.d | ||
41 | oe_runmake 'DESTDIR=${D}' install | ||
42 | |||
43 | install -d ${D}${mandir}/man8 | ||
44 | install -m 0644 sbin/update-ca-certificates.8 ${D}${mandir}/man8/ | ||
45 | |||
46 | install -d ${D}${sysconfdir} | ||
47 | { | ||
48 | echo "# Lines starting with # will be ignored" | ||
49 | echo "# Lines starting with ! will remove certificate on next update" | ||
50 | echo "#" | ||
51 | find ${D}${datadir}/ca-certificates -type f -name '*.crt' | \ | ||
52 | sed 's,^${D}${datadir}/ca-certificates/,,' | ||
53 | } >${D}${sysconfdir}/ca-certificates.conf | ||
54 | } | ||
55 | |||
56 | do_install_append_class-target () { | ||
57 | sed -i -e 's,/etc/,${sysconfdir}/,' \ | ||
58 | -e 's,/usr/share/,${datadir}/,' \ | ||
59 | -e 's,/usr/local,${prefix}/local,' \ | ||
60 | ${D}${sbindir}/update-ca-certificates \ | ||
61 | ${D}${mandir}/man8/update-ca-certificates.8 | ||
62 | } | ||
63 | |||
64 | pkg_postinst_${PN} () { | ||
65 | SYSROOT="$D" update-ca-certificates | ||
66 | } | ||
67 | |||
68 | CONFFILES_${PN} += "${sysconfdir}/ca-certificates.conf" | ||
69 | |||
70 | # Postinsts don't seem to be run for nativesdk packages when populating SDKs. | ||
71 | CONFFILES_${PN}_append_class-nativesdk = " ${sysconfdir}/ssl/certs/ca-certificates.crt" | ||
72 | do_install_append_class-nativesdk () { | ||
73 | SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates | ||
74 | } | ||
75 | |||
76 | do_install_append_class-native () { | ||
77 | SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates | ||
78 | } | ||
79 | |||
80 | BBCLASSEXTEND += "native nativesdk" | ||
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb index 3dfc1a5..34a53c9 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-base.bb | |||
@@ -58,6 +58,7 @@ RDEPENDS_${PN} = "\ | |||
58 | tzdata-americas \ | 58 | tzdata-americas \ |
59 | tzdata-asia \ | 59 | tzdata-asia \ |
60 | tzdata-europe \ | 60 | tzdata-europe \ |
61 | atk \ | ||
61 | ${@base_contains("DISTRO_FEATURES", "wayland", "wayland weston weston-examples", "", d)} \ | 62 | ${@base_contains("DISTRO_FEATURES", "wayland", "wayland weston weston-examples", "", d)} \ |
62 | ${MACHINE_EXTRA_INSTALL} \ | 63 | ${MACHINE_EXTRA_INSTALL} \ |
63 | " | 64 | " |
diff --git a/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb b/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb index b0b35d0..f567f4e 100644 --- a/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb +++ b/recipes/packagegroup/packagegroup-b2qt-embedded-toolchain-target.bb | |||
@@ -48,6 +48,7 @@ RDEPENDS_${PN} += "\ | |||
48 | wpa-supplicant-dev \ | 48 | wpa-supplicant-dev \ |
49 | libmysqlclient-dev \ | 49 | libmysqlclient-dev \ |
50 | libpq-dev \ | 50 | libpq-dev \ |
51 | atk-dev \ | ||
51 | ${@base_contains("DISTRO_FEATURES", "wayland", "libwayland-egl-mx6-dev libxkbcommon-dev libgbm-dev libdrm-dev", "", d)} \ | 52 | ${@base_contains("DISTRO_FEATURES", "wayland", "libwayland-egl-mx6-dev libxkbcommon-dev libgbm-dev libdrm-dev", "", d)} \ |
52 | ${@base_contains("DISTRO_FEATURES", "bluetooth", "bluez4-dev", "", d)} \ | 53 | ${@base_contains("DISTRO_FEATURES", "bluetooth", "bluez4-dev", "", d)} \ |
53 | ${MACHINE_EXTRA_INSTALL_SDK} \ | 54 | ${MACHINE_EXTRA_INSTALL_SDK} \ |
diff --git a/recipes/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch b/recipes/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch new file mode 100644 index 0000000..1bb9253 --- /dev/null +++ b/recipes/wayland/weston/0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch | |||
@@ -0,0 +1,65 @@ | |||
1 | From c4633014fff25d32926129a8b028124c6338bb2b Mon Sep 17 00:00:00 2001 | ||
2 | From: Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | ||
3 | Date: Wed, 19 Aug 2015 09:04:46 +0300 | ||
4 | Subject: [PATCH 1/1] Adapt changes made in libinput/src/evdev.c for touch | ||
5 | frame emission. | ||
6 | |||
7 | --- | ||
8 | src/evdev.c | 27 +++++++++++++++++++++++++++ | ||
9 | 1 file changed, 27 insertions(+) | ||
10 | |||
11 | diff --git a/src/evdev.c b/src/evdev.c | ||
12 | index 888dfbd..daa5d72 100644 | ||
13 | --- a/src/evdev.c | ||
14 | +++ b/src/evdev.c | ||
15 | @@ -359,12 +359,36 @@ evdev_process_absolute(struct evdev_device *device, | ||
16 | } | ||
17 | } | ||
18 | |||
19 | +static inline int | ||
20 | +evdev_need_touch_frame(struct evdev_device *device) | ||
21 | +{ | ||
22 | + if (!(device->seat_caps & EVDEV_SEAT_TOUCH)) | ||
23 | + return 0; | ||
24 | + | ||
25 | + switch (device->pending_event) { | ||
26 | + case EVDEV_NONE: | ||
27 | + case EVDEV_RELATIVE_MOTION: | ||
28 | + break; | ||
29 | + case EVDEV_ABSOLUTE_MT_DOWN: | ||
30 | + case EVDEV_ABSOLUTE_MT_MOTION: | ||
31 | + case EVDEV_ABSOLUTE_MT_UP: | ||
32 | + case EVDEV_ABSOLUTE_TOUCH_DOWN: | ||
33 | + case EVDEV_ABSOLUTE_TOUCH_UP: | ||
34 | + case EVDEV_ABSOLUTE_MOTION: | ||
35 | + return 1; | ||
36 | + } | ||
37 | + | ||
38 | + return 0; | ||
39 | +} | ||
40 | + | ||
41 | static void | ||
42 | fallback_process(struct evdev_dispatch *dispatch, | ||
43 | struct evdev_device *device, | ||
44 | struct input_event *event, | ||
45 | uint32_t time) | ||
46 | { | ||
47 | + int need_frame = 0; | ||
48 | + | ||
49 | switch (event->type) { | ||
50 | case EV_REL: | ||
51 | evdev_process_relative(device, event, time); | ||
52 | @@ -376,7 +400,10 @@ fallback_process(struct evdev_dispatch *dispatch, | ||
53 | evdev_process_key(device, event, time); | ||
54 | break; | ||
55 | case EV_SYN: | ||
56 | + need_frame = evdev_need_touch_frame(device); | ||
57 | evdev_flush_pending_event(device, time); | ||
58 | + if (need_frame) | ||
59 | + notify_touch_frame(device->seat); | ||
60 | break; | ||
61 | } | ||
62 | } | ||
63 | -- | ||
64 | 2.1.4 | ||
65 | |||
diff --git a/recipes/wayland/weston_1.%.bbappend b/recipes/wayland/weston_1.%.bbappend new file mode 100644 index 0000000..c3aa184 --- /dev/null +++ b/recipes/wayland/weston_1.%.bbappend | |||
@@ -0,0 +1,27 @@ | |||
1 | ############################################################################# | ||
2 | ## | ||
3 | ## Copyright (C) 2015 Digia Plc and/or its subsidiary(-ies). | ||
4 | ## | ||
5 | ## This file is part of the Qt Enterprise Embedded Scripts of the Qt | ||
6 | ## framework. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE$ | ||
9 | ## Commercial License Usage Only | ||
10 | ## Licensees holding valid commercial Qt license agreements with Digia | ||
11 | ## with an appropriate addendum covering the Qt Enterprise Embedded Scripts, | ||
12 | ## may use this file in accordance with the terms contained in said license | ||
13 | ## agreement. | ||
14 | ## | ||
15 | ## For further information use the contact form at | ||
16 | ## http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## | ||
19 | ## $QT_END_LICENSE$ | ||
20 | ## | ||
21 | ############################################################################# | ||
22 | |||
23 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
24 | SRC_URI_append = " \ | ||
25 | file://0001-Adapt-changes-made-in-libinput-src-evdev.c-for-touch.patch \ | ||
26 | " | ||
27 | |||
diff --git a/scripts/setup-environment.sh b/scripts/setup-environment.sh index ce593c6..683f19f 100755 --- a/scripts/setup-environment.sh +++ b/scripts/setup-environment.sh | |||
@@ -52,7 +52,7 @@ if [ ! -f ${PWD}/${BUILDDIRECTORY}/conf/bblayers.conf ]; then | |||
52 | apalis-imx6|colibri-imx6|colibri-vf) | 52 | apalis-imx6|colibri-imx6|colibri-vf) |
53 | LAYERSCONF="bblayers.conf.toradex.sample" | 53 | LAYERSCONF="bblayers.conf.toradex.sample" |
54 | ;; | 54 | ;; |
55 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x) | 55 | imx53qsb|imx6qsabresd|imx6dlsabresd|nitrogen6x|smarc-samx6i) |
56 | LAYERSCONF="bblayers.conf.fsl.sample" | 56 | LAYERSCONF="bblayers.conf.fsl.sample" |
57 | ;; | 57 | ;; |
58 | tibidabo) | 58 | tibidabo) |