Bug 50970

Summary: Wrong/uncommon include path in pkgconfig-file
Product: FriBidi Reporter: johannes.zarl
Component: generalAssignee: Behdad Esfahbod <freedesktop>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: freedesktop
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description johannes.zarl 2012-06-11 08:28:42 UTC
Most projects (notably libass) seem to #include fribidi with its path:
#include <fribidi/fribidi.h>

The pkg-config file generated from fribidi.pc.in, on the other hand includes the fribidi subdirectory in the cflags:
Cflags: -I${includedir}/@PACKAGE@


This means that projects using include statements relative to PREFIX/include fail to build when fribidi is not installed in a common prefix.

Could you please change the .pc file, so that the "normal" way of writing include-statements works with fribidi?

->
Cflags: -I${includedir}/@PACKAGE@ -I${includedir}
Comment 1 Behdad Esfahbod 2012-07-10 02:13:07 UTC
Humm.  I'd say applications are including wrongly.  Let me think about it.  Not easy to change this.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.