Bug 822420 - calibre doesn't build with poppler-0.20.0
Summary: calibre doesn't build with poppler-0.20.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-17 10:02 UTC by Marek Kašík
Modified: 2012-05-17 16:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-17 16:18:12 UTC
Type: Bug
Embargoed:


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

Description Marek Kašík 2012-05-17 10:02:52 UTC
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 10:17:47 UTC
This also holds for calibre-0.8.51-1.

Comment 2 Marek Kašík 2012-05-17 13:16:23 UTC
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 16:18:12 UTC
Thanks for the patch!

Built in rawhide.


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