Menu

#1 Fails to build with Poppler >= 0.17

open
nobody
None
5
2011-05-22
2011-05-22
No

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

Discussion

  • Pino Toscano

    Pino Toscano - 2011-10-14

    Quick followup on the new stable serie poppler 0.18, whose version 0.18.0 has been released few weeks ago.

     
  • Anonymous

    Anonymous - 2011-12-12

    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.

     
  • Anonymous

    Anonymous - 2011-12-12

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.