Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

88.10. jansson-2.15.1

C library for encoding/decoding/manipulating JSON (NetworkManager dep)

2.15.1-1 · MIT · 0.1 SBU · 149.5 KiB, 7 files · 41_system, 309 of 1047 · ports/core/formats/jansson

Homepage: https://github.com/akheron/jansson

Jansson is a C library for encoding, decoding and manipulating JSON data, with a small API and no dependencies of its own. nftables uses it for nft --json, and networkmanager, samba, mtr, ddcutil, obs-studio and handbrake link it too.

Depends on: nothing a recipe names.

Required by (10): ddcutil, handbrake, mtr, networkmanager, nftables, obs-studio, organicmaps, powerman, samba, universal-ctags.

Sources: jansson-2.15.1.tar.gz (609.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install jansson'

build.sh:

./configure \
	--prefix=/usr \
	--libdir=/usr/lib \
	--disable-static
make
make DESTDIR=$PKG install

Libraries: libjansson.so.

Directories: /usr/share/licenses/jansson.

The recipe has no depends line: Jansson needs nothing beyond the C library and the toolchain, and its configure is the release’s own, so no autotools run.