Fails to build with Poppler >= 0.17
Status: Beta
Brought to you by:
colinleroy
webkit2pdf currently uses the deprecated gdk pixbuf API of poppler-glib (poppler_page_render_to_pixbuf(), in particular), which has been dropped starting from poppler 0.17.0 (unstable version for the next stable 0.18). Please migrate the rendering code to cairo.
For more details, see the blog of the poppler-glib developer: http://carlosgc.linups.org/gnome/gdk-api-removed-poppler.html
Quick followup on the new stable serie poppler 0.18, whose version 0.18.0 has been released few weeks ago.
These functions were removed in http://cgit.freedesktop.org/poppler/poppler/commit/?id=149b7fec4 .
I created a simple patch which adds this back if POPPLER_WITH_GDK isn't defined, i. e. either with poppler >= 0.17 or older popplers which were built without GDK support.
Meh, apparently it is impossible to attach a patch to a bug created by another user. I tried to add it and it came out as a separate bug now:
https://sourceforge.net/tracker/index.php?func=detail&aid=3458283&group_id=264450&atid=1127720
That one has the patch.