libdrm: upgrade 2.4.88 -> 2.4.89
PATCH v3 1/3 libdrm: upgrade 2.4.88 -> 2.4.89
The 2.4.89 version has been released in Dec 18, 2017, and has a great set of features and improvements, as seen in the announcement summary:
,----
| libdrm release with leasing and syncobj api updates, | updated amdgpu marketing ids, amdgpu tests, | updated uapi headers | etnaviv updates.
`----
The full announcement can be seen at:
https://lists.freedesktop.org/archives/dri-devel/2017-December/160530.html
---
Changes in v3: None
Changes in v2: None
meta/recipes-graphics/drm/{libdrm_2.4.88.bb => libdrm_2.4.89.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-graphics/drm/{libdrm_2.4.88.bb => libdrm_2.4.89.bb} (93%)meta/recipes-graphics/drm/libdrm_2.4.89.bb renamed from meta/recipes-graphics/drm/libdrm_2.4.88.bb +2 -2
@@ -16,8 +16,8 @@ SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \ file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \ " -SRC_URI[md5sum] = "fe4d5c77f1468ee73d0bbb30d76945d7" -SRC_URI[sha256sum] = "b5e55dbac2124e742e639f5b8553e8b7395863bf73dab4f77e99fe2fc25572b5" +SRC_URI[md5sum] = "5307a147dde67ac643f6753a42b5d32c" +SRC_URI[sha256sum] = "629f9782aabbb4809166de5f24d26fe0766055255038f16935602d89f136a02e" inherit autotools pkgconfig manpages
Signature · 1 line
2.15.1
PATCH v3 2/3 go-dep: upgrade 0.3.1 -> 0.3.2
The 0.3.2 version has been released in Oct 19, 2017, and has a great set of features and improvements, as seen in the announcement summary:
,----
| NEW FEATURES: | | - Add support for importing from gvt and gb. (#1149) | - Wildcard ignore support. (#1156) | - Disable SourceManager lock by setting DEPNOLOCK environment | variable. (#1206) | - dep ensure -no-vendor -dry-run now exits with an error when | changes would have to be made to Gopkg.lock. This is useful | for CI. (#1256) | | BUG FIXES: | | - gps: Fix case mismatch error with multiple dependers. (#1233) | - Skip broken vendor symlink rather than returning an error. (#1191) | - Fix status shows incorrect reason for lock mismatch when ignoring | packages. (#1216) | | IMPROVEMENTS: | | - Allow dep ensure -add and -update when lock is out-of-sync. (#1225) | - gps: vcs: Dedupe git version list (#1212) | - gps: Add prune functions to gps. (#1020) | - gps: Skip broken vendor symlinks. (#1191) | - dep ensure -add now concurrently fetches the source and adds the | projects. (#1218) | - File name case check is now performed on Gopkg.toml and Gopkg.lock. | (#1114) | - gps: gps now supports pruning. (#1020) | - dep ensure -update now concurrently validates the passed project | arguments. Improving performance when updating dependencies with | -update. (#1175) | - dep status now concurrently fetches repo info. Improving status | performance. (#1135) | - gps: Add SourceURLsForPath() to SourceManager. (#1166) | - gps: Include output in error. (#1180)
`----
---
Changes in v3: None
Changes in v2: None
meta/recipes-devtools/go/{go-dep_0.3.1.bb => go-dep_0.3.2.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/go/{go-dep_0.3.1.bb => go-dep_0.3.2.bb} (88%)meta/recipes-devtools/go/go-dep_0.3.2.bb renamed from meta/recipes-devtools/go/go-dep_0.3.1.bb +2 -2
@@ -9,8 +9,8 @@ SRC_URI = "git://${GO_IMPORT} \ file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ " -# Points to 0.3.1 tag -SRCREV = "83789e236d7ff64c82ee8392005455fc1ec1983b" +# Points to 0.3.2 tag +SRCREV = "8ddfc8afb2d520d41997ebddd921b52152706c01" inherit go
Signature · 1 line
2.15.1
PATCH v3 3/3 cmake: upgrade 3.9.5 -> 3.10.1
In reply to Otavio SalvadorThe 3.10.1 version has been in Dec 13, 2017, and has a great set of features and improvements since the last upgrade.
The release notes of 3.10 release is available at:
https://cmake.org/cmake/help/v3.10/release/3.10.html
Patches updates:
- cmake-Prevent-the-detection-of-Qt5.patch: so it replaces the sed command calls inside the cmake.inc
- 0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch:
merged upstream, so it has been removed.
- support-oe-qt4-tools-names.patch: rebased.
License-checksum-change: added new contributors
---
Changes in v3:
- add make-native dependency (for real)
Changes in v2:
- add make-native dependency
...make-native_3.9.5.bb => cmake-native_3.10.1.bb} | 0
meta/recipes-devtools/cmake/cmake.inc | 38 +---
...e-find_program-if-find_host_program-is-no.patch | 40 ----
.../cmake/cmake-Prevent-the-detection-of-Qt5.patch | 215 +++++++++++++++++++++
.../cmake/cmake/support-oe-qt4-tools-names.patch | 14 +-
.../cmake/{cmake_3.9.5.bb => cmake_3.10.1.bb} | 2 +-
6 files changed, 231 insertions(+), 78 deletions(-)
rename meta/recipes-devtools/cmake/{cmake-native_3.9.5.bb => cmake-native_3.10.1.bb} (100%)
delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch
create mode 100644 meta/recipes-devtools/cmake/cmake/cmake-Prevent-the-detection-of-Qt5.patch
rename meta/recipes-devtools/cmake/{cmake_3.9.5.bb => cmake_3.10.1.bb} (95%)meta/recipes-devtools/cmake/cmake-native_3.10.1.bb renamed from meta/recipes-devtools/cmake/cmake-native_3.9.5.bb +0 -0
meta/recipes-devtools/cmake/cmake.inc +6 -32
@@ -6,45 +6,19 @@ HOMEPAGE = "http://www.cmake.org/" BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php" SECTION = "console/utils" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://Copyright.txt;md5=24600643e5d1d2b8f7478ae5c9074949 \ - file://Source/cmake.h;beginline=1;endline=3;md5=4494dee184212fc89c469c3acd555a14" +LIC_FILES_CHKSUM = "file://Copyright.txt;md5=79b5b78197c74d5c5f9c7ccadeee4e8c \ + file://Source/cmake.h;md5=4494dee184212fc89c469c3acd555a14;beginline=1;endline=3 \ + " CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ file://support-oe-qt4-tools-names.patch \ file://qt4-fail-silent.patch \ - file://0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch \ + file://cmake-Prevent-the-detection-of-Qt5.patch \ " -SRC_URI[md5sum] = "0922130d0e0c142a88e58c6e4fef4d7d" -SRC_URI[sha256sum] = "6220c1683b4e6bb8f38688fa3ffb17a7cf39f36317c2ddfdc3f12f09d086c166" +SRC_URI[md5sum] = "9a726e5ec69618b172aa4b06d18c3998" +SRC_URI[sha256sum] = "7be36ee24b0f5928251b644d29f5ff268330a916944ef4a75e23ba01e7573284" UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar" - -# Ugly hack to work around undefined OE_QMAKE_PATH_EXTERNAL_HOST_BINS variable -# and possibly missing qmake binary (qtbase-native can be removed from sysroot -# e.g. in order to upgrade it, even when there is target qtbase) - -# Fixes errors like this in cmake(-native).do_configure: -#| -- Performing Test run_pic_test - Success -#| CMake Error at tmp-eglibc/sysroots/qemuarm/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message): -#| The imported target "Qt5::Core" references the file -#| -#| "/qmake" -#| -#| but this file does not exist. Possible reasons include: - -do_configure_prepend() { - sed -i 's/^find_package(Qt5Core QUIET)$/#find_package(Qt5Core QUIET)/g' ${S}/Tests/RunCMake/CMakeLists.txt - sed -i 's/^ find_package(Qt5Core REQUIRED)/# find_package(Qt5Core REQUIRED)/g' ${S}/Tests/Qt4And5Automoc/CMakeLists.txt - sed -i 's/^ find_package(Qt5Widgets QUIET NO_MODULE)/# find_package(Qt5Widgets QUIET NO_MODULE)/g' ${S}/Tests/CMakeLists.txt - sed -i 's/^find_package(Qt5Widgets QUIET)/#find_package(Qt5Widgets QUIET)/g' ${S}/Source/QtDialog/CMakeLists.txt - sed -i 's/^ find_package(Qt5Widgets REQUIRED)/# find_package(Qt5Widgets REQUIRED)/g' ${S}/Tests/QtAutoUicInterface/CMakeLists.txt - sed -i 's/^ find_package(Qt5Widgets REQUIRED)/# find_package(Qt5Widgets REQUIRED)/g' ${S}/Tests/QtAutogen/CMakeLists.txt - sed -i 's/^find_package(Qt5Core REQUIRED)/#find_package(Qt5Core REQUIRED)/g' ${S}/Tests/RunCMake/IncompatibleQt/IncompatibleQt.cmake - sed -i 's/^ find_package(Qt5Core REQUIRED)/# find_package(Qt5Core REQUIRED)/g' ${S}/Tests/QtAutogen/mocRerun/CMakeLists.txt - sed -i 's/^ find_package(Qt5Core REQUIRED)/# find_package(Qt5Core REQUIRED)/g' ${S}/Tests/QtAutogen/rccDepends/CMakeLists.txt - sed -i 's/^ find_package(Qt5Core REQUIRED)/# find_package(Qt5Core REQUIRED)/g' ${S}/Tests/QtAutogen/mocDepends/CMakeLists.txt - sed -i 's/^find_package(Qt5Widgets REQUIRED)/#find_package(Qt5Widgets REQUIRED)/g' ${S}/Tests/QtAutogen/mocPlugin/CMakeLists.txt -}
meta/recipes-devtools/cmake/cmake/0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 46d25e782ebd9b6c50771b6f30433c58fae03a51 Mon Sep 17 00:00:00 2001 -From: Maxime Roussin-Bélanger <[email protected]> -Date: Mon, 26 Jun 2017 11:30:07 -0400 -Subject: [PATCH] cmake: Use find_program if find_host_program is not - available - -CMake does not define the `find_host_program` command we've been using -in the cross-compiling code path. It was provided by a widely used -Android toolchain file. For compatibility, continue to use -`find_host_program` if available, but otherwise use just `find_program`. - -Upstream-Status: Accepted -[https://gitlab.kitware.com/cmake/cmake/merge_requests/1009] - - Will be in 3.10 - -Signed-off-by: Maxime Roussin-Bélanger <[email protected]> ---- - Modules/FindCUDA.cmake | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake -index a4dca54..77ca351 100644 ---- a/Modules/FindCUDA.cmake -+++ b/Modules/FindCUDA.cmake -@@ -679,7 +679,11 @@ if(CMAKE_CROSSCOMPILING) - # add known CUDA targetr root path to the set of directories we search for programs, libraries and headers - set( CMAKE_FIND_ROOT_PATH "${CUDA_TOOLKIT_TARGET_DIR};${CMAKE_FIND_ROOT_PATH}") - macro( cuda_find_host_program ) -- find_host_program( ${ARGN} ) -+ if (COMMAND find_host_program) -+ find_host_program( ${ARGN} ) -+ else() -+ find_program( ${ARGN} ) -+ endif() - endmacro() - else() - # for non-cross-compile, find_host_program == find_program and CUDA_TOOLKIT_TARGET_DIR == CUDA_TOOLKIT_ROOT_DIR --- -2.1.4 -
meta/recipes-devtools/cmake/cmake/cmake-Prevent-the-detection-of-Qt5.patch new file +215 -0
215 lines not on this page · raw message
meta/recipes-devtools/cmake/cmake/support-oe-qt4-tools-names.patch +9 -5
@@ -1,4 +1,7 @@ -cmake: support OpenEmbedded Qt4 tool binary names +From 10b8b523869124d2fc8cd98d9e028c0bcffd61b1 Mon Sep 17 00:00:00 2001 +From: Otavio Salvador <[email protected]> +Date: Thu, 12 May 2011 15:36:03 +0000 +Subject: [PATCH 1/2] cmake: support OpenEmbedded Qt4 tool binary names The FindQt4 module looks for Qt4 binaries to be able to gather the paths used for compilation and also to be using during other processes
@@ -15,15 +18,16 @@ The patch was slightly adapted in order to match cmake 3.2.2: Instead of find_program, _find_qt4_program is now used. Signed-off-by: Moritz Blume <[email protected]> + --- Modules/FindQt4.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake -index 11091b5..6704769 100644 +index c67d0be..0cf169b 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake -@@ -522,7 +522,7 @@ endfunction() +@@ -516,7 +516,7 @@ endfunction() set(QT4_INSTALLED_VERSION_TOO_OLD FALSE)
@@ -32,7 +36,7 @@ index 11091b5..6704769 100644 _qt4_find_qmake("${_QT4_QMAKE_NAMES}" QT_QMAKE_EXECUTABLE QTVERSION) if (QT_QMAKE_EXECUTABLE AND -@@ -1148,12 +1148,12 @@ if (QT_QMAKE_EXECUTABLE AND +@@ -1142,12 +1142,12 @@ if (QT_QMAKE_EXECUTABLE AND _find_qt4_program(QT_MOC_EXECUTABLE Qt4::moc moc-qt4 moc4 moc) _find_qt4_program(QT_UIC_EXECUTABLE Qt4::uic uic-qt4 uic4 uic) _find_qt4_program(QT_UIC3_EXECUTABLE Qt4::uic3 uic3)
@@ -50,5 +54,5 @@ index 11091b5..6704769 100644 _find_qt4_program(QT_LINGUIST_EXECUTABLE Qt4::linguist linguist-qt4 linguist4 linguist) -- -1.9.1 +2.7.4
meta/recipes-devtools/cmake/cmake_3.10.1.bb renamed from meta/recipes-devtools/cmake/cmake_3.9.5.bb +1 -1
@@ -2,7 +2,7 @@ require cmake.inc inherit cmake -DEPENDS += "curl expat zlib libarchive xz ncurses bzip2" +DEPENDS += "make-native curl expat zlib libarchive xz ncurses bzip2" SRC_URI_append_class-nativesdk = " \ file://OEToolchainConfig.cmake \
Signature · 1 line
2.15.1
Re: [PATCH v3 3/3] cmake: upgrade 3.9.5 -> 3.10.1
Quoted 1 line · Otavio Salvador
License-checksum-change: added new contributors
Cool, the license diff extractor worked :) Previously it was a major annoyance.
Now we need to fix the patchtest to check for the tag:
Alex
Re: [PATCH v3 3/3] cmake: upgrade 3.9.5 -> 3.10.1
In reply to Otavio SalvadorQuoted 2 lines · Otavio Salvador
...make-native_3.9.5.bb => cmake-native_3.10.1.bb} | 0
.../cmake/{cmake_3.9.5.bb => cmake_3.10.1.bb} | 2 +-Can you look into merging the -native recipe into the main recipe? Is there still a particular reason why they're separate? (I'm sure there was some historical one :)
Alex
Re: [PATCH v3 3/3] cmake: upgrade 3.9.5 -> 3.10.1
Quoted 10 lines · Alexander Kanavin
Quoted 3 lines · Otavio Salvador
...make-native_3.9.5.bb => cmake-native_3.10.1.bb} | 0 .../cmake/{cmake_3.9.5.bb => cmake_3.10.1.bb} | 2 +-Can you look into merging the -native recipe into the main recipe? Is there still a particular reason why they're separate? (I'm sure there was some historical one :)
It's not very simple as cmake builds using cmake, so the native recipe is a bootstrap.
Ross
Re: [PATCH v3 3/3] cmake: upgrade 3.9.5 -> 3.10.1
Quoted 9 lines · Ross
Quoted 7 lines · Alexander Kanavin
Quoted 3 lines · Otavio Salvador
...make-native_3.9.5.bb => cmake-native_3.10.1.bb} | 0 .../cmake/{cmake_3.9.5.bb => cmake_3.10.1.bb} | 2 +-
Quoted 7 lines
Quoted 3 lines
Can you look into merging the -native recipe into the main recipe? Is there still a particular reason why they're separate? (I'm sure there was some historical one :)
It's not very simple as cmake builds using cmake, so the native recipe is a bootstrap.
I will later merge the .inc on the ${PV} one and make the native to reuse the original. But this is another patch.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750