summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/jansson
Commit message (Collapse)AuthorAgeFilesLines
* jansson: Add patch for CMake 4+ compatibilityAlper Ak2025-07-092-0/+39
| | | | | | | | | | | | | | | | | | | Fix: | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | to tell CMake that the project requires at least <min> but has been updated | to work with policies introduced by <max> or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: upgrade 2.14 -> 2.14.1Yi Zhao2025-03-314-85/+2
| | | | | | | | | | | | | | | ChangeLog: https://github.com/akheron/jansson/releases/tag/v2.14.1 * Drop backport patches. License-Update: Updated copyright years Add an exception for `src/dtoa.c`[1] [1] https://github.com/akheron/jansson/commit/2297a2e320ebecc6dc98f7034a2f38509ad1d7f5 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: fix a symbol clash when building with cmakeJaeyoon Jung2025-01-162-0/+31
| | | | | | | | | | | | It exports all symbols globally which results in a symbol clash, for example "hashtable_del" of ulogd2. It has been revealed because the recipe inherits cmake over autotools since Langdale. This fixes it by specifying visibility scope of symbols in its version script which matches what is given with the libtool flag '-export-symbols-regex' in Makefile.am. Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: add JSON_INTEGER_IS_LONG_LONG for cmakeChen Qi2024-10-102-0/+52
| | | | | | | | | This macro is documented, so it should be consistent across different build systems. It's defined in autotools, but not cmake. Add it for cmake. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jansson: modify existing UPSTREAM_CHECK_REGEXAlexandre Truong2024-07-241-1/+1
| | | | | | | | | | | Fix the UNKNOWN_BROKEN status from running devtool check-upgrade-status. The next version of the package can be found from upstream sources by changing existing UPSTREAM_CHECK_REGEX. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
* 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>