diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-01 17:36:38 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-06 19:45:45 +0200 |
| commit | 26b7fee65a3c23a9c2447d549668f373bfa76bae (patch) | |
| tree | fca7565930f8d7705cb5d96c5bc5ce6d7e561a0c /recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch | |
| parent | 0663bcdddf0311329e607416cd51ce55b9557240 (diff) | |
| download | meta-qt5-26b7fee65a3c23a9c2447d549668f373bfa76bae.tar.gz | |
qtwebengine: Add 2 more patches to fix do_configure and fix QA warning
* otherwise moc generated files have the same basename and do_configure fails with:
core_generated.gyp:QtWebEngineCore#target has several files with the same basename:
| javascript_dialog_controller: javascript_dialog_controller.cpp
| /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
...
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch')
| -rw-r--r-- | recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch | 36 |
1 files changed, 36 insertions, 0 deletions
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 new file mode 100644 index 00000000..397929f4 --- /dev/null +++ b/recipes-qt/qt5/qtwebengine/0001-Use-ninja-supplied-by-environment-variable-NINJA_PAT.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From daf8cd1ccd533d5546ff3a11d19710e0f155cc68 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Simon Busch <morphis@gravedo.de> | ||
| 3 | Date: Fri, 20 Jun 2014 09:09:12 +0200 | ||
| 4 | Subject: [PATCH 1/3] Use ninja supplied by environment variable NINJA_PATH | ||
| 5 | |||
| 6 | Signed-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 | |||
| 11 | diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf | ||
| 12 | index 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 | -- | ||
| 35 | 2.0.0 | ||
| 36 | |||
