Red Hat Bugzilla – Bug 822420
calibre doesn't build with poppler-0.20.0
Last modified: 2012-05-17 12:18:12 EDT
Description of problem:
calibre fails when built with new poppler-0.20.0.
Version-Release number of selected component (if applicable):
This also holds for calibre-0.8.51-1.
Created attachment 585217 [details]
patch fixing build with poppler-0.20.0
the problem here is that poppler's upstream changed API of SplashOutputDev::startDoc() so that it now doesn't take a XRef* as its first parameter but a PDFDoc*. It also changes required parameters of Page::getLinks(). It does not need any parameter now (it needed a Catalog* before).
Attached is a patch which fixes this but it doesn't check version of poppler.
Thanks for the patch!
Built in rawhide.