Package: libjansson-dev
Version: 2.14-2+b2
Severity: important
X-Debbugs-Cc: cqu...@arcor.de

I am trying to use the libjansson library from a cmake project using the Debian
installed package. However I found that the libjansson-dev package provides the
jansson.pc file that can be used with pkg-config but not the
janssonConfig.cmake file to be used by cmake projects.

It seems that the library has a dual build system: autotools and cmake
(https://jansson.readthedocs.io/en/latest/gettingstarted.html#compiling-and-
installing-jansson). I have tried to build it with cmake and in that case it
creates the cmake configuration files needed for cmake-based projects. However
the autotools-based build creates only the pkg-config configuration file.
Interestingly, the cmake-based build _also_ creates the pkg-config
configuration file, so I think that an easy way to solve the issue is to use
cmake to build the Debian package, which hopefully won't introduce any
regression since the already provided pgk-config file would still be installed.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES:es
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libjansson-dev depends on:
ii  libjansson4  2.14-2+b2

libjansson-dev recommends no packages.

libjansson-dev suggests no packages.

-- no debconf information

Reply via email to