summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2014-12-11 15:52:18 +1100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-11 13:24:22 +0100
commit6566f728ab3d14a4908516fb13ad555dbfe04471 (patch)
treed73319dd12e71d434c01b25d04f9b5c84a5c83cc /recipes-qt/qt5
parentc9a1041cb956d94c04cbf635b00ca19725ffc129 (diff)
downloadmeta-qt5-6566f728ab3d14a4908516fb13ad555dbfe04471.tar.gz
recipes: upgrade from 5.3.2 to 5.4.0
MJ: nativesdk-qtbase, nativesdk-qttools, qtbase-native: Drop unnecessary LICENSE/LIC_FILES_CHKSUM MJ: qtwebkit: move leveldb dependency to .inc Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Jonathan Liu <net147@gmail.com>
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase.inc7
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb6
-rw-r--r--recipes-qt/qt5/nativesdk-qttools.inc6
-rw-r--r--recipes-qt/qt5/nativesdk-qttools_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/nativesdk-qttools_git.bb5
-rw-r--r--recipes-qt/qt5/qt5-5.4.0.inc (renamed from recipes-qt/qt5/qt5-5.3.2.inc)8
-rw-r--r--recipes-qt/qt5/qtbase-native.inc5
-rw-r--r--recipes-qt/qt5/qtbase-native_5.4.0.bb (renamed from recipes-qt/qt5/qtbase-native_5.3.2.bb)4
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb6
-rw-r--r--recipes-qt/qt5/qtbase.inc5
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch28
-rw-r--r--recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch50
-rw-r--r--recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch12
-rw-r--r--recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch67
-rw-r--r--recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch12
-rw-r--r--recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch16
-rw-r--r--recipes-qt/qt5/qtbase/0010-QOpenGLPaintDevice-sub-area-support.patch (renamed from recipes-qt/qt5/qtbase/0011-QOpenGLPaintDevice-sub-area-support.patch)63
-rw-r--r--recipes-qt/qt5/qtbase/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch26
-rw-r--r--recipes-qt/qt5/qtbase/0011-Always-build-uic.patch (renamed from recipes-qt/qt5/qtbase/0012-Always-build-uic.patch)10
-rw-r--r--recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch (renamed from recipes-qt/qt5/qtbase/0012-qmake-don-t-build-it-in-configure-but-allow-to-build.patch)10
-rw-r--r--recipes-qt/qt5/qtbase/0012-configure-preserve-built-qmake-and-swap-with-native-.patch (renamed from recipes-qt/qt5/qtbase/0013-configure-preserve-built-qmake-and-swap-with-native-.patch)10
-rw-r--r--recipes-qt/qt5/qtbase_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtbase_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtbase_git.bb6
-rw-r--r--recipes-qt/qt5/qtconnectivity.inc3
-rw-r--r--recipes-qt/qt5/qtconnectivity_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtconnectivity_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtconnectivity_git.bb3
-rw-r--r--recipes-qt/qt5/qtdeclarative.inc3
-rw-r--r--recipes-qt/qt5/qtdeclarative_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtdeclarative_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtdeclarative_git.bb3
-rw-r--r--recipes-qt/qt5/qtenginio.inc4
-rw-r--r--recipes-qt/qt5/qtenginio_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtenginio_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtenginio_git.bb4
-rw-r--r--recipes-qt/qt5/qtgraphicaleffects.inc3
-rw-r--r--recipes-qt/qt5/qtgraphicaleffects_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtgraphicaleffects_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtgraphicaleffects_git.bb3
-rw-r--r--recipes-qt/qt5/qtimageformats.inc3
-rw-r--r--recipes-qt/qt5/qtimageformats_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtimageformats_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtimageformats_git.bb3
-rw-r--r--recipes-qt/qt5/qtlocation.inc3
-rw-r--r--recipes-qt/qt5/qtlocation_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtlocation_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtlocation_git.bb3
-rw-r--r--recipes-qt/qt5/qtmultimedia.inc3
-rw-r--r--recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch316
-rw-r--r--recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch4
-rw-r--r--recipes-qt/qt5/qtmultimedia_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtmultimedia_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtmultimedia_git.bb3
-rw-r--r--recipes-qt/qt5/qtquick1.inc3
-rw-r--r--recipes-qt/qt5/qtquick1_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtquick1_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtquick1_git.bb3
-rw-r--r--recipes-qt/qt5/qtquickcontrols.inc3
-rw-r--r--recipes-qt/qt5/qtquickcontrols_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtquickcontrols_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtquickcontrols_git.bb3
-rw-r--r--recipes-qt/qt5/qtscript.inc3
-rw-r--r--recipes-qt/qt5/qtscript_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtscript_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtscript_git.bb3
-rw-r--r--recipes-qt/qt5/qtsensors.inc3
-rw-r--r--recipes-qt/qt5/qtsensors_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtsensors_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtsensors_git.bb3
-rw-r--r--recipes-qt/qt5/qtserialport.inc14
-rw-r--r--recipes-qt/qt5/qtserialport_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtserialport_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtserialport_git.bb8
-rw-r--r--recipes-qt/qt5/qtsvg.inc3
-rw-r--r--recipes-qt/qt5/qtsvg_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtsvg_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtsvg_git.bb3
-rw-r--r--recipes-qt/qt5/qtsystems.inc8
-rw-r--r--recipes-qt/qt5/qtsystems_5.3.2+git.bb20
-rw-r--r--recipes-qt/qt5/qtsystems_5.4.0+git.bb14
-rw-r--r--recipes-qt/qt5/qtsystems_git.bb5
-rw-r--r--recipes-qt/qt5/qttools-native.inc6
-rw-r--r--recipes-qt/qt5/qttools-native_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qttools-native_5.4.0.bb (renamed from recipes-qt/qt5/nativesdk-qttools_5.3.2.bb)0
-rw-r--r--recipes-qt/qt5/qttools-native_git.bb5
-rw-r--r--recipes-qt/qt5/qttools.inc6
-rw-r--r--recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch21
-rw-r--r--recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch4
-rw-r--r--recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch4
-rw-r--r--recipes-qt/qt5/qttools_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qttools_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qttools_git.bb5
-rw-r--r--recipes-qt/qt5/qtwayland-native.inc5
-rw-r--r--recipes-qt/qt5/qtwayland-native_5.3.2+git.bb9
-rw-r--r--recipes-qt/qt5/qtwayland-native_5.4.0.bb2
-rw-r--r--recipes-qt/qt5/qtwayland.inc2
-rw-r--r--recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch4
-rw-r--r--recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch (renamed from recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch)18
-rw-r--r--recipes-qt/qt5/qtwayland_5.4.0.bb (renamed from recipes-qt/qt5/qtwayland_5.3.2+git.bb)15
-rw-r--r--recipes-qt/qt5/qtwebengine.inc10
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch36
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-chromium-Drop-build-time-only-dependency-on-x11-libr.patch139
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch (renamed from recipes-qt/qt5/qtwebengine/0002-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch)12
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-chromium-Strip-unwanted-echo-compiling-prefix-from-C.patch40
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch29
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-chromium-base.gypi-include-atomicops_internals_x86_gcc.cc-whe.patch27
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-functions.prf-Try-to-add-_moc-suffix.patch34
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch29
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch34
-rw-r--r--recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch30
-rw-r--r--recipes-qt/qt5/qtwebengine/0006-Include-QMAKE_CC-when-extracting-C-compiler-flags.patch34
-rw-r--r--recipes-qt/qt5/qtwebengine_5.3.2+git.bb28
-rw-r--r--recipes-qt/qt5/qtwebengine_5.4.0.bb11
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb7
-rw-r--r--recipes-qt/qt5/qtwebkit-examples.inc5
-rw-r--r--recipes-qt/qt5/qtwebkit-examples_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtwebkit-examples_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtwebkit-examples_git.bb3
-rw-r--r--recipes-qt/qt5/qtwebkit.inc7
-rw-r--r--recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch10
-rw-r--r--recipes-qt/qt5/qtwebkit_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtwebkit_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtwebkit_git.bb5
-rw-r--r--recipes-qt/qt5/qtwebsockets.inc5
-rw-r--r--recipes-qt/qt5/qtwebsockets_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtwebsockets_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtwebsockets_git.bb3
-rw-r--r--recipes-qt/qt5/qtx11extras.inc7
-rw-r--r--recipes-qt/qt5/qtx11extras_5.3.2.bb5
-rw-r--r--recipes-qt/qt5/qtx11extras_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtx11extras_git.bb3
-rw-r--r--recipes-qt/qt5/qtxmlpatterns.inc3
-rw-r--r--recipes-qt/qt5/qtxmlpatterns_5.3.2.bb11
-rw-r--r--recipes-qt/qt5/qtxmlpatterns_5.4.0.bb5
-rw-r--r--recipes-qt/qt5/qtxmlpatterns_git.bb3
141 files changed, 656 insertions, 1151 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase.inc b/recipes-qt/qt5/nativesdk-qtbase.inc
index 6f1f880b..b3eab767 100644
--- a/recipes-qt/qt5/nativesdk-qtbase.inc
+++ b/recipes-qt/qt5/nativesdk-qtbase.inc
@@ -21,18 +21,17 @@ SRC_URI += "\
21 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ 21 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
22 file://0008-configure-bump-path-length-from-256-to-512-character.patch \ 22 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
23 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ 23 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
24 file://0010-Revert-Use-the-gcc-feature-in-simd.prf.patch \ 24 file://0010-QOpenGLPaintDevice-sub-area-support.patch \
25 file://0011-QOpenGLPaintDevice-sub-area-support.patch \
26" 25"
27 26
28# common for qtbase-native and nativesdk-qtbase 27# common for qtbase-native and nativesdk-qtbase
29SRC_URI += " \ 28SRC_URI += " \
30 file://0012-Always-build-uic.patch \ 29 file://0011-Always-build-uic.patch \
31" 30"
32 31
33# specific for nativesdk-qtbase 32# specific for nativesdk-qtbase
34SRC_URI += " \ 33SRC_URI += " \
35 file://0013-configure-preserve-built-qmake-and-swap-with-native-.patch \ 34 file://0012-configure-preserve-built-qmake-and-swap-with-native-.patch \
36" 35"
37 36
38# CMake's toolchain configuration of nativesdk-qtbase 37# CMake's toolchain configuration of nativesdk-qtbase
diff --git a/recipes-qt/qt5/nativesdk-qtbase_5.3.2.bb b/recipes-qt/qt5/nativesdk-qtbase_5.3.2.bb
deleted file mode 100644
index 49b90727..00000000
--- a/recipes-qt/qt5/nativesdk-qtbase_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "563e2b10274171f1184b3fd7260b4991"
5SRC_URI[sha256sum] = "9a16095ac46dae99d6ddab8bc07065fbe1c36501ed194a3191d07347d7826cb8"
diff --git a/recipes-qt/qt5/nativesdk-qtbase_5.4.0.bb b/recipes-qt/qt5/nativesdk-qtbase_5.4.0.bb
new file mode 100644
index 00000000..7414abd4
--- /dev/null
+++ b/recipes-qt/qt5/nativesdk-qtbase_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "eaaa72a5cb25713ca8d17f3a8d149765"
5SRC_URI[sha256sum] = "daea240ba5e77bc2d78ec21a2cb664eed83b3d4ad409b6277a6f7d4c0c8e91d1"
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index b9dfdfbd..728cefc2 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -38,9 +38,3 @@ SRC_URI += " \
38" 38"
39 39
40SRCREV = "cc23ebace8b7f343aca6e10f9ebd31b87c17c782" 40SRCREV = "cc23ebace8b7f343aca6e10f9ebd31b87c17c782"
41
42LICENSE = "GFDL-1.3 & LGPL-2.1 | LGPL-3.0"
43LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
44 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
45 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
46 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/nativesdk-qttools.inc b/recipes-qt/qt5/nativesdk-qttools.inc
index 6b8ba54f..c67f9cdf 100644
--- a/recipes-qt/qt5/nativesdk-qttools.inc
+++ b/recipes-qt/qt5/nativesdk-qttools.inc
@@ -9,12 +9,6 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qttools:"
9 9
10SRC_URI += "file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch" 10SRC_URI += "file://0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch"
11 11
12# older copyright year than what e.g. qtbase is using now
13LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
14 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
15 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
16 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
17
18PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 12PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
19 13
20FILES_${PN}-dbg = " \ 14FILES_${PN}-dbg = " \
diff --git a/recipes-qt/qt5/nativesdk-qttools_5.4.0.bb b/recipes-qt/qt5/nativesdk-qttools_5.4.0.bb
new file mode 100644
index 00000000..f9384e94
--- /dev/null
+++ b/recipes-qt/qt5/nativesdk-qttools_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "3de5923257b365526856094d7da0ad85"
5SRC_URI[sha256sum] = "5a85a096ffd30463781dc3871ad9640a510eba0086188c7943d23adc3660741a"
diff --git a/recipes-qt/qt5/nativesdk-qttools_git.bb b/recipes-qt/qt5/nativesdk-qttools_git.bb
index 7107d5b4..13305d11 100644
--- a/recipes-qt/qt5/nativesdk-qttools_git.bb
+++ b/recipes-qt/qt5/nativesdk-qttools_git.bb
@@ -5,8 +5,3 @@ require ${PN}.inc
5FILESEXTRAPATHS =. "${FILE_DIRNAME}/${BPN}-git:" 5FILESEXTRAPATHS =. "${FILE_DIRNAME}/${BPN}-git:"
6 6
7SRCREV = "f3abe81d510bef5b984544a6d58551ce04cb8b48" 7SRCREV = "f3abe81d510bef5b984544a6d58551ce04cb8b48"
8
9LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
10 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
11 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
12 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qt5-5.3.2.inc b/recipes-qt/qt5/qt5-5.4.0.inc
index 21c1a226..7320bd9b 100644
--- a/recipes-qt/qt5/qt5-5.3.2.inc
+++ b/recipes-qt/qt5/qt5-5.4.0.inc
@@ -4,7 +4,7 @@
4QT_VERSION ?= "${PV}" 4QT_VERSION ?= "${PV}"
5 5
6# it's different for RC versions 6# it's different for RC versions
7QT_VERSION_DIR ?= "5.3" 7QT_VERSION_DIR ?= "5.4"
8 8
9SRC_URI += " \ 9SRC_URI += " \
10 http://download.qt-project.org/official_releases/qt/${QT_VERSION_DIR}/${QT_VERSION}/submodules/${QT_MODULE}-opensource-src-${QT_VERSION}.tar.xz \ 10 http://download.qt-project.org/official_releases/qt/${QT_VERSION_DIR}/${QT_VERSION}/submodules/${QT_MODULE}-opensource-src-${QT_VERSION}.tar.xz \
@@ -12,8 +12,8 @@ SRC_URI += " \
12 12
13S = "${WORKDIR}/${QT_MODULE}-opensource-src-${QT_VERSION}" 13S = "${WORKDIR}/${QT_MODULE}-opensource-src-${QT_VERSION}"
14 14
15LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0" 15LICENSE = "GFDL-1.3 & LGPL-2.1 | LGPL-3.0"
16LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=2abca611d56c23eb99943bde21c80a0d \ 16LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
17 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ 17 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
18 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ 18 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
19 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e" 19 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtbase-native.inc b/recipes-qt/qt5/qtbase-native.inc
index 3ba7f8e4..40238446 100644
--- a/recipes-qt/qt5/qtbase-native.inc
+++ b/recipes-qt/qt5/qtbase-native.inc
@@ -18,13 +18,12 @@ SRC_URI += "\
18 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ 18 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
19 file://0008-configure-bump-path-length-from-256-to-512-character.patch \ 19 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
20 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ 20 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
21 file://0010-Revert-Use-the-gcc-feature-in-simd.prf.patch \ 21 file://0010-QOpenGLPaintDevice-sub-area-support.patch \
22 file://0011-QOpenGLPaintDevice-sub-area-support.patch \
23" 22"
24 23
25# common for qtbase-native and nativesdk-qtbase 24# common for qtbase-native and nativesdk-qtbase
26SRC_URI += " \ 25SRC_URI += " \
27 file://0012-Always-build-uic.patch \ 26 file://0011-Always-build-uic.patch \
28" 27"
29 28
30QT_CONF_PATH = "${B}/qt.conf" 29QT_CONF_PATH = "${B}/qt.conf"
diff --git a/recipes-qt/qt5/qtbase-native_5.3.2.bb b/recipes-qt/qt5/qtbase-native_5.4.0.bb
index 44dd9843..26673ae7 100644
--- a/recipes-qt/qt5/qtbase-native_5.3.2.bb
+++ b/recipes-qt/qt5/qtbase-native_5.4.0.bb
@@ -7,5 +7,5 @@ do_install_append() {
7 ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt 7 ln -sf syncqt.pl ${D}${OE_QMAKE_PATH_QT_BINS}/syncqt
8} 8}
9 9
10SRC_URI[md5sum] = "563e2b10274171f1184b3fd7260b4991" 10SRC_URI[md5sum] = "eaaa72a5cb25713ca8d17f3a8d149765"
11SRC_URI[sha256sum] = "9a16095ac46dae99d6ddab8bc07065fbe1c36501ed194a3191d07347d7826cb8" 11SRC_URI[sha256sum] = "daea240ba5e77bc2d78ec21a2cb664eed83b3d4ad409b6277a6f7d4c0c8e91d1"
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index 9d7baed6..dc10d0d0 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -31,9 +31,3 @@ do_install_append() {
31} 31}
32 32
33SRCREV = "cc23ebace8b7f343aca6e10f9ebd31b87c17c782" 33SRCREV = "cc23ebace8b7f343aca6e10f9ebd31b87c17c782"
34
35LICENSE = "GFDL-1.3 & LGPL-2.1 | LGPL-3.0"
36LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
37 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
38 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
39 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index 17fc098c..4c7e86cc 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -11,13 +11,12 @@ SRC_URI += "\
11 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \ 11 file://0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
12 file://0008-configure-bump-path-length-from-256-to-512-character.patch \ 12 file://0008-configure-bump-path-length-from-256-to-512-character.patch \
13 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \ 13 file://0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch \
14 file://0010-Revert-Use-the-gcc-feature-in-simd.prf.patch \ 14 file://0010-QOpenGLPaintDevice-sub-area-support.patch \
15 file://0011-QOpenGLPaintDevice-sub-area-support.patch \
16" 15"
17 16
18# specific for qtbase 17# specific for qtbase
19SRC_URI += "\ 18SRC_URI += "\
20 file://0012-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \ 19 file://0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \
21" 20"
22 21
23DEPENDS += "qtbase-native" 22DEPENDS += "qtbase-native"
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
index 64829fad..081bcac0 100644
--- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
+++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch
@@ -1,7 +1,7 @@
1From 9816098355731afb60cd41d334be97d07f0dcc42 Mon Sep 17 00:00:00 2001 1From 81cd2947e9b1290498bdc2505a76fb053ff33be8 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 15 Apr 2013 04:29:32 +0200 3Date: Mon, 15 Apr 2013 04:29:32 +0200
4Subject: [PATCH 01/13] Add linux-oe-g++ platform 4Subject: [PATCH 01/11] Add linux-oe-g++ platform
5 5
6* This qmake.conf unlike other platforms reads most variables from 6* This qmake.conf unlike other platforms reads most variables from
7 shell environment, because it's easier for qt recipes to export 7 shell environment, because it's easier for qt recipes to export
@@ -51,10 +51,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
51 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h 51 create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
52 52
53diff --git a/configure b/configure 53diff --git a/configure b/configure
54index cb8d78f..3f7b41b 100755 54index 229fb4e..b7a6fe3 100755
55--- a/configure 55--- a/configure
56+++ b/configure 56+++ b/configure
57@@ -324,6 +324,16 @@ getQMakeConf() 57@@ -316,6 +316,16 @@ getQMakeConf()
58 getSingleQMakeVariable "$1" "$specvals" 58 getSingleQMakeVariable "$1" "$specvals"
59 } 59 }
60 60
@@ -71,7 +71,7 @@ index cb8d78f..3f7b41b 100755
71 getXQMakeConf() 71 getXQMakeConf()
72 { 72 {
73 if [ -z "$xspecvals" ]; then 73 if [ -z "$xspecvals" ]; then
74@@ -333,6 +343,16 @@ getXQMakeConf() 74@@ -325,6 +335,16 @@ getXQMakeConf()
75 getSingleQMakeVariable "$1" "$xspecvals" 75 getSingleQMakeVariable "$1" "$xspecvals"
76 } 76 }
77 77
@@ -88,7 +88,7 @@ index cb8d78f..3f7b41b 100755
88 compilerSupportsFlag() 88 compilerSupportsFlag()
89 { 89 {
90 cat >conftest.cpp <<EOF 90 cat >conftest.cpp <<EOF
91@@ -548,21 +568,19 @@ fi 91@@ -541,21 +561,19 @@ fi
92 # initalize variables 92 # initalize variables
93 #------------------------------------------------------------------------------- 93 #-------------------------------------------------------------------------------
94 94
@@ -118,7 +118,7 @@ index cb8d78f..3f7b41b 100755
118 # Use CC/CXX to run config.tests 118 # Use CC/CXX to run config.tests
119 mkdir -p "$outpath/config.tests" 119 mkdir -p "$outpath/config.tests"
120 rm -f "$outpath/config.tests/.qmake.cache" 120 rm -f "$outpath/config.tests/.qmake.cache"
121@@ -3140,7 +3158,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then 121@@ -3173,7 +3191,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
122 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no 122 [ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no
123 fi 123 fi
124 124
@@ -127,7 +127,7 @@ index cb8d78f..3f7b41b 100755
127 127
128 TEST_COMPILER=$QMAKE_CONF_COMPILER 128 TEST_COMPILER=$QMAKE_CONF_COMPILER
129 129
130@@ -3175,7 +3193,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then 130@@ -3211,7 +3229,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
131 exit 1 131 exit 1
132 fi 132 fi
133 fi 133 fi
@@ -136,7 +136,7 @@ index cb8d78f..3f7b41b 100755
136 136
137 GCC_MACHINE_DUMP= 137 GCC_MACHINE_DUMP=
138 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac 138 case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
139@@ -3633,6 +3651,14 @@ setBootstrapVariable() 139@@ -3682,6 +3700,14 @@ setBootstrapVariable()
140 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile" 140 getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
141 } 141 }
142 142
@@ -151,7 +151,7 @@ index cb8d78f..3f7b41b 100755
151 # build qmake 151 # build qmake
152 if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 152 if true; then ###[ '!' -f "$outpath/bin/qmake" ];
153 echo "Creating qmake..." 153 echo "Creating qmake..."
154@@ -3671,14 +3697,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 154@@ -3720,14 +3746,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
155 fi 155 fi
156 156
157 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM= 157 [ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
@@ -175,10 +175,10 @@ index cb8d78f..3f7b41b 100755
175 if [ "$CFG_RELEASE_QMAKE" = "yes" ]; then 175 if [ "$CFG_RELEASE_QMAKE" = "yes" ]; then
176 setBootstrapVariable QMAKE_CFLAGS_RELEASE 176 setBootstrapVariable QMAKE_CFLAGS_RELEASE
177diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf 177diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
178index fe41c54..e2db923 100644 178index 6b37a04..dcf6025 100644
179--- a/mkspecs/features/configure.prf 179--- a/mkspecs/features/configure.prf
180+++ b/mkspecs/features/configure.prf 180+++ b/mkspecs/features/configure.prf
181@@ -60,12 +60,12 @@ defineTest(qtCompileTest) { 181@@ -63,12 +63,12 @@ defineTest(qtCompileTest) {
182 } 182 }
183 183
184 # Clean up after previous run 184 # Clean up after previous run
@@ -187,7 +187,7 @@ index fe41c54..e2db923 100644
187 187
188 mkpath($$test_out_dir)|error("Aborting.") 188 mkpath($$test_out_dir)|error("Aborting.")
189 189
190 qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) $$qmake_configs $$shell_quote($$test_dir)") { 190 qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) -spec $$QMAKESPEC $$qmake_configs $$shell_quote($$test_dir)") {
191- qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") { 191- qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") {
192+ qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS)") { 192+ qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS)") {
193 log("yes$$escape_expand(\\n)") 193 log("yes$$escape_expand(\\n)")
@@ -346,5 +346,5 @@ index 0000000..dd12003
346+ 346+
347+#endif // QPLATFORMDEFS_H 347+#endif // QPLATFORMDEFS_H
348-- 348--
3492.1.1 3492.1.3
350 350
diff --git a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
index 669ebb22..bae0dd3b 100644
--- a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
+++ b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
@@ -1,7 +1,7 @@
1From 2749053c1a0670fea50f2f716fea0839fbbbb007 Mon Sep 17 00:00:00 2001 1From aae38b0ff226f287ad40f6eb423f1b974f548b73 Mon Sep 17 00:00:00 2001
2From: Holger Freyther <zecke@selfish.org> 2From: Holger Freyther <zecke@selfish.org>
3Date: Wed, 26 Sep 2012 17:22:30 +0200 3Date: Wed, 26 Sep 2012 17:22:30 +0200
4Subject: [PATCH 02/13] qlibraryinfo: allow to set qt.conf from the outside 4Subject: [PATCH 02/11] qlibraryinfo: allow to set qt.conf from the outside
5 using the environment 5 using the environment
6 6
7Allow to set a qt.conf from the outside using the environment. This allows 7Allow to set a qt.conf from the outside using the environment. This allows
@@ -19,10 +19,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
19 1 file changed, 4 insertions(+), 1 deletion(-) 19 1 file changed, 4 insertions(+), 1 deletion(-)
20 20
21diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 21diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
22index 174c1d0..69e614f 100644 22index 7ca0aa7..d68c51b 100644
23--- a/src/corelib/global/qlibraryinfo.cpp 23--- a/src/corelib/global/qlibraryinfo.cpp
24+++ b/src/corelib/global/qlibraryinfo.cpp 24+++ b/src/corelib/global/qlibraryinfo.cpp
25@@ -153,7 +153,10 @@ QLibrarySettings::QLibrarySettings() 25@@ -139,7 +139,10 @@ QLibrarySettings::QLibrarySettings()
26 26
27 QSettings *QLibraryInfoPrivate::findConfiguration() 27 QSettings *QLibraryInfoPrivate::findConfiguration()
28 { 28 {
@@ -35,5 +35,5 @@ index 174c1d0..69e614f 100644
35 if(!QFile::exists(qtconfig)) 35 if(!QFile::exists(qtconfig))
36 qtconfig = qt_libraryInfoFile(); 36 qtconfig = qt_libraryInfoFile();
37-- 37--
382.1.1 382.1.3
39 39
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
index 01d1e454..c633ea70 100644
--- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
@@ -1,7 +1,7 @@
1From e263260c50051327e3f7f2ca8c46e014228e0078 Mon Sep 17 00:00:00 2001 1From f2d51e50a7fbdf485696d1b8b2d29e64c729c76b Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 6 Apr 2013 13:15:07 +0200 3Date: Sat, 6 Apr 2013 13:15:07 +0200
4Subject: [PATCH 03/13] Add -external-hostbindir option 4Subject: [PATCH 03/11] Add -external-hostbindir option
5 5
6* when cross-compiling it's sometimes useful to use existing tools from machine 6* when cross-compiling it's sometimes useful to use existing tools from machine
7 (or in OpenEmbedded built with separate native recipe) when building for target 7 (or in OpenEmbedded built with separate native recipe) when building for target
@@ -28,20 +28,20 @@ Signed-off-by: Jonathan Liu <net147@gmail.com>
28 mkspecs/features/qt_functions.prf | 6 +++++- 28 mkspecs/features/qt_functions.prf | 6 +++++-
29 mkspecs/features/qt_tool.prf | 4 ++-- 29 mkspecs/features/qt_tool.prf | 4 ++--
30 qmake/property.cpp | 1 + 30 qmake/property.cpp | 1 +
31 qtbase.pro | 14 +++++++++++--- 31 qtbase.pro | 13 ++++++++++---
32 src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++--- 32 src/corelib/Qt5CoreConfigExtras.cmake.in | 6 +++---
33 src/corelib/global/qlibraryinfo.cpp | 3 ++- 33 src/corelib/global/qlibraryinfo.cpp | 3 ++-
34 src/corelib/global/qlibraryinfo.h | 1 + 34 src/corelib/global/qlibraryinfo.h | 1 +
35 src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++-- 35 src/dbus/Qt5DBusConfigExtras.cmake.in | 4 ++--
36 src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +- 36 src/widgets/Qt5WidgetsConfigExtras.cmake.in | 2 +-
37 tools/configure/configureapp.cpp | 8 ++++++++ 37 tools/configure/configureapp.cpp | 8 ++++++++
38 11 files changed, 51 insertions(+), 13 deletions(-) 38 11 files changed, 50 insertions(+), 13 deletions(-)
39 39
40diff --git a/configure b/configure 40diff --git a/configure b/configure
41index 3f7b41b..18d1a0b 100755 41index b7a6fe3..d715f6c 100755
42--- a/configure 42--- a/configure
43+++ b/configure 43+++ b/configure
44@@ -777,6 +777,7 @@ QT_HOST_BINS= 44@@ -769,6 +769,7 @@ QT_HOST_BINS=
45 QT_HOST_LIBS= 45 QT_HOST_LIBS=
46 QT_HOST_DATA= 46 QT_HOST_DATA=
47 QT_EXT_PREFIX= 47 QT_EXT_PREFIX=
@@ -49,7 +49,7 @@ index 3f7b41b..18d1a0b 100755
49 49
50 #flags for SQL drivers 50 #flags for SQL drivers
51 QT_CFLAGS_PSQL= 51 QT_CFLAGS_PSQL=
52@@ -896,6 +897,7 @@ while [ "$#" -gt 0 ]; do 52@@ -888,6 +889,7 @@ while [ "$#" -gt 0 ]; do
53 -testsdir| \ 53 -testsdir| \
54 -hostdatadir| \ 54 -hostdatadir| \
55 -hostbindir| \ 55 -hostbindir| \
@@ -57,7 +57,7 @@ index 3f7b41b..18d1a0b 100755
57 -hostlibdir| \ 57 -hostlibdir| \
58 -extprefix| \ 58 -extprefix| \
59 -sysroot| \ 59 -sysroot| \
60@@ -1110,6 +1112,9 @@ while [ "$#" -gt 0 ]; do 60@@ -1102,6 +1104,9 @@ while [ "$#" -gt 0 ]; do
61 extprefix) 61 extprefix)
62 QT_EXT_PREFIX="$VAL" 62 QT_EXT_PREFIX="$VAL"
63 ;; 63 ;;
@@ -67,7 +67,7 @@ index 3f7b41b..18d1a0b 100755
67 pkg-config) 67 pkg-config)
68 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then 68 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
69 CFG_PKGCONFIG="$VAL" 69 CFG_PKGCONFIG="$VAL"
70@@ -2248,6 +2253,10 @@ Installation options: 70@@ -2265,6 +2270,10 @@ Installation options:
71 -hostdatadir <dir> . Data used by qmake will be installed to <dir> 71 -hostdatadir <dir> . Data used by qmake will be installed to <dir>
72 (default HOSTPREFIX) 72 (default HOSTPREFIX)
73 73
@@ -78,7 +78,7 @@ index 3f7b41b..18d1a0b 100755
78 Configure options: 78 Configure options:
79 79
80 The defaults (*) are usually acceptable. A plus (+) denotes a default value 80 The defaults (*) are usually acceptable. A plus (+) denotes a default value
81@@ -2915,6 +2924,11 @@ fi 81@@ -2944,6 +2953,11 @@ fi
82 # command line and environment validation 82 # command line and environment validation
83 #------------------------------------------------------------------------------- 83 #-------------------------------------------------------------------------------
84 84
@@ -90,7 +90,7 @@ index 3f7b41b..18d1a0b 100755
90 # update QT_CONFIG to show our current predefined configuration 90 # update QT_CONFIG to show our current predefined configuration
91 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h 91 CFG_QCONFIG_PATH=$relpath/src/corelib/global/qconfig-${CFG_QCONFIG}.h
92 case "$CFG_QCONFIG" in 92 case "$CFG_QCONFIG" in
93@@ -3595,6 +3609,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = { 93@@ -3644,6 +3658,7 @@ static const char qt_configure_prefix_path_strs[][256 + 12] = {
94 "qt_hbinpath=$QT_HOST_BINS", 94 "qt_hbinpath=$QT_HOST_BINS",
95 "qt_hlibpath=$QT_HOST_LIBS", 95 "qt_hlibpath=$QT_HOST_LIBS",
96 "qt_hdatpath=$QT_HOST_DATA", 96 "qt_hdatpath=$QT_HOST_DATA",
@@ -99,10 +99,10 @@ index 3f7b41b..18d1a0b 100755
99 "qt_hostspec=$shortspec", 99 "qt_hostspec=$shortspec",
100 #endif 100 #endif
101diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf 101diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
102index 9a4d80e..dfc1cff 100644 102index a9a622d..b6f1db0 100644
103--- a/mkspecs/features/qt_functions.prf 103--- a/mkspecs/features/qt_functions.prf
104+++ b/mkspecs/features/qt_functions.prf 104+++ b/mkspecs/features/qt_functions.prf
105@@ -193,7 +193,11 @@ defineTest(qtAddRpathLink) { 105@@ -191,7 +191,11 @@ defineTest(qtAddRpathLink) {
106 defineTest(qtPrepareTool) { 106 defineTest(qtPrepareTool) {
107 cmd = $$eval(QT_TOOL.$${2}.binary) 107 cmd = $$eval(QT_TOOL.$${2}.binary)
108 isEmpty(cmd) { 108 isEmpty(cmd) {
@@ -134,10 +134,10 @@ index 1d3e88c..9b26adf 100644
134 134
135 !host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private) 135 !host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private)
136diff --git a/qmake/property.cpp b/qmake/property.cpp 136diff --git a/qmake/property.cpp b/qmake/property.cpp
137index e50485c..71291ad 100644 137index 051e056..50da6ed 100644
138--- a/qmake/property.cpp 138--- a/qmake/property.cpp
139+++ b/qmake/property.cpp 139+++ b/qmake/property.cpp
140@@ -75,6 +75,7 @@ static const struct { 140@@ -67,6 +67,7 @@ static const struct {
141 { "QT_HOST_DATA", QLibraryInfo::HostDataPath, true }, 141 { "QT_HOST_DATA", QLibraryInfo::HostDataPath, true },
142 { "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true }, 142 { "QT_HOST_BINS", QLibraryInfo::HostBinariesPath, true },
143 { "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true }, 143 { "QT_HOST_LIBS", QLibraryInfo::HostLibrariesPath, true },
@@ -146,7 +146,7 @@ index e50485c..71291ad 100644
146 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true }, 146 { "QMAKE_XSPEC", QLibraryInfo::TargetSpecPath, true },
147 }; 147 };
148diff --git a/qtbase.pro b/qtbase.pro 148diff --git a/qtbase.pro b/qtbase.pro
149index d6861cf..7fb58a3 100644 149index 6d0de44..ddf7478 100644
150--- a/qtbase.pro 150--- a/qtbase.pro
151+++ b/qtbase.pro 151+++ b/qtbase.pro
152@@ -69,18 +69,25 @@ CONFIG -= qt 152@@ -69,18 +69,25 @@ CONFIG -= qt
@@ -210,10 +210,10 @@ index 9bda70e..6e3605a 100644
210 _qt5_Core_check_file_exists(${imported_location}) 210 _qt5_Core_check_file_exists(${imported_location})
211 211
212diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp 212diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
213index 69e614f..a95ca35 100644 213index d68c51b..7191159 100644
214--- a/src/corelib/global/qlibraryinfo.cpp 214--- a/src/corelib/global/qlibraryinfo.cpp
215+++ b/src/corelib/global/qlibraryinfo.cpp 215+++ b/src/corelib/global/qlibraryinfo.cpp
216@@ -336,7 +336,7 @@ QLibraryInfo::isDebugBuild() 216@@ -349,7 +349,7 @@ QLibraryInfo::isDebugBuild()
217 */ 217 */
218 218
219 static const struct { 219 static const struct {
@@ -222,7 +222,7 @@ index 69e614f..a95ca35 100644
222 } qtConfEntries[] = { 222 } qtConfEntries[] = {
223 { "Prefix", "." }, 223 { "Prefix", "." },
224 { "Documentation", "doc" }, // should be ${Data}/doc 224 { "Documentation", "doc" }, // should be ${Data}/doc
225@@ -362,6 +362,7 @@ static const struct { 225@@ -375,6 +375,7 @@ static const struct {
226 { "HostBinaries", "bin" }, 226 { "HostBinaries", "bin" },
227 { "HostLibraries", "lib" }, 227 { "HostLibraries", "lib" },
228 { "HostData", "." }, 228 { "HostData", "." },
@@ -231,10 +231,10 @@ index 69e614f..a95ca35 100644
231 { "HostSpec", "" }, 231 { "HostSpec", "" },
232 #endif 232 #endif
233diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h 233diff --git a/src/corelib/global/qlibraryinfo.h b/src/corelib/global/qlibraryinfo.h
234index 0b573c2..b5535ee 100644 234index 543c4b3..a02e03a 100644
235--- a/src/corelib/global/qlibraryinfo.h 235--- a/src/corelib/global/qlibraryinfo.h
236+++ b/src/corelib/global/qlibraryinfo.h 236+++ b/src/corelib/global/qlibraryinfo.h
237@@ -88,6 +88,7 @@ public: 237@@ -80,6 +80,7 @@ public:
238 HostBinariesPath, 238 HostBinariesPath,
239 HostLibrariesPath, 239 HostLibrariesPath,
240 HostDataPath, 240 HostDataPath,
@@ -278,10 +278,10 @@ index 99d87e2..5621dc0 100644
278 _qt5_Widgets_check_file_exists(${imported_location}) 278 _qt5_Widgets_check_file_exists(${imported_location})
279 279
280diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 280diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
281index 90981f6..7d73882 100644 281index 92422c2..d0a62c8 100644
282--- a/tools/configure/configureapp.cpp 282--- a/tools/configure/configureapp.cpp
283+++ b/tools/configure/configureapp.cpp 283+++ b/tools/configure/configureapp.cpp
284@@ -1215,6 +1215,13 @@ void Configure::parseCmdLine() 284@@ -1191,6 +1191,13 @@ void Configure::parseCmdLine()
285 dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i); 285 dictionary[ "QT_EXT_PREFIX" ] = configCmdLine.at(i);
286 } 286 }
287 287
@@ -295,7 +295,7 @@ index 90981f6..7d73882 100644
295 else if (configCmdLine.at(i) == "-make-tool") { 295 else if (configCmdLine.at(i) == "-make-tool") {
296 ++i; 296 ++i;
297 if (i == argCount) 297 if (i == argCount)
298@@ -4006,6 +4013,7 @@ void Configure::generateQConfigCpp() 298@@ -3995,6 +4002,7 @@ void Configure::generateQConfigCpp()
299 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl 299 << " \"qt_hbinpath=" << formatPath(dictionary["QT_HOST_BINS"]) << "\"," << endl
300 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl 300 << " \"qt_hlibpath=" << formatPath(dictionary["QT_HOST_LIBS"]) << "\"," << endl
301 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl 301 << " \"qt_hdatpath=" << formatPath(dictionary["QT_HOST_DATA"]) << "\"," << endl
@@ -304,5 +304,5 @@ index 90981f6..7d73882 100644
304 << " \"qt_hostspec=" << hostSpec << "\"," << endl 304 << " \"qt_hostspec=" << hostSpec << "\"," << endl
305 << "#endif" << endl 305 << "#endif" << endl
306-- 306--
3072.1.1 3072.1.3
308 308
diff --git a/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch b/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
index adf1c4ae..83694b7d 100644
--- a/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
+++ b/recipes-qt/qt5/qtbase/0004-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
@@ -1,7 +1,7 @@
1From 34a32208034a03c0d591dc79386f97ae020652e7 Mon Sep 17 00:00:00 2001 1From 13a61389aa33fdfd5d9a1adf824d98c5ebf1cdff Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 22:33:33 +0200 3Date: Sat, 27 Apr 2013 22:33:33 +0200
4Subject: [PATCH 04/13] configureapp: Prefix default LIBDIRS and INCDIRS with 4Subject: [PATCH 04/11] configureapp: Prefix default LIBDIRS and INCDIRS with
5 SYSROOT 5 SYSROOT
6 6
7Upstream-Status: Pending 7Upstream-Status: Pending
@@ -11,10 +11,10 @@ Upstream-Status: Pending
11 1 file changed, 2 insertions(+), 2 deletions(-) 11 1 file changed, 2 insertions(+), 2 deletions(-)
12 12
13diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp 13diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp
14index 7d73882..c572fbb 100644 14index d0a62c8..b3f3ff8 100644
15--- a/tools/configure/configureapp.cpp 15--- a/tools/configure/configureapp.cpp
16+++ b/tools/configure/configureapp.cpp 16+++ b/tools/configure/configureapp.cpp
17@@ -3393,8 +3393,8 @@ void Configure::generateQConfigPri() 17@@ -3384,8 +3384,8 @@ void Configure::generateQConfigPri()
18 configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl; 18 configStream << " QT_ARCH = " << dictionary["QT_ARCH"] << endl;
19 if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) { 19 if (dictionary.contains("XQMAKESPEC") && !dictionary["XQMAKESPEC"].startsWith("wince")) {
20 // FIXME: add detection 20 // FIXME: add detection
@@ -26,5 +26,5 @@ index 7d73882..c572fbb 100644
26 configStream << "}" << endl; 26 configStream << "}" << endl;
27 configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl; 27 configStream << "QT_CONFIG += " << qtConfig.join(' ') << endl;
28-- 28--
292.1.1 292.1.3
30 30
diff --git a/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
index fe2fd6a8..a6e90894 100644
--- a/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
+++ b/recipes-qt/qt5/qtbase/0005-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
@@ -1,7 +1,7 @@
1From 9e7667c9124ab287dc0f7ad40c2b61c435ffc186 Mon Sep 17 00:00:00 2001 1From 5778f98f990781710e72be8275dae32a7999330d Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 23:15:37 +0200 3Date: Sat, 27 Apr 2013 23:15:37 +0200
4Subject: [PATCH 05/13] qt_module: Fix pkgconfig and libtool replacements 4Subject: [PATCH 05/11] qt_module: Fix pkgconfig and libtool replacements
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-Transfer-Encoding: 8bit
@@ -67,7 +67,7 @@ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
67 2 files changed, 16 insertions(+), 1 deletion(-) 67 2 files changed, 16 insertions(+), 1 deletion(-)
68 68
69diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf 69diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
70index 4dcabe9..d04bc3e 100644 70index af9d6ca..a4781d6 100644
71--- a/mkspecs/features/qt_common.prf 71--- a/mkspecs/features/qt_common.prf
72+++ b/mkspecs/features/qt_common.prf 72+++ b/mkspecs/features/qt_common.prf
73@@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) { 73@@ -33,7 +33,7 @@ contains(TEMPLATE, .*lib) {
@@ -80,10 +80,10 @@ index 4dcabe9..d04bc3e 100644
80 lib_replace.CONFIG = path 80 lib_replace.CONFIG = path
81 QMAKE_PRL_INSTALL_REPLACE += lib_replace 81 QMAKE_PRL_INSTALL_REPLACE += lib_replace
82diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf 82diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
83index 8bf4c92..2e229fc 100644 83index d213f9e..915c596 100644
84--- a/mkspecs/features/qt_module.prf 84--- a/mkspecs/features/qt_module.prf
85+++ b/mkspecs/features/qt_module.prf 85+++ b/mkspecs/features/qt_module.prf
86@@ -188,10 +188,25 @@ unix|mingw { 86@@ -192,10 +192,25 @@ unix|mingw {
87 QMAKE_PKGCONFIG_DESCRIPTION = $$replace(TARGET, ^Qt, "Qt ") module 87 QMAKE_PKGCONFIG_DESCRIPTION = $$replace(TARGET, ^Qt, "Qt ") module
88 QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace 88 QMAKE_PKGCONFIG_INSTALL_REPLACE += lib_replace
89 89
@@ -110,5 +110,5 @@ index 8bf4c92..2e229fc 100644
110 } 110 }
111 111
112-- 112--
1132.1.1 1132.1.3
114 114
diff --git a/recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch b/recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
index 08629f5c..042d7638 100644
--- a/recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
+++ b/recipes-qt/qt5/qtbase/0006-Revert-eglfs-Print-the-chosen-config-in-debug-mode.patch
@@ -1,19 +1,60 @@
1From ce38ab8b2167b74fa90eb3e17507dc9e799a3274 Mon Sep 17 00:00:00 2001 1From 4a067c162d08596e3ec89dcfb3ecdf197b1bf22a Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 21 Apr 2014 19:22:04 +0200 3Date: Mon, 21 Apr 2014 19:22:04 +0200
4Subject: [PATCH 06/13] Revert "eglfs: Print the chosen config in debug mode" 4Subject: [PATCH 06/11] Revert "eglfs: Print the chosen config in debug mode"
5
6With this change the build is failing with:
7| In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0,
8| from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/egl.h:36,
9| from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext_p.h:51,
10| from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:34:
11| ../../include/QtCore/../../../git/src/corelib/io/qtextstream.h:72:10: error: expected identifier before 'int'
12| enum Status {
13| ^
14| In file included from ../../include/QtCore/qtextstream.h:1:0,
15| from ../../include/QtCore/../../../git/src/corelib/io/qdebug.h:42,
16| from ../../include/QtCore/qdebug.h:1,
17| from ../../include/QtCore/QDebug:1,
18| from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformcontext.cpp:40:
19| ../../include/QtCore/../../../git/src/corelib/io/qtextstream.h:72:17: error: expected unqualified-id before '{' token
20| enum Status {
21| ^
22| Makefile:3896: recipe for target '.obj/qeglplatformcontext.o' failed
23| make[2]: *** [.obj/qeglplatformcontext.o] Error 1
24| make[2]: *** Waiting for unfinished jobs....
25| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp:196:5: error: 'Display' redeclared as different kind of symbol
26| Display
27| ^
28| In file included from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/eglplatform.h:118:0,
29| from /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/EGL/egl.h:36,
30| from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration_p.h:51,
31| from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp:55:
32| /OE/build/oe-core/tmp-glibc/sysroots/qemux86-64/usr/include/X11/Xlib.h:499:26: note: previous declaration 'typedef struct _XDisplay Display'
33| typedef struct _XDisplay Display;
34| ^
35| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp: In member function 'virtual void* QEGLPlatformIntegration::nativeResourceForScreen(const QByteArray&, QScreen*)':
36| /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qtbase/5.3.0+5.4.0-alpha1+gitAUTOINC+8456adf0ee-r0/git/src/platformsupport/eglconvenience/qeglplatformintegration.cpp:239:17: error: expected primary-expression before ':' token
37| case Display:
38| ^
39| Makefile:5486: recipe for target '.obj/qeglplatformintegration.o' failed
5 40
6This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e. 41This reverts commit dc685cf6331f5fb46285cf10d6464c2ecf41f73e.
42
43Will be partially resolved in newer revision with:
44https://codereview.qt-project.org/96220
45
46Change-Id: I7a6a926b7525d4f137824c71f2ec8cd089c21f13
47Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7--- 48---
8 src/platformsupport/eglconvenience/qeglconvenience.cpp | 4 +++- 49 src/platformsupport/eglconvenience/qeglconvenience.cpp | 4 +++-
9 src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 7 ------- 50 src/platformsupport/eglconvenience/qeglplatformcontext.cpp | 7 -------
10 2 files changed, 3 insertions(+), 8 deletions(-) 51 2 files changed, 3 insertions(+), 8 deletions(-)
11 52
12diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp 53diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp
13index 5eed470..39c7c1f 100644 54index c1a491c..7a0fc87 100644
14--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp 55--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp
15+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp 56+++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp
16@@ -451,9 +451,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config) 57@@ -443,9 +443,11 @@ void q_printEglConfig(EGLDisplay display, EGLConfig config)
17 for (index = 0; attrs[index].attr != -1; ++index) { 58 for (index = 0; attrs[index].attr != -1; ++index) {
18 EGLint value; 59 EGLint value;
19 if (eglGetConfigAttrib(display, config, attrs[index].attr, &value)) { 60 if (eglGetConfigAttrib(display, config, attrs[index].attr, &value)) {
@@ -25,20 +66,20 @@ index 5eed470..39c7c1f 100644
25+ qWarning("\n"); 66+ qWarning("\n");
26 } 67 }
27 68
28 #ifdef Q_OS_LINUX 69 #ifdef Q_OS_UNIX
29diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp 70diff --git a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
30index eec6463..4a7c69b 100644 71index 7cc3300..ccbd974 100644
31--- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp 72--- a/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
32+++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp 73+++ b/src/platformsupport/eglconvenience/qeglplatformcontext.cpp
33@@ -44,7 +44,6 @@ 74@@ -37,7 +37,6 @@
34 #include "qeglpbuffer_p.h"
35 #include <qpa/qplatformwindow.h> 75 #include <qpa/qplatformwindow.h>
36 #include <QOpenGLContext> 76 #include <QOpenGLContext>
77 #include <QtPlatformHeaders/QEGLNativeContext>
37-#include <QDebug> 78-#include <QDebug>
38 79
39 QT_BEGIN_NAMESPACE 80 QT_BEGIN_NAMESPACE
40 81
41@@ -192,12 +191,6 @@ void QEGLPlatformContext::init(const QSurfaceFormat &format, QPlatformOpenGLCont 82@@ -181,12 +180,6 @@ void QEGLPlatformContext::init(const QSurfaceFormat &format, QPlatformOpenGLCont
42 return; 83 return;
43 } 84 }
44 85
@@ -48,9 +89,9 @@ index eec6463..4a7c69b 100644
48- q_printEglConfig(m_eglDisplay, m_eglConfig); 89- q_printEglConfig(m_eglDisplay, m_eglConfig);
49- } 90- }
50- 91-
51 #ifndef QT_NO_OPENGL 92 updateFormatFromGL();
52 // Make the context current to ensure the GL version query works. This needs a surface too. 93 }
53 const EGLint pbufferAttributes[] = { 94
54-- 95--
552.1.1 962.1.3
56 97
diff --git a/recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
index c1ffb914..c528f0c9 100644
--- a/recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
+++ b/recipes-qt/qt5/qtbase/0007-qeglplatformintegration-Undefine-CursorShape-from-X..patch
@@ -1,7 +1,7 @@
1From 7c16b57ecdddffb4bb52d32bb763791fd8aa8414 Mon Sep 17 00:00:00 2001 1From 8e152449beb18454347cfdb300c50d113fa48383 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 19 Mar 2014 18:32:28 +0100 3Date: Wed, 19 Mar 2014 18:32:28 +0100
4Subject: [PATCH 07/13] qeglplatformintegration: Undefine CursorShape from X.h 4Subject: [PATCH 07/11] qeglplatformintegration: Undefine CursorShape from X.h
5 5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7--- 7---
@@ -9,11 +9,11 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9 1 file changed, 6 insertions(+) 9 1 file changed, 6 insertions(+)
10 10
11diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h 11diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h
12index f665455..9eb783c 100644 12index 4d7adce..c9b6873 100644
13--- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h 13--- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h
14+++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h 14+++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h
15@@ -46,6 +46,12 @@ 15@@ -50,6 +50,12 @@
16 #include <qpa/qplatformnativeinterface.h> 16 #include <QtCore/QVariant>
17 #include <EGL/egl.h> 17 #include <EGL/egl.h>
18 18
19+// Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/ 19+// Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/
@@ -26,5 +26,5 @@ index f665455..9eb783c 100644
26 26
27 class QEGLPlatformScreen; 27 class QEGLPlatformScreen;
28-- 28--
292.1.1 292.1.3
30 30
diff --git a/recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch
index 370cc48b..c20d6f15 100644
--- a/recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch
+++ b/recipes-qt/qt5/qtbase/0008-configure-bump-path-length-from-256-to-512-character.patch
@@ -1,7 +1,7 @@
1From 68e499a4a521f3876aca195ba8ed5b63d45d09ed Mon Sep 17 00:00:00 2001 1From 3a31a14c9c244a22337f22d083a680f69a1b1ce8 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 11 Nov 2013 20:27:30 -0500 3Date: Mon, 11 Nov 2013 20:27:30 -0500
4Subject: [PATCH 08/13] configure: bump path length from 256 to 512 characters 4Subject: [PATCH 08/11] configure: bump path length from 256 to 512 characters
5 5
6Increase the path length that gets hardcoded into generated config.cpp file 6Increase the path length that gets hardcoded into generated config.cpp file
7from 256 to 512 characters, as nativesdk path can be quite long. 7from 256 to 512 characters, as nativesdk path can be quite long.
@@ -12,10 +12,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
12 1 file changed, 1 insertion(+), 1 deletion(-) 12 1 file changed, 1 insertion(+), 1 deletion(-)
13 13
14diff --git a/configure b/configure 14diff --git a/configure b/configure
15index 18d1a0b..ca0824f 100755 15index d715f6c..bd43281 100755
16--- a/configure 16--- a/configure
17+++ b/configure 17+++ b/configure
18@@ -3573,7 +3573,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$ 18@@ -3622,7 +3622,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
19 static const char qt_configure_installation [12+11] = "qt_instdate=`date +%Y-%m-%d`"; 19 static const char qt_configure_installation [12+11] = "qt_instdate=`date +%Y-%m-%d`";
20 20
21 /* Installation Info */ 21 /* Installation Info */
@@ -25,5 +25,5 @@ index 18d1a0b..ca0824f 100755
25 "qt_prfxpath=$QT_SYSROOT_PREFIX", 25 "qt_prfxpath=$QT_SYSROOT_PREFIX",
26 "qt_docspath=$QT_SYSROOT_DOCS", 26 "qt_docspath=$QT_SYSROOT_DOCS",
27-- 27--
282.1.1 282.1.3
29 29
diff --git a/recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch b/recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
index bbd27b94..200864a9 100644
--- a/recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
+++ b/recipes-qt/qt5/qtbase/0009-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
@@ -1,7 +1,7 @@
1From 3408e6d6c56a18bed48353c2f1b2e18f6716fc4e Mon Sep 17 00:00:00 2001 1From 621d867223a135a9babd452d4918200bc6d0463b Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 5 Feb 2014 18:35:08 +0100 3Date: Wed, 5 Feb 2014 18:35:08 +0100
4Subject: [PATCH 09/13] eglfs: fix egl error for platforms only supporting one 4Subject: [PATCH 09/11] eglfs: fix egl error for platforms only supporting one
5 window/surface 5 window/surface
6MIME-Version: 1.0 6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8 7Content-Type: text/plain; charset=UTF-8
@@ -27,10 +27,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
27 1 file changed, 15 insertions(+), 1 deletion(-) 27 1 file changed, 15 insertions(+), 1 deletion(-)
28 28
29diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp 29diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp
30index 2d36c0b..854531e 100644 30index f5839e0..5ebde6d 100644
31--- a/src/plugins/platforms/eglfs/qeglfswindow.cpp 31--- a/src/plugins/platforms/eglfs/qeglfswindow.cpp
32+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp 32+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp
33@@ -74,6 +74,15 @@ void QEglFSWindow::create() 33@@ -66,6 +66,15 @@ void QEglFSWindow::create()
34 34
35 m_flags = Created; 35 m_flags = Created;
36 36
@@ -46,16 +46,16 @@ index 2d36c0b..854531e 100644
46 if (window()->type() == Qt::Desktop) 46 if (window()->type() == Qt::Desktop)
47 return; 47 return;
48 48
49@@ -85,7 +94,7 @@ void QEglFSWindow::create() 49@@ -79,7 +88,7 @@ void QEglFSWindow::create()
50 if (isRaster() && screen->compositingWindow())
51 return; 50 return;
51 }
52 52
53-#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) 53-#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)
54+#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) || defined(EGL_API_FB) 54+#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) || defined(EGL_API_FB)
55 // We can have either a single OpenGL window or multiple raster windows. 55 // We can have either a single OpenGL window or multiple raster windows.
56 // Other combinations cannot work. 56 // Other combinations cannot work.
57 qFatal("EGLFS: OpenGL windows cannot be mixed with others."); 57 qFatal("EGLFS: OpenGL windows cannot be mixed with others.");
58@@ -105,6 +114,11 @@ void QEglFSWindow::create() 58@@ -99,6 +108,11 @@ void QEglFSWindow::create()
59 59
60 resetSurface(); 60 resetSurface();
61 61
@@ -68,5 +68,5 @@ index 2d36c0b..854531e 100644
68 68
69 if (isRaster()) { 69 if (isRaster()) {
70-- 70--
712.1.1 712.1.3
72 72
diff --git a/recipes-qt/qt5/qtbase/0011-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase/0010-QOpenGLPaintDevice-sub-area-support.patch
index f2031f7d..986d2a93 100644
--- a/recipes-qt/qt5/qtbase/0011-QOpenGLPaintDevice-sub-area-support.patch
+++ b/recipes-qt/qt5/qtbase/0010-QOpenGLPaintDevice-sub-area-support.patch
@@ -1,7 +1,7 @@
1From 3902dcd1d7da169229deffbff02ac1a159b08d44 Mon Sep 17 00:00:00 2001 1From 46074ffb4525e8217acd78c9cbe29f3d62f85c78 Mon Sep 17 00:00:00 2001
2From: Jani Hautakangas <jani.hautakangas@ixonos.com> 2From: Jani Hautakangas <jani.hautakangas@ixonos.com>
3Date: Thu, 16 May 2013 09:52:07 +0300 3Date: Thu, 16 May 2013 09:52:07 +0300
4Subject: [PATCH 11/13] QOpenGLPaintDevice sub-area support 4Subject: [PATCH 10/11] QOpenGLPaintDevice sub-area support
5 5
6Allows creating QOpenGLPaintDevice targetting sub-area 6Allows creating QOpenGLPaintDevice targetting sub-area
7of binded framebuffer. 7of binded framebuffer.
@@ -12,26 +12,19 @@ Change-Id: Ida2f079aa1ac0b87d36b54129e226399dbcdda80
12 12
13Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 13Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14--- 14---
15 src/gui/opengl/qopenglpaintdevice.cpp | 12 ++++++++++++ 15 src/gui/opengl/qopenglpaintdevice.cpp | 11 +++++++++++
16 src/gui/opengl/qopenglpaintdevice.h | 2 ++ 16 src/gui/opengl/qopenglpaintdevice.h | 2 ++
17 src/gui/opengl/qopenglpaintdevice_p.h | 1 +
17 src/gui/opengl/qopenglpaintengine.cpp | 9 +++++++-- 18 src/gui/opengl/qopenglpaintengine.cpp | 9 +++++++--
18 src/gui/opengl/qopenglpaintengine_p.h | 1 + 19 src/gui/opengl/qopenglpaintengine_p.h | 1 +
19 src/gui/opengl/qopengltextureglyphcache.cpp | 2 +- 20 src/gui/opengl/qopengltextureglyphcache.cpp | 2 +-
20 5 files changed, 23 insertions(+), 3 deletions(-) 21 6 files changed, 23 insertions(+), 3 deletions(-)
21 22
22diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp 23diff --git a/src/gui/opengl/qopenglpaintdevice.cpp b/src/gui/opengl/qopenglpaintdevice.cpp
23index 6750458..034630a 100644 24index a08d26f..cff3155 100644
24--- a/src/gui/opengl/qopenglpaintdevice.cpp 25--- a/src/gui/opengl/qopenglpaintdevice.cpp
25+++ b/src/gui/opengl/qopenglpaintdevice.cpp 26+++ b/src/gui/opengl/qopenglpaintdevice.cpp
26@@ -111,6 +111,7 @@ class QOpenGLPaintDevicePrivate 27@@ -135,6 +135,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height)
27 public:
28 QOpenGLPaintDevicePrivate(const QSize &size);
29
30+ QPoint offset;
31 QSize size;
32 QOpenGLContext *ctx;
33
34@@ -159,6 +160,12 @@ QOpenGLPaintDevice::QOpenGLPaintDevice(int width, int height)
35 { 28 {
36 } 29 }
37 30
@@ -42,9 +35,9 @@ index 6750458..034630a 100644
42+} 35+}
43+ 36+
44 /*! 37 /*!
45 Destroys the QOpenGLPaintDevice. 38 \internal
46 */ 39 */
47@@ -228,6 +235,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const 40@@ -212,6 +218,11 @@ QOpenGLContext *QOpenGLPaintDevice::context() const
48 return d_ptr->ctx; 41 return d_ptr->ctx;
49 } 42 }
50 43
@@ -57,10 +50,10 @@ index 6750458..034630a 100644
57 Returns the pixel size of the paint device. 50 Returns the pixel size of the paint device.
58 51
59diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h 52diff --git a/src/gui/opengl/qopenglpaintdevice.h b/src/gui/opengl/qopenglpaintdevice.h
60index c05571c..01eb1bc 100644 53index 10cee84..a6683c5 100644
61--- a/src/gui/opengl/qopenglpaintdevice.h 54--- a/src/gui/opengl/qopenglpaintdevice.h
62+++ b/src/gui/opengl/qopenglpaintdevice.h 55+++ b/src/gui/opengl/qopenglpaintdevice.h
63@@ -62,12 +62,14 @@ public: 56@@ -53,12 +53,14 @@ public:
64 QOpenGLPaintDevice(); 57 QOpenGLPaintDevice();
65 explicit QOpenGLPaintDevice(const QSize &size); 58 explicit QOpenGLPaintDevice(const QSize &size);
66 QOpenGLPaintDevice(int width, int height); 59 QOpenGLPaintDevice(int width, int height);
@@ -75,11 +68,23 @@ index c05571c..01eb1bc 100644
75 QSize size() const; 68 QSize size() const;
76 void setSize(const QSize &size); 69 void setSize(const QSize &size);
77 void setDevicePixelRatio(qreal devicePixelRatio); 70 void setDevicePixelRatio(qreal devicePixelRatio);
71diff --git a/src/gui/opengl/qopenglpaintdevice_p.h b/src/gui/opengl/qopenglpaintdevice_p.h
72index 0b01129..211f2f3 100644
73--- a/src/gui/opengl/qopenglpaintdevice_p.h
74+++ b/src/gui/opengl/qopenglpaintdevice_p.h
75@@ -65,6 +65,7 @@ public:
76
77 public:
78 QSize size;
79+ QPoint offset;
80 QOpenGLContext *ctx;
81
82 qreal dpmx;
78diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp 83diff --git a/src/gui/opengl/qopenglpaintengine.cpp b/src/gui/opengl/qopenglpaintengine.cpp
79index 81a0d82..ce57261 100644 84index c490726..1d775fd 100644
80--- a/src/gui/opengl/qopenglpaintengine.cpp 85--- a/src/gui/opengl/qopenglpaintengine.cpp
81+++ b/src/gui/opengl/qopenglpaintengine.cpp 86+++ b/src/gui/opengl/qopenglpaintengine.cpp
82@@ -1985,7 +1985,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev) 87@@ -2002,7 +2002,10 @@ bool QOpenGL2PaintEngineEx::begin(QPaintDevice *pdev)
83 for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i) 88 for (int i = 0; i < QT_GL_VERTEX_ARRAY_TRACKED_COUNT; ++i)
84 d->vertexAttributeArraysEnabledState[i] = false; 89 d->vertexAttributeArraysEnabledState[i] = false;
85 90
@@ -90,7 +95,7 @@ index 81a0d82..ce57261 100644
90 d->width = sz.width(); 95 d->width = sz.width();
91 d->height = sz.height(); 96 d->height = sz.height();
92 d->mode = BrushDrawingMode; 97 d->mode = BrushDrawingMode;
93@@ -2070,7 +2073,7 @@ void QOpenGL2PaintEngineEx::ensureActive() 98@@ -2089,7 +2092,7 @@ void QOpenGL2PaintEngineEx::ensureActive()
94 d->device->ensureActiveTarget(); 99 d->device->ensureActiveTarget();
95 100
96 d->transferMode(BrushDrawingMode); 101 d->transferMode(BrushDrawingMode);
@@ -99,7 +104,7 @@ index 81a0d82..ce57261 100644
99 d->needsSync = false; 104 d->needsSync = false;
100 d->lastMaskTextureUsed = 0; 105 d->lastMaskTextureUsed = 0;
101 d->shaderManager->setDirty(); 106 d->shaderManager->setDirty();
102@@ -2113,6 +2116,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() 107@@ -2132,6 +2135,7 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
103 if (bounds == QRect(0, 0, width, height)) { 108 if (bounds == QRect(0, 0, width, height)) {
104 funcs.glDisable(GL_SCISSOR_TEST); 109 funcs.glDisable(GL_SCISSOR_TEST);
105 } else { 110 } else {
@@ -107,7 +112,7 @@ index 81a0d82..ce57261 100644
107 funcs.glEnable(GL_SCISSOR_TEST); 112 funcs.glEnable(GL_SCISSOR_TEST);
108 setScissor(bounds); 113 setScissor(bounds);
109 } 114 }
110@@ -2121,12 +2125,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest() 115@@ -2140,12 +2144,13 @@ void QOpenGL2PaintEngineExPrivate::updateClipScissorTest()
111 116
112 void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect) 117 void QOpenGL2PaintEngineExPrivate::setScissor(const QRect &rect)
113 { 118 {
@@ -123,10 +128,10 @@ index 81a0d82..ce57261 100644
123 128
124 funcs.glScissor(left, bottom, width, height); 129 funcs.glScissor(left, bottom, width, height);
125diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h 130diff --git a/src/gui/opengl/qopenglpaintengine_p.h b/src/gui/opengl/qopenglpaintengine_p.h
126index 4f0e2e5..f211de1 100644 131index 5ef0366..c5b517d 100644
127--- a/src/gui/opengl/qopenglpaintengine_p.h 132--- a/src/gui/opengl/qopenglpaintengine_p.h
128+++ b/src/gui/opengl/qopenglpaintengine_p.h 133+++ b/src/gui/opengl/qopenglpaintengine_p.h
129@@ -264,6 +264,7 @@ public: 134@@ -256,6 +256,7 @@ public:
130 QOpenGL2PaintEngineEx* q; 135 QOpenGL2PaintEngineEx* q;
131 QOpenGLEngineShaderManager* shaderManager; 136 QOpenGLEngineShaderManager* shaderManager;
132 QOpenGLPaintDevice* device; 137 QOpenGLPaintDevice* device;
@@ -135,10 +140,10 @@ index 4f0e2e5..f211de1 100644
135 QOpenGLContext *ctx; 140 QOpenGLContext *ctx;
136 EngineMode mode; 141 EngineMode mode;
137diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp 142diff --git a/src/gui/opengl/qopengltextureglyphcache.cpp b/src/gui/opengl/qopengltextureglyphcache.cpp
138index 0610ab6..ea1e3b2 100644 143index cd268cd..997bc35 100644
139--- a/src/gui/opengl/qopengltextureglyphcache.cpp 144--- a/src/gui/opengl/qopengltextureglyphcache.cpp
140+++ b/src/gui/opengl/qopengltextureglyphcache.cpp 145+++ b/src/gui/opengl/qopengltextureglyphcache.cpp
141@@ -316,7 +316,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height) 146@@ -310,7 +310,7 @@ void QOpenGLTextureGlyphCache::resizeTextureData(int width, int height)
142 funcs->glBindFramebuffer(GL_FRAMEBUFFER, (GLuint)oldFbo); 147 funcs->glBindFramebuffer(GL_FRAMEBUFFER, (GLuint)oldFbo);
143 148
144 if (pex != 0) { 149 if (pex != 0) {
@@ -148,5 +153,5 @@ index 0610ab6..ea1e3b2 100644
148 } else { 153 } else {
149 if (m_vao.isCreated()) { 154 if (m_vao.isCreated()) {
150-- 155--
1512.1.1 1562.1.3
152 157
diff --git a/recipes-qt/qt5/qtbase/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch b/recipes-qt/qt5/qtbase/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch
deleted file mode 100644
index 07f97950..00000000
--- a/recipes-qt/qt5/qtbase/0010-Revert-Use-the-gcc-feature-in-simd.prf.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 4a6476822784ca6a10f59cfb3e941854ccea8408 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 4 Jun 2014 15:26:11 +0200
4Subject: [PATCH 10/13] Revert "Use the "gcc" feature in simd.prf"
5
6This reverts commit 3b00cc480400d47c59c29d3507c7fcdc9be2a489.
7---
8 mkspecs/features/simd.prf | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/mkspecs/features/simd.prf b/mkspecs/features/simd.prf
12index 62a63f9..4f86f60 100644
13--- a/mkspecs/features/simd.prf
14+++ b/mkspecs/features/simd.prf
15@@ -18,7 +18,7 @@ QT_CPU_FEATURES = $$eval(QT_CPU_FEATURES.$$QT_ARCH)
16 #
17 # Set up compilers for SIMD (SSE/AVX, NEON etc)
18 #
19-gcc { # includes intel_icc and clang variants
20+*-g++*|intel_icc|*-clang*|*-qcc* {
21 sse2 {
22 HEADERS += $$SSE2_HEADERS
23
24--
252.1.1
26
diff --git a/recipes-qt/qt5/qtbase/0012-Always-build-uic.patch b/recipes-qt/qt5/qtbase/0011-Always-build-uic.patch
index 46ae47f8..86bf90d7 100644
--- a/recipes-qt/qt5/qtbase/0012-Always-build-uic.patch
+++ b/recipes-qt/qt5/qtbase/0011-Always-build-uic.patch
@@ -1,7 +1,7 @@
1From bdcbca2fcb09d48af75e99b7dfa6ce211507925c Mon Sep 17 00:00:00 2001 1From d48323aae1bee4b2398d61e1777815ffac15ccce Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 16 Nov 2013 00:32:30 +0100 3Date: Sat, 16 Nov 2013 00:32:30 +0100
4Subject: [PATCH 12/13] Always build uic 4Subject: [PATCH 11/12] Always build uic
5 5
6Even if we are not building gui or widgets. This tool is needed later 6Even if we are not building gui or widgets. This tool is needed later
7as a native tool when compiling the target. 7as a native tool when compiling the target.
@@ -14,10 +14,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/src/src.pro b/src/src.pro 16diff --git a/src/src.pro b/src/src.pro
17index 6a805a6..90623a6 100644 17index 81f4fa5..74ec23d 100644
18--- a/src/src.pro 18--- a/src/src.pro
19+++ b/src/src.pro 19+++ b/src/src.pro
20@@ -158,7 +158,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent 20@@ -162,7 +162,7 @@ contains(QT_CONFIG, concurrent):SUBDIRS += src_concurrent
21 } 21 }
22 } 22 }
23 } 23 }
@@ -27,5 +27,5 @@ index 6a805a6..90623a6 100644
27 nacl: SUBDIRS -= src_network src_testlib 27 nacl: SUBDIRS -= src_network src_testlib
28 28
29-- 29--
302.1.1 302.1.3
31 31
diff --git a/recipes-qt/qt5/qtbase/0012-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
index 71457966..21e0987b 100644
--- a/recipes-qt/qt5/qtbase/0012-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
+++ b/recipes-qt/qt5/qtbase/0011-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
@@ -1,7 +1,7 @@
1From bb0958af49c1ad4d35b6b6b9033cd46eda4a3ac8 Mon Sep 17 00:00:00 2001 1From ee542556da221be99fa3344630b78529555be2bc Mon Sep 17 00:00:00 2001
2From: Michael Krelin <hacker@klever.net> 2From: Michael Krelin <hacker@klever.net>
3Date: Mon, 29 Oct 2012 20:07:49 -0700 3Date: Mon, 29 Oct 2012 20:07:49 -0700
4Subject: [PATCH 12/12] qmake: don't build it in configure, but allow to build 4Subject: [PATCH 11/11] qmake: don't build it in configure, but allow to build
5 it separately 5 it separately
6 6
7* it is already built in qtbase-native, so we don't need it in configure 7* it is already built in qtbase-native, so we don't need it in configure
@@ -20,10 +20,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20 2 files changed, 3 insertions(+), 1 deletion(-) 20 2 files changed, 3 insertions(+), 1 deletion(-)
21 21
22diff --git a/configure b/configure 22diff --git a/configure b/configure
23index ca0824f..5a09ae3 100755 23index bd43281..5d1b3aa 100755
24--- a/configure 24--- a/configure
25+++ b/configure 25+++ b/configure
26@@ -3675,7 +3675,7 @@ setBootstrapEvalVariable() 26@@ -3724,7 +3724,7 @@ setBootstrapEvalVariable()
27 27
28 28
29 # build qmake 29 # build qmake
@@ -46,5 +46,5 @@ index 89d6ea5..7c605b9 100644
46 VPATH += \ 46 VPATH += \
47 ../src/corelib/global \ 47 ../src/corelib/global \
48-- 48--
492.1.1 492.1.3
50 50
diff --git a/recipes-qt/qt5/qtbase/0013-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
index 667c9ec3..6a428ed2 100644
--- a/recipes-qt/qt5/qtbase/0013-configure-preserve-built-qmake-and-swap-with-native-.patch
+++ b/recipes-qt/qt5/qtbase/0012-configure-preserve-built-qmake-and-swap-with-native-.patch
@@ -1,7 +1,7 @@
1From 68bd66b37455f9b27b2f030948943942e12b3af1 Mon Sep 17 00:00:00 2001 1From 9089bf90632ffc983625816c5b0f2f2509ffc176 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 11 Nov 2013 20:22:34 -0500 3Date: Mon, 11 Nov 2013 20:22:34 -0500
4Subject: [PATCH 13/13] configure: preserve built qmake and swap with native 4Subject: [PATCH 12/12] configure: preserve built qmake and swap with native
5 one 5 one
6 6
7Let configure script build the real qmake, but right after it's built, swap 7Let configure script build the real qmake, but right after it's built, swap
@@ -13,10 +13,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
13 1 file changed, 2 insertions(+) 13 1 file changed, 2 insertions(+)
14 14
15diff --git a/configure b/configure 15diff --git a/configure b/configure
16index ca0824f..2c097c3 100755 16index bd43281..d331711 100755
17--- a/configure 17--- a/configure
18+++ b/configure 18+++ b/configure
19@@ -3825,6 +3825,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ]; 19@@ -3874,6 +3874,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
20 20
21 (cd "$outpath/qmake"; "$MAKE") || exit 2 21 (cd "$outpath/qmake"; "$MAKE") || exit 2
22 fi # Build qmake 22 fi # Build qmake
@@ -26,5 +26,5 @@ index ca0824f..2c097c3 100755
26 echo "Running configuration tests..." 26 echo "Running configuration tests..."
27 27
28-- 28--
292.1.1 292.1.3
30 30
diff --git a/recipes-qt/qt5/qtbase_5.3.2.bb b/recipes-qt/qt5/qtbase_5.3.2.bb
deleted file mode 100644
index 49b90727..00000000
--- a/recipes-qt/qt5/qtbase_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "563e2b10274171f1184b3fd7260b4991"
5SRC_URI[sha256sum] = "9a16095ac46dae99d6ddab8bc07065fbe1c36501ed194a3191d07347d7826cb8"
diff --git a/recipes-qt/qt5/qtbase_5.4.0.bb b/recipes-qt/qt5/qtbase_5.4.0.bb
new file mode 100644
index 00000000..7414abd4
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "eaaa72a5cb25713ca8d17f3a8d149765"
5SRC_URI[sha256sum] = "daea240ba5e77bc2d78ec21a2cb664eed83b3d4ad409b6277a6f7d4c0c8e91d1"
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index f1366518..441a2817 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -25,9 +25,3 @@ SRC_URI += "\
25" 25"
26 26
27SRCREV = "cc23ebace8b7f343aca6e10f9ebd31b87c17c782" 27SRCREV = "cc23ebace8b7f343aca6e10f9ebd31b87c17c782"
28
29LICENSE = "GFDL-1.3 & LGPL-2.1 | LGPL-3.0"
30LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
31 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
32 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
33 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtconnectivity.inc b/recipes-qt/qt5/qtconnectivity.inc
index c0a51470..10dcc220 100644
--- a/recipes-qt/qt5/qtconnectivity.inc
+++ b/recipes-qt/qt5/qtconnectivity.inc
@@ -11,3 +11,6 @@ do_configure_prepend() {
11} 11}
12 12
13EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}" 13EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'bluez4', 'CONFIG+=OE_BLUEZ_ENABLED', '', d)}"
14
15LICENSE += "| GPL-2.0"
16LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtconnectivity_5.3.2.bb b/recipes-qt/qt5/qtconnectivity_5.3.2.bb
deleted file mode 100644
index 4d9534b9..00000000
--- a/recipes-qt/qt5/qtconnectivity_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "e496963407bb0c7b2e6c07133715a9cf"
5SRC_URI[sha256sum] = "2eb972b85697e9752ed2f2f7e194393650743737a9fe5f48177734c4dbd9096f"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtconnectivity_5.4.0.bb b/recipes-qt/qt5/qtconnectivity_5.4.0.bb
new file mode 100644
index 00000000..301da1ec
--- /dev/null
+++ b/recipes-qt/qt5/qtconnectivity_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "c1fc247771a2fd1d238db8ffc4e65bbf"
5SRC_URI[sha256sum] = "636685bbcccac28f6c8c2d1bee7c9b06a74bc5c11d9c87a424d80093f19b1038"
diff --git a/recipes-qt/qt5/qtconnectivity_git.bb b/recipes-qt/qt5/qtconnectivity_git.bb
index 4e7323bd..c68032bc 100644
--- a/recipes-qt/qt5/qtconnectivity_git.bb
+++ b/recipes-qt/qt5/qtconnectivity_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${BPN}.inc 2require ${BPN}.inc
3 3
4SRCREV = "73563f571e6dfd37a0e4cf90f4679d9901b9233c" 4SRCREV = "73563f571e6dfd37a0e4cf90f4679d9901b9233c"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtdeclarative.inc b/recipes-qt/qt5/qtdeclarative.inc
index 4a186fdc..6969c23a 100644
--- a/recipes-qt/qt5/qtdeclarative.inc
+++ b/recipes-qt/qt5/qtdeclarative.inc
@@ -16,3 +16,6 @@ do_configure_prepend() {
16} 16}
17 17
18EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}" 18EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'qtxmlpatterns', 'CONFIG+=OE_QTXMLPATTERNS_ENABLED', '', d)}"
19
20LICENSE += "| GPL-2.0"
21LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtdeclarative_5.3.2.bb b/recipes-qt/qt5/qtdeclarative_5.3.2.bb
deleted file mode 100644
index ac7817e9..00000000
--- a/recipes-qt/qt5/qtdeclarative_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "72ae60527ebb15f4b85cfbadc4c174de"
5SRC_URI[sha256sum] = "04108193b9642c0394c157e98b5c1d81f555f9f495289e07ebfb6f03448b2382"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtdeclarative_5.4.0.bb b/recipes-qt/qt5/qtdeclarative_5.4.0.bb
new file mode 100644
index 00000000..2233b69f
--- /dev/null
+++ b/recipes-qt/qt5/qtdeclarative_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "4f928e52e72b5e867b50b4d409d5e99b"
5SRC_URI[sha256sum] = "e67c9275b0f6869a7c1e8023ad7c0a23fb19f8a8d2f350371e954ead0cfad7b6"
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb
index e7f8871b..a159edc7 100644
--- a/recipes-qt/qt5/qtdeclarative_git.bb
+++ b/recipes-qt/qt5/qtdeclarative_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "be6c91acc3ee5ebb8336b9e79df195662ac11788" 4SRCREV = "be6c91acc3ee5ebb8336b9e79df195662ac11788"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtenginio.inc b/recipes-qt/qt5/qtenginio.inc
index 5b74a358..d66b2531 100644
--- a/recipes-qt/qt5/qtenginio.inc
+++ b/recipes-qt/qt5/qtenginio.inc
@@ -2,7 +2,7 @@ require qt5.inc
2 2
3DEPENDS += "qtbase qtdeclarative qtxmlpatterns" 3DEPENDS += "qtbase qtdeclarative qtxmlpatterns"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=66c98a57685a93d9adf4815b0d11827a \ 5LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
6 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ 6 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
7 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6" 7 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6"
8LICENSE = "LGPL-2.1 | GPL-3.0" 8LICENSE = "LGPL-2.1 | GPL-3.0"
diff --git a/recipes-qt/qt5/qtenginio_5.3.2.bb b/recipes-qt/qt5/qtenginio_5.3.2.bb
deleted file mode 100644
index f7a7b1ef..00000000
--- a/recipes-qt/qt5/qtenginio_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "53b67cf5470dfa9bcfc59aa5b8bfd66d"
5SRC_URI[sha256sum] = "d5b84656dc6a349db380e42690a18137e562dbaba1930216bb3e3815df6af708"
diff --git a/recipes-qt/qt5/qtenginio_5.4.0.bb b/recipes-qt/qt5/qtenginio_5.4.0.bb
new file mode 100644
index 00000000..78f1e60c
--- /dev/null
+++ b/recipes-qt/qt5/qtenginio_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "959a9ebac4faa0464368a318fa677ab6"
5SRC_URI[sha256sum] = "fa0954e5f100d38291fd3b3c8c92ade11710b25ae48018af7451c631982d924c"
diff --git a/recipes-qt/qt5/qtenginio_git.bb b/recipes-qt/qt5/qtenginio_git.bb
index c54bec77..3be2134a 100644
--- a/recipes-qt/qt5/qtenginio_git.bb
+++ b/recipes-qt/qt5/qtenginio_git.bb
@@ -3,7 +3,3 @@ require ${PN}.inc
3 3
4QT_MODULE_BRANCH = "1.1" 4QT_MODULE_BRANCH = "1.1"
5SRCREV = "f8ad37de2d7170d1548252608f8c04aac6ec1035" 5SRCREV = "f8ad37de2d7170d1548252608f8c04aac6ec1035"
6
7LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
8 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
9 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6"
diff --git a/recipes-qt/qt5/qtgraphicaleffects.inc b/recipes-qt/qt5/qtgraphicaleffects.inc
index 2ced3c21..89bda5ed 100644
--- a/recipes-qt/qt5/qtgraphicaleffects.inc
+++ b/recipes-qt/qt5/qtgraphicaleffects.inc
@@ -3,3 +3,6 @@ require qt5.inc
3DEPENDS += "qtdeclarative" 3DEPENDS += "qtdeclarative"
4 4
5RDEPENDS_${PN}-dev = "" 5RDEPENDS_${PN}-dev = ""
6
7LICENSE += "| GPL-2.0"
8LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtgraphicaleffects_5.3.2.bb b/recipes-qt/qt5/qtgraphicaleffects_5.3.2.bb
deleted file mode 100644
index bbf96d72..00000000
--- a/recipes-qt/qt5/qtgraphicaleffects_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "6dd8dd6906bbfb52a292cd25927bb9a8"
5SRC_URI[sha256sum] = "688f2658a13d2919487d3f5acacb037364ee5c8fe0319f524a7d0a4987ba7ffc"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtgraphicaleffects_5.4.0.bb b/recipes-qt/qt5/qtgraphicaleffects_5.4.0.bb
new file mode 100644
index 00000000..bf868afc
--- /dev/null
+++ b/recipes-qt/qt5/qtgraphicaleffects_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "4d26d56c55b0117c37d96e85755da6a4"
5SRC_URI[sha256sum] = "a43f10e532180eb8400fec65752b36c1adaa9aaf672146035ef630d324a38b19"
diff --git a/recipes-qt/qt5/qtgraphicaleffects_git.bb b/recipes-qt/qt5/qtgraphicaleffects_git.bb
index 3a64372e..71c912a1 100644
--- a/recipes-qt/qt5/qtgraphicaleffects_git.bb
+++ b/recipes-qt/qt5/qtgraphicaleffects_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "9e9600d92224084f7942a6bd83b926c630a29747" 4SRCREV = "9e9600d92224084f7942a6bd83b926c630a29747"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtimageformats.inc b/recipes-qt/qt5/qtimageformats.inc
index 39afd461..94c3a9de 100644
--- a/recipes-qt/qt5/qtimageformats.inc
+++ b/recipes-qt/qt5/qtimageformats.inc
@@ -16,3 +16,6 @@ EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libmng', 'CONFIG+=OE_
16EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'jasper', 'CONFIG+=OE_JASPER_ENABLED', '', d)}" 16EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'jasper', 'CONFIG+=OE_JASPER_ENABLED', '', d)}"
17EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}" 17EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libtiff', 'CONFIG+=OE_LIBTIFF_ENABLED', '', d)}"
18EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libwebp', 'CONFIG+=OE_LIBWEBP_ENABLED', '', d)}" 18EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'libwebp', 'CONFIG+=OE_LIBWEBP_ENABLED', '', d)}"
19
20LICENSE += "| GPL-2.0"
21LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtimageformats_5.3.2.bb b/recipes-qt/qt5/qtimageformats_5.3.2.bb
deleted file mode 100644
index f017df93..00000000
--- a/recipes-qt/qt5/qtimageformats_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "255bb7f28c667ab91303e6af271753b5"
5SRC_URI[sha256sum] = "d303cbceb73774edc0cfdbde6b97b0e41077e242ff6520710890f81bea40e2d4"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtimageformats_5.4.0.bb b/recipes-qt/qt5/qtimageformats_5.4.0.bb
new file mode 100644
index 00000000..1893b1cd
--- /dev/null
+++ b/recipes-qt/qt5/qtimageformats_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "608dbe53d5d3a0872eb20025b681d1dc"
5SRC_URI[sha256sum] = "c89b678df71e44f8cff7b5f8362b7d61430a7aa7cd70147be1267d87ac8fe046"
diff --git a/recipes-qt/qt5/qtimageformats_git.bb b/recipes-qt/qt5/qtimageformats_git.bb
index 1923f87f..6d444ebf 100644
--- a/recipes-qt/qt5/qtimageformats_git.bb
+++ b/recipes-qt/qt5/qtimageformats_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "9141782adabcfd374285c3a52b7c386b9b90aa9a" 4SRCREV = "9141782adabcfd374285c3a52b7c386b9b90aa9a"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtlocation.inc b/recipes-qt/qt5/qtlocation.inc
index 41f2d199..7941240f 100644
--- a/recipes-qt/qt5/qtlocation.inc
+++ b/recipes-qt/qt5/qtlocation.inc
@@ -18,3 +18,6 @@ do_configure_prepend() {
18 18
19EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'geoclue', 'CONFIG+=OE_GEOCLUE_ENABLED', '', d)}" 19EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'geoclue', 'CONFIG+=OE_GEOCLUE_ENABLED', '', d)}"
20EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gypsy', 'CONFIG+=OE_GYPSY_ENABLED', '', d)}" 20EXTRA_QMAKEVARS_PRE += "${@base_contains('PACKAGECONFIG', 'gypsy', 'CONFIG+=OE_GYPSY_ENABLED', '', d)}"
21
22LICENSE += "| GPL-2.0"
23LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtlocation_5.3.2.bb b/recipes-qt/qt5/qtlocation_5.3.2.bb
deleted file mode 100644
index f8487a50..00000000
--- a/recipes-qt/qt5/qtlocation_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "1ad3ee98f6f5d71df8dda14edc06346c"
5SRC_URI[sha256sum] = "37b4072b531c35389b3acbbbd7259ab6ce4106177b96d67bfe5d3236139814d7"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtlocation_5.4.0.bb b/recipes-qt/qt5/qtlocation_5.4.0.bb
new file mode 100644
index 00000000..0f5be112
--- /dev/null
+++ b/recipes-qt/qt5/qtlocation_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "76cbd4d7acf5b319ed1d9454aac0477b"
5SRC_URI[sha256sum] = "e8420c1b5fdddbc44faa7aa1c653da91dc101055a869dcb518326188be81d456"
diff --git a/recipes-qt/qt5/qtlocation_git.bb b/recipes-qt/qt5/qtlocation_git.bb
index 35b06dd9..4cd5a64f 100644
--- a/recipes-qt/qt5/qtlocation_git.bb
+++ b/recipes-qt/qt5/qtlocation_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "486874134b83672ae46bce315f632943829d5303" 4SRCREV = "486874134b83672ae46bce315f632943829d5303"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtmultimedia.inc b/recipes-qt/qt5/qtmultimedia.inc
index 9e7c57a9..8904ca53 100644
--- a/recipes-qt/qt5/qtmultimedia.inc
+++ b/recipes-qt/qt5/qtmultimedia.inc
@@ -13,3 +13,6 @@ SRC_URI += "\
13 file://0001-Initial-porting-effort-to-GStreamer-1.0.patch \ 13 file://0001-Initial-porting-effort-to-GStreamer-1.0.patch \
14 file://0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch \ 14 file://0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch \
15" 15"
16
17LICENSE += "| GPL-2.0"
18LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch b/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
index c32ddaf0..ab819f26 100644
--- a/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
+++ b/recipes-qt/qt5/qtmultimedia/0001-Initial-porting-effort-to-GStreamer-1.0.patch
@@ -1,4 +1,4 @@
1From f8e3c6be700907a597ae706afeec14e26103b31e Mon Sep 17 00:00:00 2001 1From 4af76880d63e8d392eb8add8b8999e3f5031675a Mon Sep 17 00:00:00 2001
2From: Yoann Lopes <yoann.lopes@digia.com> 2From: Yoann Lopes <yoann.lopes@digia.com>
3Date: Thu, 31 Oct 2013 15:06:30 +0100 3Date: Thu, 31 Oct 2013 15:06:30 +0100
4Subject: [PATCH 1/2] Initial porting effort to GStreamer 1.0. 4Subject: [PATCH 1/2] Initial porting effort to GStreamer 1.0.
@@ -38,7 +38,7 @@ Conflicts:
38 src/gsttools/qgstreamervideowindow.cpp | 79 +++++++- 38 src/gsttools/qgstreamervideowindow.cpp | 79 +++++++-
39 src/gsttools/qgstutils.cpp | 27 ++- 39 src/gsttools/qgstutils.cpp | 27 ++-
40 src/gsttools/qgstvideobuffer.cpp | 18 +- 40 src/gsttools/qgstvideobuffer.cpp | 18 +-
41 src/gsttools/qvideosurfacegstsink.cpp | 143 +++++++++++++-- 41 src/gsttools/qvideosurfacegstsink.cpp | 138 +++++++++++++-
42 src/multimedia/gsttools_headers/qgstappsrc_p.h | 3 + 42 src/multimedia/gsttools_headers/qgstappsrc_p.h | 3 +
43 .../qgstreameraudioprobecontrol_p.h | 5 +- 43 .../qgstreameraudioprobecontrol_p.h | 5 +-
44 .../qgstreamervideoprobecontrol_p.h | 4 + 44 .../qgstreamervideoprobecontrol_p.h | 4 +
@@ -58,7 +58,7 @@ Conflicts:
58 .../mediaplayer/qgstreamerplayerserviceplugin.cpp | 27 ++- 58 .../mediaplayer/qgstreamerplayerserviceplugin.cpp | 27 ++-
59 .../mediaplayer/qgstreamerplayersession.cpp | 154 ++++++++++++++-- 59 .../mediaplayer/qgstreamerplayersession.cpp | 154 ++++++++++++++--
60 .../mediaplayer/qgstreamerplayersession.h | 9 + 60 .../mediaplayer/qgstreamerplayersession.h | 9 +
61 36 files changed, 875 insertions(+), 132 deletions(-) 61 36 files changed, 872 insertions(+), 130 deletions(-)
62 62
63diff --git a/config.tests/gstreamer/gstreamer.pro b/config.tests/gstreamer/gstreamer.pro 63diff --git a/config.tests/gstreamer/gstreamer.pro b/config.tests/gstreamer/gstreamer.pro
64index 02a7e34..6b9843a 100644 64index 02a7e34..6b9843a 100644
@@ -244,10 +244,10 @@ index 7c809a7..6b9bf5d 100644
244 244
245 config_linux_v4l: DEFINES += USE_V4L 245 config_linux_v4l: DEFINES += USE_V4L
246diff --git a/src/gsttools/gstvideoconnector.c b/src/gsttools/gstvideoconnector.c 246diff --git a/src/gsttools/gstvideoconnector.c b/src/gsttools/gstvideoconnector.c
247index 3e08fe5..ff3f9a3 100644 247index 3ed539e..ed0ed3c 100644
248--- a/src/gsttools/gstvideoconnector.c 248--- a/src/gsttools/gstvideoconnector.c
249+++ b/src/gsttools/gstvideoconnector.c 249+++ b/src/gsttools/gstvideoconnector.c
250@@ -67,26 +67,93 @@ GST_STATIC_PAD_TEMPLATE ("src", 250@@ -59,26 +59,93 @@ GST_STATIC_PAD_TEMPLATE ("src",
251 GST_PAD_ALWAYS, 251 GST_PAD_ALWAYS,
252 GST_STATIC_CAPS_ANY); 252 GST_STATIC_CAPS_ANY);
253 253
@@ -342,7 +342,7 @@ index 3e08fe5..ff3f9a3 100644
342 342
343 static void 343 static void
344 gst_video_connector_base_init (gpointer g_class) 344 gst_video_connector_base_init (gpointer g_class)
345@@ -128,18 +195,33 @@ gst_video_connector_class_init (GstVideoConnectorClass * klass) 345@@ -120,18 +187,33 @@ gst_video_connector_class_init (GstVideoConnectorClass * klass)
346 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); 346 g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
347 } 347 }
348 348
@@ -378,7 +378,7 @@ index 3e08fe5..ff3f9a3 100644
378 gst_pad_set_bufferalloc_function(element->sinkpad, 378 gst_pad_set_bufferalloc_function(element->sinkpad,
379 GST_DEBUG_FUNCPTR (gst_video_connector_buffer_alloc)); 379 GST_DEBUG_FUNCPTR (gst_video_connector_buffer_alloc));
380 gst_pad_set_setcaps_function(element->sinkpad, 380 gst_pad_set_setcaps_function(element->sinkpad,
381@@ -148,14 +230,23 @@ gst_video_connector_init (GstVideoConnector *element, 381@@ -140,14 +222,23 @@ gst_video_connector_init (GstVideoConnector *element,
382 GST_DEBUG_FUNCPTR(gst_video_connector_getcaps)); 382 GST_DEBUG_FUNCPTR(gst_video_connector_getcaps));
383 gst_pad_set_acceptcaps_function(element->sinkpad, 383 gst_pad_set_acceptcaps_function(element->sinkpad,
384 GST_DEBUG_FUNCPTR(gst_video_connector_acceptcaps)); 384 GST_DEBUG_FUNCPTR(gst_video_connector_acceptcaps));
@@ -403,7 +403,7 @@ index 3e08fe5..ff3f9a3 100644
403 gst_element_add_pad (GST_ELEMENT (element), element->srcpad); 403 gst_element_add_pad (GST_ELEMENT (element), element->srcpad);
404 404
405 element->relinked = FALSE; 405 element->relinked = FALSE;
406@@ -183,9 +274,16 @@ gst_video_connector_dispose (GObject * object) 406@@ -175,9 +266,16 @@ gst_video_connector_dispose (GObject * object)
407 407
408 gst_video_connector_reset (element); 408 gst_video_connector_reset (element);
409 409
@@ -420,7 +420,7 @@ index 3e08fe5..ff3f9a3 100644
420 // "When this function returns anything else than GST_FLOW_OK, 420 // "When this function returns anything else than GST_FLOW_OK,
421 // the buffer allocation failed and buf does not contain valid data." 421 // the buffer allocation failed and buf does not contain valid data."
422 static GstFlowReturn 422 static GstFlowReturn
423@@ -229,6 +327,7 @@ gst_video_connector_buffer_alloc (GstPad * pad, guint64 offset, guint size, 423@@ -221,6 +319,7 @@ gst_video_connector_buffer_alloc (GstPad * pad, guint64 offset, guint size,
424 if (state == GST_STATE_NULL) { 424 if (state == GST_STATE_NULL) {
425 GST_DEBUG_OBJECT (element, "Downstream element is in NULL state"); 425 GST_DEBUG_OBJECT (element, "Downstream element is in NULL state");
426 // Downstream filter seems to be in the wrong state 426 // Downstream filter seems to be in the wrong state
@@ -428,7 +428,7 @@ index 3e08fe5..ff3f9a3 100644
428 return GST_FLOW_UNEXPECTED; 428 return GST_FLOW_UNEXPECTED;
429 } 429 }
430 } 430 }
431@@ -301,6 +400,7 @@ static GstCaps *gst_video_connector_getcaps (GstPad * pad) 431@@ -293,6 +392,7 @@ static GstCaps *gst_video_connector_getcaps (GstPad * pad)
432 return caps; 432 return caps;
433 } 433 }
434 434
@@ -436,7 +436,7 @@ index 3e08fe5..ff3f9a3 100644
436 static gboolean gst_video_connector_acceptcaps (GstPad * pad, GstCaps * caps) 436 static gboolean gst_video_connector_acceptcaps (GstPad * pad, GstCaps * caps)
437 { 437 {
438 GstVideoConnector *element; 438 GstVideoConnector *element;
439@@ -308,6 +408,7 @@ static gboolean gst_video_connector_acceptcaps (GstPad * pad, GstCaps * caps) 439@@ -300,6 +400,7 @@ static gboolean gst_video_connector_acceptcaps (GstPad * pad, GstCaps * caps)
440 440
441 return gst_pad_peer_accept_caps(element->srcpad, caps); 441 return gst_pad_peer_accept_caps(element->srcpad, caps);
442 } 442 }
@@ -444,7 +444,7 @@ index 3e08fe5..ff3f9a3 100644
444 444
445 static void 445 static void
446 gst_video_connector_resend_new_segment(GstElement * element, gboolean emitFailedSignal) 446 gst_video_connector_resend_new_segment(GstElement * element, gboolean emitFailedSignal)
447@@ -319,11 +420,39 @@ gst_video_connector_resend_new_segment(GstElement * element, gboolean emitFailed 447@@ -311,11 +412,39 @@ gst_video_connector_resend_new_segment(GstElement * element, gboolean emitFailed
448 connector->failedSignalEmited = FALSE; 448 connector->failedSignalEmited = FALSE;
449 } 449 }
450 450
@@ -485,7 +485,7 @@ index 3e08fe5..ff3f9a3 100644
485 485
486 GstVideoConnector *element = GST_VIDEO_CONNECTOR (object); 486 GstVideoConnector *element = GST_VIDEO_CONNECTOR (object);
487 487
488@@ -335,16 +464,23 @@ static gboolean gst_video_connector_new_buffer_probe(GstObject *pad, GstBuffer * 488@@ -327,16 +456,23 @@ static gboolean gst_video_connector_new_buffer_probe(GstObject *pad, GstBuffer *
489 if (element->relinked) 489 if (element->relinked)
490 GST_LOG_OBJECT(element, "rejected buffer because of new segment request"); 490 GST_LOG_OBJECT(element, "rejected buffer because of new segment request");
491 491
@@ -511,7 +511,7 @@ index 3e08fe5..ff3f9a3 100644
511 element = GST_VIDEO_CONNECTOR (gst_pad_get_parent (pad)); 511 element = GST_VIDEO_CONNECTOR (gst_pad_get_parent (pad));
512 512
513 do { 513 do {
514@@ -356,20 +492,29 @@ gst_video_connector_chain (GstPad * pad, GstBuffer * buf) 514@@ -348,20 +484,29 @@ gst_video_connector_chain (GstPad * pad, GstBuffer * buf)
515 */ 515 */
516 while (element->relinked) { 516 while (element->relinked) {
517 element->relinked = FALSE; 517 element->relinked = FALSE;
@@ -543,7 +543,7 @@ index 3e08fe5..ff3f9a3 100644
543 543
544 GST_DEBUG_OBJECT (element, "Pushing new segment event"); 544 GST_DEBUG_OBJECT (element, "Pushing new segment event");
545 if (!gst_pad_push_event (element->srcpad, ev)) { 545 if (!gst_pad_push_event (element->srcpad, ev)) {
546@@ -432,8 +577,11 @@ gst_video_connector_change_state (GstElement * element, 546@@ -424,8 +569,11 @@ gst_video_connector_change_state (GstElement * element,
547 GstStateChangeReturn result; 547 GstStateChangeReturn result;
548 548
549 connector = GST_VIDEO_CONNECTOR(element); 549 connector = GST_VIDEO_CONNECTOR(element);
@@ -556,7 +556,7 @@ index 3e08fe5..ff3f9a3 100644
556 switch (transition) { 556 switch (transition) {
557 case GST_STATE_CHANGE_PAUSED_TO_READY: 557 case GST_STATE_CHANGE_PAUSED_TO_READY:
558 gst_video_connector_reset (connector); 558 gst_video_connector_reset (connector);
559@@ -448,9 +596,32 @@ gst_video_connector_change_state (GstElement * element, 559@@ -440,9 +588,32 @@ gst_video_connector_change_state (GstElement * element,
560 return result; 560 return result;
561 } 561 }
562 562
@@ -591,7 +591,7 @@ index 3e08fe5..ff3f9a3 100644
591 if (GST_EVENT_TYPE (event) == GST_EVENT_NEWSEGMENT) { 591 if (GST_EVENT_TYPE (event) == GST_EVENT_NEWSEGMENT) {
592 GstVideoConnector *element = GST_VIDEO_CONNECTOR (gst_pad_get_parent (pad)); 592 GstVideoConnector *element = GST_VIDEO_CONNECTOR (gst_pad_get_parent (pad));
593 593
594@@ -461,7 +632,6 @@ gst_video_connector_handle_sink_event (GstPad * pad, GstEvent * event) 594@@ -453,7 +624,6 @@ gst_video_connector_handle_sink_event (GstPad * pad, GstEvent * event)
595 595
596 gst_event_parse_new_segment_full (event, &update, &rate, &arate, &format, 596 gst_event_parse_new_segment_full (event, &update, &rate, &arate, &format,
597 &start, &stop, &time); 597 &start, &stop, &time);
@@ -599,7 +599,7 @@ index 3e08fe5..ff3f9a3 100644
599 GST_LOG_OBJECT (element, 599 GST_LOG_OBJECT (element,
600 "NEWSEGMENT update %d, rate %lf, applied rate %lf, " 600 "NEWSEGMENT update %d, rate %lf, applied rate %lf, "
601 "format %d, " "%" G_GINT64_FORMAT " -- %" G_GINT64_FORMAT ", time %" 601 "format %d, " "%" G_GINT64_FORMAT " -- %" G_GINT64_FORMAT ", time %"
602@@ -469,9 +639,10 @@ gst_video_connector_handle_sink_event (GstPad * pad, GstEvent * event) 602@@ -461,9 +631,10 @@ gst_video_connector_handle_sink_event (GstPad * pad, GstEvent * event)
603 603
604 gst_segment_set_newsegment_full (&element->segment, update, 604 gst_segment_set_newsegment_full (&element->segment, update,
605 rate, arate, format, start, stop, time); 605 rate, arate, format, start, stop, time);
@@ -612,10 +612,10 @@ index 3e08fe5..ff3f9a3 100644
612+ 612+
613+#endif 613+#endif
614diff --git a/src/gsttools/qgstappsrc.cpp b/src/gsttools/qgstappsrc.cpp 614diff --git a/src/gsttools/qgstappsrc.cpp b/src/gsttools/qgstappsrc.cpp
615index 2c9f64c..7916d89 100644 615index 561a96f..d5e106f 100644
616--- a/src/gsttools/qgstappsrc.cpp 616--- a/src/gsttools/qgstappsrc.cpp
617+++ b/src/gsttools/qgstappsrc.cpp 617+++ b/src/gsttools/qgstappsrc.cpp
618@@ -155,23 +155,44 @@ void QGstAppSrc::pushDataToAppSrc() 618@@ -147,23 +147,44 @@ void QGstAppSrc::pushDataToAppSrc()
619 size = qMin(m_stream->bytesAvailable(), (qint64)m_dataRequestSize); 619 size = qMin(m_stream->bytesAvailable(), (qint64)m_dataRequestSize);
620 620
621 if (size) { 621 if (size) {
@@ -665,10 +665,10 @@ index 2c9f64c..7916d89 100644
665 } else { 665 } else {
666 sendEOS(); 666 sendEOS();
667diff --git a/src/gsttools/qgstreameraudioprobecontrol.cpp b/src/gsttools/qgstreameraudioprobecontrol.cpp 667diff --git a/src/gsttools/qgstreameraudioprobecontrol.cpp b/src/gsttools/qgstreameraudioprobecontrol.cpp
668index 94d07c9..8c85973 100644 668index 3baca53..be3de3f 100644
669--- a/src/gsttools/qgstreameraudioprobecontrol.cpp 669--- a/src/gsttools/qgstreameraudioprobecontrol.cpp
670+++ b/src/gsttools/qgstreameraudioprobecontrol.cpp 670+++ b/src/gsttools/qgstreameraudioprobecontrol.cpp
671@@ -53,9 +53,14 @@ QGstreamerAudioProbeControl::~QGstreamerAudioProbeControl() 671@@ -45,9 +45,14 @@ QGstreamerAudioProbeControl::~QGstreamerAudioProbeControl()
672 672
673 } 673 }
674 674
@@ -684,7 +684,7 @@ index 94d07c9..8c85973 100644
684 if (!caps) 684 if (!caps)
685 return; 685 return;
686 686
687@@ -64,8 +69,20 @@ void QGstreamerAudioProbeControl::bufferProbed(GstBuffer* buffer) 687@@ -56,8 +61,20 @@ void QGstreamerAudioProbeControl::bufferProbed(GstBuffer* buffer)
688 if (!format.isValid()) 688 if (!format.isValid())
689 return; 689 return;
690 690
@@ -706,10 +706,10 @@ index 94d07c9..8c85973 100644
706 QMutexLocker locker(&m_bufferMutex); 706 QMutexLocker locker(&m_bufferMutex);
707 m_pendingBuffer = audioBuffer; 707 m_pendingBuffer = audioBuffer;
708diff --git a/src/gsttools/qgstreamerbushelper.cpp b/src/gsttools/qgstreamerbushelper.cpp 708diff --git a/src/gsttools/qgstreamerbushelper.cpp b/src/gsttools/qgstreamerbushelper.cpp
709index da7506e..6b4cdd2 100644 709index 84eda46..eb1fc36 100644
710--- a/src/gsttools/qgstreamerbushelper.cpp 710--- a/src/gsttools/qgstreamerbushelper.cpp
711+++ b/src/gsttools/qgstreamerbushelper.cpp 711+++ b/src/gsttools/qgstreamerbushelper.cpp
712@@ -162,13 +162,21 @@ QGstreamerBusHelper::QGstreamerBusHelper(GstBus* bus, QObject* parent): 712@@ -154,13 +154,21 @@ QGstreamerBusHelper::QGstreamerBusHelper(GstBus* bus, QObject* parent):
713 QObject(parent) 713 QObject(parent)
714 { 714 {
715 d = new QGstreamerBusHelperPrivate(this, bus); 715 d = new QGstreamerBusHelperPrivate(this, bus);
@@ -732,10 +732,10 @@ index da7506e..6b4cdd2 100644
732 } 732 }
733 733
734diff --git a/src/gsttools/qgstreamervideoprobecontrol.cpp b/src/gsttools/qgstreamervideoprobecontrol.cpp 734diff --git a/src/gsttools/qgstreamervideoprobecontrol.cpp b/src/gsttools/qgstreamervideoprobecontrol.cpp
735index f2e6c3f..55632ff 100644 735index a78a9da..9c31140 100644
736--- a/src/gsttools/qgstreamervideoprobecontrol.cpp 736--- a/src/gsttools/qgstreamervideoprobecontrol.cpp
737+++ b/src/gsttools/qgstreamervideoprobecontrol.cpp 737+++ b/src/gsttools/qgstreamervideoprobecontrol.cpp
738@@ -75,12 +75,21 @@ void QGstreamerVideoProbeControl::stopFlushing() 738@@ -67,12 +67,21 @@ void QGstreamerVideoProbeControl::stopFlushing()
739 m_flushing = false; 739 m_flushing = false;
740 } 740 }
741 741
@@ -758,10 +758,10 @@ index f2e6c3f..55632ff 100644
758 return; 758 return;
759 759
760diff --git a/src/gsttools/qgstreamervideorenderer.cpp b/src/gsttools/qgstreamervideorenderer.cpp 760diff --git a/src/gsttools/qgstreamervideorenderer.cpp b/src/gsttools/qgstreamervideorenderer.cpp
761index 36c9f78..da85dea 100644 761index 2b66f76..804dce9 100644
762--- a/src/gsttools/qgstreamervideorenderer.cpp 762--- a/src/gsttools/qgstreamervideorenderer.cpp
763+++ b/src/gsttools/qgstreamervideorenderer.cpp 763+++ b/src/gsttools/qgstreamervideorenderer.cpp
764@@ -43,8 +43,7 @@ 764@@ -35,8 +35,7 @@
765 #include <private/qvideosurfacegstsink_p.h> 765 #include <private/qvideosurfacegstsink_p.h>
766 #include <private/qgstutils_p.h> 766 #include <private/qgstutils_p.h>
767 #include <qabstractvideosurface.h> 767 #include <qabstractvideosurface.h>
@@ -772,10 +772,10 @@ index 36c9f78..da85dea 100644
772 #include <gst/gst.h> 772 #include <gst/gst.h>
773 773
774diff --git a/src/gsttools/qgstreamervideowidget.cpp b/src/gsttools/qgstreamervideowidget.cpp 774diff --git a/src/gsttools/qgstreamervideowidget.cpp b/src/gsttools/qgstreamervideowidget.cpp
775index 7e11bfb..7848f2f 100644 775index aa2e2a3..14c1f04 100644
776--- a/src/gsttools/qgstreamervideowidget.cpp 776--- a/src/gsttools/qgstreamervideowidget.cpp
777+++ b/src/gsttools/qgstreamervideowidget.cpp 777+++ b/src/gsttools/qgstreamervideowidget.cpp
778@@ -48,8 +48,13 @@ 778@@ -40,8 +40,13 @@
779 #include <QtGui/qpainter.h> 779 #include <QtGui/qpainter.h>
780 780
781 #include <gst/gst.h> 781 #include <gst/gst.h>
@@ -789,7 +789,7 @@ index 7e11bfb..7848f2f 100644
789 789
790 QT_BEGIN_NAMESPACE 790 QT_BEGIN_NAMESPACE
791 791
792@@ -177,9 +182,13 @@ bool QGstreamerVideoWidgetControl::processSyncMessage(const QGstreamerMessage &m 792@@ -169,9 +174,13 @@ bool QGstreamerVideoWidgetControl::processSyncMessage(const QGstreamerMessage &m
793 { 793 {
794 GstMessage* gm = message.rawMessage(); 794 GstMessage* gm = message.rawMessage();
795 795
@@ -804,7 +804,7 @@ index 7e11bfb..7848f2f 100644
804 setOverlay(); 804 setOverlay();
805 QMetaObject::invokeMethod(this, "updateNativeVideoSize", Qt::QueuedConnection); 805 QMetaObject::invokeMethod(this, "updateNativeVideoSize", Qt::QueuedConnection);
806 return true; 806 return true;
807@@ -207,18 +216,29 @@ bool QGstreamerVideoWidgetControl::processBusMessage(const QGstreamerMessage &me 807@@ -199,18 +208,29 @@ bool QGstreamerVideoWidgetControl::processBusMessage(const QGstreamerMessage &me
808 808
809 void QGstreamerVideoWidgetControl::setOverlay() 809 void QGstreamerVideoWidgetControl::setOverlay()
810 { 810 {
@@ -835,7 +835,7 @@ index 7e11bfb..7848f2f 100644
835 835
836 if (caps) { 836 if (caps) {
837 m_widget->setNativeSize(QGstUtils::capsCorrectedResolution(caps)); 837 m_widget->setNativeSize(QGstUtils::capsCorrectedResolution(caps));
838@@ -233,8 +253,13 @@ void QGstreamerVideoWidgetControl::updateNativeVideoSize() 838@@ -225,8 +245,13 @@ void QGstreamerVideoWidgetControl::updateNativeVideoSize()
839 839
840 void QGstreamerVideoWidgetControl::windowExposed() 840 void QGstreamerVideoWidgetControl::windowExposed()
841 { 841 {
@@ -850,10 +850,10 @@ index 7e11bfb..7848f2f 100644
850 850
851 QWidget *QGstreamerVideoWidgetControl::videoWidget() 851 QWidget *QGstreamerVideoWidgetControl::videoWidget()
852diff --git a/src/gsttools/qgstreamervideowindow.cpp b/src/gsttools/qgstreamervideowindow.cpp 852diff --git a/src/gsttools/qgstreamervideowindow.cpp b/src/gsttools/qgstreamervideowindow.cpp
853index 2dc3510..45e9374 100644 853index a373dcc..587b010 100644
854--- a/src/gsttools/qgstreamervideowindow.cpp 854--- a/src/gsttools/qgstreamervideowindow.cpp
855+++ b/src/gsttools/qgstreamervideowindow.cpp 855+++ b/src/gsttools/qgstreamervideowindow.cpp
856@@ -45,8 +45,12 @@ 856@@ -37,8 +37,12 @@
857 #include <QtCore/qdebug.h> 857 #include <QtCore/qdebug.h>
858 858
859 #include <gst/gst.h> 859 #include <gst/gst.h>
@@ -866,7 +866,7 @@ index 2dc3510..45e9374 100644
866 866
867 867
868 QGstreamerVideoWindow::QGstreamerVideoWindow(QObject *parent, const char *elementName) 868 QGstreamerVideoWindow::QGstreamerVideoWindow(QObject *parent, const char *elementName)
869@@ -57,18 +61,25 @@ QGstreamerVideoWindow::QGstreamerVideoWindow(QObject *parent, const char *elemen 869@@ -49,18 +53,25 @@ QGstreamerVideoWindow::QGstreamerVideoWindow(QObject *parent, const char *elemen
870 , m_fullScreen(false) 870 , m_fullScreen(false)
871 , m_colorKey(QColor::Invalid) 871 , m_colorKey(QColor::Invalid)
872 { 872 {
@@ -894,7 +894,7 @@ index 2dc3510..45e9374 100644
894 } 894 }
895 895
896 QGstreamerVideoWindow::~QGstreamerVideoWindow() 896 QGstreamerVideoWindow::~QGstreamerVideoWindow()
897@@ -90,11 +101,15 @@ void QGstreamerVideoWindow::setWinId(WId id) 897@@ -82,11 +93,15 @@ void QGstreamerVideoWindow::setWinId(WId id)
898 WId oldId = m_windowId; 898 WId oldId = m_windowId;
899 899
900 m_windowId = id; 900 m_windowId = id;
@@ -912,7 +912,7 @@ index 2dc3510..45e9374 100644
912 if (!oldId) 912 if (!oldId)
913 emit readyChanged(true); 913 emit readyChanged(true);
914 914
915@@ -105,7 +120,20 @@ void QGstreamerVideoWindow::setWinId(WId id) 915@@ -97,7 +112,20 @@ void QGstreamerVideoWindow::setWinId(WId id)
916 bool QGstreamerVideoWindow::processSyncMessage(const QGstreamerMessage &message) 916 bool QGstreamerVideoWindow::processSyncMessage(const QGstreamerMessage &message)
917 { 917 {
918 GstMessage* gm = message.rawMessage(); 918 GstMessage* gm = message.rawMessage();
@@ -933,7 +933,7 @@ index 2dc3510..45e9374 100644
933 if ((GST_MESSAGE_TYPE(gm) == GST_MESSAGE_ELEMENT) && 933 if ((GST_MESSAGE_TYPE(gm) == GST_MESSAGE_ELEMENT) &&
934 gst_structure_has_name(gm->structure, "prepare-xwindow-id") && 934 gst_structure_has_name(gm->structure, "prepare-xwindow-id") &&
935 m_videoSink && GST_IS_X_OVERLAY(m_videoSink)) { 935 m_videoSink && GST_IS_X_OVERLAY(m_videoSink)) {
936@@ -118,7 +146,7 @@ bool QGstreamerVideoWindow::processSyncMessage(const QGstreamerMessage &message) 936@@ -110,7 +138,7 @@ bool QGstreamerVideoWindow::processSyncMessage(const QGstreamerMessage &message)
937 937
938 return true; 938 return true;
939 } 939 }
@@ -942,7 +942,7 @@ index 2dc3510..45e9374 100644
942 return false; 942 return false;
943 } 943 }
944 944
945@@ -130,7 +158,19 @@ QRect QGstreamerVideoWindow::displayRect() const 945@@ -122,7 +150,19 @@ QRect QGstreamerVideoWindow::displayRect() const
946 void QGstreamerVideoWindow::setDisplayRect(const QRect &rect) 946 void QGstreamerVideoWindow::setDisplayRect(const QRect &rect)
947 { 947 {
948 m_displayRect = rect; 948 m_displayRect = rect;
@@ -963,7 +963,7 @@ index 2dc3510..45e9374 100644
963 if (m_videoSink && GST_IS_X_OVERLAY(m_videoSink)) { 963 if (m_videoSink && GST_IS_X_OVERLAY(m_videoSink)) {
964 #if GST_VERSION_MICRO >= 29 964 #if GST_VERSION_MICRO >= 29
965 if (m_displayRect.isEmpty()) 965 if (m_displayRect.isEmpty())
966@@ -144,6 +184,7 @@ void QGstreamerVideoWindow::setDisplayRect(const QRect &rect) 966@@ -136,6 +176,7 @@ void QGstreamerVideoWindow::setDisplayRect(const QRect &rect)
967 repaint(); 967 repaint();
968 #endif 968 #endif
969 } 969 }
@@ -971,7 +971,7 @@ index 2dc3510..45e9374 100644
971 } 971 }
972 972
973 Qt::AspectRatioMode QGstreamerVideoWindow::aspectRatioMode() const 973 Qt::AspectRatioMode QGstreamerVideoWindow::aspectRatioMode() const
974@@ -165,6 +206,16 @@ void QGstreamerVideoWindow::setAspectRatioMode(Qt::AspectRatioMode mode) 974@@ -157,6 +198,16 @@ void QGstreamerVideoWindow::setAspectRatioMode(Qt::AspectRatioMode mode)
975 975
976 void QGstreamerVideoWindow::repaint() 976 void QGstreamerVideoWindow::repaint()
977 { 977 {
@@ -988,7 +988,7 @@ index 2dc3510..45e9374 100644
988 if (m_videoSink && GST_IS_X_OVERLAY(m_videoSink)) { 988 if (m_videoSink && GST_IS_X_OVERLAY(m_videoSink)) {
989 //don't call gst_x_overlay_expose if the sink is in null state 989 //don't call gst_x_overlay_expose if the sink is in null state
990 GstState state = GST_STATE_NULL; 990 GstState state = GST_STATE_NULL;
991@@ -173,6 +224,7 @@ void QGstreamerVideoWindow::repaint() 991@@ -165,6 +216,7 @@ void QGstreamerVideoWindow::repaint()
992 gst_x_overlay_expose(GST_X_OVERLAY(m_videoSink)); 992 gst_x_overlay_expose(GST_X_OVERLAY(m_videoSink));
993 } 993 }
994 } 994 }
@@ -996,7 +996,7 @@ index 2dc3510..45e9374 100644
996 } 996 }
997 997
998 QColor QGstreamerVideoWindow::colorKey() const 998 QColor QGstreamerVideoWindow::colorKey() const
999@@ -304,11 +356,22 @@ QSize QGstreamerVideoWindow::nativeSize() const 999@@ -296,11 +348,22 @@ QSize QGstreamerVideoWindow::nativeSize() const
1000 return m_nativeSize; 1000 return m_nativeSize;
1001 } 1001 }
1002 1002
@@ -1019,7 +1019,7 @@ index 2dc3510..45e9374 100644
1019 } 1019 }
1020 1020
1021 void QGstreamerVideoWindow::updateNativeVideoSize() 1021 void QGstreamerVideoWindow::updateNativeVideoSize()
1022@@ -319,7 +382,11 @@ void QGstreamerVideoWindow::updateNativeVideoSize() 1022@@ -311,7 +374,11 @@ void QGstreamerVideoWindow::updateNativeVideoSize()
1023 if (m_videoSink) { 1023 if (m_videoSink) {
1024 //find video native size to update video widget size hint 1024 //find video native size to update video widget size hint
1025 GstPad *pad = gst_element_get_static_pad(m_videoSink,"sink"); 1025 GstPad *pad = gst_element_get_static_pad(m_videoSink,"sink");
@@ -1032,7 +1032,7 @@ index 2dc3510..45e9374 100644
1032 1032
1033 if (caps) { 1033 if (caps) {
1034diff --git a/src/gsttools/qgstutils.cpp b/src/gsttools/qgstutils.cpp 1034diff --git a/src/gsttools/qgstutils.cpp b/src/gsttools/qgstutils.cpp
1035index 41bd005..3ca1921 100644 1035index 556fc03..5ea2c59 100644
1036--- a/src/gsttools/qgstutils.cpp 1036--- a/src/gsttools/qgstutils.cpp
1037+++ b/src/gsttools/qgstutils.cpp 1037+++ b/src/gsttools/qgstutils.cpp
1038@@ -89,8 +89,13 @@ static void addTagToMap(const GstTagList *list, 1038@@ -89,8 +89,13 @@ static void addTagToMap(const GstTagList *list,
@@ -1083,7 +1083,7 @@ index 41bd005..3ca1921 100644
1083 1083
1084 /*! 1084 /*!
1085 Builds GstCaps for an audio format. 1085 Builds GstCaps for an audio format.
1086@@ -403,7 +426,7 @@ QMultimedia::SupportEstimate QGstUtils::hasSupport(const QString &mimeType, 1086@@ -579,7 +602,7 @@ QByteArray QGstUtils::cameraDriver(const QString &device, GstElementFactory *fac
1087 1087
1088 void qt_gst_object_ref_sink(gpointer object) 1088 void qt_gst_object_ref_sink(gpointer object)
1089 { 1089 {
@@ -1093,10 +1093,10 @@ index 41bd005..3ca1921 100644
1093 #else 1093 #else
1094 g_return_if_fail (GST_IS_OBJECT(object)); 1094 g_return_if_fail (GST_IS_OBJECT(object));
1095diff --git a/src/gsttools/qgstvideobuffer.cpp b/src/gsttools/qgstvideobuffer.cpp 1095diff --git a/src/gsttools/qgstvideobuffer.cpp b/src/gsttools/qgstvideobuffer.cpp
1096index 45556d1..750a07f 100644 1096index 18702ec..93f22f5 100644
1097--- a/src/gsttools/qgstvideobuffer.cpp 1097--- a/src/gsttools/qgstvideobuffer.cpp
1098+++ b/src/gsttools/qgstvideobuffer.cpp 1098+++ b/src/gsttools/qgstvideobuffer.cpp
1099@@ -78,21 +78,33 @@ QAbstractVideoBuffer::MapMode QGstVideoBuffer::mapMode() const 1099@@ -70,21 +70,33 @@ QAbstractVideoBuffer::MapMode QGstVideoBuffer::mapMode() const
1100 uchar *QGstVideoBuffer::map(MapMode mode, int *numBytes, int *bytesPerLine) 1100 uchar *QGstVideoBuffer::map(MapMode mode, int *numBytes, int *bytesPerLine)
1101 { 1101 {
1102 if (mode != NotMapped && m_mode == NotMapped) { 1102 if (mode != NotMapped && m_mode == NotMapped) {
@@ -1134,10 +1134,10 @@ index 45556d1..750a07f 100644
1134 } 1134 }
1135 1135
1136diff --git a/src/gsttools/qvideosurfacegstsink.cpp b/src/gsttools/qvideosurfacegstsink.cpp 1136diff --git a/src/gsttools/qvideosurfacegstsink.cpp b/src/gsttools/qvideosurfacegstsink.cpp
1137index 81d5f60..51c4107 100644 1137index f3e2d88..a964e82 100644
1138--- a/src/gsttools/qvideosurfacegstsink.cpp 1138--- a/src/gsttools/qvideosurfacegstsink.cpp
1139+++ b/src/gsttools/qvideosurfacegstsink.cpp 1139+++ b/src/gsttools/qvideosurfacegstsink.cpp
1140@@ -51,7 +51,11 @@ 1140@@ -43,7 +43,11 @@
1141 1141
1142 #include "qvideosurfacegstsink_p.h" 1142 #include "qvideosurfacegstsink_p.h"
1143 1143
@@ -1150,7 +1150,7 @@ index 81d5f60..51c4107 100644
1150 1150
1151 QT_BEGIN_NAMESPACE 1151 QT_BEGIN_NAMESPACE
1152 1152
1153@@ -71,10 +75,12 @@ QVideoSurfaceGstDelegate::QVideoSurfaceGstDelegate( 1153@@ -62,10 +66,12 @@ QVideoSurfaceGstDelegate::QVideoSurfaceGstDelegate(
1154 if (m_surface) { 1154 if (m_surface) {
1155 foreach (QObject *instance, bufferPoolLoader()->instances(QGstBufferPoolPluginKey)) { 1155 foreach (QObject *instance, bufferPoolLoader()->instances(QGstBufferPoolPluginKey)) {
1156 QGstBufferPoolInterface* plugin = qobject_cast<QGstBufferPoolInterface*>(instance); 1156 QGstBufferPoolInterface* plugin = qobject_cast<QGstBufferPoolInterface*>(instance);
@@ -1163,7 +1163,7 @@ index 81d5f60..51c4107 100644
1163 updateSupportedFormats(); 1163 updateSupportedFormats();
1164 connect(m_surface, SIGNAL(supportedFormatsChanged()), this, SLOT(updateSupportedFormats())); 1164 connect(m_surface, SIGNAL(supportedFormatsChanged()), this, SLOT(updateSupportedFormats()));
1165 } 1165 }
1166@@ -208,6 +214,8 @@ GstFlowReturn QVideoSurfaceGstDelegate::render(GstBuffer *buffer) 1166@@ -198,6 +204,8 @@ GstFlowReturn QVideoSurfaceGstDelegate::render(GstBuffer *buffer)
1167 if (QThread::currentThread() == thread()) { 1167 if (QThread::currentThread() == thread()) {
1168 if (!m_surface.isNull()) 1168 if (!m_surface.isNull())
1169 m_surface->present(m_frame); 1169 m_surface->present(m_frame);
@@ -1172,7 +1172,7 @@ index 81d5f60..51c4107 100644
1172 } else { 1172 } else {
1173 QMetaObject::invokeMethod(this, "queuedRender", Qt::QueuedConnection); 1173 QMetaObject::invokeMethod(this, "queuedRender", Qt::QueuedConnection);
1174 m_renderCondition.wait(&m_mutex, 300); 1174 m_renderCondition.wait(&m_mutex, 300);
1175@@ -310,6 +318,27 @@ void QVideoSurfaceGstDelegate::updateSupportedFormats() 1175@@ -283,6 +291,27 @@ void QVideoSurfaceGstDelegate::updateSupportedFormats()
1176 } 1176 }
1177 } 1177 }
1178 1178
@@ -1200,7 +1200,7 @@ index 81d5f60..51c4107 100644
1200 struct YuvFormat 1200 struct YuvFormat
1201 { 1201 {
1202 QVideoFrame::PixelFormat pixelFormat; 1202 QVideoFrame::PixelFormat pixelFormat;
1203@@ -327,6 +356,7 @@ static const YuvFormat qt_yuvColorLookup[] = 1203@@ -300,6 +329,7 @@ static const YuvFormat qt_yuvColorLookup[] =
1204 { QVideoFrame::Format_NV21, GST_MAKE_FOURCC('N','V','2','1'), 8 }, 1204 { QVideoFrame::Format_NV21, GST_MAKE_FOURCC('N','V','2','1'), 8 },
1205 { QVideoFrame::Format_AYUV444, GST_MAKE_FOURCC('A','Y','U','V'), 32 } 1205 { QVideoFrame::Format_AYUV444, GST_MAKE_FOURCC('A','Y','U','V'), 32 }
1206 }; 1206 };
@@ -1208,7 +1208,7 @@ index 81d5f60..51c4107 100644
1208 1208
1209 static int indexOfYuvColor(QVideoFrame::PixelFormat format) 1209 static int indexOfYuvColor(QVideoFrame::PixelFormat format)
1210 { 1210 {
1211@@ -339,12 +369,20 @@ static int indexOfYuvColor(QVideoFrame::PixelFormat format) 1211@@ -312,12 +342,20 @@ static int indexOfYuvColor(QVideoFrame::PixelFormat format)
1212 return -1; 1212 return -1;
1213 } 1213 }
1214 1214
@@ -1229,7 +1229,7 @@ index 81d5f60..51c4107 100644
1229 return i; 1229 return i;
1230 1230
1231 return -1; 1231 return -1;
1232@@ -417,13 +455,13 @@ GType QVideoSurfaceGstSink::get_type() 1232@@ -388,13 +426,13 @@ GType QVideoSurfaceGstSink::get_type()
1233 if (type == 0) { 1233 if (type == 0) {
1234 static const GTypeInfo info = 1234 static const GTypeInfo info =
1235 { 1235 {
@@ -1245,7 +1245,7 @@ index 81d5f60..51c4107 100644
1245 0, // n_preallocs 1245 0, // n_preallocs
1246 instance_init, // instance_init 1246 instance_init, // instance_init
1247 0 // value_table 1247 0 // value_table
1248@@ -445,7 +483,11 @@ void QVideoSurfaceGstSink::class_init(gpointer g_class, gpointer class_data) 1248@@ -419,7 +457,11 @@ void QVideoSurfaceGstSink::class_init(gpointer g_class, gpointer class_data)
1249 GstBaseSinkClass *base_sink_class = reinterpret_cast<GstBaseSinkClass *>(g_class); 1249 GstBaseSinkClass *base_sink_class = reinterpret_cast<GstBaseSinkClass *>(g_class);
1250 base_sink_class->get_caps = QVideoSurfaceGstSink::get_caps; 1250 base_sink_class->get_caps = QVideoSurfaceGstSink::get_caps;
1251 base_sink_class->set_caps = QVideoSurfaceGstSink::set_caps; 1251 base_sink_class->set_caps = QVideoSurfaceGstSink::set_caps;
@@ -1256,8 +1256,8 @@ index 81d5f60..51c4107 100644
1256+#endif 1256+#endif
1257 base_sink_class->start = QVideoSurfaceGstSink::start; 1257 base_sink_class->start = QVideoSurfaceGstSink::start;
1258 base_sink_class->stop = QVideoSurfaceGstSink::stop; 1258 base_sink_class->stop = QVideoSurfaceGstSink::stop;
1259 // base_sink_class->unlock = QVideoSurfaceGstSink::unlock; // Not implemented. 1259
1260@@ -464,6 +506,18 @@ void QVideoSurfaceGstSink::base_init(gpointer g_class) 1260@@ -434,6 +476,18 @@ void QVideoSurfaceGstSink::base_init(gpointer g_class)
1261 { 1261 {
1262 static GstStaticPadTemplate sink_pad_template = GST_STATIC_PAD_TEMPLATE( 1262 static GstStaticPadTemplate sink_pad_template = GST_STATIC_PAD_TEMPLATE(
1263 "sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS( 1263 "sink", GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS(
@@ -1276,7 +1276,7 @@ index 81d5f60..51c4107 100644
1276 "video/x-raw-rgb, " 1276 "video/x-raw-rgb, "
1277 "framerate = (fraction) [ 0, MAX ], " 1277 "framerate = (fraction) [ 0, MAX ], "
1278 "width = (int) [ 1, MAX ], " 1278 "width = (int) [ 1, MAX ], "
1279@@ -472,6 +526,7 @@ void QVideoSurfaceGstSink::base_init(gpointer g_class) 1279@@ -442,6 +496,7 @@ void QVideoSurfaceGstSink::base_init(gpointer g_class)
1280 "framerate = (fraction) [ 0, MAX ], " 1280 "framerate = (fraction) [ 0, MAX ], "
1281 "width = (int) [ 1, MAX ], " 1281 "width = (int) [ 1, MAX ], "
1282 "height = (int) [ 1, MAX ]")); 1282 "height = (int) [ 1, MAX ]"));
@@ -1284,7 +1284,7 @@ index 81d5f60..51c4107 100644
1284 1284
1285 gst_element_class_add_pad_template( 1285 gst_element_class_add_pad_template(
1286 GST_ELEMENT_CLASS(g_class), gst_static_pad_template_get(&sink_pad_template)); 1286 GST_ELEMENT_CLASS(g_class), gst_static_pad_template_get(&sink_pad_template));
1287@@ -520,7 +575,11 @@ GstStateChangeReturn QVideoSurfaceGstSink::change_state( 1287@@ -490,7 +545,11 @@ GstStateChangeReturn QVideoSurfaceGstSink::change_state(
1288 element, transition); 1288 element, transition);
1289 } 1289 }
1290 1290
@@ -1297,7 +1297,7 @@ index 81d5f60..51c4107 100644
1297 { 1297 {
1298 VO_SINK(base); 1298 VO_SINK(base);
1299 1299
1300@@ -533,6 +592,7 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base) 1300@@ -503,6 +562,7 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base)
1301 QList<QVideoFrame::PixelFormat> poolHandleFormats; 1301 QList<QVideoFrame::PixelFormat> poolHandleFormats;
1302 sink->delegate->poolMutex()->lock(); 1302 sink->delegate->poolMutex()->lock();
1303 QGstBufferPoolInterface *pool = sink->delegate->pool(); 1303 QGstBufferPoolInterface *pool = sink->delegate->pool();
@@ -1305,7 +1305,7 @@ index 81d5f60..51c4107 100644
1305 if (pool) 1305 if (pool)
1306 poolHandleFormats = sink->delegate->supportedPixelFormats(pool->handleType()); 1306 poolHandleFormats = sink->delegate->supportedPixelFormats(pool->handleType());
1307 sink->delegate->poolMutex()->unlock(); 1307 sink->delegate->poolMutex()->unlock();
1308@@ -548,11 +608,19 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base) 1308@@ -518,11 +578,19 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base)
1309 1309
1310 if (index != -1) { 1310 if (index != -1) {
1311 gst_caps_append_structure(caps, gst_structure_new( 1311 gst_caps_append_structure(caps, gst_structure_new(
@@ -1326,7 +1326,7 @@ index 81d5f60..51c4107 100644
1326 NULL)); 1326 NULL));
1327 continue; 1327 continue;
1328 } 1328 }
1329@@ -562,7 +630,18 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base) 1329@@ -532,7 +600,18 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base)
1330 for (int i = 0; i < count; ++i) { 1330 for (int i = 0; i < count; ++i) {
1331 if (qt_rgbColorLookup[i].pixelFormat == format) { 1331 if (qt_rgbColorLookup[i].pixelFormat == format) {
1332 GstStructure *structure = gst_structure_new( 1332 GstStructure *structure = gst_structure_new(
@@ -1345,7 +1345,7 @@ index 81d5f60..51c4107 100644
1345 "framerate" , GST_TYPE_FRACTION_RANGE, 0, 1, INT_MAX, 1, 1345 "framerate" , GST_TYPE_FRACTION_RANGE, 0, 1, INT_MAX, 1,
1346 "width" , GST_TYPE_INT_RANGE, 1, INT_MAX, 1346 "width" , GST_TYPE_INT_RANGE, 1, INT_MAX,
1347 "height" , GST_TYPE_INT_RANGE, 1, INT_MAX, 1347 "height" , GST_TYPE_INT_RANGE, 1, INT_MAX,
1348@@ -583,6 +662,7 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base) 1348@@ -553,6 +632,7 @@ GstCaps *QVideoSurfaceGstSink::get_caps(GstBaseSink *base)
1349 } 1349 }
1350 } 1350 }
1351 1351
@@ -1353,7 +1353,7 @@ index 81d5f60..51c4107 100644
1353 return caps; 1353 return caps;
1354 } 1354 }
1355 1355
1356@@ -622,7 +702,7 @@ gboolean QVideoSurfaceGstSink::set_caps(GstBaseSink *base, GstCaps *caps) 1356@@ -592,7 +672,7 @@ gboolean QVideoSurfaceGstSink::set_caps(GstBaseSink *base, GstCaps *caps)
1357 sink->lastRequestedCaps = 0; 1357 sink->lastRequestedCaps = 0;
1358 1358
1359 #ifdef DEBUG_VIDEO_SURFACE_SINK 1359 #ifdef DEBUG_VIDEO_SURFACE_SINK
@@ -1362,7 +1362,7 @@ index 81d5f60..51c4107 100644
1362 qDebug() << format; 1362 qDebug() << format;
1363 qDebug() << "bytesPerLine:" << bytesPerLine; 1363 qDebug() << "bytesPerLine:" << bytesPerLine;
1364 #endif 1364 #endif
1365@@ -647,11 +727,49 @@ QVideoSurfaceFormat QVideoSurfaceGstSink::formatForCaps(GstCaps *caps, int *byte 1365@@ -617,11 +697,49 @@ QVideoSurfaceFormat QVideoSurfaceGstSink::formatForCaps(GstCaps *caps, int *byte
1366 gst_structure_get_int(structure, "width", &size.rwidth()); 1366 gst_structure_get_int(structure, "width", &size.rwidth());
1367 gst_structure_get_int(structure, "height", &size.rheight()); 1367 gst_structure_get_int(structure, "height", &size.rheight());
1368 1368
@@ -1412,7 +1412,7 @@ index 81d5f60..51c4107 100644
1412 if (index != -1) { 1412 if (index != -1) {
1413 pixelFormat = qt_yuvColorLookup[index].pixelFormat; 1413 pixelFormat = qt_yuvColorLookup[index].pixelFormat;
1414 bitsPerPixel = qt_yuvColorLookup[index].bitsPerPixel; 1414 bitsPerPixel = qt_yuvColorLookup[index].bitsPerPixel;
1415@@ -677,6 +795,7 @@ QVideoSurfaceFormat QVideoSurfaceGstSink::formatForCaps(GstCaps *caps, int *byte 1415@@ -647,6 +765,7 @@ QVideoSurfaceFormat QVideoSurfaceGstSink::formatForCaps(GstCaps *caps, int *byte
1416 if (index != -1) 1416 if (index != -1)
1417 pixelFormat = qt_rgbColorLookup[index].pixelFormat; 1417 pixelFormat = qt_rgbColorLookup[index].pixelFormat;
1418 } 1418 }
@@ -1420,7 +1420,7 @@ index 81d5f60..51c4107 100644
1420 1420
1421 if (pixelFormat != QVideoFrame::Format_Invalid) { 1421 if (pixelFormat != QVideoFrame::Format_Invalid) {
1422 QVideoSurfaceFormat format(size, pixelFormat, handleType); 1422 QVideoSurfaceFormat format(size, pixelFormat, handleType);
1423@@ -773,7 +892,11 @@ GstFlowReturn QVideoSurfaceGstSink::buffer_alloc( 1423@@ -722,7 +841,11 @@ GstFlowReturn QVideoSurfaceGstSink::buffer_alloc(
1424 1424
1425 poolLock.unlock(); 1425 poolLock.unlock();
1426 1426
@@ -1432,7 +1432,7 @@ index 81d5f60..51c4107 100644
1432 1432
1433 if (gst_caps_is_empty (intersection)) { 1433 if (gst_caps_is_empty (intersection)) {
1434 gst_caps_unref(intersection); 1434 gst_caps_unref(intersection);
1435@@ -814,7 +937,7 @@ GstFlowReturn QVideoSurfaceGstSink::buffer_alloc( 1435@@ -763,7 +886,7 @@ GstFlowReturn QVideoSurfaceGstSink::buffer_alloc(
1436 QVideoSurfaceFormat surfaceFormat = sink->delegate->surfaceFormat(); 1436 QVideoSurfaceFormat surfaceFormat = sink->delegate->surfaceFormat();
1437 1437
1438 if (!pool->isFormatSupported(surfaceFormat)) { 1438 if (!pool->isFormatSupported(surfaceFormat)) {
@@ -1441,7 +1441,7 @@ index 81d5f60..51c4107 100644
1441 return GST_FLOW_OK; 1441 return GST_FLOW_OK;
1442 } 1442 }
1443 1443
1444@@ -838,7 +961,6 @@ GstFlowReturn QVideoSurfaceGstSink::buffer_alloc( 1444@@ -787,7 +910,6 @@ GstFlowReturn QVideoSurfaceGstSink::buffer_alloc(
1445 gboolean QVideoSurfaceGstSink::start(GstBaseSink *base) 1445 gboolean QVideoSurfaceGstSink::start(GstBaseSink *base)
1446 { 1446 {
1447 Q_UNUSED(base); 1447 Q_UNUSED(base);
@@ -1449,23 +1449,11 @@ index 81d5f60..51c4107 100644
1449 return TRUE; 1449 return TRUE;
1450 } 1450 }
1451 1451
1452@@ -864,8 +986,9 @@ gboolean QVideoSurfaceGstSink::event(GstBaseSink *base, GstEvent *event)
1453 VO_SINK(base);
1454 sink->delegate->setLastPrerolledBuffer(0);
1455 }
1456-
1457- return TRUE;
1458+#if GST_CHECK_VERSION(1, 0, 0)
1459+ return GST_BASE_SINK_CLASS (sink_parent_class)->event (base, event);
1460+#endif
1461 }
1462
1463 GstFlowReturn QVideoSurfaceGstSink::preroll(GstBaseSink *base, GstBuffer *buffer)
1464diff --git a/src/multimedia/gsttools_headers/qgstappsrc_p.h b/src/multimedia/gsttools_headers/qgstappsrc_p.h 1452diff --git a/src/multimedia/gsttools_headers/qgstappsrc_p.h b/src/multimedia/gsttools_headers/qgstappsrc_p.h
1465index bfb038e..a188e18 100644 1453index 4af9252..0e0fc0a 100644
1466--- a/src/multimedia/gsttools_headers/qgstappsrc_p.h 1454--- a/src/multimedia/gsttools_headers/qgstappsrc_p.h
1467+++ b/src/multimedia/gsttools_headers/qgstappsrc_p.h 1455+++ b/src/multimedia/gsttools_headers/qgstappsrc_p.h
1468@@ -47,7 +47,10 @@ 1456@@ -39,7 +39,10 @@
1469 1457
1470 #include <gst/gst.h> 1458 #include <gst/gst.h>
1471 #include <gst/app/gstappsrc.h> 1459 #include <gst/app/gstappsrc.h>
@@ -1477,10 +1465,10 @@ index bfb038e..a188e18 100644
1477 QT_BEGIN_NAMESPACE 1465 QT_BEGIN_NAMESPACE
1478 1466
1479diff --git a/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h b/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h 1467diff --git a/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h b/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h
1480index 71ea2ff..879f071 100644 1468index 34669b8..0f3b165 100644
1481--- a/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h 1469--- a/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h
1482+++ b/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h 1470+++ b/src/multimedia/gsttools_headers/qgstreameraudioprobecontrol_p.h
1483@@ -55,8 +55,11 @@ class QGstreamerAudioProbeControl : public QMediaAudioProbeControl 1471@@ -47,8 +47,11 @@ class QGstreamerAudioProbeControl : public QMediaAudioProbeControl
1484 public: 1472 public:
1485 explicit QGstreamerAudioProbeControl(QObject *parent); 1473 explicit QGstreamerAudioProbeControl(QObject *parent);
1486 virtual ~QGstreamerAudioProbeControl(); 1474 virtual ~QGstreamerAudioProbeControl();
@@ -1494,10 +1482,10 @@ index 71ea2ff..879f071 100644
1494 private slots: 1482 private slots:
1495 void bufferProbed(); 1483 void bufferProbed();
1496diff --git a/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h b/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h 1484diff --git a/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h b/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h
1497index c512b48..0a8a654 100644 1485index 49064f9..fce6309 100644
1498--- a/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h 1486--- a/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h
1499+++ b/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h 1487+++ b/src/multimedia/gsttools_headers/qgstreamervideoprobecontrol_p.h
1500@@ -56,7 +56,11 @@ public: 1488@@ -48,7 +48,11 @@ public:
1501 explicit QGstreamerVideoProbeControl(QObject *parent); 1489 explicit QGstreamerVideoProbeControl(QObject *parent);
1502 virtual ~QGstreamerVideoProbeControl(); 1490 virtual ~QGstreamerVideoProbeControl();
1503 1491
@@ -1510,10 +1498,10 @@ index c512b48..0a8a654 100644
1510 void stopFlushing(); 1498 void stopFlushing();
1511 1499
1512diff --git a/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h b/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h 1500diff --git a/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h b/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h
1513index 45582d6..4440337 100644 1501index 81e5764..c9fdb5c 100644
1514--- a/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h 1502--- a/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h
1515+++ b/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h 1503+++ b/src/multimedia/gsttools_headers/qgstreamervideowindow_p.h
1516@@ -112,7 +112,11 @@ private slots: 1504@@ -104,7 +104,11 @@ private slots:
1517 void updateNativeVideoSize(); 1505 void updateNativeVideoSize();
1518 1506
1519 private: 1507 private:
@@ -1526,10 +1514,10 @@ index 45582d6..4440337 100644
1526 GstElement *m_videoSink; 1514 GstElement *m_videoSink;
1527 WId m_windowId; 1515 WId m_windowId;
1528diff --git a/src/multimedia/gsttools_headers/qgstutils_p.h b/src/multimedia/gsttools_headers/qgstutils_p.h 1516diff --git a/src/multimedia/gsttools_headers/qgstutils_p.h b/src/multimedia/gsttools_headers/qgstutils_p.h
1529index eea1e15..6369df7 100644 1517index 65ff759..6015980 100644
1530--- a/src/multimedia/gsttools_headers/qgstutils_p.h 1518--- a/src/multimedia/gsttools_headers/qgstutils_p.h
1531+++ b/src/multimedia/gsttools_headers/qgstutils_p.h 1519+++ b/src/multimedia/gsttools_headers/qgstutils_p.h
1532@@ -70,7 +70,11 @@ namespace QGstUtils { 1520@@ -73,7 +73,11 @@ namespace QGstUtils {
1533 QSize capsResolution(const GstCaps *caps); 1521 QSize capsResolution(const GstCaps *caps);
1534 QSize capsCorrectedResolution(const GstCaps *caps); 1522 QSize capsCorrectedResolution(const GstCaps *caps);
1535 QAudioFormat audioFormatForCaps(const GstCaps *caps); 1523 QAudioFormat audioFormatForCaps(const GstCaps *caps);
@@ -1542,10 +1530,10 @@ index eea1e15..6369df7 100644
1542 void initializeGst(); 1530 void initializeGst();
1543 QMultimedia::SupportEstimate hasSupport(const QString &mimeType, 1531 QMultimedia::SupportEstimate hasSupport(const QString &mimeType,
1544diff --git a/src/multimedia/gsttools_headers/qgstvideobuffer_p.h b/src/multimedia/gsttools_headers/qgstvideobuffer_p.h 1532diff --git a/src/multimedia/gsttools_headers/qgstvideobuffer_p.h b/src/multimedia/gsttools_headers/qgstvideobuffer_p.h
1545index 505a6c6..9bde1e0 100644 1533index 1e0fda8..be48820 100644
1546--- a/src/multimedia/gsttools_headers/qgstvideobuffer_p.h 1534--- a/src/multimedia/gsttools_headers/qgstvideobuffer_p.h
1547+++ b/src/multimedia/gsttools_headers/qgstvideobuffer_p.h 1535+++ b/src/multimedia/gsttools_headers/qgstvideobuffer_p.h
1548@@ -79,6 +79,9 @@ private: 1536@@ -71,6 +71,9 @@ private:
1549 int m_bytesPerLine; 1537 int m_bytesPerLine;
1550 MapMode m_mode; 1538 MapMode m_mode;
1551 QVariant m_handle; 1539 QVariant m_handle;
@@ -1556,10 +1544,10 @@ index 505a6c6..9bde1e0 100644
1556 1544
1557 QT_END_NAMESPACE 1545 QT_END_NAMESPACE
1558diff --git a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h 1546diff --git a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
1559index 7563f06..505ff39 100644 1547index 11b305d..01935f7 100644
1560--- a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h 1548--- a/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
1561+++ b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h 1549+++ b/src/multimedia/gsttools_headers/qvideosurfacegstsink_p.h
1562@@ -146,7 +146,11 @@ private: 1550@@ -131,7 +131,11 @@ private:
1563 1551
1564 static GstStateChangeReturn change_state(GstElement *element, GstStateChange transition); 1552 static GstStateChangeReturn change_state(GstElement *element, GstStateChange transition);
1565 1553
@@ -1573,10 +1561,10 @@ index 7563f06..505ff39 100644
1573 1561
1574 static GstFlowReturn buffer_alloc( 1562 static GstFlowReturn buffer_alloc(
1575diff --git a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp 1563diff --git a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp
1576index e6d2421..00291ab 100644 1564index 3098aab..9c54663 100644
1577--- a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp 1565--- a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp
1578+++ b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp 1566+++ b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecoderserviceplugin.cpp
1579@@ -82,29 +82,42 @@ void QGstreamerAudioDecoderServicePlugin::updateSupportedMimeTypes() const 1567@@ -74,29 +74,42 @@ void QGstreamerAudioDecoderServicePlugin::updateSupportedMimeTypes() const
1580 gst_init(NULL, NULL); 1568 gst_init(NULL, NULL);
1581 1569
1582 GList *plugins, *orig_plugins; 1570 GList *plugins, *orig_plugins;
@@ -1627,10 +1615,10 @@ index e6d2421..00291ab 100644
1627 GstStaticPadTemplate *padtemplate = (GstStaticPadTemplate*)(pads->data); 1615 GstStaticPadTemplate *padtemplate = (GstStaticPadTemplate*)(pads->data);
1628 pads = g_list_next (pads); 1616 pads = g_list_next (pads);
1629diff --git a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp 1617diff --git a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
1630index 9f1a765..dd6bd02 100644 1618index f944a60..72d1cf1 100644
1631--- a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp 1619--- a/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
1632+++ b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp 1620+++ b/src/plugins/gstreamer/audiodecoder/qgstreameraudiodecodersession.cpp
1633@@ -454,21 +454,40 @@ QAudioBuffer QGstreamerAudioDecoderSession::read() 1621@@ -446,21 +446,40 @@ QAudioBuffer QGstreamerAudioDecoderSession::read()
1634 if (buffersAvailable == 1) 1622 if (buffersAvailable == 1)
1635 emit bufferAvailableChanged(false); 1623 emit bufferAvailableChanged(false);
1636 1624
@@ -1673,7 +1661,7 @@ index 9f1a765..dd6bd02 100644
1673 } 1661 }
1674 1662
1675 return audioBuffer; 1663 return audioBuffer;
1676@@ -539,7 +558,12 @@ void QGstreamerAudioDecoderSession::addAppSink() 1664@@ -531,7 +550,12 @@ void QGstreamerAudioDecoderSession::addAppSink()
1677 1665
1678 GstAppSinkCallbacks callbacks; 1666 GstAppSinkCallbacks callbacks;
1679 memset(&callbacks, 0, sizeof(callbacks)); 1667 memset(&callbacks, 0, sizeof(callbacks));
@@ -1686,7 +1674,7 @@ index 9f1a765..dd6bd02 100644
1686 gst_app_sink_set_callbacks(m_appSink, &callbacks, this, NULL); 1674 gst_app_sink_set_callbacks(m_appSink, &callbacks, this, NULL);
1687 gst_app_sink_set_max_buffers(m_appSink, MAX_BUFFERS_IN_QUEUE); 1675 gst_app_sink_set_max_buffers(m_appSink, MAX_BUFFERS_IN_QUEUE);
1688 gst_base_sink_set_sync(GST_BASE_SINK(m_appSink), FALSE); 1676 gst_base_sink_set_sync(GST_BASE_SINK(m_appSink), FALSE);
1689@@ -565,8 +589,13 @@ void QGstreamerAudioDecoderSession::updateDuration() 1677@@ -557,8 +581,13 @@ void QGstreamerAudioDecoderSession::updateDuration()
1690 gint64 gstDuration = 0; 1678 gint64 gstDuration = 0;
1691 int duration = -1; 1679 int duration = -1;
1692 1680
@@ -1701,22 +1689,22 @@ index 9f1a765..dd6bd02 100644
1701 if (m_duration != duration) { 1689 if (m_duration != duration) {
1702 m_duration = duration; 1690 m_duration = duration;
1703diff --git a/src/plugins/gstreamer/camerabin/camerabinsession.cpp b/src/plugins/gstreamer/camerabin/camerabinsession.cpp 1691diff --git a/src/plugins/gstreamer/camerabin/camerabinsession.cpp b/src/plugins/gstreamer/camerabin/camerabinsession.cpp
1704index a835b1c..6bd3682 100644 1692index a4038c5..9d1fdfa 100644
1705--- a/src/plugins/gstreamer/camerabin/camerabinsession.cpp 1693--- a/src/plugins/gstreamer/camerabin/camerabinsession.cpp
1706+++ b/src/plugins/gstreamer/camerabin/camerabinsession.cpp 1694+++ b/src/plugins/gstreamer/camerabin/camerabinsession.cpp
1707@@ -731,7 +731,11 @@ qint64 CameraBinSession::duration() const 1695@@ -760,7 +760,11 @@ qint64 CameraBinSession::duration() const
1708 GstFormat format = GST_FORMAT_TIME; 1696 if (fileSink) {
1709 gint64 duration = 0; 1697 GstFormat format = GST_FORMAT_TIME;
1710 1698 gint64 duration = 0;
1711+#if GST_CHECK_VERSION(1,0,0) 1699+#if GST_CHECK_VERSION(1,0,0)
1712+ if ( m_camerabin && gst_element_query_duration(m_camerabin, format, &duration)) 1700+ bool ret = gst_element_query_duration(fileSink, format, &duration);
1713+#else 1701+#else
1714 if ( m_camerabin && gst_element_query_position(m_camerabin, &format, &duration)) 1702 bool ret = gst_element_query_position(fileSink, &format, &duration);
1715+#endif 1703+#endif
1716 return duration / 1000000; 1704 gst_object_unref(GST_OBJECT(fileSink));
1717 else 1705 if (ret)
1718 return 0; 1706 return duration / 1000000;
1719@@ -764,8 +768,13 @@ void CameraBinSession::setMetaData(const QMap<QByteArray, QVariant> &data) 1707@@ -797,8 +801,13 @@ void CameraBinSession::setMetaData(const QMap<QByteArray, QVariant> &data)
1720 1708
1721 if (m_camerabin) { 1709 if (m_camerabin) {
1722 GstIterator *elements = gst_bin_iterate_all_by_interface(GST_BIN(m_camerabin), GST_TYPE_TAG_SETTER); 1710 GstIterator *elements = gst_bin_iterate_all_by_interface(GST_BIN(m_camerabin), GST_TYPE_TAG_SETTER);
@@ -1730,7 +1718,7 @@ index a835b1c..6bd3682 100644
1730 gst_tag_setter_reset_tags(GST_TAG_SETTER(element)); 1718 gst_tag_setter_reset_tags(GST_TAG_SETTER(element));
1731 1719
1732 QMapIterator<QByteArray, QVariant> it(data); 1720 QMapIterator<QByteArray, QVariant> it(data);
1733@@ -826,7 +835,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message) 1721@@ -859,7 +868,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message)
1734 1722
1735 if (gm && GST_MESSAGE_TYPE(gm) == GST_MESSAGE_ELEMENT) { 1723 if (gm && GST_MESSAGE_TYPE(gm) == GST_MESSAGE_ELEMENT) {
1736 if (m_captureMode == QCamera::CaptureStillImage && 1724 if (m_captureMode == QCamera::CaptureStillImage &&
@@ -1742,7 +1730,7 @@ index a835b1c..6bd3682 100644
1742 st = gst_message_get_structure(gm); 1730 st = gst_message_get_structure(gm);
1743 1731
1744 if (gst_structure_has_field_typed(st, "buffer", GST_TYPE_BUFFER)) { 1732 if (gst_structure_has_field_typed(st, "buffer", GST_TYPE_BUFFER)) {
1745@@ -836,7 +849,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message) 1733@@ -869,7 +882,11 @@ bool CameraBinSession::processSyncMessage(const QGstreamerMessage &message)
1746 1734
1747 QImage img; 1735 QImage img;
1748 1736
@@ -1754,7 +1742,7 @@ index a835b1c..6bd3682 100644
1754 if (caps) { 1742 if (caps) {
1755 GstStructure *structure = gst_caps_get_structure(caps, 0); 1743 GstStructure *structure = gst_caps_get_structure(caps, 0);
1756 gint width = 0; 1744 gint width = 0;
1757@@ -1109,7 +1126,11 @@ QList< QPair<int,int> > CameraBinSession::supportedFrameRates(const QSize &frame 1745@@ -1142,7 +1159,11 @@ QList< QPair<int,int> > CameraBinSession::supportedFrameRates(const QSize &frame
1758 gst_structure_remove_all_fields(structure); 1746 gst_structure_remove_all_fields(structure);
1759 gst_structure_set_value(structure, "framerate", &rate); 1747 gst_structure_set_value(structure, "framerate", &rate);
1760 } 1748 }
@@ -1766,7 +1754,7 @@ index a835b1c..6bd3682 100644
1766 1754
1767 1755
1768 for (uint i=0; i<gst_caps_get_size(caps); i++) { 1756 for (uint i=0; i<gst_caps_get_size(caps); i++) {
1769@@ -1229,7 +1250,11 @@ QList<QSize> CameraBinSession::supportedResolutions(QPair<int,int> rate, 1757@@ -1262,7 +1283,11 @@ QList<QSize> CameraBinSession::supportedResolutions(QPair<int,int> rate,
1770 gst_structure_set_value(structure, "width", &w); 1758 gst_structure_set_value(structure, "width", &w);
1771 gst_structure_set_value(structure, "height", &h); 1759 gst_structure_set_value(structure, "height", &h);
1772 } 1760 }
@@ -1836,10 +1824,10 @@ index 7649010..fce55ac 100644
1836 1824
1837 OTHER_FILES += \ 1825 OTHER_FILES += \
1838diff --git a/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp b/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp 1826diff --git a/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp b/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp
1839index b9114c6..97d9203 100644 1827index a2bd80d..d12e9a5 100644
1840--- a/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp 1828--- a/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp
1841+++ b/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp 1829+++ b/src/plugins/gstreamer/mediacapture/qgstreamercapturesession.cpp
1842@@ -506,6 +506,11 @@ GstElement *QGstreamerCaptureSession::buildImageCapture() 1830@@ -498,6 +498,11 @@ GstElement *QGstreamerCaptureSession::buildImageCapture()
1843 gst_pad_add_buffer_probe(pad, G_CALLBACK(passImageFilter), this); 1831 gst_pad_add_buffer_probe(pad, G_CALLBACK(passImageFilter), this);
1844 gst_object_unref(GST_OBJECT(pad)); 1832 gst_object_unref(GST_OBJECT(pad));
1845 1833
@@ -1861,10 +1849,10 @@ index 2ca9377..b986fc7 100644
1861 mediaplayer.json 1849 mediaplayer.json
1862- 1850-
1863diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp 1851diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp
1864index 99c471b..deec236 100644 1852index fed756a..8239710 100644
1865--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp 1853--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp
1866+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp 1854+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayercontrol.cpp
1867@@ -527,6 +527,8 @@ void QGstreamerPlayerControl::processEOS() 1855@@ -537,6 +537,8 @@ void QGstreamerPlayerControl::processEOS()
1868 m_session->showPrerollFrames(false); // stop showing prerolled frames in stop state 1856 m_session->showPrerollFrames(false); // stop showing prerolled frames in stop state
1869 } 1857 }
1870 1858
@@ -1874,10 +1862,10 @@ index 99c471b..deec236 100644
1874 } 1862 }
1875 1863
1876diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp 1864diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp
1877index 854da46..2fd4345 100644 1865index ce267d7..062de07 100644
1878--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp 1866--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp
1879+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp 1867+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerservice.cpp
1880@@ -59,7 +59,11 @@ 1868@@ -51,7 +51,11 @@
1881 #include <private/qgstreamervideorenderer_p.h> 1869 #include <private/qgstreamervideorenderer_p.h>
1882 1870
1883 #if defined(Q_WS_MAEMO_6) && defined(__arm__) 1871 #if defined(Q_WS_MAEMO_6) && defined(__arm__)
@@ -1890,7 +1878,7 @@ index 854da46..2fd4345 100644
1890 #endif 1878 #endif
1891 1879
1892 #include "qgstreamerstreamscontrol.h" 1880 #include "qgstreamerstreamscontrol.h"
1893@@ -90,6 +94,9 @@ QGstreamerPlayerService::QGstreamerPlayerService(QObject *parent): 1881@@ -82,6 +86,9 @@ QGstreamerPlayerService::QGstreamerPlayerService(QObject *parent):
1894 1882
1895 #if defined(Q_WS_MAEMO_6) && defined(__arm__) 1883 #if defined(Q_WS_MAEMO_6) && defined(__arm__)
1896 m_videoRenderer = new QGstreamerGLTextureRenderer(this); 1884 m_videoRenderer = new QGstreamerGLTextureRenderer(this);
@@ -1901,10 +1889,10 @@ index 854da46..2fd4345 100644
1901 m_videoRenderer = new QGstreamerVideoRenderer(this); 1889 m_videoRenderer = new QGstreamerVideoRenderer(this);
1902 #endif 1890 #endif
1903diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp 1891diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
1904index a9052ca..7968799 100644 1892index 7d20b6d..bf2f9f8 100644
1905--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp 1893--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
1906+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp 1894+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayerserviceplugin.cpp
1907@@ -95,7 +95,11 @@ void QGstreamerPlayerServicePlugin::updateSupportedMimeTypes() const 1895@@ -87,7 +87,11 @@ void QGstreamerPlayerServicePlugin::updateSupportedMimeTypes() const
1908 gst_init(NULL, NULL); 1896 gst_init(NULL, NULL);
1909 1897
1910 GList *plugins, *orig_plugins; 1898 GList *plugins, *orig_plugins;
@@ -1916,7 +1904,7 @@ index a9052ca..7968799 100644
1916 1904
1917 while (plugins) { 1905 while (plugins) {
1918 GList *features, *orig_features; 1906 GList *features, *orig_features;
1919@@ -103,22 +107,33 @@ void QGstreamerPlayerServicePlugin::updateSupportedMimeTypes() const 1907@@ -95,22 +99,33 @@ void QGstreamerPlayerServicePlugin::updateSupportedMimeTypes() const
1920 GstPlugin *plugin = (GstPlugin *) (plugins->data); 1908 GstPlugin *plugin = (GstPlugin *) (plugins->data);
1921 plugins = g_list_next (plugins); 1909 plugins = g_list_next (plugins);
1922 1910
@@ -1957,10 +1945,10 @@ index a9052ca..7968799 100644
1957 GstStaticPadTemplate *padtemplate = (GstStaticPadTemplate*)(pads->data); 1945 GstStaticPadTemplate *padtemplate = (GstStaticPadTemplate*)(pads->data);
1958 pads = g_list_next (pads); 1946 pads = g_list_next (pads);
1959diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp 1947diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp
1960index 87b71d7..03185a2 100644 1948index 15924a6..8013d0d 100644
1961--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp 1949--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp
1962+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp 1950+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.cpp
1963@@ -93,6 +93,16 @@ typedef enum { 1951@@ -85,6 +85,16 @@ typedef enum {
1964 GST_PLAY_FLAG_BUFFERING = 0x000000100 1952 GST_PLAY_FLAG_BUFFERING = 0x000000100
1965 } GstPlayFlags; 1953 } GstPlayFlags;
1966 1954
@@ -1977,7 +1965,7 @@ index 87b71d7..03185a2 100644
1977 #define DEFAULT_RAW_CAPS \ 1965 #define DEFAULT_RAW_CAPS \
1978 "video/x-raw-yuv; " \ 1966 "video/x-raw-yuv; " \
1979 "video/x-raw-rgb; " \ 1967 "video/x-raw-rgb; " \
1980@@ -105,6 +115,8 @@ typedef enum { 1968@@ -97,6 +107,8 @@ typedef enum {
1981 "text/x-pango-markup; " \ 1969 "text/x-pango-markup; " \
1982 "video/x-dvd-subpicture; " \ 1970 "video/x-dvd-subpicture; " \
1983 "subpicture/x-pgs" 1971 "subpicture/x-pgs"
@@ -1986,7 +1974,7 @@ index 87b71d7..03185a2 100644
1986 static GstStaticCaps static_RawCaps = GST_STATIC_CAPS(DEFAULT_RAW_CAPS); 1974 static GstStaticCaps static_RawCaps = GST_STATIC_CAPS(DEFAULT_RAW_CAPS);
1987 1975
1988 QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent) 1976 QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent)
1989@@ -145,8 +157,11 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent) 1977@@ -137,8 +149,11 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent)
1990 gboolean result = gst_type_find_register(0, "playlist", GST_RANK_MARGINAL, playlistTypeFindFunction, 0, 0, this, 0); 1978 gboolean result = gst_type_find_register(0, "playlist", GST_RANK_MARGINAL, playlistTypeFindFunction, 0, 0, this, 0);
1991 Q_ASSERT(result == TRUE); 1979 Q_ASSERT(result == TRUE);
1992 Q_UNUSED(result); 1980 Q_UNUSED(result);
@@ -1999,7 +1987,7 @@ index 87b71d7..03185a2 100644
1999 1987
2000 if (m_playbin) { 1988 if (m_playbin) {
2001 //GST_PLAY_FLAG_NATIVE_VIDEO omits configuration of ffmpegcolorspace and videoscale, 1989 //GST_PLAY_FLAG_NATIVE_VIDEO omits configuration of ffmpegcolorspace and videoscale,
2002@@ -196,7 +211,11 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent) 1990@@ -188,7 +203,11 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent)
2003 m_videoIdentity = GST_ELEMENT(g_object_new(gst_video_connector_get_type(), 0)); // floating ref 1991 m_videoIdentity = GST_ELEMENT(g_object_new(gst_video_connector_get_type(), 0)); // floating ref
2004 g_signal_connect(G_OBJECT(m_videoIdentity), "connection-failed", G_CALLBACK(insertColorSpaceElement), (gpointer)this); 1992 g_signal_connect(G_OBJECT(m_videoIdentity), "connection-failed", G_CALLBACK(insertColorSpaceElement), (gpointer)this);
2005 1993
@@ -2011,7 +1999,7 @@ index 87b71d7..03185a2 100644
2011 // might not get a parent, take ownership to avoid leak 1999 // might not get a parent, take ownership to avoid leak
2012 qt_gst_object_ref_sink(GST_OBJECT(m_colorSpace)); 2000 qt_gst_object_ref_sink(GST_OBJECT(m_colorSpace));
2013 2001
2014@@ -214,7 +233,7 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent) 2002@@ -206,7 +225,7 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent)
2015 2003
2016 // add ghostpads 2004 // add ghostpads
2017 GstPad *pad = gst_element_get_static_pad(m_videoIdentity,"sink"); 2005 GstPad *pad = gst_element_get_static_pad(m_videoIdentity,"sink");
@@ -2020,7 +2008,7 @@ index 87b71d7..03185a2 100644
2020 gst_object_unref(GST_OBJECT(pad)); 2008 gst_object_unref(GST_OBJECT(pad));
2021 2009
2022 if (m_playbin != 0) { 2010 if (m_playbin != 0) {
2023@@ -226,7 +245,7 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent) 2011@@ -218,7 +237,7 @@ QGstreamerPlayerSession::QGstreamerPlayerSession(QObject *parent)
2024 g_object_set(G_OBJECT(m_playbin), "video-sink", m_videoOutputBin, NULL); 2012 g_object_set(G_OBJECT(m_playbin), "video-sink", m_videoOutputBin, NULL);
2025 2013
2026 g_signal_connect(G_OBJECT(m_playbin), "notify::source", G_CALLBACK(playbinNotifySource), this); 2014 g_signal_connect(G_OBJECT(m_playbin), "notify::source", G_CALLBACK(playbinNotifySource), this);
@@ -2029,7 +2017,7 @@ index 87b71d7..03185a2 100644
2029 2017
2030 if (usePlaybinVolume()) { 2018 if (usePlaybinVolume()) {
2031 updateVolume(); 2019 updateVolume();
2032@@ -350,9 +369,13 @@ qint64 QGstreamerPlayerSession::position() const 2020@@ -342,9 +361,13 @@ qint64 QGstreamerPlayerSession::position() const
2033 GstFormat format = GST_FORMAT_TIME; 2021 GstFormat format = GST_FORMAT_TIME;
2034 gint64 position = 0; 2022 gint64 position = 0;
2035 2023
@@ -2044,7 +2032,7 @@ index 87b71d7..03185a2 100644
2044 return m_lastPosition; 2032 return m_lastPosition;
2045 } 2033 }
2046 2034
2047@@ -482,9 +505,18 @@ bool QGstreamerPlayerSession::isAudioAvailable() const 2035@@ -474,9 +497,18 @@ bool QGstreamerPlayerSession::isAudioAvailable() const
2048 return m_audioAvailable; 2036 return m_audioAvailable;
2049 } 2037 }
2050 2038
@@ -2063,7 +2051,7 @@ index 87b71d7..03185a2 100644
2063 #ifdef DEBUG_PLAYBIN 2051 #ifdef DEBUG_PLAYBIN
2064 qDebug() << "block_pad_cb, blocked:" << blocked; 2052 qDebug() << "block_pad_cb, blocked:" << blocked;
2065 #endif 2053 #endif
2066@@ -493,6 +525,7 @@ static void block_pad_cb(GstPad *pad, gboolean blocked, gpointer user_data) 2054@@ -485,6 +517,7 @@ static void block_pad_cb(GstPad *pad, gboolean blocked, gpointer user_data)
2067 QGstreamerPlayerSession *session = reinterpret_cast<QGstreamerPlayerSession*>(user_data); 2055 QGstreamerPlayerSession *session = reinterpret_cast<QGstreamerPlayerSession*>(user_data);
2068 QMetaObject::invokeMethod(session, "finishVideoOutputChange", Qt::QueuedConnection); 2056 QMetaObject::invokeMethod(session, "finishVideoOutputChange", Qt::QueuedConnection);
2069 } 2057 }
@@ -2071,7 +2059,7 @@ index 87b71d7..03185a2 100644
2071 } 2059 }
2072 2060
2073 void QGstreamerPlayerSession::updateVideoRenderer() 2061 void QGstreamerPlayerSession::updateVideoRenderer()
2074@@ -537,7 +570,7 @@ void QGstreamerPlayerSession::setVideoRenderer(QObject *videoOutput) 2062@@ -529,7 +562,7 @@ void QGstreamerPlayerSession::setVideoRenderer(QObject *videoOutput)
2075 m_renderer = renderer; 2063 m_renderer = renderer;
2076 2064
2077 #ifdef DEBUG_VO_BIN_DUMP 2065 #ifdef DEBUG_VO_BIN_DUMP
@@ -2080,7 +2068,7 @@ index 87b71d7..03185a2 100644
2080 GstDebugGraphDetails(GST_DEBUG_GRAPH_SHOW_ALL /* GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE | GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS | GST_DEBUG_GRAPH_SHOW_STATES*/), 2068 GstDebugGraphDetails(GST_DEBUG_GRAPH_SHOW_ALL /* GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE | GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS | GST_DEBUG_GRAPH_SHOW_STATES*/),
2081 "playbin_set"); 2069 "playbin_set");
2082 #endif 2070 #endif
2083@@ -641,7 +674,11 @@ void QGstreamerPlayerSession::setVideoRenderer(QObject *videoOutput) 2071@@ -633,7 +666,11 @@ void QGstreamerPlayerSession::setVideoRenderer(QObject *videoOutput)
2084 2072
2085 //block pads, async to avoid locking in paused state 2073 //block pads, async to avoid locking in paused state
2086 GstPad *srcPad = gst_element_get_static_pad(m_videoIdentity, "src"); 2074 GstPad *srcPad = gst_element_get_static_pad(m_videoIdentity, "src");
@@ -2092,7 +2080,7 @@ index 87b71d7..03185a2 100644
2092 gst_object_unref(GST_OBJECT(srcPad)); 2080 gst_object_unref(GST_OBJECT(srcPad));
2093 2081
2094 //Unpause the sink to avoid waiting until the buffer is processed 2082 //Unpause the sink to avoid waiting until the buffer is processed
2095@@ -682,7 +719,11 @@ void QGstreamerPlayerSession::finishVideoOutputChange() 2083@@ -674,7 +711,11 @@ void QGstreamerPlayerSession::finishVideoOutputChange()
2096 //video output was change back to the current one, 2084 //video output was change back to the current one,
2097 //no need to torment the pipeline, just unblock the pad 2085 //no need to torment the pipeline, just unblock the pad
2098 if (gst_pad_is_blocked(srcPad)) 2086 if (gst_pad_is_blocked(srcPad))
@@ -2104,7 +2092,7 @@ index 87b71d7..03185a2 100644
2104 2092
2105 m_pendingVideoSink = 0; 2093 m_pendingVideoSink = 0;
2106 gst_object_unref(GST_OBJECT(srcPad)); 2094 gst_object_unref(GST_OBJECT(srcPad));
2107@@ -768,12 +809,17 @@ void QGstreamerPlayerSession::finishVideoOutputChange() 2095@@ -760,12 +801,17 @@ void QGstreamerPlayerSession::finishVideoOutputChange()
2108 2096
2109 //don't have to wait here, it will unblock eventually 2097 //don't have to wait here, it will unblock eventually
2110 if (gst_pad_is_blocked(srcPad)) 2098 if (gst_pad_is_blocked(srcPad))
@@ -2125,7 +2113,7 @@ index 87b71d7..03185a2 100644
2125 "playbin_finish"); 2113 "playbin_finish");
2126 #endif 2114 #endif
2127 } 2115 }
2128@@ -838,6 +884,7 @@ bool QGstreamerPlayerSession::play() 2116@@ -830,6 +876,7 @@ bool QGstreamerPlayerSession::play()
2129 #ifdef DEBUG_PLAYBIN 2117 #ifdef DEBUG_PLAYBIN
2130 qDebug() << Q_FUNC_INFO; 2118 qDebug() << Q_FUNC_INFO;
2131 #endif 2119 #endif
@@ -2133,7 +2121,7 @@ index 87b71d7..03185a2 100644
2133 m_everPlayed = false; 2121 m_everPlayed = false;
2134 if (m_playbin) { 2122 if (m_playbin) {
2135 m_pendingState = QMediaPlayer::PlayingState; 2123 m_pendingState = QMediaPlayer::PlayingState;
2136@@ -1335,8 +1382,11 @@ void QGstreamerPlayerSession::getStreamsInfo() 2124@@ -1327,8 +1374,11 @@ void QGstreamerPlayerSession::getStreamsInfo()
2137 default: 2125 default:
2138 break; 2126 break;
2139 } 2127 }
@@ -2146,7 +2134,7 @@ index 87b71d7..03185a2 100644
2146 gchar *languageCode = 0; 2134 gchar *languageCode = 0;
2147 if (gst_tag_list_get_string(tags, GST_TAG_LANGUAGE_CODE, &languageCode)) 2135 if (gst_tag_list_get_string(tags, GST_TAG_LANGUAGE_CODE, &languageCode))
2148 streamProperties[QMediaMetaData::Language] = QString::fromUtf8(languageCode); 2136 streamProperties[QMediaMetaData::Language] = QString::fromUtf8(languageCode);
2149@@ -1375,7 +1425,11 @@ void QGstreamerPlayerSession::updateVideoResolutionTag() 2137@@ -1367,7 +1417,11 @@ void QGstreamerPlayerSession::updateVideoResolutionTag()
2150 QSize aspectRatio; 2138 QSize aspectRatio;
2151 2139
2152 GstPad *pad = gst_element_get_static_pad(m_videoIdentity, "src"); 2140 GstPad *pad = gst_element_get_static_pad(m_videoIdentity, "src");
@@ -2158,7 +2146,7 @@ index 87b71d7..03185a2 100644
2158 2146
2159 if (caps) { 2147 if (caps) {
2160 const GstStructure *structure = gst_caps_get_structure(caps, 0); 2148 const GstStructure *structure = gst_caps_get_structure(caps, 0);
2161@@ -1419,7 +1473,11 @@ void QGstreamerPlayerSession::updateDuration() 2149@@ -1411,7 +1465,11 @@ void QGstreamerPlayerSession::updateDuration()
2162 gint64 gstDuration = 0; 2150 gint64 gstDuration = 0;
2163 int duration = -1; 2151 int duration = -1;
2164 2152
@@ -2170,7 +2158,7 @@ index 87b71d7..03185a2 100644
2170 duration = gstDuration / 1000000; 2158 duration = gstDuration / 1000000;
2171 2159
2172 if (m_duration != duration) { 2160 if (m_duration != duration) {
2173@@ -1475,7 +1533,11 @@ void QGstreamerPlayerSession::playbinNotifySource(GObject *o, GParamSpec *p, gpo 2161@@ -1467,7 +1525,11 @@ void QGstreamerPlayerSession::playbinNotifySource(GObject *o, GParamSpec *p, gpo
2174 2162
2175 // The rest 2163 // The rest
2176 if (g_object_class_find_property(G_OBJECT_GET_CLASS(source), "extra-headers") != 0) { 2164 if (g_object_class_find_property(G_OBJECT_GET_CLASS(source), "extra-headers") != 0) {
@@ -2182,7 +2170,7 @@ index 87b71d7..03185a2 100644
2182 2170
2183 foreach (const QByteArray &rawHeader, self->m_request.rawHeaderList()) { 2171 foreach (const QByteArray &rawHeader, self->m_request.rawHeaderList()) {
2184 if (rawHeader == userAgentString) // Filter User-Agent 2172 if (rawHeader == userAgentString) // Filter User-Agent
2185@@ -1630,7 +1692,11 @@ GstAutoplugSelectResult QGstreamerPlayerSession::handleAutoplugSelect(GstBin *bi 2173@@ -1623,7 +1685,11 @@ GstAutoplugSelectResult QGstreamerPlayerSession::handleAutoplugSelect(GstBin *bi
2186 const gchar *factoryName = gst_plugin_feature_get_name(GST_PLUGIN_FEATURE(factory)); 2174 const gchar *factoryName = gst_plugin_feature_get_name(GST_PLUGIN_FEATURE(factory));
2187 if (g_str_has_prefix(factoryName, "vaapi")) { 2175 if (g_str_has_prefix(factoryName, "vaapi")) {
2188 GstPad *sinkPad = gst_element_get_static_pad(session->m_videoSink, "sink"); 2176 GstPad *sinkPad = gst_element_get_static_pad(session->m_videoSink, "sink");
@@ -2194,7 +2182,7 @@ index 87b71d7..03185a2 100644
2194 2182
2195 #if (GST_VERSION_MAJOR == 0) && ((GST_VERSION_MINOR < 10) || (GST_VERSION_MICRO < 33)) 2183 #if (GST_VERSION_MAJOR == 0) && ((GST_VERSION_MINOR < 10) || (GST_VERSION_MICRO < 33))
2196 if (!factory_can_src_any_caps(factory, sinkCaps)) 2184 if (!factory_can_src_any_caps(factory, sinkCaps))
2197@@ -1659,14 +1725,19 @@ void QGstreamerPlayerSession::handleElementAdded(GstBin *bin, GstElement *elemen 2185@@ -1652,14 +1718,19 @@ void QGstreamerPlayerSession::handleElementAdded(GstBin *bin, GstElement *elemen
2198 // Disable on-disk buffering. 2186 // Disable on-disk buffering.
2199 g_object_set(G_OBJECT(element), "temp-template", NULL, NULL); 2187 g_object_set(G_OBJECT(element), "temp-template", NULL, NULL);
2200 } else if (g_str_has_prefix(elementName, "uridecodebin") || 2188 } else if (g_str_has_prefix(elementName, "uridecodebin") ||
@@ -2216,7 +2204,7 @@ index 87b71d7..03185a2 100644
2216 } 2204 }
2217 2205
2218 //listen for queue2 element added to uridecodebin/decodebin2 as well. 2206 //listen for queue2 element added to uridecodebin/decodebin2 as well.
2219@@ -1734,7 +1805,27 @@ void QGstreamerPlayerSession::removeProbe(QGstreamerVideoProbeControl* probe) 2207@@ -1727,7 +1798,27 @@ void QGstreamerPlayerSession::removeProbe(QGstreamerVideoProbeControl* probe)
2220 // Assume user releases any outstanding references to video frames. 2208 // Assume user releases any outstanding references to video frames.
2221 } 2209 }
2222 2210
@@ -2245,7 +2233,7 @@ index 87b71d7..03185a2 100644
2245 { 2233 {
2246 Q_UNUSED(pad); 2234 Q_UNUSED(pad);
2247 2235
2248@@ -1749,6 +1840,7 @@ gboolean QGstreamerPlayerSession::padVideoBufferProbe(GstPad *pad, GstBuffer *bu 2236@@ -1742,6 +1833,7 @@ gboolean QGstreamerPlayerSession::padVideoBufferProbe(GstPad *pad, GstBuffer *bu
2249 2237
2250 return TRUE; 2238 return TRUE;
2251 } 2239 }
@@ -2253,7 +2241,7 @@ index 87b71d7..03185a2 100644
2253 2241
2254 void QGstreamerPlayerSession::addProbe(QGstreamerAudioProbeControl* probe) 2242 void QGstreamerPlayerSession::addProbe(QGstreamerAudioProbeControl* probe)
2255 { 2243 {
2256@@ -1766,6 +1858,24 @@ void QGstreamerPlayerSession::removeProbe(QGstreamerAudioProbeControl* probe) 2244@@ -1759,6 +1851,24 @@ void QGstreamerPlayerSession::removeProbe(QGstreamerAudioProbeControl* probe)
2257 m_audioProbes.removeOne(probe); 2245 m_audioProbes.removeOne(probe);
2258 } 2246 }
2259 2247
@@ -2278,7 +2266,7 @@ index 87b71d7..03185a2 100644
2278 gboolean QGstreamerPlayerSession::padAudioBufferProbe(GstPad *pad, GstBuffer *buffer, gpointer user_data) 2266 gboolean QGstreamerPlayerSession::padAudioBufferProbe(GstPad *pad, GstBuffer *buffer, gpointer user_data)
2279 { 2267 {
2280 Q_UNUSED(pad); 2268 Q_UNUSED(pad);
2281@@ -1781,7 +1891,7 @@ gboolean QGstreamerPlayerSession::padAudioBufferProbe(GstPad *pad, GstBuffer *bu 2269@@ -1774,7 +1884,7 @@ gboolean QGstreamerPlayerSession::padAudioBufferProbe(GstPad *pad, GstBuffer *bu
2282 2270
2283 return TRUE; 2271 return TRUE;
2284 } 2272 }
@@ -2287,7 +2275,7 @@ index 87b71d7..03185a2 100644
2287 // This function is similar to stop(), 2275 // This function is similar to stop(),
2288 // but does not set m_everPlayed, m_lastPosition, 2276 // but does not set m_everPlayed, m_lastPosition,
2289 // and setSeekable() values. 2277 // and setSeekable() values.
2290@@ -1814,7 +1924,11 @@ void QGstreamerPlayerSession::removeVideoBufferProbe() 2278@@ -1807,7 +1917,11 @@ void QGstreamerPlayerSession::removeVideoBufferProbe()
2291 2279
2292 GstPad *pad = gst_element_get_static_pad(m_videoSink, "sink"); 2280 GstPad *pad = gst_element_get_static_pad(m_videoSink, "sink");
2293 if (pad) { 2281 if (pad) {
@@ -2299,7 +2287,7 @@ index 87b71d7..03185a2 100644
2299 gst_object_unref(GST_OBJECT(pad)); 2287 gst_object_unref(GST_OBJECT(pad));
2300 } 2288 }
2301 2289
2302@@ -1829,7 +1943,11 @@ void QGstreamerPlayerSession::addVideoBufferProbe() 2290@@ -1822,7 +1936,11 @@ void QGstreamerPlayerSession::addVideoBufferProbe()
2303 2291
2304 GstPad *pad = gst_element_get_static_pad(m_videoSink, "sink"); 2292 GstPad *pad = gst_element_get_static_pad(m_videoSink, "sink");
2305 if (pad) { 2293 if (pad) {
@@ -2311,7 +2299,7 @@ index 87b71d7..03185a2 100644
2311 gst_object_unref(GST_OBJECT(pad)); 2299 gst_object_unref(GST_OBJECT(pad));
2312 } 2300 }
2313 } 2301 }
2314@@ -1846,7 +1964,11 @@ void QGstreamerPlayerSession::removeAudioBufferProbe() 2302@@ -1839,7 +1957,11 @@ void QGstreamerPlayerSession::removeAudioBufferProbe()
2315 2303
2316 GstPad *pad = gst_element_get_static_pad(m_audioSink, "sink"); 2304 GstPad *pad = gst_element_get_static_pad(m_audioSink, "sink");
2317 if (pad) { 2305 if (pad) {
@@ -2323,7 +2311,7 @@ index 87b71d7..03185a2 100644
2323 gst_object_unref(GST_OBJECT(pad)); 2311 gst_object_unref(GST_OBJECT(pad));
2324 } 2312 }
2325 2313
2326@@ -1861,7 +1983,11 @@ void QGstreamerPlayerSession::addAudioBufferProbe() 2314@@ -1854,7 +1976,11 @@ void QGstreamerPlayerSession::addAudioBufferProbe()
2327 2315
2328 GstPad *pad = gst_element_get_static_pad(m_audioSink, "sink"); 2316 GstPad *pad = gst_element_get_static_pad(m_audioSink, "sink");
2329 if (pad) { 2317 if (pad) {
@@ -2335,7 +2323,7 @@ index 87b71d7..03185a2 100644
2335 gst_object_unref(GST_OBJECT(pad)); 2323 gst_object_unref(GST_OBJECT(pad));
2336 } 2324 }
2337 } 2325 }
2338@@ -1894,7 +2020,7 @@ void QGstreamerPlayerSession::playlistTypeFindFunction(GstTypeFind *find, gpoint 2326@@ -1887,7 +2013,7 @@ void QGstreamerPlayerSession::playlistTypeFindFunction(GstTypeFind *find, gpoint
2339 length = qMin(length, guint64(1024)); 2327 length = qMin(length, guint64(1024));
2340 2328
2341 while (length > 0) { 2329 while (length > 0) {
@@ -2345,10 +2333,10 @@ index 87b71d7..03185a2 100644
2345 session->m_isPlaylist = (QPlaylistFileParser::findPlaylistType(QString::fromUtf8(uri), 0, data, length) != QPlaylistFileParser::UNKNOWN); 2333 session->m_isPlaylist = (QPlaylistFileParser::findPlaylistType(QString::fromUtf8(uri), 0, data, length) != QPlaylistFileParser::UNKNOWN);
2346 return; 2334 return;
2347diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h 2335diff --git a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h
2348index 23e7031..707779b 100644 2336index f2e760a..50bda3d 100644
2349--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h 2337--- a/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h
2350+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h 2338+++ b/src/plugins/gstreamer/mediaplayer/qgstreamerplayersession.h
2351@@ -127,11 +127,19 @@ public: 2339@@ -119,11 +119,19 @@ public:
2352 2340
2353 void addProbe(QGstreamerVideoProbeControl* probe); 2341 void addProbe(QGstreamerVideoProbeControl* probe);
2354 void removeProbe(QGstreamerVideoProbeControl* probe); 2342 void removeProbe(QGstreamerVideoProbeControl* probe);
@@ -2368,7 +2356,7 @@ index 23e7031..707779b 100644
2368 2356
2369 void endOfMediaReset(); 2357 void endOfMediaReset();
2370 2358
2371@@ -260,6 +268,7 @@ private: 2359@@ -252,6 +260,7 @@ private:
2372 bool m_isLiveSource; 2360 bool m_isLiveSource;
2373 2361
2374 bool m_isPlaylist; 2362 bool m_isPlaylist;
@@ -2377,5 +2365,5 @@ index 23e7031..707779b 100644
2377 2365
2378 QT_END_NAMESPACE 2366 QT_END_NAMESPACE
2379-- 2367--
23802.1.1 23682.1.3
2381 2369
diff --git a/recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch b/recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch
index 23c400ca..1654e00d 100644
--- a/recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch
+++ b/recipes-qt/qt5/qtmultimedia/0002-qtmultimedia.pro-Respect-OE_GSTREAMER_ENABLED-OE_GST.patch
@@ -1,4 +1,4 @@
1From 5b6ff7fc6a102c9dc00ba947efbe000f34addbd5 Mon Sep 17 00:00:00 2001 1From b5c058f62a79efa213e4492ac7209b3a92f45e3b Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 5 Jul 2014 09:10:02 +0200 3Date: Sat, 5 Jul 2014 09:10:02 +0200
4Subject: [PATCH 2/2] qtmultimedia.pro: Respect 4Subject: [PATCH 2/2] qtmultimedia.pro: Respect
@@ -49,5 +49,5 @@ index 109dd81..54b67a8 100644
49 cache(GST_VERSION, set, gstver); 49 cache(GST_VERSION, set, gstver);
50 # Force a re-run of the test 50 # Force a re-run of the test
51-- 51--
522.1.1 522.1.3
53 53
diff --git a/recipes-qt/qt5/qtmultimedia_5.3.2.bb b/recipes-qt/qt5/qtmultimedia_5.3.2.bb
deleted file mode 100644
index 658a630e..00000000
--- a/recipes-qt/qt5/qtmultimedia_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "5ef68e85b9d32865a4bf7f491ff31f96"
5SRC_URI[sha256sum] = "255fac66c93f33743c707da3d41d95c7c562924fe4eb829cbb7b21b2274a0e0b"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtmultimedia_5.4.0.bb b/recipes-qt/qt5/qtmultimedia_5.4.0.bb
new file mode 100644
index 00000000..0fc982a1
--- /dev/null
+++ b/recipes-qt/qt5/qtmultimedia_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "3a6a415813b54a54cf283a5e2906e012"
5SRC_URI[sha256sum] = "5ab9dba27ae64123f2d0124b6884da276d8982aa959d65aa44125f758ef9af51"
diff --git a/recipes-qt/qt5/qtmultimedia_git.bb b/recipes-qt/qt5/qtmultimedia_git.bb
index 65a83a02..9bfad280 100644
--- a/recipes-qt/qt5/qtmultimedia_git.bb
+++ b/recipes-qt/qt5/qtmultimedia_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "59f2bf186400241c62a02044265d9ecab81c1749" 4SRCREV = "59f2bf186400241c62a02044265d9ecab81c1749"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtquick1.inc b/recipes-qt/qt5/qtquick1.inc
index a9ec211c..e507636a 100644
--- a/recipes-qt/qt5/qtquick1.inc
+++ b/recipes-qt/qt5/qtquick1.inc
@@ -2,3 +2,6 @@ require qt5.inc
2 2
3DEPENDS += "qtscript qtsvg qtxmlpatterns qtwebkit" 3DEPENDS += "qtscript qtsvg qtxmlpatterns qtwebkit"
4# qttools 4# qttools
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtquick1_5.3.2.bb b/recipes-qt/qt5/qtquick1_5.3.2.bb
deleted file mode 100644
index dfc08cf4..00000000
--- a/recipes-qt/qt5/qtquick1_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "3a57c52d6d4d6632d67a4ebd35abe0c5"
5SRC_URI[sha256sum] = "9b7b2e895180e4e3e1ed4e7b5ad049b7d021a05c96be6edc5fc433c6de6273fb"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtquick1_5.4.0.bb b/recipes-qt/qt5/qtquick1_5.4.0.bb
new file mode 100644
index 00000000..8ea6d6e3
--- /dev/null
+++ b/recipes-qt/qt5/qtquick1_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "c1c5b1072137773d308c8b498cf35d05"
5SRC_URI[sha256sum] = "d5a8b77c1c4832383f3c5a39c6dc60e992e61e684e7fbbdf9a208c31d9d032dc"
diff --git a/recipes-qt/qt5/qtquick1_git.bb b/recipes-qt/qt5/qtquick1_git.bb
index 54cc9907..5b24af5e 100644
--- a/recipes-qt/qt5/qtquick1_git.bb
+++ b/recipes-qt/qt5/qtquick1_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "1f92491bd95abc642dcd882846884a5271c8ba16" 4SRCREV = "1f92491bd95abc642dcd882846884a5271c8ba16"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtquickcontrols.inc b/recipes-qt/qt5/qtquickcontrols.inc
index 2ced3c21..89bda5ed 100644
--- a/recipes-qt/qt5/qtquickcontrols.inc
+++ b/recipes-qt/qt5/qtquickcontrols.inc
@@ -3,3 +3,6 @@ require qt5.inc
3DEPENDS += "qtdeclarative" 3DEPENDS += "qtdeclarative"
4 4
5RDEPENDS_${PN}-dev = "" 5RDEPENDS_${PN}-dev = ""
6
7LICENSE += "| GPL-2.0"
8LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtquickcontrols_5.3.2.bb b/recipes-qt/qt5/qtquickcontrols_5.3.2.bb
deleted file mode 100644
index 575bf164..00000000
--- a/recipes-qt/qt5/qtquickcontrols_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "05f490fd6a7d3bca0c4d4a59989daef0"
5SRC_URI[sha256sum] = "5f890f014d087141b0aaa8954b21b1f85740233b60a556e0e9624227bff6d94e"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtquickcontrols_5.4.0.bb b/recipes-qt/qt5/qtquickcontrols_5.4.0.bb
new file mode 100644
index 00000000..e70b8437
--- /dev/null
+++ b/recipes-qt/qt5/qtquickcontrols_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "6d2b408526b6197ff2edc32ac3238252"
5SRC_URI[sha256sum] = "b59f43333291c3e73f9a9f92706a4c98d4d810b4efd6803a4edd3f1658fae61e"
diff --git a/recipes-qt/qt5/qtquickcontrols_git.bb b/recipes-qt/qt5/qtquickcontrols_git.bb
index 2e3b8b38..aba3d573 100644
--- a/recipes-qt/qt5/qtquickcontrols_git.bb
+++ b/recipes-qt/qt5/qtquickcontrols_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "3704a616dfabb71ebd3ffc64f8efe32931c82a8b" 4SRCREV = "3704a616dfabb71ebd3ffc64f8efe32931c82a8b"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtscript.inc b/recipes-qt/qt5/qtscript.inc
index bbb05a65..40e1d5c3 100644
--- a/recipes-qt/qt5/qtscript.inc
+++ b/recipes-qt/qt5/qtscript.inc
@@ -1,3 +1,6 @@
1require qt5.inc 1require qt5.inc
2 2
3DEPENDS += "qtbase" 3DEPENDS += "qtbase"
4
5LICENSE += "| GPL-2.0"
6LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtscript_5.3.2.bb b/recipes-qt/qt5/qtscript_5.3.2.bb
deleted file mode 100644
index 604e3759..00000000
--- a/recipes-qt/qt5/qtscript_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "d0e70adf7c993f33bad27290dae778d5"
5SRC_URI[sha256sum] = "6e18002c8c993402c7d28b3c0705092e41c18769b6d3ff741e9a3b3ce9d6d7be"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtscript_5.4.0.bb b/recipes-qt/qt5/qtscript_5.4.0.bb
new file mode 100644
index 00000000..a4755bc6
--- /dev/null
+++ b/recipes-qt/qt5/qtscript_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "b38b35643d85aea25ff1cbea84f76a82"
5SRC_URI[sha256sum] = "f5f35702ec36f24b17878348af1aa1ecf93056a9ddf475097b3fdd52c3330ed0"
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb
index 8ef7f1df..94ee7fdc 100644
--- a/recipes-qt/qt5/qtscript_git.bb
+++ b/recipes-qt/qt5/qtscript_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "2bb2ebef4c86c588c3041569ffb090041ffc6b04" 4SRCREV = "2bb2ebef4c86c588c3041569ffb090041ffc6b04"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtsensors.inc b/recipes-qt/qt5/qtsensors.inc
index b2147f16..3bd9289a 100644
--- a/recipes-qt/qt5/qtsensors.inc
+++ b/recipes-qt/qt5/qtsensors.inc
@@ -1,3 +1,6 @@
1require qt5.inc 1require qt5.inc
2 2
3DEPENDS += "qtbase qtdeclarative" 3DEPENDS += "qtbase qtdeclarative"
4
5LICENSE += "| GPL-2.0"
6LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtsensors_5.3.2.bb b/recipes-qt/qt5/qtsensors_5.3.2.bb
deleted file mode 100644
index cc4a0c5f..00000000
--- a/recipes-qt/qt5/qtsensors_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "d0a8dc3173bfc9dc9f2632d509a76e6f"
5SRC_URI[sha256sum] = "f9359dc42fbd7105eec7a1fb866e90aa772fd694075e5a5691d1a31d08953ae4"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtsensors_5.4.0.bb b/recipes-qt/qt5/qtsensors_5.4.0.bb
new file mode 100644
index 00000000..24846361
--- /dev/null
+++ b/recipes-qt/qt5/qtsensors_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "044f7d3f92c45dd76072077826ca4a07"
5SRC_URI[sha256sum] = "8a0f33ccf572b9fbcdc46fca602d75270979a2f851b6a1f399d039b1f7aae159"
diff --git a/recipes-qt/qt5/qtsensors_git.bb b/recipes-qt/qt5/qtsensors_git.bb
index 289b3d90..d0a347d7 100644
--- a/recipes-qt/qt5/qtsensors_git.bb
+++ b/recipes-qt/qt5/qtsensors_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "ff98a9a27a18e6a48afa705e5cd84bd9461ad554" 4SRCREV = "ff98a9a27a18e6a48afa705e5cd84bd9461ad554"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtserialport.inc b/recipes-qt/qt5/qtserialport.inc
index d559677e..8bb168e2 100644
--- a/recipes-qt/qt5/qtserialport.inc
+++ b/recipes-qt/qt5/qtserialport.inc
@@ -1,9 +1,11 @@
1require qt5.inc 1require qt5.inc
2 2
3# whitespace change in LGPL_EXCEPTION.txt and a bit different formating in LICENSE.LGPL
4LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c \
5 file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa \
6 file://LGPL_EXCEPTION.txt;md5=eb6c371255e1262c55ae9b652a90b528\
7"
8
9DEPENDS += "qtbase" 3DEPENDS += "qtbase"
4
5# text of LGPL_EXCEPTION.txt and LICENSE.FDL is slightly different than what
6# other qt* components use :/
7LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
8 file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
9 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
10 file://LGPL_EXCEPTION.txt;md5=eb6c371255e1262c55ae9b652a90b528 \
11 file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa"
diff --git a/recipes-qt/qt5/qtserialport_5.3.2.bb b/recipes-qt/qt5/qtserialport_5.3.2.bb
deleted file mode 100644
index 1f1126d9..00000000
--- a/recipes-qt/qt5/qtserialport_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "0a38cfe5c81364f2b93d0d38b94d375f"
5SRC_URI[sha256sum] = "a886e0cb08be60e57958676dc91c6f649468184a03c89c2aeabc904d36fd5a4b"
diff --git a/recipes-qt/qt5/qtserialport_5.4.0.bb b/recipes-qt/qt5/qtserialport_5.4.0.bb
new file mode 100644
index 00000000..3058fdd9
--- /dev/null
+++ b/recipes-qt/qt5/qtserialport_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "691b0b71e4ad791a37e288b41979662c"
5SRC_URI[sha256sum] = "0fc619ef714f5b920ff19ec811b6459c849fafcc697ef4091dbb74e45bd058c3"
diff --git a/recipes-qt/qt5/qtserialport_git.bb b/recipes-qt/qt5/qtserialport_git.bb
index f3807afb..adafefb4 100644
--- a/recipes-qt/qt5/qtserialport_git.bb
+++ b/recipes-qt/qt5/qtserialport_git.bb
@@ -2,11 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "ab51ad6a5f4e533c31bd8e5b6f16a3bcd09a3ee6" 4SRCREV = "ab51ad6a5f4e533c31bd8e5b6f16a3bcd09a3ee6"
5
6# text of LGPL_EXCEPTION.txt and LICENSE.FDL is slightly different than what
7# other qt* components use :/
8LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
9 file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
10 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
11 file://LGPL_EXCEPTION.txt;md5=eb6c371255e1262c55ae9b652a90b528 \
12 file://LICENSE.FDL;md5=3801d7932fdc07fd9efe89f9854a6caa"
diff --git a/recipes-qt/qt5/qtsvg.inc b/recipes-qt/qt5/qtsvg.inc
index bbb05a65..40e1d5c3 100644
--- a/recipes-qt/qt5/qtsvg.inc
+++ b/recipes-qt/qt5/qtsvg.inc
@@ -1,3 +1,6 @@
1require qt5.inc 1require qt5.inc
2 2
3DEPENDS += "qtbase" 3DEPENDS += "qtbase"
4
5LICENSE += "| GPL-2.0"
6LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtsvg_5.3.2.bb b/recipes-qt/qt5/qtsvg_5.3.2.bb
deleted file mode 100644
index 286cd92d..00000000
--- a/recipes-qt/qt5/qtsvg_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "f7972e80970ff26a908c43defb3d10e6"
5SRC_URI[sha256sum] = "1ec5c2f307ee55740cc8c82dc2ca4037dbc0ca398b4e32abbd967535e71ae30f"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtsvg_5.4.0.bb b/recipes-qt/qt5/qtsvg_5.4.0.bb
new file mode 100644
index 00000000..6b12200a
--- /dev/null
+++ b/recipes-qt/qt5/qtsvg_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "1c9921a44060bd98096b105c97556e68"
5SRC_URI[sha256sum] = "68ee762bacc7b63aea29f446549ee6daae46e6fe2120e2460f30d47accc2b789"
diff --git a/recipes-qt/qt5/qtsvg_git.bb b/recipes-qt/qt5/qtsvg_git.bb
index e2c04104..7940ee58 100644
--- a/recipes-qt/qt5/qtsvg_git.bb
+++ b/recipes-qt/qt5/qtsvg_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "78dcdd807c06009460a949a7015b63f0f75ac61b" 4SRCREV = "78dcdd807c06009460a949a7015b63f0f75ac61b"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtsystems.inc b/recipes-qt/qt5/qtsystems.inc
index 4170eb25..cd2438f3 100644
--- a/recipes-qt/qt5/qtsystems.inc
+++ b/recipes-qt/qt5/qtsystems.inc
@@ -2,9 +2,13 @@ require qt5.inc
2 2
3DEPENDS += "qtbase qtdeclarative udev bluez4 gconf" 3DEPENDS += "qtbase qtdeclarative udev bluez4 gconf"
4 4
5LICENSE = "BSD & LGPL-2.1 & GFDL-1.3"
6
7do_install_append() { 5do_install_append() {
8 # Remove example.pro file as it is useless 6 # Remove example.pro file as it is useless
9 rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro 7 rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro
10} 8}
9
10LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
11LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
12 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
13 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
14 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtsystems_5.3.2+git.bb b/recipes-qt/qt5/qtsystems_5.3.2+git.bb
deleted file mode 100644
index a99a91b6..00000000
--- a/recipes-qt/qt5/qtsystems_5.3.2+git.bb
+++ /dev/null
@@ -1,20 +0,0 @@
1require qt5-git.inc
2require ${PN}.inc
3
4# LICENSE files are missing in 5.0.0
5LIC_FILES_CHKSUM = "file://${S}/src/imports/systeminfo/qsysteminfo.cpp;endline=40;md5=f28e1baba502dda6849d69d5c24e7356 \
6 file://${S}/examples/systeminfo/qml-storageinfo/content/ProgressBar.qml;endline=39;md5=5213e8171c07d54db7107f29ac2f7b5e \
7 file://${S}/doc/src/systeminfo/systeminfo.qdoc;endline=26;md5=757f4eda130ceff3ca0985dde715af07 \
8"
9
10# this wasn't released, the PV is set just to signify that this SRCREV was tested together
11# with 5.3.2 version of other modules
12PV = "5.3.2"
13DEFAULT_PREFERENCE = "1"
14
15QT_MODULE_BRANCH = "5.3"
16
17# qtsystems wasn't released yet, last tag before this SRCREV is 5.0.0-beta1
18# qt5-git PV is only to indicate that this recipe is compatible with qt5 5.3.2
19
20SRCREV = "aa651c73bf7bc57c1b6b1bfcfa9afe901884a102"
diff --git a/recipes-qt/qt5/qtsystems_5.4.0+git.bb b/recipes-qt/qt5/qtsystems_5.4.0+git.bb
new file mode 100644
index 00000000..5814cf74
--- /dev/null
+++ b/recipes-qt/qt5/qtsystems_5.4.0+git.bb
@@ -0,0 +1,14 @@
1require qt5-git.inc
2require ${PN}.inc
3
4# this wasn't released, the PV is set just to signify that this SRCREV was tested together
5# with 5.4.0 version of other modules
6PV = "5.4.0"
7DEFAULT_PREFERENCE = "1"
8
9QT_MODULE_BRANCH = "dev"
10
11# qtsystems wasn't released yet, last tag before this SRCREV is 5.0.0-beta1
12# qt5-git PV is only to indicate that this recipe is compatible with qt5 5.4.0
13
14SRCREV = "44f70d99a2ecd5f3f320650461f1d69142d11bcc"
diff --git a/recipes-qt/qt5/qtsystems_git.bb b/recipes-qt/qt5/qtsystems_git.bb
index 4762d8f8..320bc7f9 100644
--- a/recipes-qt/qt5/qtsystems_git.bb
+++ b/recipes-qt/qt5/qtsystems_git.bb
@@ -7,8 +7,3 @@ QT_MODULE_BRANCH = "dev"
7# qt5-git PV is only to indicate that this recipe is compatible with qt5 5.4 7# qt5-git PV is only to indicate that this recipe is compatible with qt5 5.4
8 8
9SRCREV = "3a0216301ad1338126abb326e8e4c22c6ea12f40" 9SRCREV = "3a0216301ad1338126abb326e8e4c22c6ea12f40"
10
11LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
12 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
13 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
14 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qttools-native.inc b/recipes-qt/qt5/qttools-native.inc
index 28fa3f83..03b88cd1 100644
--- a/recipes-qt/qt5/qttools-native.inc
+++ b/recipes-qt/qt5/qttools-native.inc
@@ -13,9 +13,3 @@ do_configure() {
13do_install() { 13do_install() {
14 oe_runmake install INSTALL_ROOT=${D} 14 oe_runmake install INSTALL_ROOT=${D}
15} 15}
16
17# older copyright year than what e.g. qtbase is using now
18LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
19 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
20 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
21 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qttools-native_5.3.2.bb b/recipes-qt/qt5/qttools-native_5.3.2.bb
deleted file mode 100644
index 3efed85d..00000000
--- a/recipes-qt/qt5/qttools-native_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "9074cc89bc52aea7f76a4d231d2f0ef6"
5SRC_URI[sha256sum] = "5d39cdc63d43ae1f954517e517d9a5c24f2b2c91e22dab3ae6b5b81deb49983e"
diff --git a/recipes-qt/qt5/nativesdk-qttools_5.3.2.bb b/recipes-qt/qt5/qttools-native_5.4.0.bb
index 3efed85d..3efed85d 100644
--- a/recipes-qt/qt5/nativesdk-qttools_5.3.2.bb
+++ b/recipes-qt/qt5/qttools-native_5.4.0.bb
diff --git a/recipes-qt/qt5/qttools-native_git.bb b/recipes-qt/qt5/qttools-native_git.bb
index ceb972be..7c6905a6 100644
--- a/recipes-qt/qt5/qttools-native_git.bb
+++ b/recipes-qt/qt5/qttools-native_git.bb
@@ -2,8 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "7e7d549d26028ff407a9a3d260955f95b403a406" 4SRCREV = "7e7d549d26028ff407a9a3d260955f95b403a406"
5
6LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
7 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
8 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
9 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qttools.inc b/recipes-qt/qt5/qttools.inc
index cd8a97f2..8c97e249 100644
--- a/recipes-qt/qt5/qttools.inc
+++ b/recipes-qt/qt5/qttools.inc
@@ -7,12 +7,6 @@ SRC_URI += " \
7 file://0003-add-noqtwebkit-configuration.patch \ 7 file://0003-add-noqtwebkit-configuration.patch \
8" 8"
9 9
10# older copyright year than what e.g. qtbase is using now
11LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
12 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
13 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
14 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
15
16FILES_${PN}-examples = "${datadir}/${QT_DIR_NAME}/examples" 10FILES_${PN}-examples = "${datadir}/${QT_DIR_NAME}/examples"
17 11
18PACKAGECONFIG ??= "" 12PACKAGECONFIG ??= ""
diff --git a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
index 5cebe258..e4ad2210 100644
--- a/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
+++ b/recipes-qt/qt5/qttools/0001-Allow-to-build-only-lrelease-lupdate-lconvert.patch
@@ -1,4 +1,4 @@
1From 7bd3f1feea0ec1121a73faa1214e72702954b317 Mon Sep 17 00:00:00 2001 1From ff3f521648906d07ddc1e1aecaddadb95b0314f3 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.jansa@gmail.com> 2From: Martin Jansa <Martin.jansa@gmail.com>
3Date: Wed, 11 Sep 2013 18:30:08 +0200 3Date: Wed, 11 Sep 2013 18:30:08 +0200
4Subject: [PATCH 1/3] Allow to build only lrelease + lupdate + lconvert 4Subject: [PATCH 1/3] Allow to build only lrelease + lupdate + lconvert
@@ -11,23 +11,24 @@ Upstream-Status: Pending
11 11
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13--- 13---
14 examples/examples.pro | 4 ++-- 14 examples/examples.pro | 3 ++-
15 src/designer/src/src.pro | 16 +++++++++------- 15 src/designer/src/src.pro | 16 +++++++++-------
16 src/linguist/linguist.pro | 2 +- 16 src/linguist/linguist.pro | 2 +-
17 src/src.pro | 14 ++++++++------ 17 src/src.pro | 14 ++++++++------
18 tests/auto/auto.pro | 24 +++++++++++++----------- 18 tests/auto/auto.pro | 24 +++++++++++++-----------
19 5 files changed, 33 insertions(+), 27 deletions(-) 19 5 files changed, 33 insertions(+), 26 deletions(-)
20 20
21diff --git a/examples/examples.pro b/examples/examples.pro 21diff --git a/examples/examples.pro b/examples/examples.pro
22index 4955969..8e86419 100644 22index 69365d1..da7b38b 100644
23--- a/examples/examples.pro 23--- a/examples/examples.pro
24+++ b/examples/examples.pro 24+++ b/examples/examples.pro
25@@ -1,3 +1,3 @@ 25@@ -1,4 +1,5 @@
26 TEMPLATE = subdirs 26 TEMPLATE = subdirs
27-qtHaveModule(widgets): SUBDIRS += help designer linguist uitools assistant 27-qtHaveModule(widgets): SUBDIRS += help designer linguist uitools assistant
28-
29+!linguistonly:qtHaveModule(widgets): SUBDIRS += help designer assistant 28+!linguistonly:qtHaveModule(widgets): SUBDIRS += help designer assistant
30+qtHaveModule(widgets): SUBDIRS += linguist uitools 29+qtHaveModule(widgets): SUBDIRS += linguist uitools
30
31 winrt: SUBDIRS -= assistant designer
31diff --git a/src/designer/src/src.pro b/src/designer/src/src.pro 32diff --git a/src/designer/src/src.pro b/src/designer/src/src.pro
32index e02ca8e..49527c5 100644 33index e02ca8e..49527c5 100644
33--- a/src/designer/src/src.pro 34--- a/src/designer/src/src.pro
@@ -74,7 +75,7 @@ index 3a70580..a977878 100644
74 qtNomakeTools( \ 75 qtNomakeTools( \
75 linguist \ 76 linguist \
76diff --git a/src/src.pro b/src/src.pro 77diff --git a/src/src.pro b/src/src.pro
77index a486d65..3aeac1e 100644 78index 722b32e..9453152 100644
78--- a/src/src.pro 79--- a/src/src.pro
79+++ b/src/src.pro 80+++ b/src/src.pro
80@@ -4,10 +4,12 @@ qtHaveModule(widgets) { 81@@ -4,10 +4,12 @@ qtHaveModule(widgets) {
@@ -110,14 +111,14 @@ index a486d65..3aeac1e 100644
110+!linguistonly:qtHaveModule(dbus): SUBDIRS += qdbus 111+!linguistonly:qtHaveModule(dbus): SUBDIRS += qdbus
111 112
112 win32|winrt:SUBDIRS += windeployqt 113 win32|winrt:SUBDIRS += windeployqt
113 winrt:SUBDIRS += winrtrunner qtd3dservice 114 winrt:SUBDIRS += winrtrunner
114-qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag 115-qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
115+!linguistonly:qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag 116+!linguistonly:qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
116 117
117 qtNomakeTools( \ 118 qtNomakeTools( \
118 pixeltool \ 119 pixeltool \
119diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro 120diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
120index c3acfe3..f2f88f7 100644 121index df240e3..27ee687 100644
121--- a/tests/auto/auto.pro 122--- a/tests/auto/auto.pro
122+++ b/tests/auto/auto.pro 123+++ b/tests/auto/auto.pro
123@@ -1,15 +1,17 @@ 124@@ -1,15 +1,17 @@
@@ -150,5 +151,5 @@ index c3acfe3..f2f88f7 100644
150 installed_cmake.depends = cmake 151 installed_cmake.depends = cmake
151 152
152-- 153--
1532.1.1 1542.1.3
154 155
diff --git a/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch b/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
index d25904e6..5cc317ce 100644
--- a/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
+++ b/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
@@ -1,4 +1,4 @@
1From a74f00b2a64dde326a78f7523f875d7e14ee45f5 Mon Sep 17 00:00:00 2001 1From 20dd8d70eb3db17173eb3965e757711cc694de2a Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Fri, 17 Jan 2014 14:33:19 +0100 3Date: Fri, 17 Jan 2014 14:33:19 +0100
4Subject: [PATCH 2/3] assistant/help: fix linking of dependent libraries 4Subject: [PATCH 2/3] assistant/help: fix linking of dependent libraries
@@ -28,5 +28,5 @@ index 168d23d..a9c3b59 100644
28+ 28+
29+LIBS += -lQt5CLucene 29+LIBS += -lQt5CLucene
30-- 30--
312.1.1 312.1.3
32 32
diff --git a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch
index 98a0bc69..bf5957bc 100644
--- a/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch
+++ b/recipes-qt/qt5/qttools/0003-add-noqtwebkit-configuration.patch
@@ -1,4 +1,4 @@
1From 7388296f5219725801aeb9d8b0a2f4ba01a7ca6d Mon Sep 17 00:00:00 2001 1From 1d8bf41acc2235528f1d08505cf2dc8afd793aef Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 4 Jun 2014 11:28:16 +0200 3Date: Wed, 4 Jun 2014 11:28:16 +0200
4Subject: [PATCH 3/3] add noqtwebkit configuration 4Subject: [PATCH 3/3] add noqtwebkit configuration
@@ -47,5 +47,5 @@ index 500a153..b60fa2d 100644
47 win32: qtHaveModule(axcontainer): SUBDIRS += activeqt 47 win32: qtHaveModule(axcontainer): SUBDIRS += activeqt
48 qtHaveModule(quickwidgets): SUBDIRS += qquickwidget 48 qtHaveModule(quickwidgets): SUBDIRS += qquickwidget
49-- 49--
502.1.1 502.1.3
51 51
diff --git a/recipes-qt/qt5/qttools_5.3.2.bb b/recipes-qt/qt5/qttools_5.3.2.bb
deleted file mode 100644
index 3efed85d..00000000
--- a/recipes-qt/qt5/qttools_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "9074cc89bc52aea7f76a4d231d2f0ef6"
5SRC_URI[sha256sum] = "5d39cdc63d43ae1f954517e517d9a5c24f2b2c91e22dab3ae6b5b81deb49983e"
diff --git a/recipes-qt/qt5/qttools_5.4.0.bb b/recipes-qt/qt5/qttools_5.4.0.bb
new file mode 100644
index 00000000..f9384e94
--- /dev/null
+++ b/recipes-qt/qt5/qttools_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "3de5923257b365526856094d7da0ad85"
5SRC_URI[sha256sum] = "5a85a096ffd30463781dc3871ad9640a510eba0086188c7943d23adc3660741a"
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb
index ceb972be..7c6905a6 100644
--- a/recipes-qt/qt5/qttools_git.bb
+++ b/recipes-qt/qt5/qttools_git.bb
@@ -2,8 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "7e7d549d26028ff407a9a3d260955f95b403a406" 4SRCREV = "7e7d549d26028ff407a9a3d260955f95b403a406"
5
6LIC_FILES_CHKSUM = "file://LICENSE.LGPLv21;md5=cff17b12416c896e10ae2c17a64252e7 \
7 file://LICENSE.LGPLv3;md5=c1939be5579666be947371bc8120425f \
8 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
9 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtwayland-native.inc b/recipes-qt/qt5/qtwayland-native.inc
index bddcc220..95deeb70 100644
--- a/recipes-qt/qt5/qtwayland-native.inc
+++ b/recipes-qt/qt5/qtwayland-native.inc
@@ -4,6 +4,9 @@ QT_MODULE = "${BPN}"
4 4
5DEPENDS = "qtbase-native wayland-native" 5DEPENDS = "qtbase-native wayland-native"
6 6
7SRC_URI[md5sum] = "736fddb5f2018d57c8439455df9ec4dc"
8SRC_URI[sha256sum] = "601ef7f2e9145a084da34ff06dfa77577c4a792a639581d3bbb7417e8cd36f29"
9
7SRC_URI += " \ 10SRC_URI += " \
8 file://0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch \ 11 file://0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch \
9" 12"
@@ -16,7 +19,7 @@ do_install() {
16 oe_runmake install INSTALL_ROOT=${D} 19 oe_runmake install INSTALL_ROOT=${D}
17} 20}
18 21
19# older copyright year than what e.g. qtbase is using now 22LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
20LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ 23LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
21 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ 24 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
22 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ 25 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
diff --git a/recipes-qt/qt5/qtwayland-native_5.3.2+git.bb b/recipes-qt/qt5/qtwayland-native_5.3.2+git.bb
deleted file mode 100644
index e7808100..00000000
--- a/recipes-qt/qt5/qtwayland-native_5.3.2+git.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1require qt5-git.inc
2require ${PN}.inc
3
4SRCREV = "98dca3b54f52f08117c1e0d3a1b4826ed12ef23f"
5
6# this wasn't released, the PV is set just to signify that this SRCREV was tested together
7# with 5.3.2 version of other modules
8PV = "5.3.2"
9DEFAULT_PREFERENCE = "1"
diff --git a/recipes-qt/qt5/qtwayland-native_5.4.0.bb b/recipes-qt/qt5/qtwayland-native_5.4.0.bb
new file mode 100644
index 00000000..c2a4453c
--- /dev/null
+++ b/recipes-qt/qt5/qtwayland-native_5.4.0.bb
@@ -0,0 +1,2 @@
1require qt5-${PV}.inc
2require ${PN}.inc
diff --git a/recipes-qt/qt5/qtwayland.inc b/recipes-qt/qt5/qtwayland.inc
index dc6be236..2f1cf2d1 100644
--- a/recipes-qt/qt5/qtwayland.inc
+++ b/recipes-qt/qt5/qtwayland.inc
@@ -25,7 +25,7 @@ FILES_${PN}-plugins-dbg += " \
25 ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \ 25 ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug/* \
26" 26"
27 27
28# older copyright year than what e.g. qtbase is using now 28LICENSE = "GFDL-1.3 & LGPL-2.1 | GPL-3.0"
29LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ 29LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
30 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \ 30 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
31 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \ 31 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
diff --git a/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch b/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch
index e224e55e..ae3d998f 100644
--- a/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch
+++ b/recipes-qt/qt5/qtwayland/0001-Install-the-qtwaylandscanner-tool-to-the-native-side.patch
@@ -1,4 +1,4 @@
1From fd79724a05ee7fb52d8ac1b02057e7a1ba4efb14 Mon Sep 17 00:00:00 2001 1From 99c49a3304c1d08d164e0df252ca85f426381bb7 Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de> 2From: Simon Busch <morphis@gravedo.de>
3Date: Fri, 19 Jul 2013 13:35:14 +0000 3Date: Fri, 19 Jul 2013 13:35:14 +0000
4Subject: [PATCH] Install the qtwaylandscanner tool to the native side 4Subject: [PATCH] Install the qtwaylandscanner tool to the native side
@@ -28,5 +28,5 @@ index ac2d07b..7a46a24 100644
28+target.path = $$[QT_HOST_BINS] 28+target.path = $$[QT_HOST_BINS]
29+INSTALLS += target 29+INSTALLS += target
30-- 30--
312.1.1 312.1.3
32 32
diff --git a/recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch b/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch
index 1b46f9bc..664fa3f9 100644
--- a/recipes-qt/qt5/qtwayland/0001-examples.pro-include-server-buffer-only-when-buildin.patch
+++ b/recipes-qt/qt5/qtwayland/0001-examples-wayland-include-server-buffer-only-when-bui.patch
@@ -1,22 +1,22 @@
1From 6e554b116bfe57744a3de02370fd96b9ea13ecb2 Mon Sep 17 00:00:00 2001 1From cd1e17e8c6082fe8578d64baaff55f1f00c0f7a0 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 22 Feb 2014 17:47:44 +0100 3Date: Sat, 22 Feb 2014 17:47:44 +0100
4Subject: [PATCH] examples.pro: include server-buffer only when building with 4Subject: [PATCH] examples/wayland: include server-buffer only when building
5 opengles2 5 with opengles2
6 6
7* it's using glBindBuffer in 7* it's using glBindBuffer in
8 server-buffer/client/serverbufferrenderer.cpp 8 server-buffer/client/serverbufferrenderer.cpp
9 9
10Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11Change-Id: I8412dfd4ebb95c147328ac6e4dfff14a0cff4e78 10Change-Id: I8412dfd4ebb95c147328ac6e4dfff14a0cff4e78
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12--- 12---
13 examples/examples.pro | 4 +++- 13 examples/wayland/wayland.pro | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-) 14 1 file changed, 3 insertions(+), 1 deletion(-)
15 15
16diff --git a/examples/examples.pro b/examples/examples.pro 16diff --git a/examples/wayland/wayland.pro b/examples/wayland/wayland.pro
17index d633fb9..643c7cd 100644 17index d633fb9..643c7cd 100644
18--- a/examples/examples.pro 18--- a/examples/wayland/wayland.pro
19+++ b/examples/examples.pro 19+++ b/examples/wayland/wayland.pro
20@@ -9,5 +9,7 @@ contains(CONFIG, wayland-compositor) { 20@@ -9,5 +9,7 @@ contains(CONFIG, wayland-compositor) {
21 SUBDIRS += qml-compositor 21 SUBDIRS += qml-compositor
22 } 22 }
@@ -27,5 +27,5 @@ index d633fb9..643c7cd 100644
27+ } 27+ }
28 } 28 }
29-- 29--
302.1.1 302.1.3
31 31
diff --git a/recipes-qt/qt5/qtwayland_5.3.2+git.bb b/recipes-qt/qt5/qtwayland_5.4.0.bb
index bfbeab18..99d9ba5c 100644
--- a/recipes-qt/qt5/qtwayland_5.3.2+git.bb
+++ b/recipes-qt/qt5/qtwayland_5.4.0.bb
@@ -1,18 +1,13 @@
1require qt5-git.inc 1require qt5-${PV}.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "98dca3b54f52f08117c1e0d3a1b4826ed12ef23f" 4SRC_URI[md5sum] = "736fddb5f2018d57c8439455df9ec4dc"
5SRC_URI[sha256sum] = "601ef7f2e9145a084da34ff06dfa77577c4a792a639581d3bbb7417e8cd36f29"
5 6
6SRC_URI += " \ 7SRC_URI += " \
7 file://0001-examples.pro-include-server-buffer-only-when-buildin.patch \ 8 file://0001-examples-wayland-include-server-buffer-only-when-bui.patch \
8" 9"
9 10QT_VERSION ?= "5.4.0"
10# this wasn't released, the PV is set just to signify that this SRCREV was tested together
11# with 5.3.2 version of other modules
12PV = "5.3.2"
13DEFAULT_PREFERENCE = "1"
14
15QT_VERSION ?= "5.3.0"
16 11
17do_install_append() { 12do_install_append() {
18 # do install files created by qtwaylandscanner 13 # do install files created by qtwaylandscanner
diff --git a/recipes-qt/qt5/qtwebengine.inc b/recipes-qt/qt5/qtwebengine.inc
index 940fdfb1..525e6570 100644
--- a/recipes-qt/qt5/qtwebengine.inc
+++ b/recipes-qt/qt5/qtwebengine.inc
@@ -1,8 +1,8 @@
1SUMMARY = "QtWebEngine combines the power of Chromium and Qt" 1SUMMARY = "QtWebEngine combines the power of Chromium and Qt"
2LICENSE = "LGPL-2.1 & BSD" 2LICENSE = "LGPL-2.1 & BSD"
3LIC_FILES_CHKSUM = " \ 3LIC_FILES_CHKSUM = " \
4 file://src/core/browser_context_qt.cpp;md5=c23e24b6a534c8b6cc879a397b35db29;beginline=1;endline=40 \ 4 file://src/core/browser_context_qt.cpp;md5=91895ac1852e1b07202d9716194e8dd8;beginline=1;endline=35 \
5 file://src/3rdparty/chromium/LICENSE;md5=d2d164565cc10f298390174d9cb6d18d \ 5 file://src/3rdparty/chromium/LICENSE;md5=537e0b52077bf0a616d0a0c8a79bc9d5 \
6" 6"
7DEPENDS += " \ 7DEPENDS += " \
8 ninja-native \ 8 ninja-native \
@@ -23,8 +23,6 @@ inherit perlnative
23 23
24require recipes-qt/qt5/qt5.inc 24require recipes-qt/qt5/qt5.inc
25 25
26S = "${WORKDIR}/git"
27
28# To avoid trouble start with not separated build directory 26# To avoid trouble start with not separated build directory
29SEPB = "${S}" 27SEPB = "${S}"
30B = "${SEPB}" 28B = "${SEPB}"
@@ -32,6 +30,8 @@ B = "${SEPB}"
32# Project ERROR: Missing CMake tests. Either create tests in tests/auto/cmake, or disable cmake config file creation with CONFIG-=create_cmake. 30# Project ERROR: Missing CMake tests. Either create tests in tests/auto/cmake, or disable cmake config file creation with CONFIG-=create_cmake.
33EXTRA_QMAKEVARS_POST += "CONFIG-=create_cmake" 31EXTRA_QMAKEVARS_POST += "CONFIG-=create_cmake"
34 32
33export NINJA_PATH="${STAGING_BINDIR_NATIVE}/ninja"
34
35do_configure() { 35do_configure() {
36 # replace LD with CXX, to workaround a possible gyp inheritssue? 36 # replace LD with CXX, to workaround a possible gyp inheritssue?
37 LD="${CXX}" export LD 37 LD="${CXX}" export LD
@@ -42,7 +42,7 @@ do_configure() {
42 42
43 # qmake can't find the OE_QMAKE_* variables on it's own so directly passing them as 43 # qmake can't find the OE_QMAKE_* variables on it's own so directly passing them as
44 # arguments here 44 # arguments here
45 ${OE_QMAKE_QMAKE} -r ${EXTRA_QMAKEVARS_PRE} QTWEBENGINE_ROOT="${S}" NINJA_PATH="${STAGING_BINDIR_NATIVE}/ninja" \ 45 ${OE_QMAKE_QMAKE} -r ${EXTRA_QMAKEVARS_PRE} QTWEBENGINE_ROOT="${S}" \
46 QMAKE_CXX="${OE_QMAKE_CXX}" QMAKE_CC="${OE_QMAKE_CC}" \ 46 QMAKE_CXX="${OE_QMAKE_CXX}" QMAKE_CC="${OE_QMAKE_CC}" \
47 QMAKE_LINK="${OE_QMAKE_LINK}" \ 47 QMAKE_LINK="${OE_QMAKE_LINK}" \
48 QMAKE_CFLAGS="${OE_QMAKE_CFLAGS}" \ 48 QMAKE_CFLAGS="${OE_QMAKE_CFLAGS}" \
diff --git a/recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch b/recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch
deleted file mode 100644
index 915d3e82..00000000
--- a/recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From a6802bc4528205a9d3839a1f22d4fca32154f5f0 Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de>
3Date: Fri, 20 Jun 2014 09:09:12 +0200
4Subject: [PATCH 1/6] Use ninja supplied by environment variable NINJA_PATH
5
6Signed-off-by: Simon Busch <morphis@gravedo.de>
7---
8 tools/qmake/mkspecs/features/functions.prf | 14 ++------------
9 1 file changed, 2 insertions(+), 12 deletions(-)
10
11diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
12index 4dcd8ed..8725fd2 100644
13--- a/tools/qmake/mkspecs/features/functions.prf
14+++ b/tools/qmake/mkspecs/features/functions.prf
15@@ -84,16 +84,6 @@ defineReplace(which) {
16 }
17
18 defineReplace(findOrBuildNinja) {
19- git_chromium_src_dir = $$system("git config qtwebengine.chromiumsrcdir")
20- # Fall back to the snapshot path if git does not know about chromium sources (i.e. init-repository.py has not been used)
21- isEmpty(git_chromium_src_dir): git_chromium_src_dir = "src/3rdparty/chromium"
22-
23- out = $$absolute_path("$$git_chromium_src_dir/../ninja/ninja", "$$QTWEBENGINE_ROOT")
24- win32: out = $$system_path($${out}.exe)
25-
26- # If we did not find ninja, then we bootstrap it.
27- !exists($$out) {
28- system("python $$dirname(out)/bootstrap.py")
29- }
30- return($$out)
31+ message(Using ninja from path $$NINJA_PATH)
32+ return($$NINJA_PATH)
33 }
34--
352.1.1
36
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-Drop-build-time-only-dependency-on-x11-libr.patch b/recipes-qt/qt5/qtwebengine/0001-chromium-Drop-build-time-only-dependency-on-x11-libr.patch
deleted file mode 100644
index abd351a6..00000000
--- a/recipes-qt/qt5/qtwebengine/0001-chromium-Drop-build-time-only-dependency-on-x11-libr.patch
+++ /dev/null
@@ -1,139 +0,0 @@
1From 0c59430e6b919d4ffec80bfa6b50b9ce9953ac21 Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de>
3Date: Fri, 20 Jun 2014 09:05:12 +0200
4Subject: [PATCH 1/2] <chromium> Drop build time only dependency on x11
5 libraries
6
7Signed-off-by: Simon Busch <morphis@gravedo.de>
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9---
10 chromium/build/linux/system.gyp | 114 ----------------------------------------
11 1 file changed, 114 deletions(-)
12
13diff --git a/src/3rdparty/chromium/build/linux/system.gyp b/src/3rdparty/chromium/build/linux/system.gyp
14index 9911317..85016b8 100644
15--- a/src/3rdparty/chromium/build/linux/system.gyp
16+++ b/src/3rdparty/chromium/build/linux/system.gyp
17@@ -786,119 +786,5 @@
18 }],
19 ],
20 },
21- {
22- 'target_name': 'x11',
23- 'type': 'none',
24- 'toolsets': ['host', 'target'],
25- 'conditions': [
26- ['_toolset=="target"', {
27- 'direct_dependent_settings': {
28- 'cflags': [
29- '<!@(<(pkg-config) --cflags x11)',
30- ],
31- },
32- 'link_settings': {
33- 'ldflags': [
34- '<!@(<(pkg-config) --libs-only-L --libs-only-other x11 xi)',
35- ],
36- 'libraries': [
37- '<!@(<(pkg-config) --libs-only-l x11 xi)',
38- ],
39- },
40- }, {
41- 'direct_dependent_settings': {
42- 'cflags': [
43- '<!@(pkg-config --cflags x11)',
44- ],
45- },
46- 'link_settings': {
47- 'ldflags': [
48- '<!@(pkg-config --libs-only-L --libs-only-other x11 xi)',
49- ],
50- 'libraries': [
51- '<!@(pkg-config --libs-only-l x11 xi)',
52- ],
53- },
54- }],
55- ],
56- },
57- {
58- 'target_name': 'xext',
59- 'type': 'none',
60- 'conditions': [
61- ['_toolset=="target"', {
62- 'direct_dependent_settings': {
63- 'cflags': [
64- '<!@(<(pkg-config) --cflags xext)',
65- ],
66- },
67- 'link_settings': {
68- 'ldflags': [
69- '<!@(<(pkg-config) --libs-only-L --libs-only-other xext)',
70- ],
71- 'libraries': [
72- '<!@(<(pkg-config) --libs-only-l xext)',
73- ],
74- },
75- }],
76- ],
77- },
78- {
79- 'target_name': 'xfixes',
80- 'type': 'none',
81- 'conditions': [
82- ['_toolset=="target"', {
83- 'direct_dependent_settings': {
84- 'cflags': [
85- '<!@(<(pkg-config) --cflags xfixes)',
86- ],
87- },
88- 'link_settings': {
89- 'ldflags': [
90- '<!@(<(pkg-config) --libs-only-L --libs-only-other xfixes)',
91- ],
92- 'libraries': [
93- '<!@(<(pkg-config) --libs-only-l xfixes)',
94- ],
95- },
96- }],
97- ],
98- },
99- {
100- 'target_name': 'xrandr',
101- 'type': 'none',
102- 'toolsets': ['host', 'target'],
103- 'conditions': [
104- ['_toolset=="target"', {
105- 'direct_dependent_settings': {
106- 'cflags': [
107- '<!@(<(pkg-config) --cflags xrandr)',
108- ],
109- },
110- 'link_settings': {
111- 'ldflags': [
112- '<!@(<(pkg-config) --libs-only-L --libs-only-other xrandr)',
113- ],
114- 'libraries': [
115- '<!@(<(pkg-config) --libs-only-l xrandr)',
116- ],
117- },
118- }, {
119- 'direct_dependent_settings': {
120- 'cflags': [
121- '<!@(pkg-config --cflags xrandr)',
122- ],
123- },
124- 'link_settings': {
125- 'ldflags': [
126- '<!@(pkg-config --libs-only-L --libs-only-other xrandr)',
127- ],
128- 'libraries': [
129- '<!@(pkg-config --libs-only-l xrandr)',
130- ],
131- },
132- }],
133- ],
134- },
135 ],
136 }
137--
1382.0.0
139
diff --git a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch
index d0437147..4587219e 100644
--- a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch
@@ -1,8 +1,8 @@
1From 7266e333c6568fec1e2ebbf0c2d68c4025397b2d Mon Sep 17 00:00:00 2001 1From 41f9b2c1521950e1e3e1f01260f18e698d948814 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 30 Jun 2014 20:08:17 +0200 3Date: Mon, 30 Jun 2014 20:08:17 +0200
4Subject: [PATCH 2/6] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H 4Subject: [PATCH 1/3] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H
5 anywhere in patch, but at the end 5 anywhere in path, but at the end
6 6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8--- 8---
@@ -10,10 +10,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10 1 file changed, 2 insertions(+), 2 deletions(-) 10 1 file changed, 2 insertions(+), 2 deletions(-)
11 11
12diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf 12diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
13index 8725fd2..15c2941 100644 13index acf15a8..08b2642 100644
14--- a/tools/qmake/mkspecs/features/functions.prf 14--- a/tools/qmake/mkspecs/features/functions.prf
15+++ b/tools/qmake/mkspecs/features/functions.prf 15+++ b/tools/qmake/mkspecs/features/functions.prf
16@@ -40,8 +40,8 @@ defineReplace(findIncludedMocFiles) { 16@@ -84,8 +84,8 @@ defineReplace(findIncludedMocFiles) {
17 defineReplace(mocOutput) { 17 defineReplace(mocOutput) {
18 out = $$1 18 out = $$1
19 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one 19 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one
@@ -25,5 +25,5 @@ index 8725fd2..15c2941 100644
25 } 25 }
26 26
27-- 27--
282.1.1 282.1.3
29 29
diff --git a/recipes-qt/qt5/qtwebengine/0002-chromium-Strip-unwanted-echo-compiling-prefix-from-C.patch b/recipes-qt/qt5/qtwebengine/0002-chromium-Strip-unwanted-echo-compiling-prefix-from-C.patch
deleted file mode 100644
index 0cbe7aa4..00000000
--- a/recipes-qt/qt5/qtwebengine/0002-chromium-Strip-unwanted-echo-compiling-prefix-from-C.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From faaba972642f1966b4e38394b022d79de114c71e Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de>
3Date: Fri, 20 Jun 2014 19:04:14 +0200
4Subject: [PATCH 2/2] <chromium> Strip unwanted "@echo compiling &&" prefix
5 from ${CC}
6
7Causes problems when called from a perl script:
8
9@echo compiling && arm-webos-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/morphis/work/wop/webos-ports/tmp-eglibc/sysroots/tenderloinCan't exec "@echo": No such file or directory at /home/morphis/work/wop/webos-ports/tmp-eglibc/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/IPC/Open3.pm line 288.
10open2: exec of @echo compiling && arm-webos-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon --sysroot=/home/morphis/work/wop/webos-ports/tmp-eglibc/sysroots/tenderloin -E -P -x c++ -DENABLE_CUSTOM_SCHEME_HANDLER=0 -DENABLE_SVG_FONTS=1 -DENABLE_GDI_FONTS_ON_WINDOWS=0 -DENABLE_HARFBUZZ_ON_WINDOWS=1 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_INPUT_SPEECH=1 -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 -DENABLE_LEGACY_NOTIFICATIONS=1 -DENABLE_MEDIA_CAPTURE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=1 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_WEB_AUDIO=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DENABLE_OPENTYPE_VERTICAL=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 css/html.css failed at ../build/scripts/preprocessor.pm line 81
11Traceback (most recent call last):
12 File "../build/scripts/action_useragentstylesheets.py", line 124, in <module>
13 sys.exit(main(sys.argv))
14 File "../build/scripts/action_useragentstylesheets.py", line 118, in main
15 assert returnCode == 0
16AssertionError
17
18Signed-off-by: Simon Busch <morphis@gravedo.de>
19Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
20---
21 .../WebKit/Source/build/scripts/action_useragentstylesheets.py | 3 +++
22 1 file changed, 3 insertions(+)
23
24diff --git a/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/action_useragentstylesheets.py b/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/action_useragentstylesheets.py
25index c0712b3..8460637 100644
26--- a/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/action_useragentstylesheets.py
27+++ b/src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/action_useragentstylesheets.py
28@@ -112,6 +112,9 @@ def main(args):
29 command.extend([outputH, outputCpp])
30 command.extend(styleSheets)
31
32+ if os.environ["CC"].startswith("@echo"):
33+ os.environ["CC"] = os.environ["CC"].replace("@echo compiling &&", "")
34+
35 # Do it. check_call is new in 2.5, so simulate its behavior with call and
36 # assert.
37 returnCode = subprocess.call(command)
38--
392.0.0
40
diff --git a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch
new file mode 100644
index 00000000..58218a56
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch
@@ -0,0 +1,29 @@
1From b36aeace50dc429cccbb9b84a6e538ebcd12ade9 Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de>
3Date: Tue, 18 Nov 2014 10:38:18 +0100
4Subject: [PATCH 2/3] functions.prf: Make sure we only use the file name to
5 generate it's moc'ed abbreviation
6
7Signed-off-by: Simon Busch <morphis@gravedo.de>
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9---
10 tools/qmake/mkspecs/features/functions.prf | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
14index 08b2642..0123336 100644
15--- a/tools/qmake/mkspecs/features/functions.prf
16+++ b/tools/qmake/mkspecs/features/functions.prf
17@@ -82,7 +82,8 @@ defineReplace(findIncludedMocFiles) {
18 }
19
20 defineReplace(mocOutput) {
21- out = $$1
22+ in = $$1
23+ out = $$basename(in)
24 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one
25 out = $$replace(out, ^(.*)($$join(QMAKE_EXT_CPP,|))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC})
26 out = $$replace(out, ^(.*)($$join(QMAKE_EXT_H,|))$, $${QMAKE_H_MOD_MOC}\\1$${first(QMAKE_EXT_CPP)})
27--
282.1.3
29
diff --git a/recipes-qt/qt5/qtwebengine/0003-chromium-base.gypi-include-atomicops_internals_x86_gcc.cc-whe.patch b/recipes-qt/qt5/qtwebengine/0003-chromium-base.gypi-include-atomicops_internals_x86_gcc.cc-whe.patch
deleted file mode 100644
index 1cf12424..00000000
--- a/recipes-qt/qt5/qtwebengine/0003-chromium-base.gypi-include-atomicops_internals_x86_gcc.cc-whe.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 9ad77853050ccd2102fe4c9ad0671b82554ce4c1 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Fri, 3 Oct 2014 03:52:11 +0200
4Subject: [PATCH] base.gypi: include atomicops_internals_x86_gcc.cc when
5 building for x64 arch
6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8---
9 chromium/base/base.gypi | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/3rdparty/chromium/base/base.gypi b/src/3rdparty/chromium/base/base.gypi
13index a5a990a..af30cfa 100644
14--- a/src/3rdparty/chromium/base/base.gypi
15+++ b/src/3rdparty/chromium/base/base.gypi
16@@ -745,7 +745,7 @@
17 ['include', '^nix/'],
18 ],
19 }],
20- ['use_qt==1 and target_arch=="ia32"', {
21+ ['use_qt==1 and target_arch=="ia32" or target_arch=="x64"', {
22 'sources/': [
23 ['include', 'atomicops_internals_x86_gcc.cc'],
24 ],
25--
262.1.1
27
diff --git a/recipes-qt/qt5/qtwebengine/0003-functions.prf-Try-to-add-_moc-suffix.patch b/recipes-qt/qt5/qtwebengine/0003-functions.prf-Try-to-add-_moc-suffix.patch
deleted file mode 100644
index 2e2c177e..00000000
--- a/recipes-qt/qt5/qtwebengine/0003-functions.prf-Try-to-add-_moc-suffix.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 8e540a678a796d78ff9a98986d747afbca7f63be Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Tue, 1 Jul 2014 15:58:16 +0200
4Subject: [PATCH 3/6] functions.prf: Try to add _moc suffix
5
6* otherwise moc generated files have the same basename and do_configure fails with:
7 core_generated.gyp:QtWebEngineCore#target has several files with the same basename:
8 | javascript_dialog_controller: javascript_dialog_controller.cpp
9 | /OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/qtwebengine/0.9.99+gitAUTOINC+21f6ce84ec-r0/git/src/core/.moc/moc_/OE/build/oe-core/tmp-eglibc/work/i586-oe-linux/qtwebengine/0.9.99+gitAUTOI.moc+21f6ce84ec-r0/git/src/core/javascript_dialog_controller.cpp
10 ...
11
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13---
14 tools/qmake/mkspecs/features/functions.prf | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
18index 15c2941..78b1190 100644
19--- a/tools/qmake/mkspecs/features/functions.prf
20+++ b/tools/qmake/mkspecs/features/functions.prf
21@@ -40,8 +40,8 @@ defineReplace(findIncludedMocFiles) {
22 defineReplace(mocOutput) {
23 out = $$1
24 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one
25- out = $$replace(out, ^(.*)($$join(QMAKE_EXT_CPP,|))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC})
26- out = $$replace(out, ^(.*)($$join(QMAKE_EXT_H,|))$, $${QMAKE_H_MOD_MOC}\\1$${first(QMAKE_EXT_CPP)})
27+ out = $$replace(out, ^(.*)($$join(QMAKE_EXT_CPP,|))$, $${QMAKE_CPP_MOD_MOC}\\1_moc$${QMAKE_EXT_CPP_MOC})
28+ out = $$replace(out, ^(.*)($$join(QMAKE_EXT_H,|))$, $${QMAKE_H_MOD_MOC}\\1_moc$${first(QMAKE_EXT_CPP)})
29 return($$out)
30 }
31
32--
332.1.1
34
diff --git a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch
new file mode 100644
index 00000000..b19556ff
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch
@@ -0,0 +1,29 @@
1From 69e05cdc9000a1962101b2859d0ae3d77bb751d7 Mon Sep 17 00:00:00 2001
2From: Frieder Schrempf <frieder.schrempf@online.de>
3Date: Mon, 1 Dec 2014 14:34:40 +0000
4Subject: [PATCH 3/3] functions.prf: allow build for linux-oe-g++ platform
5
6Upstream-Status: Inappropriate [OE specific]
7
8Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de>
9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10---
11 tools/qmake/mkspecs/features/functions.prf | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
15index 0123336..5cea82a 100644
16--- a/tools/qmake/mkspecs/features/functions.prf
17+++ b/tools/qmake/mkspecs/features/functions.prf
18@@ -7,7 +7,7 @@ defineTest(isPlatformSupported) {
19
20 linux-g++*:!isGCCVersionSupported():return(false)
21 !isPythonVersionSupported(): return(false)
22- linux-g++*|win32-msvc2013|macx-clang: return(true)
23+ linux-g++*|linux-oe-g++*|win32-msvc2013|macx-clang: return(true)
24 boot2qt: return(true)
25
26 warning("Qt WebEngine can currently only be built for Linux (GCC), Windows (MSVC 2013), OS X (XCode 5.1+) or Qt for Device Creation".)
27--
282.1.3
29
diff --git a/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch b/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch
deleted file mode 100644
index a3842ecd..00000000
--- a/recipes-qt/qt5/qtwebengine/0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From c99aed6ef28c4ac9c00024a40222331c0e682d28 Mon Sep 17 00:00:00 2001
2From: Andras Becsi <andras.becsi@digia.com>
3Date: Thu, 18 Sep 2014 18:22:37 +0200
4Subject: [PATCH 4/6] Set arm_tune to empty string if mtune flag is not set by
5 toolchain
6
7Since the default arm_tune option applied by chromium is not
8recognized by our gcc toolchain set arm_tune to empty string
9to prevent chromium from setting a default. Our toolchains
10set the arm version which already implies the corresponding
11mtune option anyway.
12
13Change-Id: I0291bd4f0e5706597d37f914e4eeefbd75397bbf
14Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
15---
16 src/core/gyp_run.pro | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
20index ed592e1..4845af2 100644
21--- a/src/core/gyp_run.pro
22+++ b/src/core/gyp_run.pro
23@@ -47,7 +47,7 @@ cross_compile {
24 !isEmpty(MARCH): GYP_ARGS += "-D arm_arch=\"$$MARCH\""
25
26 MTUNE = $$extractCFlag("-mtune=.*")
27- !isEmpty(MTUNE): GYP_ARGS += "-D arm_tune=\"$$MTUNE\""
28+ GYP_ARGS += "-D arm_tune=\"$$MTUNE\""
29
30 MFLOAT = $$extractCFlag("-mfloat-abi=.*")
31 !isEmpty(MFLOAT): GYP_ARGS += "-D arm_float_abi=\"$$MFLOAT\""
32--
332.1.1
34
diff --git a/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch b/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch
deleted file mode 100644
index 943f6715..00000000
--- a/recipes-qt/qt5/qtwebengine/0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 1331c66c937f1c3e10e193932db2037dc38434e9 Mon Sep 17 00:00:00 2001
2From: Jonathan Liu <net147@gmail.com>
3Date: Wed, 15 Oct 2014 17:02:16 +1100
4Subject: [PATCH 5/6] Fix ARM NEON detection for -mfpu=neon-vfpv4
5
6Upstream-Status: Backport
7
8Change-Id: I972d3560d6aa2640a2702f219cf802d2476b1c6e
9Reviewed-by: Andras Becsi <andras.becsi@digia.com>
10Signed-off-by: Jonathan Liu <net147@gmail.com>
11---
12 src/core/gyp_run.pro | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
16index 4845af2..66e97f4 100644
17--- a/src/core/gyp_run.pro
18+++ b/src/core/gyp_run.pro
19@@ -64,7 +64,7 @@ cross_compile {
20 # If the toolchain does not explicitly specify to use NEON instructions
21 # we use arm_neon_optional for ARMv7 and newer and let chromium decide
22 # about the mfpu option.
23- contains(MFPU, "neon"): GYP_ARGS += "-D arm_fpu=\"$$MFPU\" -D arm_neon=1"
24+ contains(MFPU, "neon")|contains(MFPU, "neon-vfpv4"): GYP_ARGS += "-D arm_fpu=\"$$MFPU\" -D arm_neon=1"
25 else:!lessThan(MARMV, 7): GYP_ARGS += "-D arm_neon=0 -D arm_neon_optional=1"
26 else: GYP_ARGS += "-D arm_fpu=\"$$MFPU\" -D arm_neon=0 -D arm_neon_optional=0"
27 }
28--
292.1.1
30
diff --git a/recipes-qt/qt5/qtwebengine/0006-Include-QMAKE_CC-when-extracting-C-compiler-flags.patch b/recipes-qt/qt5/qtwebengine/0006-Include-QMAKE_CC-when-extracting-C-compiler-flags.patch
deleted file mode 100644
index 920dd91b..00000000
--- a/recipes-qt/qt5/qtwebengine/0006-Include-QMAKE_CC-when-extracting-C-compiler-flags.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From d242c15eb961fbdee69c0a0989cd100d174a25db Mon Sep 17 00:00:00 2001
2From: Jonathan Liu <net147@gmail.com>
3Date: Wed, 15 Oct 2014 17:01:06 +1100
4Subject: [PATCH 6/6] Include QMAKE_CC when extracting C compiler flags
5
6This fixes cross-compile settings detection for cross-compilation
7environments where the C compiler cross-compilation flags are set in
8CC/QMAKE_CC instead of CFLAGS/QMAKE_CFLAGS (e.g. OpenEmbedded).
9
10Upstream-Status: Backport
11
12Change-Id: I0a7b0f6c47a00775ec18073a16359c8351363285
13Reviewed-by: Andras Becsi <andras.becsi@digia.com>
14Signed-off-by: Jonathan Liu <net147@gmail.com>
15---
16 tools/qmake/mkspecs/features/functions.prf | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
20index 78b1190..37dd615 100644
21--- a/tools/qmake/mkspecs/features/functions.prf
22+++ b/tools/qmake/mkspecs/features/functions.prf
23@@ -14,7 +14,7 @@ defineReplace(getConfigDir) {
24 }
25
26 defineReplace(extractCFlag) {
27- CFLAGS = $$QMAKE_CFLAGS
28+ CFLAGS = $$QMAKE_CC $$QMAKE_CFLAGS
29 !isEmpty(ANDROID_TARGET_CFLAGS): CFLAGS = $$ANDROID_TARGET_CFLAGS
30 OPTION = $$find(CFLAGS, $$1)
31 OPTION = $$split(OPTION, =)
32--
332.1.1
34
diff --git a/recipes-qt/qt5/qtwebengine_5.3.2+git.bb b/recipes-qt/qt5/qtwebengine_5.3.2+git.bb
deleted file mode 100644
index 99150e01..00000000
--- a/recipes-qt/qt5/qtwebengine_5.3.2+git.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1require qt5-git.inc
2require ${PN}.inc
3
4# this wasn't released, the PV is set just to signify that this SRCREV was tested together
5# with 5.3.2 version of other modules
6PV = "5.3.2"
7DEFAULT_PREFERENCE = "1"
8
9QT_MODULE_BRANCH = "1.0"
10QT_MODULE_BRANCH_CHROMIUM = "33.0.1750.170-based"
11
12SRC_URI += " \
13 git://gitorious.org/qt/qtwebengine-chromium.git;name=chromium;branch=${QT_MODULE_BRANCH_CHROMIUM};destsuffix=git/src/3rdparty \
14 file://0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch \
15 file://0002-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \
16 file://0003-functions.prf-Try-to-add-_moc-suffix.patch \
17 file://0004-Set-arm_tune-to-empty-string-if-mtune-flag-is-not-se.patch \
18 file://0005-Fix-ARM-NEON-detection-for-mfpu-neon-vfpv4.patch \
19 file://0006-Include-QMAKE_CC-when-extracting-C-compiler-flags.patch \
20 file://0001-chromium-Drop-build-time-only-dependency-on-x11-libr.patch \
21 file://0002-chromium-Strip-unwanted-echo-compiling-prefix-from-C.patch \
22 file://0003-chromium-base.gypi-include-atomicops_internals_x86_gcc.cc-whe.patch \
23"
24SRCREV_qtwebengine = "21f6ce84ecca9a4ff2aa980b21d2e5174c78d14b"
25SRCREV_chromium = "1f3cc8c2618979b557d60ef1ad984a49dca83bff"
26SRCREV = "${SRCREV_qtwebengine}"
27
28SRCREV_FORMAT = "qtwebengine"
diff --git a/recipes-qt/qt5/qtwebengine_5.4.0.bb b/recipes-qt/qt5/qtwebengine_5.4.0.bb
new file mode 100644
index 00000000..85ac3979
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine_5.4.0.bb
@@ -0,0 +1,11 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "ec05c84be8b8d582d5321f0656c44005"
5SRC_URI[sha256sum] = "ab91a5c0d63f47de91310c8e56255ac1c8ec1b7f9c414cc7e040f72b28e4153b"
6
7SRC_URI += " \
8 file://0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch \
9 file://0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch \
10 file://0003-functions.prf-allow-build-for-linux-oe-g-platform.patch \
11"
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb
index aac966b1..f5699bc6 100644
--- a/recipes-qt/qt5/qtwebengine_git.bb
+++ b/recipes-qt/qt5/qtwebengine_git.bb
@@ -1,11 +1,6 @@
1require qt5-git.inc 1require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4LIC_FILES_CHKSUM = " \
5 file://src/core/browser_context_qt.cpp;md5=91895ac1852e1b07202d9716194e8dd8;beginline=1;endline=35 \
6 file://src/3rdparty/chromium/LICENSE;md5=537e0b52077bf0a616d0a0c8a79bc9d5 \
7"
8
9QT_MODULE_BRANCH = "5.4" 4QT_MODULE_BRANCH = "5.4"
10QT_MODULE_BRANCH_CHROMIUM = "37.0.2062-based" 5QT_MODULE_BRANCH_CHROMIUM = "37.0.2062-based"
11 6
@@ -20,3 +15,5 @@ SRCREV_chromium = "66388297cf2ca42049fb099237134ec33465e2f5"
20SRCREV = "${SRCREV_qtwebengine}" 15SRCREV = "${SRCREV_qtwebengine}"
21 16
22SRCREV_FORMAT = "qtwebengine" 17SRCREV_FORMAT = "qtwebengine"
18
19S = "${WORKDIR}/git"
diff --git a/recipes-qt/qt5/qtwebkit-examples.inc b/recipes-qt/qt5/qtwebkit-examples.inc
index 84f16a4e..5faf6f46 100644
--- a/recipes-qt/qt5/qtwebkit-examples.inc
+++ b/recipes-qt/qt5/qtwebkit-examples.inc
@@ -1,7 +1,8 @@
1require qt5.inc 1require qt5.inc
2 2
3LICENSE = "BSD & LGPLv2+" 3LICENSE = "BSD & LGPLv2+ | GPL-2.0"
4LIC_FILES_CHKSUM = "file://examples/webkitwidgets/scroller/wheel/main.cpp;endline=112;md5=6f92d041824c63426993c8ce3ae0eb77 \ 4LIC_FILES_CHKSUM = "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
5 file://examples/webkitwidgets/scroller/wheel/main.cpp;endline=112;md5=6f92d041824c63426993c8ce3ae0eb77 \
5 file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=223;md5=13ffb472fefe4bdf6464954a22251f35" 6 file://examples/webkitwidgets/imageanalyzer/imageanalyzer.cpp;endline=223;md5=13ffb472fefe4bdf6464954a22251f35"
6 7
7SRC_URI += " \ 8SRC_URI += " \
diff --git a/recipes-qt/qt5/qtwebkit-examples_5.3.2.bb b/recipes-qt/qt5/qtwebkit-examples_5.3.2.bb
deleted file mode 100644
index 9c93c203..00000000
--- a/recipes-qt/qt5/qtwebkit-examples_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "6f88c2a99002801a1943483331f8b4f0"
5SRC_URI[sha256sum] = "c8081a0863b7d8e2e39ec0e2fe288331ddab093a682959ba7378392512296482"
diff --git a/recipes-qt/qt5/qtwebkit-examples_5.4.0.bb b/recipes-qt/qt5/qtwebkit-examples_5.4.0.bb
new file mode 100644
index 00000000..adcea20e
--- /dev/null
+++ b/recipes-qt/qt5/qtwebkit-examples_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "369617a40e64b93686cebd12a99916c0"
5SRC_URI[sha256sum] = "b02a2f3d381e66e83fbf972416ad376e2a03ccfa8b4371867c83970bf0f0e9f6"
diff --git a/recipes-qt/qt5/qtwebkit-examples_git.bb b/recipes-qt/qt5/qtwebkit-examples_git.bb
index 1b7cf5d4..27dd7ee1 100644
--- a/recipes-qt/qt5/qtwebkit-examples_git.bb
+++ b/recipes-qt/qt5/qtwebkit-examples_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "70bd4d5253f134bf48a30544030bb832f1eba8b3" 4SRCREV = "70bd4d5253f134bf48a30544030bb832f1eba8b3"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtwebkit.inc b/recipes-qt/qt5/qtwebkit.inc
index cb652aa1..bdc676be 100644
--- a/recipes-qt/qt5/qtwebkit.inc
+++ b/recipes-qt/qt5/qtwebkit.inc
@@ -1,11 +1,12 @@
1require qt5.inc 1require qt5.inc
2 2
3LICENSE = "BSD & LGPLv2+" 3LICENSE = "BSD & LGPLv2+ | GPL-2.0"
4LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \ 4LIC_FILES_CHKSUM = "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed \
5 file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \
5 file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \ 6 file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \
6 file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee" 7 file://Source/JavaScriptCore/parser/Parser.h;endline=21;md5=bd69f72183a7af673863f057576e21ee"
7 8
8DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt" 9DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt leveldb"
9 10
10PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors" 11PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors"
11PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base" 12PACKAGECONFIG[gstreamer] = "OE_GSTREAMER_ENABLED,,gstreamer1.0 gstreamer1.0-plugins-base"
diff --git a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
index 4073319a..9324da9a 100644
--- a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
+++ b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
@@ -9,23 +9,21 @@ adds a patch to not include the rpath.prf which causes this problem.
9 9
10Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> 10Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12Signed-off-by: Jonathan Liu <net147@gmail.com>
12--- 13---
13 Tools/qmake/mkspecs/features/unix/default_post.prf | 2 -- 14 Tools/qmake/mkspecs/features/unix/default_post.prf | 2 --
14 1 file changed, 2 deletions(-) 15 1 file changed, 2 deletions(-)
15 16
16diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf 17diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf
17index 75df1c5..5d9a4d2 100644 18index 9c52406..7ece013 100644
18--- a/Tools/qmake/mkspecs/features/unix/default_post.prf 19--- a/Tools/qmake/mkspecs/features/unix/default_post.prf
19+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf 20+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf
20@@ -56,8 +56,6 @@ linux-*g++* { 21@@ -59,8 +59,6 @@ linux-*g++* {
21 } 22 }
22 } 23 }
23 24
24-contains(TEMPLATE, app): CONFIG += rpath 25-contains(TEMPLATE, app): CONFIG += rpath
25- 26-
26 CONFIG(debug, debug|release)|force_debug_info|separate_debug_info { 27 CONFIG(debug, debug|release)|force_debug_info {
27 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase. 28 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
28 !force_static_libs_as_shared:config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory 29 !force_static_libs_as_shared:config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory
29--
302.1.1
31
diff --git a/recipes-qt/qt5/qtwebkit_5.3.2.bb b/recipes-qt/qt5/qtwebkit_5.3.2.bb
deleted file mode 100644
index aa49463d..00000000
--- a/recipes-qt/qt5/qtwebkit_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "0497b5b46540848e0db6a9e219d756fb"
5SRC_URI[sha256sum] = "e47122ed15e8e1cc32e11b3cd89bacc056437215134a204899f2fddb4fd92e5b"
diff --git a/recipes-qt/qt5/qtwebkit_5.4.0.bb b/recipes-qt/qt5/qtwebkit_5.4.0.bb
new file mode 100644
index 00000000..8a276ab1
--- /dev/null
+++ b/recipes-qt/qt5/qtwebkit_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "e62d72c410dffe5129043f80f624c896"
5SRC_URI[sha256sum] = "6c672207765d5d2e88aa14b72b3876ad7bce453397a02e1a3d6e4670a8d188c1"
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index 0446d381..feb860c1 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -1,9 +1,4 @@
1require qt5-git.inc 1require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4DEPENDS += "leveldb"
5
6SRCREV = "18cb1a3ae907d76da9eb8c54528cf3bcb074d0e5" 4SRCREV = "18cb1a3ae907d76da9eb8c54528cf3bcb074d0e5"
7
8LICENSE += "| GPL-2.0"
9LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtwebsockets.inc b/recipes-qt/qt5/qtwebsockets.inc
index eb442a64..6eb8da22 100644
--- a/recipes-qt/qt5/qtwebsockets.inc
+++ b/recipes-qt/qt5/qtwebsockets.inc
@@ -2,5 +2,6 @@ require qt5.inc
2 2
3DEPENDS += "qtbase qtdeclarative" 3DEPENDS += "qtbase qtdeclarative"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c \
6LICENSE = "LGPL-2.1" 6 file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
7LICENSE = "LGPL-2.1 | GPL-2.0"
diff --git a/recipes-qt/qt5/qtwebsockets_5.3.2.bb b/recipes-qt/qt5/qtwebsockets_5.3.2.bb
deleted file mode 100644
index 8ebc50eb..00000000
--- a/recipes-qt/qt5/qtwebsockets_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "093ddc113952e47bd0e251986e03f1e4"
5SRC_URI[sha256sum] = "60533d413b0fa27b1e08642ae77bcaa76a845fa39ddc3d49af573a77e73a38c2"
diff --git a/recipes-qt/qt5/qtwebsockets_5.4.0.bb b/recipes-qt/qt5/qtwebsockets_5.4.0.bb
new file mode 100644
index 00000000..cb3122d9
--- /dev/null
+++ b/recipes-qt/qt5/qtwebsockets_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "0c406bca48296d0d99cc93b00f40aca7"
5SRC_URI[sha256sum] = "2acd274a4a983cdd2288678d9005429fded51b5277d0621c4a953fa4f4f4cbdf"
diff --git a/recipes-qt/qt5/qtwebsockets_git.bb b/recipes-qt/qt5/qtwebsockets_git.bb
index 5939e893..a4c0da28 100644
--- a/recipes-qt/qt5/qtwebsockets_git.bb
+++ b/recipes-qt/qt5/qtwebsockets_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "64927e04f202d33b9a9a1f94141ef692c0b513ac" 4SRCREV = "64927e04f202d33b9a9a1f94141ef692c0b513ac"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtx11extras.inc b/recipes-qt/qt5/qtx11extras.inc
index 73f58984..40e1d5c3 100644
--- a/recipes-qt/qt5/qtx11extras.inc
+++ b/recipes-qt/qt5/qtx11extras.inc
@@ -2,8 +2,5 @@ require qt5.inc
2 2
3DEPENDS += "qtbase" 3DEPENDS += "qtbase"
4 4
5# older copyright year than what e.g. qtbase is using now 5LICENSE += "| GPL-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ 6LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
7 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
8 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
9 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtx11extras_5.3.2.bb b/recipes-qt/qt5/qtx11extras_5.3.2.bb
deleted file mode 100644
index 9bfe71bb..00000000
--- a/recipes-qt/qt5/qtx11extras_5.3.2.bb
+++ /dev/null
@@ -1,5 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "59f6cbbdf2ad48c6b95b65f8b333df2d"
5SRC_URI[sha256sum] = "ca6a28c95be0bf18080b4a20ae9e2c24a77a45aaf557f06047e65b1280c17251"
diff --git a/recipes-qt/qt5/qtx11extras_5.4.0.bb b/recipes-qt/qt5/qtx11extras_5.4.0.bb
new file mode 100644
index 00000000..d36d1bd6
--- /dev/null
+++ b/recipes-qt/qt5/qtx11extras_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "f3a7b9b20dd5f19fc5ed12ef030c59b7"
5SRC_URI[sha256sum] = "a3c66bc9e2b877109073f27bbc7865489fa1ed548584f5fc87c371380dc1474c"
diff --git a/recipes-qt/qt5/qtx11extras_git.bb b/recipes-qt/qt5/qtx11extras_git.bb
index e01d1f43..6867e049 100644
--- a/recipes-qt/qt5/qtx11extras_git.bb
+++ b/recipes-qt/qt5/qtx11extras_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "a21bbb45019e1bbc7b583811ff2e84757082a01a" 4SRCREV = "a21bbb45019e1bbc7b583811ff2e84757082a01a"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtxmlpatterns.inc b/recipes-qt/qt5/qtxmlpatterns.inc
index bbb05a65..40e1d5c3 100644
--- a/recipes-qt/qt5/qtxmlpatterns.inc
+++ b/recipes-qt/qt5/qtxmlpatterns.inc
@@ -1,3 +1,6 @@
1require qt5.inc 1require qt5.inc
2 2
3DEPENDS += "qtbase" 3DEPENDS += "qtbase"
4
5LICENSE += "| GPL-2.0"
6LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"
diff --git a/recipes-qt/qt5/qtxmlpatterns_5.3.2.bb b/recipes-qt/qt5/qtxmlpatterns_5.3.2.bb
deleted file mode 100644
index 455d56c5..00000000
--- a/recipes-qt/qt5/qtxmlpatterns_5.3.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "857e8040b2bf45c114a7d75ec6ef94ee"
5SRC_URI[sha256sum] = "acab0307039e117475caf2c95e425ead09ab5ee08ce15205fb3c0af7d7ec1abb"
6
7# older copyright year than what e.g. qtbase is using now
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \
9 file://LICENSE.GPL;md5=d32239bcb673463ab874e80d47fae504 \
10 file://LGPL_EXCEPTION.txt;md5=0145c4d1b6f96a661c2c139dfb268fb6 \
11 file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e"
diff --git a/recipes-qt/qt5/qtxmlpatterns_5.4.0.bb b/recipes-qt/qt5/qtxmlpatterns_5.4.0.bb
new file mode 100644
index 00000000..eb621b28
--- /dev/null
+++ b/recipes-qt/qt5/qtxmlpatterns_5.4.0.bb
@@ -0,0 +1,5 @@
1require qt5-${PV}.inc
2require ${PN}.inc
3
4SRC_URI[md5sum] = "5ad30d6b478d4e5d71e9c5bef3f3fbf7"
5SRC_URI[sha256sum] = "791c697b9bc7a5384e3d0dbec56af7f2194fe7dc91f8b1e0fd502089135e5425"
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb
index 5be8f81d..bb83c1ac 100644
--- a/recipes-qt/qt5/qtxmlpatterns_git.bb
+++ b/recipes-qt/qt5/qtxmlpatterns_git.bb
@@ -2,6 +2,3 @@ require qt5-git.inc
2require ${PN}.inc 2require ${PN}.inc
3 3
4SRCREV = "2e8b90b33d1d8dce4acdb6a116a227f2a5d3e044" 4SRCREV = "2e8b90b33d1d8dce4acdb6a116a227f2a5d3e044"
5
6LICENSE += "| GPL-2.0"
7LIC_FILES_CHKSUM += "file://LICENSE.GPLv2;md5=e782f55badfa137e5e59c330f12cc8ed"