diff options
author | wangmy <wangmy@fujitsu.com> | 2022-01-25 21:19:03 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-01-25 10:56:04 -0800 |
commit | a6e7ddefe7cf72e2d383e508c49b6e66a56e26e5 (patch) | |
tree | da6d059e5ce93150a236e9ced0ac672ffc616653 | |
parent | 16bda7854217d4665e98a736476c117ad2d26802 (diff) | |
download | meta-openembedded-a6e7ddefe7cf72e2d383e508c49b6e66a56e26e5.tar.gz |
libcereal: upgrade 1.3.0 -> 1.3.1
License-Update: year updated to 2022
0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch
removed since it is included in 1.3.1
Changelog:
=========
Highlighted fixes and enhancements include:
------------------------------------------
Github actions in place of Travis CI
Doctest updates (and upstream patches!) to support all targeted compilers
Cmake modernization
Bug fixes and minor enhancements:
---------------------------------
Fix typo in docs in #597
Add MSVC 2019 to build, default ctor for static object
Fix json.hpp compilation issue when int32_t is a long
[cpp20] explicitly capture 'this' as copy
Fix rapidjson for Clang 10
Fixes to prevent clang-diagnostic errors
cleanup cmake files to be a little more moderen
CVE-2020-11105: Store a copy of each serialized shared_ptr within the archive to prevent the shared_ptr to be freed to early
add license files for components of cereal
Catch short documents in JSON input
C++17: use inline globals for StaticObjects
Use std::variant::emplace when loading
Use std::optional::emplace() when loading non-empty optional
Fix itsNextName not clearing when not found + style change
Update doctest to 2.4.6 + local fixes slated for upstream
Fixed loading of std::vector
Update license to match BSD template
Update doctest to 2.4.7
Use GNUInstallDirs instead of hard wiring install directories
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/libcereal/libcereal/0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch | 37 | ||||
-rw-r--r-- | meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb (renamed from meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb) | 8 |
2 files changed, 3 insertions, 42 deletions
diff --git a/meta-oe/recipes-support/libcereal/libcereal/0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch b/meta-oe/recipes-support/libcereal/libcereal/0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch deleted file mode 100644 index 93114dadd6..0000000000 --- a/meta-oe/recipes-support/libcereal/libcereal/0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From c9e60ed064aa2938f71f2cacf79f0bb337812bf8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Anton Blanchard <anton@ozlabs.org> | ||
3 | Date: Tue, 17 Aug 2021 09:32:43 +1000 | ||
4 | Subject: [PATCH] Use GNUInstallDirs instead of hard wiring install directories | ||
5 | |||
6 | On a multilib setup cmake files should go into lib64. | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/USCiLab/cereal/pull/710] | ||
9 | --- | ||
10 | CMakeLists.txt | 5 +++-- | ||
11 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
14 | index b97c1f59..ad574290 100644 | ||
15 | --- a/CMakeLists.txt | ||
16 | +++ b/CMakeLists.txt | ||
17 | @@ -70,14 +70,15 @@ endif() | ||
18 | |||
19 | option(CEREAL_INSTALL "Generate the install target" ${CEREAL_MASTER_PROJECT}) | ||
20 | if(CEREAL_INSTALL) | ||
21 | + include(GNUInstallDirs) | ||
22 | include(CMakePackageConfigHelpers) | ||
23 | |||
24 | install(TARGETS cereal EXPORT ${PROJECT_NAME}Targets) | ||
25 | - install(DIRECTORY include/cereal DESTINATION include) | ||
26 | + install(DIRECTORY include/cereal DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) | ||
27 | |||
28 | set(configFile ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake) | ||
29 | set(versionFile ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake) | ||
30 | - set(configInstallDestination lib/cmake/${PROJECT_NAME}) | ||
31 | + set(configInstallDestination ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) | ||
32 | |||
33 | configure_package_config_file( | ||
34 | ${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in | ||
35 | -- | ||
36 | 2.31.1 | ||
37 | |||
diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb b/meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb index 0dbd5204d7..c905b74d6e 100644 --- a/meta-oe/recipes-support/libcereal/libcereal_1.3.0.bb +++ b/meta-oe/recipes-support/libcereal/libcereal_1.3.1.bb | |||
@@ -5,7 +5,7 @@ SECTION = "libs" | |||
5 | 5 | ||
6 | LICENSE = "BSD-3-Clause & MIT & BSL-1.0" | 6 | LICENSE = "BSD-3-Clause & MIT & BSL-1.0" |
7 | LIC_FILES_CHKSUM = "\ | 7 | LIC_FILES_CHKSUM = "\ |
8 | file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23 \ | 8 | file://LICENSE;md5=4921372a1fb38469e667c38b17a1c4b3 \ |
9 | file://include/cereal/external/rapidxml/license.txt;md5=d63ab70ba21ca0544b03284958324301 \ | 9 | file://include/cereal/external/rapidxml/license.txt;md5=d63ab70ba21ca0544b03284958324301 \ |
10 | file://include/cereal/external/LICENSE;md5=b07578c9df99c0b8b45eb041efd4a645 \ | 10 | file://include/cereal/external/LICENSE;md5=b07578c9df99c0b8b45eb041efd4a645 \ |
11 | file://include/cereal/external/rapidjson/LICENSE;md5=e7abb663111d4ac17cf00323698aff08 \ | 11 | file://include/cereal/external/rapidjson/LICENSE;md5=e7abb663111d4ac17cf00323698aff08 \ |
@@ -15,10 +15,8 @@ LIC_FILES_CHKSUM = "\ | |||
15 | PROVIDES += "${PN}-dev" | 15 | PROVIDES += "${PN}-dev" |
16 | 16 | ||
17 | PV .= "+git${SRCPV}" | 17 | PV .= "+git${SRCPV}" |
18 | SRCREV = "64f50dbd5cecdaba785217e2b0aeea3a4f1cdfab" | 18 | SRCREV = "1de8fe89471d69ea392ea260ce74e079d5f4b415" |
19 | SRC_URI = "git://github.com/USCiLab/cereal.git;branch=master;protocol=https \ | 19 | SRC_URI = "git://github.com/USCiLab/cereal.git;branch=master;protocol=https" |
20 | file://0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch \ | ||
21 | " | ||
22 | 20 | ||
23 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
24 | 22 | ||