Bug 822420 - calibre doesn't build with poppler-0.20.0
calibre doesn't build with poppler-0.20.0
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: calibre (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-17 06:02 EDT by Marek Kašík
Modified: 2012-05-17 12:18 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-17 12:18:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch fixing build with poppler-0.20.0 (809 bytes, patch)
2012-05-17 09:16 EDT, Marek Kašík
no flags Details | Diff

  None (edit)
Description Marek Kašík 2012-05-17 06:02:52 EDT
Description of problem:
calibre fails when built with new poppler-0.20.0.


Version-Release number of selected component (if applicable):
calibre-0.8.50-1
Comment 1 Marek Kašík 2012-05-17 06:17:47 EDT
This also holds for calibre-0.8.51-1.
Comment 2 Marek Kašík 2012-05-17 09:16:23 EDT
Created attachment 585217 [details]
patch fixing build with poppler-0.20.0

Hi,

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.

Regards

Marek
Comment 3 Kevin Fenzi 2012-05-17 12:18:12 EDT
Thanks for the patch!

Built in rawhide.

Note You need to log in before you can comment on or make changes to this bug.