From 9928afb0e22bd38e97635df577337ac2b2f5ceec Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 May 2024 10:48:24 -0400 Subject: qcbor: upgrade 1.2 -> 1.3 License-Update: Update the LICENSE file from README.md to LICENSE Changelog: ========== - Floating-point conversion between half, single and double-precision for subnormal values and NaN payloads is completed. These are relatively obscure unused parts of IEEE754 floats. - QCBOREncode_GetErrorState() can now be called after QCBOREncode_Finish() and it will always return the correct error. - User-defined error codes are now supported. The error state can be set with the new function QCBORDecode_SetError(). - Fixed a rare condition where QCBORDecode_ VGetNext() would not set the Item.uDataType to QCBOR_TYPE_NONE on error. - Function naming changed to better avoid name collision. This includes internal functions. This is to compensate for C not having name spaces like C++. - Documentation correctly describes mixing of traversal cursor used by GetNext with fetch by label in entered maps - Some increase in test coverage - A bunch of "TODO:" items were addressed. Most result in no change to the code, just changes to documentation and test coverage. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-extended/qcbor/qcbor_1.3.bb | 30 +++++++++++++++++++++++++++ meta-oe/recipes-extended/qcbor/qcbor_git.bb | 32 ----------------------------- 2 files changed, 30 insertions(+), 32 deletions(-) create mode 100644 meta-oe/recipes-extended/qcbor/qcbor_1.3.bb delete mode 100644 meta-oe/recipes-extended/qcbor/qcbor_git.bb (limited to 'meta-oe/recipes-extended/qcbor') diff --git a/meta-oe/recipes-extended/qcbor/qcbor_1.3.bb b/meta-oe/recipes-extended/qcbor/qcbor_1.3.bb new file mode 100644 index 0000000000..f90e814f7a --- /dev/null +++ b/meta-oe/recipes-extended/qcbor/qcbor_1.3.bb @@ -0,0 +1,30 @@ +DESCRIPTION = " \ + QCBOR is a powerful, commercial-quality CBOR encoder/decoder that \ + implements these RFCs: RFC8949, RFC7049, RFC8742, RFC8943 \ +" + +HOMEPAGE = "https://github.com/laurencelundblade/QCBOR" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=498c298542365dfcfe29948c72a5849b" + +SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master" + +SRCREV = "1eba85dbbe78fc1938f8aba2112ba1b228caed30" + +S = "${WORKDIR}/git" + +inherit pkgconfig + +CFLAGS += " \ + -DUSEFULBUF_DISABLE_ALL_FLOAT \ +" + +do_install(){ + install -d ${D}${libdir} + install -m 755 ${S}/libqcbor.a ${D}${libdir}/ + install -d ${D}${includedir}/qcbor + install -m 644 ${S}/inc/*.h ${D}${includedir} + install -m 644 ${S}/inc/qcbor/*.h ${D}${includedir}/qcbor +} + diff --git a/meta-oe/recipes-extended/qcbor/qcbor_git.bb b/meta-oe/recipes-extended/qcbor/qcbor_git.bb deleted file mode 100644 index a87454fa95..0000000000 --- a/meta-oe/recipes-extended/qcbor/qcbor_git.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = " \ - QCBOR is a powerful, commercial-quality CBOR encoder/decoder that \ - implements these RFCs: RFC8949, RFC7049, RFC8742, RFC8943 \ -" - -HOMEPAGE = "https://github.com/laurencelundblade/QCBOR" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://README.md;beginline=442;endline=463;md5=b55643261d6d221dac2b7a395105af62" - -SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master" - -SRCREV = "44754f738c6534a4304a83d4c6e97b3d3193d887" - -PV = "1.2+git" - -S = "${WORKDIR}/git" - -inherit pkgconfig - -CFLAGS += " \ - -DUSEFULBUF_DISABLE_ALL_FLOAT \ -" - -do_install(){ - install -d ${D}${libdir} - install -m 755 ${S}/libqcbor.a ${D}${libdir}/ - install -d ${D}${includedir}/qcbor - install -m 644 ${S}/inc/*.h ${D}${includedir} - install -m 644 ${S}/inc/qcbor/*.h ${D}${includedir}/qcbor -} - -- cgit v1.2.3-54-g00ecf