diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-08-23 22:20:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-25 16:00:11 +0100 |
commit | eeb3d996ae43de6e524cd3e7d758c72a33184097 (patch) | |
tree | 87f9677bd6c0f9648c10df6ac6ab66a8e4540d2c | |
parent | 2457432ad9a1f232dd67e06918bc2d7e3831d305 (diff) | |
download | poky-eeb3d996ae43de6e524cd3e7d758c72a33184097.tar.gz |
cmake: update 3.17.3 -> 3.18.1
(From OE-Core rev: 7a3db344543d3cf9d16640c4cff6084049bf3aca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/cmake/cmake-native_3.18.1.bb (renamed from meta/recipes-devtools/cmake/cmake-native_3.17.3.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch | 10 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake_3.18.1.bb (renamed from meta/recipes-devtools/cmake/cmake_3.17.3.bb) | 4 |
8 files changed, 19 insertions, 20 deletions
diff --git a/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb b/meta/recipes-devtools/cmake/cmake-native_3.18.1.bb index d91e42ef9a..d91e42ef9a 100644 --- a/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb +++ b/meta/recipes-devtools/cmake/cmake-native_3.18.1.bb | |||
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc index 7f0307c15b..94465efc85 100644 --- a/meta/recipes-devtools/cmake/cmake.inc +++ b/meta/recipes-devtools/cmake/cmake.inc | |||
@@ -22,6 +22,6 @@ SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ | |||
22 | file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch \ | 22 | file://0004-Fail-silently-if-system-Qt-installation-is-broken.patch \ |
23 | " | 23 | " |
24 | 24 | ||
25 | SRC_URI[sha256sum] = "0bd60d512275dc9f6ef2a2865426a184642ceb3761794e6b65bff233b91d8c40" | 25 | SRC_URI[sha256sum] = "c0e3338bd37e67155b9d1e9526fec326b5c541f74857771b7ffed0c46ad62508" |
26 | 26 | ||
27 | UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar" | 27 | UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar" |
diff --git a/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch index f5c1a212f5..f3f9f7d8d1 100644 --- a/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch +++ b/meta/recipes-devtools/cmake/cmake/0001-CMakeDetermineSystem-use-oe-environment-vars-to-load.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From d4aa2dbdc69774ad668756586d59331ad215a2c6 Mon Sep 17 00:00:00 2001 | 1 | From 434761616f66074f1823b43145558c239c85b37d Mon Sep 17 00:00:00 2001 |
2 | From: Cody P Schafer <dev@codyps.com> | 2 | From: Cody P Schafer <dev@codyps.com> |
3 | Date: Thu, 27 Apr 2017 11:35:05 -0400 | 3 | Date: Thu, 27 Apr 2017 11:35:05 -0400 |
4 | Subject: [PATCH] CMakeDetermineSystem: use oe environment vars to load default | 4 | Subject: [PATCH] CMakeDetermineSystem: use oe environment vars to load default |
@@ -25,7 +25,7 @@ Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | |||
25 | 1 file changed, 7 insertions(+) | 25 | 1 file changed, 7 insertions(+) |
26 | 26 | ||
27 | diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake | 27 | diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake |
28 | index dc208c6..e0af4ca 100644 | 28 | index f3ec4da..bb05656 100644 |
29 | --- a/Modules/CMakeDetermineSystem.cmake | 29 | --- a/Modules/CMakeDetermineSystem.cmake |
30 | +++ b/Modules/CMakeDetermineSystem.cmake | 30 | +++ b/Modules/CMakeDetermineSystem.cmake |
31 | @@ -81,6 +81,13 @@ else() | 31 | @@ -81,6 +81,13 @@ else() |
diff --git a/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch b/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch index cf1dda7c9b..162bfe5783 100644 --- a/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch +++ b/meta/recipes-devtools/cmake/cmake/0002-cmake-Prevent-the-detection-of-Qt5.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 126994379ea75c8826874656bb55f955182ae911 Mon Sep 17 00:00:00 2001 | 1 | From 106cf5134d22db889e4ddf2f98ec302d5f4b9ca7 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Wed, 17 Jan 2018 10:02:14 -0200 | 3 | Date: Wed, 17 Jan 2018 10:02:14 -0200 |
4 | Subject: [PATCH] cmake: Prevent the detection of Qt5 | 4 | Subject: [PATCH] cmake: Prevent the detection of Qt5 |
@@ -38,7 +38,7 @@ index 98dd0e2..252302b 100644 | |||
38 | include_directories(${Qt5Widgets_INCLUDE_DIRS}) | 38 | include_directories(${Qt5Widgets_INCLUDE_DIRS}) |
39 | add_definitions(${Qt5Widgets_DEFINITONS}) | 39 | add_definitions(${Qt5Widgets_DEFINITONS}) |
40 | diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt | 40 | diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt |
41 | index aff7383..e220503 100644 | 41 | index db6dbf3..5b26879 100644 |
42 | --- a/Tests/CMakeLists.txt | 42 | --- a/Tests/CMakeLists.txt |
43 | +++ b/Tests/CMakeLists.txt | 43 | +++ b/Tests/CMakeLists.txt |
44 | @@ -215,7 +215,7 @@ if(BUILD_TESTING) | 44 | @@ -215,7 +215,7 @@ if(BUILD_TESTING) |
@@ -96,11 +96,11 @@ index c08efc4..87e25d9 100644 | |||
96 | set(CMAKE_CXX_STANDARD 11) | 96 | set(CMAKE_CXX_STANDARD 11) |
97 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/output/bin) | 97 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/output/bin) |
98 | diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt | 98 | diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt |
99 | index e9f8bca..3a2da34 100644 | 99 | index 10e66c3..ecc4eeb 100644 |
100 | --- a/Tests/RunCMake/CMakeLists.txt | 100 | --- a/Tests/RunCMake/CMakeLists.txt |
101 | +++ b/Tests/RunCMake/CMakeLists.txt | 101 | +++ b/Tests/RunCMake/CMakeLists.txt |
102 | @@ -396,7 +396,7 @@ else() | 102 | @@ -440,7 +440,7 @@ if(NOT WIN32) |
103 | endif() | 103 | endif () |
104 | 104 | ||
105 | find_package(Qt4 QUIET) | 105 | find_package(Qt4 QUIET) |
106 | -find_package(Qt5Core QUIET) | 106 | -find_package(Qt5Core QUIET) |
diff --git a/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch b/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch index e30dc51e4a..575a5cb7fb 100644 --- a/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch +++ b/meta/recipes-devtools/cmake/cmake/0003-cmake-support-OpenEmbedded-Qt4-tool-binary-names.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From e528861023bf69df0ad061a59fd4e527c9dde1ce Mon Sep 17 00:00:00 2001 | 1 | From 2d02ac91d5a5d72eaddba4894eaa6db3ed8fee62 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Thu, 12 May 2011 15:36:03 +0000 | 3 | Date: Thu, 12 May 2011 15:36:03 +0000 |
4 | Subject: [PATCH] cmake: support OpenEmbedded Qt4 tool binary names | 4 | Subject: [PATCH] cmake: support OpenEmbedded Qt4 tool binary names |
diff --git a/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch b/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch index 48f43be837..1b196db81a 100644 --- a/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch +++ b/meta/recipes-devtools/cmake/cmake/0004-Fail-silently-if-system-Qt-installation-is-broken.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b0aeca35187983e22ec256a439cff4702dbde331 Mon Sep 17 00:00:00 2001 | 1 | From 60864efbe52cc12018efaafbc4e4c3c8b4af2b65 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Thu, 5 Jul 2018 10:26:48 -0300 | 3 | Date: Thu, 5 Jul 2018 10:26:48 -0300 |
4 | Subject: [PATCH] Fail silently if system Qt installation is broken | 4 | Subject: [PATCH] Fail silently if system Qt installation is broken |
diff --git a/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch b/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch index ad42d409d9..d6f7308fe0 100644 --- a/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch +++ b/meta/recipes-devtools/cmake/cmake/0005-Disable-use-of-ext2fs-ext2_fs.h-by-cmake-s-internal-.patch | |||
@@ -1,7 +1,8 @@ | |||
1 | From 0df8d46d14c371f21c327966a553c4c187a8acfe Mon Sep 17 00:00:00 2001 | 1 | From fd9a04c1434e12f21c043385e306e0b52d38d749 Mon Sep 17 00:00:00 2001 |
2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
3 | Date: Thu, 5 Jul 2018 10:28:04 -0300 | 3 | Date: Thu, 5 Jul 2018 10:28:04 -0300 |
4 | Subject: [PATCH 5/5] Disable use of ext2fs/ext2_fs.h by cmake's internal | 4 | Subject: [PATCH] Disable use of ext2fs/ext2_fs.h by cmake's internal |
5 | |||
5 | libarchive copy | 6 | libarchive copy |
6 | Organization: O.S. Systems Software LTDA. | 7 | Organization: O.S. Systems Software LTDA. |
7 | 8 | ||
@@ -12,15 +13,16 @@ Upstream-Status: Inappropriate [config] | |||
12 | 13 | ||
13 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | 14 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
14 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | 15 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
16 | |||
15 | --- | 17 | --- |
16 | Utilities/cmlibarchive/CMakeLists.txt | 8 ++------ | 18 | Utilities/cmlibarchive/CMakeLists.txt | 8 ++------ |
17 | 1 file changed, 2 insertions(+), 6 deletions(-) | 19 | 1 file changed, 2 insertions(+), 6 deletions(-) |
18 | 20 | ||
19 | diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt | 21 | diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt |
20 | index 206f3c6a5..642fb0dd9 100644 | 22 | index bfcaf30..2960683 100644 |
21 | --- a/Utilities/cmlibarchive/CMakeLists.txt | 23 | --- a/Utilities/cmlibarchive/CMakeLists.txt |
22 | +++ b/Utilities/cmlibarchive/CMakeLists.txt | 24 | +++ b/Utilities/cmlibarchive/CMakeLists.txt |
23 | @@ -430,12 +430,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H) | 25 | @@ -682,12 +682,8 @@ LA_CHECK_INCLUDE_FILE("copyfile.h" HAVE_COPYFILE_H) |
24 | LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H) | 26 | LA_CHECK_INCLUDE_FILE("direct.h" HAVE_DIRECT_H) |
25 | LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H) | 27 | LA_CHECK_INCLUDE_FILE("dlfcn.h" HAVE_DLFCN_H) |
26 | LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H) | 28 | LA_CHECK_INCLUDE_FILE("errno.h" HAVE_ERRNO_H) |
@@ -34,7 +36,4 @@ index 206f3c6a5..642fb0dd9 100644 | |||
34 | +SET(HAVE_WORKING_EXT2_IOC_GETFLAGS 0) | 36 | +SET(HAVE_WORKING_EXT2_IOC_GETFLAGS 0) |
35 | LA_CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H) | 37 | LA_CHECK_INCLUDE_FILE("fcntl.h" HAVE_FCNTL_H) |
36 | LA_CHECK_INCLUDE_FILE("grp.h" HAVE_GRP_H) | 38 | LA_CHECK_INCLUDE_FILE("grp.h" HAVE_GRP_H) |
37 | LA_CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H) | 39 | LA_CHECK_INCLUDE_FILE("io.h" HAVE_IO_H) |
38 | -- | ||
39 | 2.18.0 | ||
40 | |||
diff --git a/meta/recipes-devtools/cmake/cmake_3.17.3.bb b/meta/recipes-devtools/cmake/cmake_3.18.1.bb index e0457677e8..64c92b89f2 100644 --- a/meta/recipes-devtools/cmake/cmake_3.17.3.bb +++ b/meta/recipes-devtools/cmake/cmake_3.18.1.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require cmake.inc | 1 | require cmake.inc |
2 | 2 | ||
3 | inherit cmake | 3 | inherit cmake bash-completion |
4 | 4 | ||
5 | DEPENDS += "curl expat zlib libarchive xz ncurses bzip2" | 5 | DEPENDS += "curl expat zlib libarchive xz ncurses bzip2" |
6 | 6 | ||
@@ -46,7 +46,7 @@ do_install_append_class-nativesdk() { | |||
46 | 46 | ||
47 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}" | 47 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}" |
48 | 48 | ||
49 | FILES_${PN} += "${datadir}/cmake-${CMAKE_MAJOR_VERSION} ${datadir}/cmake ${datadir}/aclocal" | 49 | FILES_${PN} += "${datadir}/cmake-${CMAKE_MAJOR_VERSION} ${datadir}/cmake ${datadir}/aclocal ${datadir}/emacs ${datadir}/vim" |
50 | FILES_${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}" | 50 | FILES_${PN}-doc += "${docdir}/cmake-${CMAKE_MAJOR_VERSION}" |
51 | FILES_${PN}-dev = "" | 51 | FILES_${PN}-dev = "" |
52 | 52 | ||