summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/jansson
Commit message (Collapse)AuthorAgeFilesLines
* jansson: Default to shared buildsAlex Kiernan2022-10-031-0/+2
| | | | | | | | The change to cmake changed the default to static builds (there doesn't appear to be a way to ask for both). Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: Backport linker flag fixesAlex Kiernan2022-10-032-0/+30
| | | | | | | Fix overwriting linker flags. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: Honour multilib pathsAlex Kiernan2022-10-032-1/+66
| | | | | | | | | | | | | | | | | | | | | | When multilib is enabled, builds fail during package_qa: ERROR: jansson-2.14-r0 do_package: QA Issue: jansson: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/libjansson.a /usr/lib/pkgconfig /usr/lib/cmake /usr/lib/pkgconfig/jansson.pc /usr/lib/cmake/jansson /usr/lib/cmake/jansson/janssonTargets-noconfig.cmake /usr/lib/cmake/jansson/janssonConfig.cmake /usr/lib/cmake/jansson/janssonConfigVersion.cmake /usr/lib/cmake/jansson/janssonTargets.cmake Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. jansson: 10 installed and not shipped files. [installed-vs-shipped] ERROR: jansson-2.14-r0 do_package: Fatal QA errors were found, failing task. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: use cmake instead of autotoolsMarkus Volk2022-09-281-1/+1
| | | | | | | | | | This fixes build with clang and lld linker | x86_64-poky-linux-ld.lld: error: unknown argument '--default-symver' | clang-15: error: linker command failed with exit code 1 (use -v to see invocation) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: Upgrade 2.13.1 -> 2.14Alex Kiernan2022-07-021-3/+4
| | | | | | | | Releases have moved to github in 2.14. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alex Kiernan <alexk@zuma.ai> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: upgrade 2.12 -> 2.13.1Wang Mingyu2020-05-211-3/+3
| | | | | | | -License-Update: Copyright year updated to 2020. Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: allow to build a -native packageAndré Draszik2019-11-071-0/+1
| | | | | | | This will e.g. enable us to use it from nghttp2-native Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: update to 2.12Oleksandr Kravchuk2018-12-052-12/+13
| | | | | | | | License MD5 hash has been changed due to modified copyright year in the LICENSE file. Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: update 2.9 -> 2.11Andre McCurdy2018-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 2.11 ============ Released 2018-02-09 * New features: - Add `json_pack()` format specifiers s*, o* and O* for values that can be omitted if null (#339). - Add `json_error_code()` to retrieve numeric error codes (#365, #380, #381). - Enable thread safety for `json_dump()` on all systems. Enable thread safe `json_decref()` and `json_incref()` for modern compilers (#389). - Add `json_sprintf()` and `json_vsprintf()` (#393). * Bug Fixes: - Fix incorrect report of success from `json_dump_file()` when an error is returned by `fclose()` (#359). - Make json_equal() const-correct (#344). - Fix incomplete stealing of references by `json_pack()` (#374). * Build: - Work around gcc's -Wimplicit-fallthrough. - Fix CMake detection of `sys/types.h` header (#375). - Fix `jansson.pc` generated by CMake to be more consistent with the one generated using GNU Autotools (#368). * Other: - Miscellaneous documentation fixes (#356, #378, #395). - Remove unnecessary reference actions from parsers (#377). Version 2.10 ============ Released 2017-03-02 * New features: - Add JSON_EMBED encoding flag allowing arrays and objects to be encoded into existing streams (#329). - Add `json_dumpb()` function for dumping to a pre-allocated buffer (#328). - Add `json_dumpfd()` and `json_loadfd()` functions for dumping to streaming file descriptors (#328). - Add support for parsing buffers larger than 2GB (#309). * Build: - Fix CMake build when LONG_LONG_INT is defined as "" (#321) * Other: - Internal code cleanup (#311, #314) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: update to 2.9Igor Socec2016-10-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Improved build, tests and documentation. New features: functions and macros (*pack, *foreach, *string*, *alloc*) Security fixes: CVE-2013-6401 Bugfixes: - Number parsing and overflows - Fix l_isxdigit() macro (#97). - Check for NULL key in json_object_get() and json_object_del() (#151). - Enhance hashtable seeding on Windows (#162). - json_unpack(): Allow mixing JSON_STRICT with optional keys (#162, #163). - Fix int/int32 mismatch (#142). - Parse subnormal numbers correctly (#202). - Fix a crash when parsing inputs consisting of very deeply nested arrays or objects (#282, #284). - Never convert numbers to integers in the parser when JSON_DECODE_INT_AS_REAL is set (#212). - Handle out-of-memory situations gracefully in the hashtable implementation (#298). The copyright date in the LICENSE file was updated for 2016. Signed-off-by: Igor Socec <igor.socec@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* jansson: update to 2.4Jack Mitchell2013-01-251-2/+2
| | | | | Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* jansson_2.3.1.bb: Fix multilib use BPN in SRC_URI instead of PNKhem Raj2013-01-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Jansson: new recipe, library for creating and manipulating JSON strings in CJack Mitchell2012-10-241-0/+12
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>