From 9d66f76045066a4fd74deb8a098b9322c0affc9d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 17 Apr 2023 20:39:40 -0700 Subject: xmlrpc-c: Upgrade to 1.59.01 Fix buildpath warning due to tmpdir appearing in xmlconfig-c-config WARNING: xmlrpc-c-1.54.06-r0 do_package_qa: QA Issue: File /usr/bin/xmlrpc-c-config in package xmlrpc-c-dev contains reference to TMPDIR [buildpaths] Signed-off-by: Khem Raj --- .../recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb | 45 -------------------- .../recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb | 49 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 45 deletions(-) delete mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb deleted file mode 100644 index 0a7ad33c64..0000000000 --- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.54.06.bb +++ /dev/null @@ -1,45 +0,0 @@ -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-3-Clause & MIT" -LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" - -SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ - file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ - file://0002-fix-formatting-issues.patch \ - " -#Release 1.54.06 -SRCREV = "00870af80021aa0a66cc72c9aeb00587cbfde560" - -S = "${WORKDIR}/git/stable" - -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" - -do_configure() { - gnu-configize --verbose --force ${S} - autoconf - oe_runconf - # license is incompatible with lib/util/getoptx.* - rm -fv ${S}/tools/turbocharger/mod_gzip.c -} - -BBCLASSEXTEND = "native" - -CLEANBROKEN = "1" diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb new file mode 100644 index 0000000000..278db6dc84 --- /dev/null +++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb @@ -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-3-Clause & MIT" +LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" + +SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ + file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ + file://0002-fix-formatting-issues.patch \ + " +#Release 1.59.01 +SRCREV = "352aeaa9ae49e90e55187cbda839f2113df06278" + +S = "${WORKDIR}/git/stable" + +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" + +do_configure() { + gnu-configize --verbose --force ${S} + autoconf + oe_runconf + # license is incompatible with lib/util/getoptx.* + rm -fv ${S}/tools/turbocharger/mod_gzip.c +} + +do_install:append:class-target() { + sed -i 's,${WORKDIR},/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR},g' ${D}${bindir}/xmlrpc-c-config +} + +BBCLASSEXTEND = "native" + +CLEANBROKEN = "1" -- cgit v1.2.3-54-g00ecf