Bug 822410

Summary: pdfgrep doesn't build with poppler-0.20.0
Product: [Fedora] Fedora Reporter: Marek Kašík <mkasik>
Component: pdfgrepAssignee: Joachim de Groot <jdegroot>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jdegroot
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-05-21 08:20:24 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 pdfgrep none

Description Marek Kašík 2012-05-17 09:46:50 UTC
Description of problem:
pdfgrep fails when built with new poppler-0.20.0.


Version-Release number of selected component (if applicable):
pdfgrep-1.2-7

Comment 1 Marek Kašík 2012-05-18 12:30:04 UTC
Created attachment 585398 [details]
patch fixing building of pdfgrep

Hi,

attached patch fixes build of pdfgrep with poppler-0.20.0. poppler has changed API of TextOutputDev's constructor and also API of TextOutputFunc.
The patch doesn't check for the version of poppler.

Regards

Marek

Additional info:
http://cgit.freedesktop.org/poppler/poppler/commit/?id=e17f09563276ee25b6acfc127b6ea360da650030

Comment 2 Joachim de Groot 2012-05-18 16:22:18 UTC
Hi,

I've upgraded pdfgrep to the current upstream version, which uses poppler-cpp unsted of poppler and builds just fine. The updated version made it to rawhide. Does this resolve this issue?

I hope you didn't spend too much time on the patch. 

Best regards
Joachim

Comment 3 Marek Kašík 2012-05-21 08:20:24 UTC
Hi Joachim,

yes, the new version fixes this bug. It didn't take me much time, it was an easy fix :).

Thank you

Marek