Bug 52193 - [Patch] inconsistent path for including poppler-config.h
Summary: [Patch] inconsistent path for including poppler-config.h
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-17 12:18 UTC by Torsten Kasch
Modified: 2012-07-18 22:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
make poppler-config.h inclusion consistent (2.54 KB, application/octet-stream)
2012-07-17 12:18 UTC, Torsten Kasch
Details

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.