diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-11-27 13:48:38 +0100 | 
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-09 11:06:30 +0100 | 
| commit | 54c44443c34f077bfc2c5cc3a92d6db59d28343c (patch) | |
| tree | 479cd0ba85d55e8d01ae1396bca7397880360b70 /recipes-qt/qt5/qtwebengine-git | |
| parent | 5b8f470597d4f163952f3b63a8ee39a2ccabfe4c (diff) | |
| download | meta-qt5-54c44443c34f077bfc2c5cc3a92d6db59d28343c.tar.gz | |
qt5-git: Update to rc1+, latest revision in 5.4 branch
* qtwebengine LIC_FILES_CHKSUM updated because of Copyright
  year update in chromium's LICENSE
  < // Copyright (c) 2013 The Chromium Authors. All rights reserved.
  and shortened the entry for qtwebengine LIC_FILES_CHKSUM, because
  it was including also few #include lines which were changed recently
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine-git')
4 files changed, 64 insertions, 40 deletions
diff --git a/recipes-qt/qt5/qtwebengine-git/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch b/recipes-qt/qt5/qtwebengine-git/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch index 3e8d7acc..4587219e 100644 --- a/recipes-qt/qt5/qtwebengine-git/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch +++ b/recipes-qt/qt5/qtwebengine-git/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch  | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | From 1e2fbd3bbf3eb94a4d78c53068bbb58d4227ab46 Mon Sep 17 00:00:00 2001 | 1 | From 41f9b2c1521950e1e3e1f01260f18e698d948814 Mon Sep 17 00:00:00 2001 | 
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 
| 3 | Date: Mon, 30 Jun 2014 20:08:17 +0200 | 3 | Date: Mon, 30 Jun 2014 20:08:17 +0200 | 
| 4 | Subject: [PATCH 1/2] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H | 4 | Subject: [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 | ||
| 7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 7 | Signed-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 | ||
| 12 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | 12 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | 
| 13 | index 02c3872..3b9babe 100644 | 13 | index 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 | @@ -61,8 +61,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 02c3872..3b9babe 100644 | |||
| 25 | } | 25 | } | 
| 26 | 26 | ||
| 27 | -- | 27 | -- | 
| 28 | 2.1.1 | 28 | 2.1.3 | 
| 29 | 29 | ||
diff --git a/recipes-qt/qt5/qtwebengine-git/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch b/recipes-qt/qt5/qtwebengine-git/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-git/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch  | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From b36aeace50dc429cccbb9b84a6e538ebcd12ade9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon Busch <morphis@gravedo.de> | ||
| 3 | Date: Tue, 18 Nov 2014 10:38:18 +0100 | ||
| 4 | Subject: [PATCH 2/3] functions.prf: Make sure we only use the file name to | ||
| 5 | generate it's moc'ed abbreviation | ||
| 6 | |||
| 7 | Signed-off-by: Simon Busch <morphis@gravedo.de> | ||
| 8 | Signed-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 | |||
| 13 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 14 | index 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 | -- | ||
| 28 | 2.1.3 | ||
| 29 | |||
diff --git a/recipes-qt/qt5/qtwebengine-git/0002-functions.prf-Try-to-add-_moc-suffix.patch b/recipes-qt/qt5/qtwebengine-git/0002-functions.prf-Try-to-add-_moc-suffix.patch deleted file mode 100644 index 646d2a6e..00000000 --- a/recipes-qt/qt5/qtwebengine-git/0002-functions.prf-Try-to-add-_moc-suffix.patch +++ /dev/null  | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From 4fd50d344ad5e7f89e538222605dd50d0f636d3a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Tue, 1 Jul 2014 15:58:16 +0200 | ||
| 4 | Subject: [PATCH 2/2] 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 | |||
| 12 | Signed-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 | |||
| 17 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 18 | index 3b9babe..6d691df 100644 | ||
| 19 | --- a/tools/qmake/mkspecs/features/functions.prf | ||
| 20 | +++ b/tools/qmake/mkspecs/features/functions.prf | ||
| 21 | @@ -61,8 +61,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 | -- | ||
| 33 | 2.1.1 | ||
| 34 | |||
diff --git a/recipes-qt/qt5/qtwebengine-git/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine-git/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-git/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch  | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 69e05cdc9000a1962101b2859d0ae3d77bb751d7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Frieder Schrempf <frieder.schrempf@online.de> | ||
| 3 | Date: Mon, 1 Dec 2014 14:34:40 +0000 | ||
| 4 | Subject: [PATCH 3/3] functions.prf: allow build for linux-oe-g++ platform | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [OE specific] | ||
| 7 | |||
| 8 | Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de> | ||
| 9 | Signed-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 | |||
| 14 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 15 | index 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 | -- | ||
| 28 | 2.1.3 | ||
| 29 | |||
