[Pkg-xmpp-devel] Bug#1031427: libomemo-c-dev: No version in pkgconf
Stefan Kropp
stefan.kropp at posteo.de
Fri Feb 17 05:01:52 GMT 2023
Package: libomemo-c-dev
Version: 0.5.0-2
Severity: normal
X-Debbugs-Cc: stefan.kropp at posteo.de
Dear Maintainer,
libomemo-c doesn't provide a modversion for pkg-config.
----------------------------------------------
$ pkg-config --modversion libsignal-protocol-c
2.3.3
$ pkg-config --modversion libomemo-c
----------------------------------------------
It seems the reason is Version: @SIGNAL_PROTOCOL_C_VERSION@ here:
https://sources.debian.org/src/libomemo-c/0.5.0-3/src/libomemo-c.pc.in/#L9
----------------------------------------------
$ grep ^Version /usr/lib/x86_64-linux-gnu/pkgconfig/libsignal-protocol-c.pc
Version: 2.3.3
$ grep ^Version /usr/lib/x86_64-linux-gnu/pkgconfig/libomemo-c.pc
Version:
----------------------------------------------
The patch should fix the problem:
Index: libomemo-c/src/libomemo-c.pc.in
===================================================================
--- libomemo-c.orig/src/libomemo-c.pc.in
+++ libomemo-c/src/libomemo-c.pc.in
@@ -6,7 +6,7 @@ includedir=@INCLUDE_INSTALL_DIR@
Name: @PROJECT_NAME@
Description: OMEMO C Library
-Version: @SIGNAL_PROTOCOL_C_VERSION@
+Version: @OMEMO_C_VERSION@
Requires:
Libs: -L${libdir} -L${sharedlibdir} -l at PROJECT_NAME@
debuild with patch:
$ grep ^Version debian/libomemo-c-dev/usr/lib/x86_64-linux-gnu/pkgconfig/libomemo-c.pc
Version: 0.5.0
I will upload a patch on salsa.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-4-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libomemo-c-dev depends on:
ii libomemo-c0 0.5.0-2
libomemo-c-dev recommends no packages.
libomemo-c-dev suggests no packages.
-- no debconf information
Thank you for using reportbug
More information about the Pkg-xmpp-devel
mailing list