HEADUPS changes in json-c library in critical path

Remi Collet Fedora at FamilleCollet.com
Sat May 4 07:58:39 UTC 2013


Hi,

I just update json-c to version 0.11 in rawhide.

As there is an old name conflict for libjson.so (with other projects),
upstream have renamed the library to libjson-c.so

For now, the package provides both library (libjson.so and libjson-c.so)

This new version is ABI compatible with 0.10, so application can run
using it, without rebuild.


But, as the plan is to removed the compat library at some time it's
better to rebuild your packages and check that it is aware of new name.

Required changes

- if -ljson is used, must be changed to ljson-c or, better, to use
pkg-config (else link will fail)

- if "pkg-config json" is used, it will work, but should be changed to
"pkg-config json-c"

- if include <json/json.h> is used (instead of <json.h> and getting
include path from pkg-config), it will work, but must be fixed
(/usr/include/json will be dropped)

Affected packages (perhaps not exhaustive)
	abrt
	authhub
	ceelog
	lcgdm
	libreport
	libverto
	newsbeuter
	opensips
	pulseaudio

Any comment ?
Update to stable branches is also planed.


Remi.


More information about the devel mailing list