Commit Graph

15 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu
a1882f4b17
libmxml: upgrade 4.0.3 -> 4.0.4
Changelog:
==========
- Added Linux-specific build files and dropped unused 'long long' config tests
- Documentation fixes
- Fixed an issue when reporting errors with a 'NULL' options pointer
- Fixed some compiler warnings
- Fixed installation on MingW

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-10 08:45:36 -08:00
Wang Mingyu
19031c56fe
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-02 07:32:48 -07:00
alperak
bfda5e7c70
libmxml: use autotools-brokensep instead of setting B
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-12 14:40:58 -08:00
Sourav Kumar Pramanik
3da59b8a8a meta-oe-components: Avoid usage of nobranch=1
The usage of nobranch=1 in SRC_URI allows using unprotected branches.

This change updates the real branch name in place of nobranch=1 for these components.

Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-07 08:22:43 -07:00
wangmy
11d5fe77c8 libmxml: upgrade 3.3 -> 3.3.1
Fixed POSIX thread cleanup bugs (Issue #293)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-06 09:12:15 -07:00
Pierre-Jean Texier
18c419fcdb libmxml: upgrade 3.2 -> 3.3
mxml 3.3 is a bug fix release. Changes include:

  - Cleaned up usage of free throughout the library
  - Added more error handling to the library
  - Fixed potential memory leak in mxmlLoad* functions
  - Fixed mxmlSaveString with a buffer size of 0
  - Fixed MXML_MINOR_VERSION value in "mxml.h"
  - Fixed POSIX threading support for MingW
  - Fixed some minor memory leaks found by Coverity.

Signed-off-by: Pierre-Jean Texier <pierre-jean.texier@lafon.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-09 11:23:54 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller
f5dfbdd59e libmxml: upgrade 3.1 -> 3.2
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-22 05:55:02 -07:00
Pierre-Jean Texier
f9f868e3e3 libmxml: upgrade 3.0 -> 3.1
See https://github.com/michaelrsweet/mxml/releases/tag/v3.1

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-09 14:05:37 -08:00
Piotr Tworek
da61ce2396 libmxml: Use autotools bbclass and cleanup the recipe a bit.
The package does use autotools based build systemd but it comes with a
bit of a twist. It explicitly disallows running autoheader on the source
tree. This can apparently be easilt accomplished with exclude parameter
passed via EXTRA_AUTORECONF.

This patch also adds PACKAGECONFIG option allowing the user to toggle
threading support in the library. Not sure how useful it is, but upstream
does offer such option, it works, and its not a lot of work to expose it
via PACKAGECONFIG.

Another improvement is related to package optimization handling.
mxml has a nasty habit of disregarding optimization flags passed by the
user. It always appends -Os -g to CFLAGS in its configure script. Its
a bit suprising to find out DEBUG_BUILD=1 in local.conf has no impact on
libraries produced by mxml recipe. This can be fixed with a simple sed
script.

Sed is also used to enable verbose compilation output. Having full
compiler invocations visible in the logs is generally useful, but
more importantly it allows some of the QA checks to their work.

While doing this cleanup I've also renamed the recipe from libxml_git.bb
to libxml_3.0.bb. The git keyword suggests this recipe is for some
random git snapshot, while in reality its for latest stable upstream
release of the package.

Last but not least this patch removes the bin package. Current versions of
mxml no longer provide any tools. The package was empty.

Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-24 05:20:42 -07:00
Khem Raj
14bf885618 libmxml: Upgrade to 3.0 release
License-Update: Switch to Apache-2.0 as upstream has switched

f166ad1977 (diff-9879d6db96fd29134fc802214163b95a)

Fix build on risc-v

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Richard Leitner
d48d265d3d libmxml: update to current git master (ba3cca8)
Update the Mini-XML library to a 2.12 pre-release version which
integrates the needed patches for OE. Therefore remove those patches
from here.

Furthermore avoid using autoheader as suggested by mxml's author:
	https://github.com/michaelrsweet/mxml/pull/223

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-20 16:07:11 -07:00
Richard Leitner
b1d047c35a libmxml: add recipe
Add version 2.11 of libmxml with the debian patches and a
fix for libmxml.a installation applied.

Upstreaming of these patches was requested by following pull-request:
	https://github.com/michaelrsweet/mxml/pull/223

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-06-05 18:17:21 -07:00