Skip to contentSkip to conversation

msgpack-c: update 3.2.1 -> 4.0.0, add msgpack-cpp

PATCH New Alexander Kanavin 1 participant 4 messages Sep 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 msgpack-c: update 3.2.1 -> 4.0.0, add msgpack-cpp

Upstream has split the C and C++ versions into separate components so add the recipe for CPP flavour.

The only consumer in meta-oe, tmate, still builds fine.

---
 .../packagegroups/packagegroup-meta-oe.bb     |  1 +
 ...{msgpack-c_3.2.1.bb => msgpack-c_4.0.0.bb} |  5 ++---
 .../msgpack/msgpack-cpp_4.0.2.bb              | 22 +++++++++++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/msgpack/{msgpack-c_3.2.1.bb => msgpack-c_4.0.0.bb} (83%)
 create mode 100644 meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +1 -0
index c36feb334..d56e3d302 100644
@@ -278,6 +278,7 @@ RDEPENDS:packagegroup-meta-oe-devtools ="\
     capnproto-compiler \
     mpich \
     msgpack-c \
+    msgpack-cpp \
     mercurial \
     nodejs \
     openocd \
meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb renamed from meta-oe/recipes-devtools/msgpack/msgpack-c_3.2.1.bb +2 -3
similarity index 83%
rename from meta-oe/recipes-devtools/msgpack/msgpack-c_3.2.1.bb
rename to meta-oe/recipes-devtools/msgpack/msgpack-c_4.0.0.bb
index 5224f32b0..1bb371add 100644
@@ -9,10 +9,9 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
 
 PV .= "+git${SRCPV}"
 
-SRC_URI = "git://github.com/msgpack/msgpack-c \
+SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master \
            "
-# cpp-3.2.1
-SRCREV = "8085ab8721090a447cf98bb802d1406ad7afe420"
+SRCREV = "a9a48cea3a78ba661ee8096b5dab456361b0ff23"
 
 S = "${WORKDIR}/git"
 
meta-oe/recipes-devtools/msgpack/msgpack-cpp_4.0.2.bb new file +22 -0
new file mode 100644
index 000000000..f66a00bd8
@@ -0,0 +1,22 @@
+SUMMARY = "MessagePack implementation for C and C++"
+DESCRIPTION = "MessagePack is an efficient binary serialization format. It's like JSON. but fast and small"
+HOMEPAGE = "http://msgpack.org/index.html"
+LICENSE = "BSL-1.0"
+LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
+                    file://COPYING;md5=0639c4209b6f2abf1437c813b208f2d3 \
+                    file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c \
+                   "
+
+PV .= "+git${SRCPV}"
+
+SRC_URI = "git://github.com/msgpack/msgpack-c;branch=cpp_master \
+           "
+SRCREV = "3bdbf0d2ee75d46d71afa691a594777d89a22cf7"
+
+DEPENDS += "boost"
+
+S = "${WORKDIR}/git"
+
+inherit cmake pkgconfig
+
+BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/4 can-utils: rrecommend iproute2 to make it possible to configure can interfaces

This replicates the fix from canutils.bb, for the same issue. See the link in the comment for details.

---
 meta-oe/recipes-extended/socketcan/can-utils_git.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/recipes-extended/socketcan/can-utils_git.bb +5 -0
index 8d63a10e5..1a2d33090 100644
@@ -45,3 +45,8 @@ ALTERNATIVE:${PN} = "candump cansend cansequence"
 ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
 ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
 ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"
+
+# busybox ip fails to configure can interfaces, so we need iproute2 to do so.
+# See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.
+RRECOMMENDS:${PN} += "iproute2"
+
Signature · 1 line
2.20.1
#2 lore raw

PATCH 3/4 fmt: update 7.1.3 -> 8.0.1

In reply to Alexander Kanavin
---
 meta-oe/recipes-support/fmt/{fmt_7.1.3.bb => fmt_8.0.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/fmt/{fmt_7.1.3.bb => fmt_8.0.1.bb} (82%)
meta-oe/recipes-support/fmt/fmt_8.0.1.bb renamed from meta-oe/recipes-support/fmt/fmt_7.1.3.bb +2 -2
similarity index 82%
rename from meta-oe/recipes-support/fmt/fmt_7.1.3.bb
rename to meta-oe/recipes-support/fmt/fmt_8.0.1.bb
index 9820b8647..0dc8e038d 100644
@@ -4,8 +4,8 @@ HOMEPAGE = "https://fmt.dev"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=af88d758f75f3c5c48a967501f24384b"
 
-SRC_URI += "git://github.com/fmtlib/fmt"
-SRCREV = "7bdf0628b1276379886c7f6dda2cef2b3b374f0b"
+SRC_URI = "git://github.com/fmtlib/fmt"
+SRCREV = "d141cdbeb0fb422a3fb7173b285fd38e0d1772dc"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.20.1
#3 lore raw

PATCH 4/4 spdlog: update 1.8.2 -> 1.9.2

In reply to Alexander Kanavin
---
 .../recipes-support/spdlog/{spdlog_1.8.2.bb => spdlog_1.9.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/spdlog/{spdlog_1.8.2.bb => spdlog_1.9.2.bb} (93%)
meta-oe/recipes-support/spdlog/spdlog_1.9.2.bb renamed from meta-oe/recipes-support/spdlog/spdlog_1.8.2.bb +1 -1
similarity index 93%
rename from meta-oe/recipes-support/spdlog/spdlog_1.8.2.bb
rename to meta-oe/recipes-support/spdlog/spdlog_1.9.2.bb
index 40ef4646b..c103c3493 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/gabime/spdlog/wiki"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-SRCREV = "de0dbfa3596a18cd70a4619b6a9766847a941276"
+SRCREV = "eb3220622e73a4889eee355ffa37972b3cac3df5"
 SRC_URI = "git://github.com/gabime/spdlog.git;protocol=git;branch=v1.x; \
            file://0001-Enable-use-of-external-fmt-library.patch"
 
Signature · 1 line
2.20.1