Bug 822407

Summary: pdf2djvu doesn't build with poppler-0.20.0
Product: [Fedora] Fedora Reporter: Marek Kašík <mkasik>
Component: pdf2djvuAssignee: Rakesh Pandit <rakesh.pandit>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jwilk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-02 13:47:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch fixing building of pdf2djvu with poppler-0.20.0 none

Description Marek Kašík 2012-05-17 09:44:41 UTC
Description of problem:
pdf2djvu fails when built with new poppler-0.20.0.


Version-Release number of selected component (if applicable):
pdf2djvu-0.7.4-13

Comment 1 Marek Kašík 2012-05-17 15:01:03 UTC
Created attachment 585248 [details]
patch fixing building of pdf2djvu with poppler-0.20.0

Hi,

the attached patch fixes building of pdf2djvu with poppler-0.20.0. The problem there was that poppler's upstream has replaced function setErrorFunction() with setErrorCallback and changed its API. It also changed API of function SplashOutputDev::startDoc().

Regards

Marek

Comment 2 Marek Kašík 2012-07-02 13:47:25 UTC
Hi,

I've committed the fix to master and rebuilt it with new poppler-0.20.1.

Regards

Marek

Comment 3 jwilk 2012-07-02 15:20:45 UTC
I'm pretty sure this patch is insufficient.
Upstream bug report (with links to commits):
https://code.google.com/p/pdf2djvu/issues/detail?id=66