From 87c9e9537dc43468a6aaf706853b784ce6de14e0 Mon Sep 17 00:00:00 2001 From: Chee Yang Lee Date: Tue, 10 Jan 2023 15:22:45 +0800 Subject: xerces-c: upgrade to 3.2.4 also fix reproducible build Signed-off-by: Chee Yang Lee Signed-off-by: Khem Raj --- .../recipes-devtools/xerces-c/xerces-c_3.1.4.bb | 44 ---------------------- .../recipes-devtools/xerces-c/xerces-c_3.2.4.bb | 43 +++++++++++++++++++++ 2 files changed, 43 insertions(+), 44 deletions(-) delete mode 100644 meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb create mode 100644 meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.4.bb (limited to 'meta-oe/recipes-devtools') diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb deleted file mode 100644 index 22fd94b093..0000000000 --- a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.1.4.bb +++ /dev/null @@ -1,44 +0,0 @@ -SUMMARY = "Xerces-c is a validating xml parser written in C++" -DESCRIPTION = "Xerces-C++ makes it easy to give your application \ - the ability to read and write XML data. \ - A shared library is provided for parsing, generating, \ - manipulating, and validating XML documents using \ - the DOM, SAX, and SAX2 APIs." -HOMEPAGE = "http://xerces.apache.org/xerces-c/" -SECTION = "libs" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "http://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2" -SRC_URI[md5sum] = "d04ae9d8b2dee2157c6db95fa908abfd" -SRC_URI[sha256sum] = "9408f12c1628ecf80730bedbe8b2caad810edd01bb4c66f77b60c873e8cc6891" - -inherit autotools - -PACKAGECONFIG ??= "curl icu" -PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl" -PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu" - -do_install:prepend () { - sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc -} - -PACKAGES = "libxerces-c \ - libxerces-c-dev \ - xerces-c-samples \ - libxerces-c-staticdev \ - ${PN}-dbg \ -" - -RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg" - -FILES:libxerces-c = "${libdir}/libxerces-c-3.1.so" -FILES:libxerces-c-dev = "${libdir}/lib*.la \ - ${libdir}/libxerces-c.so \ - ${libdir}/pkgconfig/xerces-c.pc \ - ${includedir}/xercesc \ -" -FILES:xerces-c-samples = "${bindir}/*" -FILES:libxerces-c-staticdev = "${libdir}/lib*.a" - -BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.4.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.4.bb new file mode 100644 index 0000000000..582c29379a --- /dev/null +++ b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.4.bb @@ -0,0 +1,43 @@ +SUMMARY = "Xerces-c is a validating xml parser written in C++" +DESCRIPTION = "Xerces-C++ makes it easy to give your application \ + the ability to read and write XML data. \ + A shared library is provided for parsing, generating, \ + manipulating, and validating XML documents using \ + the DOM, SAX, and SAX2 APIs." +HOMEPAGE = "http://xerces.apache.org/xerces-c/" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "http://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2" +SRC_URI[sha256sum] = "74aa626fc71e729ee227602870dd29a5a01cd8c9c1c7330837a51da2eb5722cc" + +inherit autotools + +PACKAGECONFIG ??= "curl icu" +PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl" +PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu" + +do_install:prepend () { + sed -i s:-L${STAGING_LIBDIR}::g ${B}/xerces-c.pc +} + +PACKAGES = "libxerces-c \ + libxerces-c-dev \ + xerces-c-samples \ + libxerces-c-staticdev \ + ${PN}-dbg \ +" + +RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg" + +FILES:libxerces-c = "${libdir}/libxerces-c-3.2.so" +FILES:libxerces-c-dev = "${libdir}/lib*.la \ + ${libdir}/libxerces-c.so \ + ${libdir}/pkgconfig/xerces-c.pc \ + ${includedir}/xercesc \ +" +FILES:xerces-c-samples = "${bindir}/*" +FILES:libxerces-c-staticdev = "${libdir}/lib*.a" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf