From f63c307318fbda42d2e9274eeb668c627b25fc9b Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 8 Mar 2023 21:20:40 +0800 Subject: gsoap: upgrade 2.0.106 -> 2.0.124 Changelog: ========== - Added C++17 'std::optional' member variable serialization. - Updated wsdl2h to automatically generates 'std::optional' member variables for optional schemas when typedef.dat defines '$OPTIONAL = std::optional'. Only primitive type member variables are made 'std::optional', not classes, because optional types must be defined before referenced when in fact cyclic data structure relationships may exist among classes. - Added missing 'std::vector' deep copy of vector of DOM trees generated with soapcpp2 option '-Ec'. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/gsoap/gsoap_2.8.106.bb | 42 -------------------------- meta-oe/recipes-support/gsoap/gsoap_2.8.124.bb | 41 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 42 deletions(-) delete mode 100644 meta-oe/recipes-support/gsoap/gsoap_2.8.106.bb create mode 100644 meta-oe/recipes-support/gsoap/gsoap_2.8.124.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.106.bb b/meta-oe/recipes-support/gsoap/gsoap_2.8.106.bb deleted file mode 100644 index 15c0f6faf8..0000000000 --- a/meta-oe/recipes-support/gsoap/gsoap_2.8.106.bb +++ /dev/null @@ -1,42 +0,0 @@ -DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \ -for the development of SOAP Web Services and clients." -SECTION = "devel" -LICENSE = "GPL-2.0-with-OpenSSL-exception" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4f40a941379143186f9602242c3fb729 \ - file://GPLv2_license.txt;md5=a33672dbe491b6517750a0389063508b" - -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}2/${BPN}_${PV}.zip \ - " -SRC_URI[md5sum] = "0925d25bc455047b01d4fe9814d30173" -SRC_URI[sha256sum] = "4e74838baf5437e95ae17aa3efb48bd0621f483bff4424f6255fcf327ff80765" - -inherit autotools - -BBCLASSEXTEND = "native" - -S = "${WORKDIR}/${BPN}-2.8" - -PARALLEL_MAKE = "" - -EXTRA_OEMAKE:class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2" - -DEPENDS = "openssl zlib flex bison bison-native" -DEPENDS:append:class-target = " gsoap-native" - -do_install:append() { - install -d ${D}${libdir} - for lib in libgsoapssl libgsoapssl++ libgsoap libgsoapck++ libgsoap++ libgsoapck - do - oe_libinstall -C gsoap $lib ${D}${libdir} - done -} - -do_install:class-native() { - oe_runmake DESTDIR=${D} BINDIR=${D}${bindir} install -} - -FILES:${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2" -FILES:${PN} += "${datadir}" -FILES:${PN}-staticdev = "${libdir}" -FILES:${PN}-dev = "${includedir}" -RRECOMMENDS:${PN}-dev = "${PN}-staticdev" diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.124.bb b/meta-oe/recipes-support/gsoap/gsoap_2.8.124.bb new file mode 100644 index 0000000000..22e0119798 --- /dev/null +++ b/meta-oe/recipes-support/gsoap/gsoap_2.8.124.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "The gSOAP toolkit provides a unique SOAP-to-C/C++ language binding \ +for the development of SOAP Web Services and clients." +SECTION = "devel" +LICENSE = "GPL-2.0-with-OpenSSL-exception" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4f40a941379143186f9602242c3fb729 \ + file://GPLv2_license.txt;md5=a33672dbe491b6517750a0389063508b" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}2/${BPN}_${PV}.zip \ + " +SRC_URI[sha256sum] = "4b798780989338f665ef8e171bbcc422a271004d62d5852666d5eeca33a6a636" + +inherit autotools + +BBCLASSEXTEND = "native" + +S = "${WORKDIR}/${BPN}-2.8" + +PARALLEL_MAKE = "" + +EXTRA_OEMAKE:class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2" + +DEPENDS = "openssl zlib flex bison bison-native" +DEPENDS:append:class-target = " gsoap-native" + +do_install:append() { + install -d ${D}${libdir} + for lib in libgsoapssl libgsoapssl++ libgsoap libgsoapck++ libgsoap++ libgsoapck + do + oe_libinstall -C gsoap $lib ${D}${libdir} + done +} + +do_install:class-native() { + oe_runmake DESTDIR=${D} BINDIR=${D}${bindir} install +} + +FILES:${PN} = "${bindir}/wsdl2h ${bindir}/soapcpp2" +FILES:${PN} += "${datadir}" +FILES:${PN}-staticdev = "${libdir}" +FILES:${PN}-dev = "${includedir}" +RRECOMMENDS:${PN}-dev = "${PN}-staticdev" -- cgit v1.2.3-54-g00ecf