diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2018-09-25 23:21:42 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2018-09-25 23:34:28 +0000 |
commit | 5c5b7e8721b068f3557e251ecc40e61c34ca6ed1 (patch) | |
tree | fe1fff0236a469b2b494c61e12caf0b6c70b56e0 /recipes-qt/qt5 | |
parent | 333437ca8deffa2e2f9d02ae7165c03b4eacdb0d (diff) | |
download | meta-qt5-5c5b7e8721b068f3557e251ecc40e61c34ca6ed1.tar.gz |
qt5-creator: refresh .patch files and push them to meta-qt5 fork
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5')
-rw-r--r-- | recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch | 4 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch (renamed from recipes-qt/qt5/qt5-creator/linguisttool.patch) | 19 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-creator/0003-botan-check-for-i386-x86_64.patch | 28 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-creator/0004-Link-with-libexecinfo-on-musl.patch (renamed from recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch) | 4 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-creator/botan-non-x86.patch | 19 | ||||
-rw-r--r-- | recipes-qt/qt5/qt5-creator_4.5.1.bb | 10 |
6 files changed, 51 insertions, 33 deletions
diff --git a/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch b/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch index 28dc4755..ea336360 100644 --- a/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch +++ b/recipes-qt/qt5/qt5-creator/0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch | |||
@@ -14,7 +14,7 @@ Change-Id: Iddea28f21c9fa1afd2fdd5d16a44e6c96a516a7a | |||
14 | 2 files changed, 17 insertions(+), 1 deletion(-) | 14 | 2 files changed, 17 insertions(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp | 16 | diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp |
17 | index 87736d5..2e950d8 100644 | 17 | index 87736d5fe3..2e950d88bf 100644 |
18 | --- a/src/libs/3rdparty/botan/botan.cpp | 18 | --- a/src/libs/3rdparty/botan/botan.cpp |
19 | +++ b/src/libs/3rdparty/botan/botan.cpp | 19 | +++ b/src/libs/3rdparty/botan/botan.cpp |
20 | @@ -1101,6 +1101,8 @@ class Montgomery_Exponentiator : public Modular_Exponentiator | 20 | @@ -1101,6 +1101,8 @@ class Montgomery_Exponentiator : public Modular_Exponentiator |
@@ -76,7 +76,7 @@ index 87736d5..2e950d8 100644 | |||
76 | * Helper Macros for x86 Assembly | 76 | * Helper Macros for x86 Assembly |
77 | */ | 77 | */ |
78 | diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h | 78 | diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h |
79 | index d7b90cc..26ca8ac 100644 | 79 | index d7b90cc92f..26ca8aca37 100644 |
80 | --- a/src/libs/3rdparty/botan/botan.h | 80 | --- a/src/libs/3rdparty/botan/botan.h |
81 | +++ b/src/libs/3rdparty/botan/botan.h | 81 | +++ b/src/libs/3rdparty/botan/botan.h |
82 | @@ -85,7 +85,9 @@ | 82 | @@ -85,7 +85,9 @@ |
diff --git a/recipes-qt/qt5/qt5-creator/linguisttool.patch b/recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch index 6f92d6ab..1c589cad 100644 --- a/recipes-qt/qt5/qt5-creator/linguisttool.patch +++ b/recipes-qt/qt5/qt5-creator/0002-Use-correct-path-prefix.patch | |||
@@ -1,11 +1,20 @@ | |||
1 | Remove path prefix so it can find these tools from buildhost or native packages | 1 | From 22ff2f705ee47d41c41a0a39bbda454ce54f9819 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 25 Sep 2018 23:15:08 +0000 | ||
4 | Subject: [PATCH] Use correct path prefix | ||
2 | 5 | ||
3 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
5 | Index: qt-creator-opensource-src-4.5.1/share/qtcreator/translations/translations.pro | 9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
6 | =================================================================== | 10 | --- |
7 | --- qt-creator-opensource-src-4.5.1.orig/share/qtcreator/translations/translations.pro | 11 | share/qtcreator/translations/translations.pro | 8 ++++---- |
8 | +++ qt-creator-opensource-src-4.5.1/share/qtcreator/translations/translations.pro | 12 | 1 file changed, 4 insertions(+), 4 deletions(-) |
13 | |||
14 | diff --git a/share/qtcreator/translations/translations.pro b/share/qtcreator/translations/translations.pro | ||
15 | index 5f752f2855..87bc3d9cab 100644 | ||
16 | --- a/share/qtcreator/translations/translations.pro | ||
17 | +++ b/share/qtcreator/translations/translations.pro | ||
9 | @@ -12,10 +12,10 @@ defineReplace(prependAll) { | 18 | @@ -12,10 +12,10 @@ defineReplace(prependAll) { |
10 | return($$result) | 19 | return($$result) |
11 | } | 20 | } |
diff --git a/recipes-qt/qt5/qt5-creator/0003-botan-check-for-i386-x86_64.patch b/recipes-qt/qt5/qt5-creator/0003-botan-check-for-i386-x86_64.patch new file mode 100644 index 00000000..32671815 --- /dev/null +++ b/recipes-qt/qt5/qt5-creator/0003-botan-check-for-i386-x86_64.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 925868614c475d9e90bff8d9a33525f5d65d907c Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 25 Sep 2018 23:17:42 +0000 | ||
4 | Subject: [PATCH] botan: check for i386 || x86_64 | ||
5 | |||
6 | Just check for x86 or x86_64 to define X86 based support | ||
7 | This makes sure it compiles for non-x86 platforms | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | src/libs/3rdparty/botan/botan.h | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/src/libs/3rdparty/botan/botan.h b/src/libs/3rdparty/botan/botan.h | ||
17 | index 26ca8aca37..969405c56e 100644 | ||
18 | --- a/src/libs/3rdparty/botan/botan.h | ||
19 | +++ b/src/libs/3rdparty/botan/botan.h | ||
20 | @@ -85,7 +85,7 @@ | ||
21 | #endif | ||
22 | |||
23 | #define BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN | ||
24 | -#if !defined(__arm__) && !defined(__aarch64__) | ||
25 | +#if defined(__i386__) || defined(__x86_64__) | ||
26 | #define BOTAN_TARGET_CPU_IS_X86_FAMILY | ||
27 | #endif | ||
28 | #define BOTAN_TARGET_UNALIGNED_MEMORY_ACCESS_OK 1 | ||
diff --git a/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch b/recipes-qt/qt5/qt5-creator/0004-Link-with-libexecinfo-on-musl.patch index 40e277fe..93938428 100644 --- a/recipes-qt/qt5/qt5-creator/0002-Link-with-libexecinfo-on-musl.patch +++ b/recipes-qt/qt5/qt5-creator/0004-Link-with-libexecinfo-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a30f4335d49516eb4654111af5bf073b633f7336 Mon Sep 17 00:00:00 2001 | 1 | From 9841dfba76dba7812405418049f259802cd06163 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 16 Jan 2018 13:26:57 +0000 | 3 | Date: Tue, 16 Jan 2018 13:26:57 +0000 |
4 | Subject: [PATCH] Link with libexecinfo on musl | 4 | Subject: [PATCH] Link with libexecinfo on musl |
@@ -10,7 +10,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | |||
10 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
11 | 11 | ||
12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro | 12 | diff --git a/src/plugins/debugger/debugger.pro b/src/plugins/debugger/debugger.pro |
13 | index f5a34aa..4a1359d 100644 | 13 | index f5a34aa0d5..4a1359dd5c 100644 |
14 | --- a/src/plugins/debugger/debugger.pro | 14 | --- a/src/plugins/debugger/debugger.pro |
15 | +++ b/src/plugins/debugger/debugger.pro | 15 | +++ b/src/plugins/debugger/debugger.pro |
16 | @@ -141,3 +141,4 @@ include(console/console.pri) | 16 | @@ -141,3 +141,4 @@ include(console/console.pri) |
diff --git a/recipes-qt/qt5/qt5-creator/botan-non-x86.patch b/recipes-qt/qt5/qt5-creator/botan-non-x86.patch deleted file mode 100644 index 5c83340c..00000000 --- a/recipes-qt/qt5/qt5-creator/botan-non-x86.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | Just check for x86 or x86_64 to define X86 based support | ||
2 | This makes sure it compiles for non-x86 platforms | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Index: qt-creator-opensource-src-4.5.1/src/libs/3rdparty/botan/botan.h | ||
8 | =================================================================== | ||
9 | --- qt-creator-opensource-src-4.5.1.orig/src/libs/3rdparty/botan/botan.h | ||
10 | +++ qt-creator-opensource-src-4.5.1/src/libs/3rdparty/botan/botan.h | ||
11 | @@ -85,7 +85,7 @@ | ||
12 | #endif | ||
13 | |||
14 | #define BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN | ||
15 | -#if !defined(__arm__) && !defined(__aarch64__) | ||
16 | +#if defined(__i386__) || defined(__x86_64__) | ||
17 | #define BOTAN_TARGET_CPU_IS_X86_FAMILY | ||
18 | #endif | ||
19 | #define BOTAN_TARGET_UNALIGNED_MEMORY_ACCESS_OK 1 | ||
diff --git a/recipes-qt/qt5/qt5-creator_4.5.1.bb b/recipes-qt/qt5/qt5-creator_4.5.1.bb index 91db48cb..6451b334 100644 --- a/recipes-qt/qt5/qt5-creator_4.5.1.bb +++ b/recipes-qt/qt5/qt5-creator_4.5.1.bb | |||
@@ -17,16 +17,16 @@ inherit qmake5 | |||
17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native" | 17 | DEPENDS = "qtbase qtscript qtwebkit qtxmlpatterns qtx11extras qtdeclarative qttools qttools-native qtsvg chrpath-replacement-native" |
18 | DEPENDS_append_libc-musl = " libexecinfo" | 18 | DEPENDS_append_libc-musl = " libexecinfo" |
19 | 19 | ||
20 | # Patches from https://github.com/meta-qt5/qtcreator/commits/b5.4.1 | 20 | # Patches from https://github.com/meta-qt5/qtcreator/commits/b4.5.1 |
21 | # 5.4.1.meta-qt5.1 | 21 | # 4.5.1.meta-qt5.2 |
22 | SRC_URI = " \ | 22 | SRC_URI = " \ |
23 | http://download.qt.io/official_releases/qtcreator/4.5/${PV}/qt-creator-opensource-src-${PV}.tar.gz \ | 23 | http://download.qt.io/official_releases/qtcreator/4.5/${PV}/qt-creator-opensource-src-${PV}.tar.gz \ |
24 | file://0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch \ | 24 | file://0001-Fix-Allow-qt-creator-to-build-on-arm-aarch32-and-aar.patch \ |
25 | file://botan-non-x86.patch \ | 25 | file://0002-Use-correct-path-prefix.patch \ |
26 | file://linguisttool.patch \ | 26 | file://0003-botan-check-for-i386-x86_64.patch \ |
27 | file://qtcreator.desktop.in \ | 27 | file://qtcreator.desktop.in \ |
28 | " | 28 | " |
29 | SRC_URI_append_libc-musl = " file://0002-Link-with-libexecinfo-on-musl.patch" | 29 | SRC_URI_append_libc-musl = " file://0004-Link-with-libexecinfo-on-musl.patch" |
30 | 30 | ||
31 | SRC_URI[md5sum] = "bd7fdbcdfa84df1171fb28174353e57f" | 31 | SRC_URI[md5sum] = "bd7fdbcdfa84df1171fb28174353e57f" |
32 | SRC_URI[sha256sum] = "5fdfc8f05694e37162f208616627262c9971749d6958d8881d62933b3b53e909" | 32 | SRC_URI[sha256sum] = "5fdfc8f05694e37162f208616627262c9971749d6958d8881d62933b3b53e909" |