webkit: select cairo PNG feature
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2009 18:17:20 +0000 (20:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 10 Aug 2009 18:17:20 +0000 (20:17 +0200)
Webkit currently depends on libgtk2, which itself depends on
Cairo. However, the dependency of libgtk2 is only on
BR2_PACKAGE_CAIRO, BR2_PACKAGE_CAIRO_PS and
BR2_PACKAGE_CAIRO_PDF. While this might be enough for libgtk2 to build
and work, Webkit makes direct use of the PNG functionnalities of
Cairo. If this functionnality is not available in Cairo, the Webkit
build complains that cairo_surface_write_to_png_stream() is not
defined.

Therefore, we make sure that WebKit selects BR2_PACKAGE_CAIRO_PNG.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/webkit/Config.in

index ecf8694291bdd4f7ab936852ce34372e1f028588..3c669a53f3ef4230f8fc7b2b3be73e12918cc88b 100644 (file)
@@ -10,6 +10,7 @@ config BR2_PACKAGE_WEBKIT
        select BR2_PACKAGE_SQLITE
        select BR2_PACKAGE_ENCHANT
        select BR2_PACKAGE_LIBSOUP
+       select BR2_PACKAGE_CAIRO_PNG
        help
          WebKit is an open source, standards compliant web browser engine.