poppler 0.18 dropped some API, causing build failure

Bug #900707 reported by Martin Pitt
This bug report is a duplicate of:  Bug #776234: poppler 0.18 compatibility. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppler Python Bindings
New
Undecided
Unassigned
python-poppler (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to build pypoppler 0.12.1 against poppler 0.18, you get

poppler.c: In function '_wrap_poppler_page_render_to_pixbuf':
poppler.c:3302:5: warning: implicit declaration of function 'poppler_page_render_to_pixbuf' [-Wimplicit-function-declaration]
poppler.c: In function '_wrap_poppler_page_render_to_pixbuf_for_printing':
poppler.c:3319:5: warning: implicit declaration of function 'poppler_page_render_to_pixbuf_for_printing' [-Wimplicit-function-declaration]
poppler.c: In function '_wrap_poppler_page_get_thumbnail_pixbuf':
poppler.c:3331:5: warning: implicit declaration of function 'poppler_page_get_thumbnail_pixbuf' [-Wimplicit-function-declaration]
poppler.c:3331:9: warning: assignment makes pointer from integer without a cast [enabled by default]
Function `poppler_page_get_thumbnail_pixbuf' implicitly converted to pointer at poppler.c:3331
poppler.c: In function '_wrap_poppler_page_render_selection_to_pixbuf':
poppler.c:3378:5: warning: implicit declaration of function 'poppler_page_render_selection_to_pixbuf' [-Wimplicit-function-declaration]

This API has been removed in poppler 0.18.

Revision history for this message
Martin Pitt (pitti) wrote :

Trivial patch which just drops the obsolete API.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-poppler - 0.12.1-4+ubuntu1

---------------
python-poppler (0.12.1-4+ubuntu1) precise; urgency=low

  * Add poppler-0.18.diff: Drop API which does not exist any more in poppler
    0.18. (LP: #900707)
 -- Martin Pitt <email address hidden> Tue, 06 Dec 2011 12:59:20 +0100

Changed in python-poppler (Ubuntu):
status: New → Fix Released
Revision history for this message
Pino Toscano (pinotree) wrote :

This is also #776234, which had also a patch.

Revision history for this message
Martin Pitt (pitti) wrote :

Pino,

ah, sorry about this. Not sure how that existing upstream bug escaped me :(

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.