Commit Graph

14 Commits

Author SHA1 Message Date
Moritz Haase
b7a6d63835
jsonrpc: Allow to build with CMake 4+
Upstream is inactive, so use the 'minimum policy version' override. An
additional patch is required to remove usage of an outdated policy that only
affects MacOS however, so we should we fine.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-11 08:35:05 -07:00
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
Gyorgy Sarvari
91a0e89229
jsonrpc: fix interface library paths in cmake files
The cmake files generated by this recipe contain a number
of interfacing libraries, with absolute paths, which also
contain the TMPDIR. The TMPDIR part of these paths were
just truncated by the recipe, to avoid the corresponding
QA check error.

However this made it impossible to to link against this
library from other recipes. When one tried, the find_package
command failed with the following error:

| Run Build Command(s): ninja -v -j 12 all
| ninja: error: '/usr/lib/libjsoncpp.so', needed by 'jsonrpctest', missing and no known rule to make it

To avoid this, instead of just truncating this path, set it to
${CMAKE_SYSROOT} placeholder (which is resolved by CMake to
the correct value at build-time, using the variable set by
cmake.bbclass)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-13 20:54:51 -08:00
alperak
cb2e8f98b4
jsonrpc: Fix contains reference to TMPDIR [buildpaths] warning
WARNING: jsonrpc-1.4.1-r0 do_package_qa: QA Issue: File /usr/lib/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets.cmake in package jsonrpc-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-07-03 20:20:17 -07:00
Wang Mingyu
132845c112 jsonrpc: upgrade 1.3.0 -> 1.4.1
0001-Fix-build-with-libmicrohttpd.patch
removed since it's included in 1.4.1

Changelog:
===========
- Fedora CI build by updating to Catch v2.13.7
- Typo in README (#313)
- Deprecation warnings for Jsoncpp (#312)
- Compatibility with newer libmicrohttpd versions (>= 0.9.71) (#298 #299)
- Typo in diagram (#293)
- File descriptor leaks in connectors

- Vendoring catch library instead of downloading from github
- Moved from travis-ci to circleci (#311)
- Use '.empty()' checks instead of '.size() == 0'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -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
Zang Ruochen
93ffbacf3c jsonrpc: Fix build with libmicrohttpd 0.9.71
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-05 10:02:11 -07:00
Wang Mingyu
efe61e9377 jsonrpc: upgrade 1.2.0 -> 1.3.0
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-02 22:46:06 -08:00
Khem Raj
0272da33e7 jsonrpc: Disable coverage in default build
Building with intrumentation is only useful during development or
optimization phases, in production, this will just make it slow and in
some cases not work where file system might be readonly.

If its needed then enable the packageconfig via a bbappend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-10 21:58:10 -07:00
Oleksandr Kravchuk
f94ba50385 jsonrpc: update to 1.2.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 07:00:12 -07:00
Khem Raj
3dc2b51183 jsonrpc: Update to 1.1.1
License-Updare: Change in copyright headers
ba3507a24b (diff-61e0bdf7e1b43c5c93d9488b22e04170)

Drop all patches since these issues are already fixed in new version
add new dependency on hiredis

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 13:34:49 -08:00
Khem Raj
01feee2cd9 jsonrpc: Backport and create patches to build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-05 19:28:30 +02:00
Khem Raj
fcc7a4d97c jsonrpc: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:21 +01:00