Package: libjxr-dev
Version: 1.2~git20170615.f752187-3
Severity: important
Tags: patch
Dear Maintainer,
The pkg-config file for libjxr contains incorrect paths to the headers: it
refers to paths used by the upstream Makefile (sub-directories of
/usr/include/libjxr) whereas the Debian package actually installs the headers
directly into a different directory (/usr/include/jxrlib). Therefore,
packages that depend on jxrlib via the pkg-config file fail to build.
The attached patch attempts to fix that issue.
Best regards,
Yann Leprince
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-91-generic (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages libjxr-dev depends on:
ii libjxr0 1.2~git20170615.f752187-3
libjxr-dev recommends no packages.
libjxr-dev suggests no packages.
-- no debconf information
diff --git a/libjxr.pc.in b/libjxr.pc.in
index b581451..61ed0a8 100644
--- a/libjxr.pc.in
+++ b/libjxr.pc.in
@@ -9,4 +9,4 @@ Description: A library for reading JPEG XR images.
Version: %(JXR_VERSION)s
Libs: -L${libdir} -ljpegxr -ljxrglue
Libs.private: -lm
-Cflags: -I${includedir}/libjxr/common -I${includedir}/libjxr/image/x86
-I${includedir}/libjxr/image -I${includedir}/libjxr/glue
-I${includedir}/libjxr/test -D__ANSI__ -DDISABLE_PERF_MEASUREMENT %(JXR_ENDIAN)s
+Cflags: -I${includedir}/jxrlib -D__ANSI__ -DDISABLE_PERF_MEASUREMENT
%(JXR_ENDIAN)s