Package: libcwidget-dev Version: 0.5.17-4+b1 Severity: normal Dear Maintainer,
Upon installation of libcwidget-dev, 'pkg-config --cflags' returns an incomplete set of options: ---- $ pkg-config --cflags cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include ---- Missing from this list is '-I/usr/include/cwidget', needed for any compilation to succeed. Looking at cwidget.pc, it appears that Cflags is defined incorrectly, referring to ${includedir} rather than ${pkgincludedir}. I've attached a diff/patch that fixes the problem on my local machine. Schwab -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libcwidget-dev depends on: ii libcwidget3v5 0.5.17-4+b1 ii libncursesw5-dev 6.0+20160625-1 ii libsigc++-2.0-dev 2.8.0-2 ii pkg-config 0.29-4 libcwidget-dev recommends no packages. Versions of packages libcwidget-dev suggests: ii libcwidget-doc 0.5.17-4 -- no debconf information
--- cwidget.pc 2016-08-11 13:31:17.468526964 -0700 +++ cwidget-fixed.pc 2016-08-11 13:31:47.212517197 -0700 @@ -15,4 +15,4 @@ URL: http://cwidget.alioth.debian.org Requires: sigc++-2.0 Libs: -L${libdir} -lcwidget -lncursesw -Cflags: -I${includedir} -I${pkglibdir} +Cflags: -I${pkgincludedir} -I${pkglibdir}