From 19031c56fe4628e54769dd3c5e73f4154435fd4e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 2 May 2024 10:48:04 -0400 Subject: libmxml: upgrade 3.3.1 -> 4.0.3 Changelog: ============ -Now default the DSOFLAGS value to LDFLAGS in the configure script -Now install the man page as "mxml4" to allow parallel installation of Mini-XML 4.x and 3.x -Added MXML_ALLOC_SIZE define to control the allocation increment for attributes and indices -Fixed mxmlSetDeclarationf implementation -Fixed an issue with GNU make and parallel builds -Fixed missing "docdir" definition in makefile -Fixed missing CPPFLAGS, OPTIM, and WARNINGS in CFLAGS in makefile. -Fixed configure script issues. -Now require C99 support -Now install as "libmxml4" to support installing both Mini-XML 3.x and 4.x at the same time (use --disable-libmxml4-prefix configure option to disable) -Added mxmlLoadIO and mxmlSaveIO functions to load and save XML via callbacks -Added new MXML_TYPE_CDATA, MXML_TYPE_COMMENT, MXML_TYPE_DECLARATION, and MXML_TYPE_DIRECTIVE node types -Added mxmlLoadFilename and mxmlSaveFilename functions -Added AFL fuzzing support -Added mxmlOptions APIs to replace the long list of callbacks and options for each of the load and save functions -Added string copy/free callbacks to support alternate memory management of strings. -Renamed mxml_type_t enumerations to MXML_TYPE_xxx -Updated APIs to use bool type instead of an int representing a boolean value. -Updated the SAX callback to return a bool value to control processing -Updated the load and save callbacks to include a context pointer -Fixed some warnings -Fixed real number support in non-English locales -Updated the autoconf config.guess and config.sub scripts to support cross compilation for newer platforms Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-support/libmxml/libmxml_3.3.1.bb | 31 ------------------------ meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb | 31 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 meta-oe/recipes-support/libmxml/libmxml_3.3.1.bb create mode 100644 meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb (limited to 'meta-oe/recipes-support') diff --git a/meta-oe/recipes-support/libmxml/libmxml_3.3.1.bb b/meta-oe/recipes-support/libmxml/libmxml_3.3.1.bb deleted file mode 100644 index 38e270c036..0000000000 --- a/meta-oe/recipes-support/libmxml/libmxml_3.3.1.bb +++ /dev/null @@ -1,31 +0,0 @@ -DESCRIPTION = "Tiny XML Library" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -HOMEPAGE = "https://www.msweet.org/mxml/" -BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" - -SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https" -SRCREV = "fd47c7d115191c8a6bce2c781ffee41e179530f2" -S = "${WORKDIR}/git" - -# Package does not support out of tree builds. -inherit autotools-brokensep - -PACKAGECONFIG ??= "threads" -PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" - -# MXML uses autotools but it explicitly states it does not support autoheader. -EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" - -do_configure:prepend() { - # Respect optimization CFLAGS specified by OE. - sed -e 's/-Os -g//' -i ${S}/configure.ac - - # Enable verbose compilation output. This is required for extra QA checks to work. - sed -e '/.SILENT:/d' -i ${S}/Makefile.in -} - -do_install() { - # Package uses DSTROOT instread of standard DESTDIR to specify install location. - oe_runmake install DSTROOT=${D} -} diff --git a/meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb b/meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb new file mode 100644 index 0000000000..54582e7047 --- /dev/null +++ b/meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "Tiny XML Library" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" +HOMEPAGE = "https://www.msweet.org/mxml/" +BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" + +SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https" +SRCREV = "804c4f4d922e4ca240ce2cad3ec7bc5d00c08691" +S = "${WORKDIR}/git" + +# Package does not support out of tree builds. +inherit autotools-brokensep + +PACKAGECONFIG ??= "threads" +PACKAGECONFIG[threads] = "--enable-threads,--disable-threads" + +# MXML uses autotools but it explicitly states it does not support autoheader. +EXTRA_AUTORECONF = "--exclude=autopoint,autoheader" + +do_configure:prepend() { + # Respect optimization CFLAGS specified by OE. + sed -e 's/-Os -g//' -i ${S}/configure.ac + + # Enable verbose compilation output. This is required for extra QA checks to work. + sed -e '/.SILENT:/d' -i ${S}/Makefile.in +} + +do_install() { + # Package uses DSTROOT instread of standard DESTDIR to specify install location. + oe_runmake install DSTROOT=${D} +} -- cgit v1.2.3-54-g00ecf