From patchwork Thu Sep 8 07:39:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riyaz Khan X-Patchwork-Id: 12498 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACC55ECAAD5 for ; Thu, 8 Sep 2022 07:40:19 +0000 (UTC) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.web09.2635.1662622815761395494 for ; Thu, 08 Sep 2022 00:40:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jT3oNc8O; spf=pass (domain: gmail.com, ip: 209.85.215.177, mailfrom: rak3033@gmail.com) Received: by mail-pg1-f177.google.com with SMTP id v4so15897961pgi.10 for ; Thu, 08 Sep 2022 00:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=DvYFEQA4w2CVJGVIWnnjXLZ7axtabunO3TOb1N9OTzA=; b=jT3oNc8O+OnX6YHCPUP+qRAXYPaWtv+2RUS9kvNueMacrztK+4FO3vQ3d3aMHMUj1w CWTutGXb6FYJzNB3FWNmZXVtuv6wbIJffVciH6xERpALCZdfZOYXqmO0r7l/76pIkWc8 s75R3x2pTLysybwLvRsoYBkZCw0azTVJXXKsSVaLXHRAaUUg5rtUpSIs7uXjRJ9BxgnN 3Y2KMUp5czRkjL+mWPpKNoSC0rAvoGlKZIyhI+k0RLPVndulKGYAq0sFbYA9dEfh+Dfu sw3ipHJBl10Kb5Xd+iDKHdzWAEv7OoId2qKB3vpBJeqmlA4WZmYNolFqLFX6Kxpv2k24 wjew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=DvYFEQA4w2CVJGVIWnnjXLZ7axtabunO3TOb1N9OTzA=; b=551MhxA1AjmWfBrrYhsy2bBv22eIAblV0mY2PtpdznWtJPJzn65q/N5Xtuwkl0kxbR /jALCmG6gpMkeJuz6GZYCUSOwUIzLAfuhJvqY1lswYE7Yn/o4Ovn9SXLobBC5hvn8NQl SolwCRcX2PY5zibMKyDgtz+wY0pZVgE5BI+6k8xSBCbIfkP/4ms0x2l2I2oEYrV2Knsf 1PbDjwd7LgLHPciJvyXGko9WzQf0DNOzVvcTW2G08dKscv5ic82q2A1oJ9P591t5gCH1 R0lEJdDAzJOK3C53rvOjXFmHV2dHKR1psohKUxfr9fArC7N1me3ZKRn2ZFtBmofm5yvH q6QQ== X-Gm-Message-State: ACgBeo18uPxTALlmUHv+8wTZOLleuuHt1k6nqkMH7uRUrRDsfIRknZX/ ok9YnbGboKlP9V+UTQmzt2jfC+FqgyZl+F83 X-Google-Smtp-Source: AA6agR67HVMzZ2SO7YqRAuXbS9hA6+wSNQ8EylfKcBLtW9vLhiZV+oBCthIFUVWQylb1orVN5t6xmQ== X-Received: by 2002:a63:5811:0:b0:42c:6b9e:e70d with SMTP id m17-20020a635811000000b0042c6b9ee70dmr6799972pgb.533.1662622814809; Thu, 08 Sep 2022 00:40:14 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:33c3:2e02:685a:a9a:ac71:934b]) by smtp.gmail.com with ESMTPSA id r4-20020a170902c7c400b00172709064besm9101954pla.46.2022.09.08.00.40.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 00:40:14 -0700 (PDT) From: Riyaz Khan To: openembedded-devel@lists.openembedded.org, rak3033@gmail.com Cc: ranjitsinh.rathod@kpit.com, riyaz.khan@kpit.com, Riyaz Khan Subject: [meta-oe][master][PATCH v2 1/2] sdbus-c++: Upgrade sdbus-c++ 1.1.0 to 1.2.0 Date: Thu, 8 Sep 2022 13:09:59 +0530 Message-Id: <20220908074000.32204-1-rak3033@gmail.com> X-Mailer: git-send-email 2.17.1 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 08 Sep 2022 07:40:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/98713 From: Riyaz Khan 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 --- ...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%) diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch deleted file mode 100644 index 641935f68..000000000 --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44.patch +++ /dev/null @@ -1,54 +0,0 @@ -commit 7f437a6e06d2ec3abd3e2fd1101ab6aab386bc44 -Author: Stanislav Angelovic -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& d) --{ -+void PrintTo(const ::std::chrono::duration& d, ::std::ostream* os) { - auto seconds = std::chrono::duration_cast>(d); -- return os << seconds.count() << " s"; -+ *os << seconds.count() << "s"; -+} -+ - } --}} - - #endif /* SDBUS_CPP_INTEGRATIONTESTS_DEFS_H_ */ diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/run-ptest b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.2.0/run-ptest similarity index 100% rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.1.0/run-ptest rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.2.0/run-ptest diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.1.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.2.0.bb similarity index 91% rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.1.0.bb rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.2.0.bb index 107dbc6c9..75cd81553 100644 --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.1.0.bb +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.2.0.bb @@ -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 \