sdbus-c++: Upgrade sdbus-c++ 1.1.0 to 1.2.0
PATCH 1/2 sdbus-c++: Upgrade sdbus-c++ 1.1.0 to 1.2.0
From: Riyaz Khan <[email protected]>
Add SHA value in SRCREV and remove 7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch as this this patch is already part of 1.2.0 Source.
Reference link:
https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.2.0
Signed-off-by Riyaz Khan <[email protected]>
---
...7a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch | 54 -------------------
.../run-ptest | 0
...{sdbus-c++_1.1.0.bb => sdbus-c++_1.2.0.bb} | 5 +-
3 files changed, 2 insertions(+), 57 deletions(-)
delete mode 100644 meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch
rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-1.1.0 => sdbus-c++-1.2.0}/run-ptest (100%)
rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++_1.1.0.bb => sdbus-c++_1.2.0.bb} (91%)meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch deleted +0 -54
@@ -1,54 +0,0 @@ -commit 7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44 -Author: Stanislav Angelovic <[email protected]> -Date: Thu Jan 27 13:38:19 2022 +0100 - - fix(tests): printer for std::chrono in googletest v1.11.0 - -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index fbf198c..ec42e55 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -19,7 +19,7 @@ if (NOT TARGET GTest::gmock) - if (NOT TARGET GTest::gmock) - include(FetchContent) - -- message("Fetching googletest...") -+ message("Fetching googletest v${GOOGLETEST_VERSION}...") - FetchContent_Declare(googletest - GIT_REPOSITORY ${GOOGLETEST_GIT_REPO} - GIT_TAG release-${GOOGLETEST_VERSION} -diff --git a/tests/integrationtests/Defs.h b/tests/integrationtests/Defs.h -index 2f129a4..2bfc7c9 100644 ---- a/tests/integrationtests/Defs.h -+++ b/tests/integrationtests/Defs.h -@@ -56,20 +56,18 @@ const bool DEFAULT_BLOCKING_VALUE{true}; - - constexpr const double DOUBLE_VALUE{3.24L}; - --/** Duration stream operator for human readable gtest value output. -- * -- * Note that the conversion to double is lossy if the input type has 64 or more bits. -- * This is ok for our integration tests because they don't have very -- * accurate timing requirements. -- * -- * @return human readable duration in seconds -- */ -+}} -+ -+namespace testing::internal { -+ -+// Printer for std::chrono::duration types. -+// This is a workaround, since it's not a good thing to add this to std namespace. - template< class Rep, class Period > --static std::ostream& operator<<(std::ostream& os, const std::chrono::duration<Rep, Period>& d) --{ -+void PrintTo(const ::std::chrono::duration<Rep, Period>& d, ::std::ostream* os) { - auto seconds = std::chrono::duration_cast<std::chrono::duration<double>>(d); -- return os << seconds.count() << " s"; -+ *os << seconds.count() << "s"; -+} -+ - } --}} - - #endif /* SDBUS_CPP_INTEGRATIONTESTS_DEFS_H_ */
meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.2.0/run-ptest renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/run-ptest +0 -0
meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.2.0.bb renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.1.0.bb +2 -3
@@ -16,11 +16,10 @@ PACKAGECONFIG[with-tests] = "-DBUILD_TESTS=ON -DTESTS_INSTALL_PATH=${libdir}/${B DEPENDS += "expat" -SRCREV = "bca8e81037766a0454740c40307eea32831c101f" +SRCREV = "751c1addc4fd2f949a466f488c1b7de2ca3b76dc" SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master" -SRC_URI += "file://run-ptest \ - file://7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch " +SRC_URI += "file://run-ptest" EXTRA_OECMAKE = "-DBUILD_CODE_GEN=OFF \ -DBUILD_DOC=ON \
Signature · 1 line
2.17.1
PATCH 2/2 sdbus-c++-tools: Upgrade sdbus-c++-tools 1.1.0 to 1.2.0
From: Riyaz Khan <[email protected]>
Update SHA value in SRCREV.
Reference link:
https://github.com/Kistler-Group/sdbus-cpp/releases/tag/v1.2.0
Signed-off-by Riyaz Khan <[email protected]>
---
.../{sdbus-c++-tools_1.1.0.bb => sdbus-c++-tools_1.2.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-tools_1.1.0.bb => sdbus-c++-tools_1.2.0.bb} (88%)meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.2.0.bb renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_1.1.0.bb +1 -1
@@ -8,7 +8,7 @@ inherit cmake DEPENDS += "expat" -SRCREV = "bca8e81037766a0454740c40307eea32831c101f" +SRCREV = "751c1addc4fd2f949a466f488c1b7de2ca3b76dc" SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;subpath=tools" S = "${WORKDIR}/tools"
Signature · 1 line
2.17.1