Package: webkit2pdf Version: 0.2-3 Severity: minor Tags: patch Hi,
the patch poppler-0.18.patch, used to make webkit2pdf compile with poppler >= 0.17, currently adds an implicit (build time only) dependency on the poppler core headers. I'm planning a move of the poppler private headers, currently shipped in libpoppler-dev, out of that package (which is installed by other poppler -dev packages) to a new libpoppler-private-dev; webkit2pdf would fail to compile with such move. Attached there is a patch to apply over the existing poppler-0.18.patch that convers the GBool usage to gboolean. Thanks, -- Pino
Author: Pino Toscano <p...@debian.org> Description: No poppler core usage in the poppler >= 0.17 compatibility code The compatibility code for poppler-glib >= 0.17 copies a block of the dropped poppler-glib code; unfortunately, that code adds a dependency on the private poppler headers. Replace the GBool usage with gboolean. Last-Update: 2012-06-14 --- a/src/main.c +++ b/src/main.c @@ -54,7 +54,6 @@ gboolean enable_scripts = TRUE; gboolean print_backgrounds = FALSE; #ifndef POPPLER_WITH_GDK -#include <goo/gtypes.h> static void copy_cairo_surface_to_pixbuf (cairo_surface_t *surface, @@ -102,7 +101,7 @@ _poppler_page_render_to_pixbuf (PopplerP int src_width, int src_height, double scale, int rotation, - GBool printing, + gboolean printing, GdkPixbuf *pixbuf) { cairo_t *cr; @@ -183,7 +182,7 @@ poppler_page_render_to_pixbuf (PopplerPa _poppler_page_render_to_pixbuf (page, src_x, src_y, src_width, src_height, scale, rotation, - gFalse, + FALSE, pixbuf); } #endif