Skip to contentSkip to conversation

xmlrpc-c: Upgrade 1.51.03 -> 1.54.02

PATCH Superseded Arthur She 2 participants 2 messages Aug 17, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Arthur She

author
#0 lore raw

PATCH 1/1 xmlrpc-c: Upgrade 1.51.03 -> 1.54.02

Upgrade to release 1.54.02:

- Build: Use 'curl-config' found at configure time, not at make time.
- Fix bug: 'toValue' won't compile for vector of vectors or map of vectors. Thanks Yang Bo .
- Fix tiny memory leak in virtually impossible low memory situation.

It also solved one igt-gpu-tools test results misleading issue [1]

[1] https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/92

---
 .../xmlrpc-c/xmlrpc-c_1.54.02.bb              | 49 +++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +49 -0
new file mode 100644
index 000000000..c1f0b78ca
@@ -0,0 +1,49 @@
+DESCRIPTION = "XML-RPC for C/C++ is programming libraries and related tools to help you \
+write an XML-RPC server or client in C or C++."
+
+HOMEPAGE = "http://xmlrpc-c.sourceforge.net/"
+LICENSE = "BSD & MIT"
+LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
+
+SRC_URI = "git://github.com/mirror/xmlrpc-c.git \
+           file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
+           file://0002-fix-formatting-issues.patch \
+           "
+
+#Release 1.54.02
+SRCREV = "86405c7e1bd4f70287204a28d242a1054daab520"
+
+S = "${WORKDIR}/git/stable"
+
+DEPENDS = "libxml2"
+
+inherit autotools-brokensep binconfig pkgconfig
+
+TARGET_CFLAGS += "-Wno-narrowing"
+
+EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
+                 LD_FOR_BUILD='${BUILD_LD}' \
+                 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
+                 LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \
+                 "
+
+EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client"
+
+PACKAGECONFIG ??= "curl cplusplus"
+
+PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads --disable-abyss-openssl,openssl,"
+PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus,,"
+PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl,curl"
+
+do_configure() {
+        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
+        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
+        autoconf
+        oe_runconf
+        # license is incompatible with lib/util/getoptx.*
+        rm -fv ${S}/tools/turbocharger/mod_gzip.c
+}
+
+BBCLASSEXTEND = "native"
+
+CLEANBROKEN = "1"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 11 lines · Arthur She

Upgrade to release 1.54.02:

- Build: Use 'curl-config' found at configure time, not at make time.
- Fix bug: 'toValue' won't compile for vector of vectors or map of vectors. Thanks Yang Bo .
- Fix tiny memory leak in virtually impossible low memory situation.

It also solved one igt-gpu-tools test results misleading issue [1]

[1] https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/92

Quoted 8 lines
---
 .../xmlrpc-c/xmlrpc-c_1.54.02.bb              | 49
+++++++++++++++++++
 1 file changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-

c_1.54.02.bb

This is adding a new recipe instead of upgrading the existing one. You probably forgot to git rm the old one?

Thanks,

Anuj

Quoted 66 lines
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +1 -0
new file mode 100644
index 000000000..c1f0b78ca
@@ -0,0 +1,49 @@
+DESCRIPTION = "XML-RPC for C/C++ is programming libraries and

related tools to help you \

meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +5 -0
+write an XML-RPC server or client in C or C++."
+
+HOMEPAGE = "http://xmlrpc-c.sourceforge.net/"
+LICENSE = "BSD & MIT"
+LIC_FILES_CHKSUM =

"file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"

meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +3 -0
+
+SRC_URI = "git://github.com/mirror/xmlrpc-c.git \
+           file://0001-test-cpp-server_abyss-Fix-build-with-clang-

libc.patch \

meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +26 -2
+           file://0002-fix-formatting-issues.patch \
+           "
+
+#Release 1.54.02
+SRCREV = "86405c7e1bd4f70287204a28d242a1054daab520"
+
+S = "${WORKDIR}/git/stable"
+
+DEPENDS = "libxml2"
+
+inherit autotools-brokensep binconfig pkgconfig
+
+TARGET_CFLAGS += "-Wno-narrowing"
+
+EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
+                 LD_FOR_BUILD='${BUILD_LD}' \
+                 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
+                 LDFLAGS_FOR_BUILD='${BUILD_LDFLAGS}' \
+                 "
+
+EXTRA_OECONF += "--disable-libwww-client --disable-wininet-client"
+
+PACKAGECONFIG ??= "curl cplusplus"
+
+PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads 
--enable-abyss-openssl,--disable-abyss-server --disable-abyss-threads 
--disable-abyss-openssl,openssl,"
+PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-

cplusplus,,"
+PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl- client,curl,curl"

meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +3 -0
+
+do_configure() {
+        install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-

config/config.guess ${S}
+ install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-
config/config.sub ${S}

meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.02.bb new file +9 -0
+        autoconf
+        oe_runconf
+        # license is incompatible with lib/util/getoptx.*
+        rm -fv ${S}/tools/turbocharger/mod_gzip.c
+}
+
+BBCLASSEXTEND = "native"
+
+CLEANBROKEN = "1"