[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pkgconfig include path incorrect?
From: |
Luke Yelavich |
Subject: |
pkgconfig include path incorrect? |
Date: |
Thu, 28 Nov 2013 09:09:46 +1100 |
On Wed, Nov 27, 2013 at 09:22:59PM EST, Colin Guthrie wrote:
> Hi,
>
> I've just pushed this patch in our package, but am questioning whether
> it is correct/needed.
>
> The include files are put into /usr/include/speech-dispatcher/ folder,
> but the pkgconfig file just states that it is /usr/include
>
> http://svnweb.mageia.org/packages/cauldron/speech-dispatcher/current/SOURCES/speech-dispatcher-0.8-pkgconfig-includedir-fix.patch?revision=553723&view=markup
>
> Are users expected to always include e.g. libspeechd.h as
> <speech-dispatcher/libspeechd.h>.
>
> Isn't the whole point in a packageconfig file to reduce the this kind of
> overhead and allow you flexibility to change the path in the future
> (e.g. to speakytalkyshovey2.0) without worry.
This does make sense. I wasn't involved with that change, but was recently
updating speech-dispatcher in Ubuntu to 0.8, and had to patch packages to use
the include line above to be built against it.
I'd take a look at the patch, but I get a 404.
Luke