Bug#773329: Incorrect Cflags line in jack.pc

Adrian Knoth adi at drcomp.erfurt.thur.de
Sun Apr 19 13:10:20 UTC 2015


On 12/17/14 02:31, Ted Felix wrote:

> Package: libjack-jackd2-dev
> Version: 1.9.10+20140719git3eb0ae6a~dfsg-2
> 
> The cflags from pkg-config for jack are incorrect which breaks makefiles
> and configure scripts that depend on them (e.g. those for rosegarden).

I tend to disagree - more likely, rosegarden is broken, because a ton of
other software that relies on jackd compiles just fine.

> The culprit is the Cflags line at the end of
> /usr/lib/x86_64-linux-gnu/pkgconfig/jack.pc.  This:
> 
>   Cflags: -I/usr/include
> 
> ...should be this:
> 
>   Cflags: -I${includedir} -I${includedir}/jack

No, -I/usr/include is correct, because the appropriate include is

#include <jack/jack.h>

And rosegarden does exactly this:

adi at ak64:/tmp/rosegarden-14.02$ egrep -R "include.*jack.h"
src/sound/JackDriver.h:#include <jack/jack.h>
src/sound/JackCaptureClient.h:#include <jack/jack.h>

So wontfix?



Cheers



More information about the pkg-multimedia-maintainers mailing list