Bug 52193

Summary: [Patch] inconsistent path for including poppler-config.h
Product: poppler Reporter: Torsten Kasch <tk>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: make poppler-config.h inclusion consistent

Description Torsten Kasch 2012-07-17 12:18:33 UTC
Created attachment 64312 [details]
make poppler-config.h inclusion consistent

As of poppler-0.20.2, the poppler-config.h header is referenced in different ways across the code: 

   #include "poppler/poppler-config.h"
and
   #include "poppler-config.h"

As long as the poppler headers get installed in the system's default location (/usr/include), no one will notice, but as soon as you have to rely on "pkg-config poppler --cflags" when building poppler-aware software, this will obviuosly break.

The attached patch fixes this issue by using only second of the two variants given above.
Comment 1 Albert Astals Cid 2012-07-18 22:22:29 UTC
Pushed (except the one in utils that is not an installed header)

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.