webkit: Update to WebKit svn r44552.
authorWill Newton <will.newton@gmail.com>
Mon, 29 Jun 2009 10:54:06 +0000 (11:54 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 2 Aug 2009 20:15:12 +0000 (22:15 +0200)
Closes #427

- Fix generation of configure script and Makefiles.
 - Add dependencies on libsoup and enchant.
 - Allow configuration of rendering target (currently X11 or DirectFB).

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/webkit/Config.in
package/webkit/webkit.mk

diff --git a/CHANGES b/CHANGES
index 4c3d4032d1c089271357f22b3ae2407e122670d4..58e57098c7e35821c5e750d963b788ce3c2cd7e9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -44,6 +44,7 @@
        #417: New package spawn-fcgi
        #419: Bump lighttpd package to 1.4.23
        #421: toolchain: Clean up toolchain locale support menu
+       #427: webkit: Update to WebKit svn r44552
        #451: Upgrade from unmaintained dosfstools-2.11 to dosfstools-3.0.3
        #467: DirectFB 1.4.1
        #473: memstat_0.5.tar.gz has install with -D and that fails "make"
index 9e3419aa7757f308ac472358c86227e57aa85d4f..e436f9acfd825ed3d63330beab9e5b36ddbc98c8 100644 (file)
@@ -8,10 +8,27 @@ config BR2_PACKAGE_WEBKIT
        select BR2_PACKAGE_LIBXML2
        select BR2_PACKAGE_LIBXSLT
        select BR2_PACKAGE_SQLITE
+       select BR2_PACKAGE_ENCHANT
+       select BR2_PACKAGE_LIBSOUP
        help
-               WebKit is an open source, standards compliant web browser engine.
+         WebKit is an open source, standards compliant web browser engine.
 
-               http://webkit.org/
+         http://webkit.org/
 
 comment "webkit requires a toolchain with C++ support and WCHAR enabled"
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+
+choice
+       prompt "Rendering target"
+       default BR2_PACKAGE_WEBKIT_X
+       help
+         Selects which rendering target will be used.
+
+config BR2_PACKAGE_WEBKIT_X11
+       bool "X11"
+
+config BR2_PACKAGE_WEBKIT_DIRECTFB
+       bool "DirectFB"
+       select BR2_PACKAGE_DIRECTFB
+
+endchoice
index b070c1d14ed8a8fd93c3c6447398c4f9f0f0856e..17f1318f95d1686994da09a56030382e6653c31d 100644 (file)
@@ -3,7 +3,7 @@
 # webkit
 #
 #############################################################
-WEBKIT_VERSION = r31321
+WEBKIT_VERSION = r44552
 WEBKIT_SOURCE = WebKit-$(WEBKIT_VERSION).tar.bz2
 WEBKIT_SITE = http://nightly.webkit.org/files/trunk/src/
 
@@ -11,7 +11,24 @@ WEBKIT_INSTALL_STAGING = YES
 WEBKIT_INSTALL_TARGET = YES
 WEBKIT_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
 
-WEBKIT_AUTORECONF = YES
-WEBKIT_DEPENDENCIES = icu curl libxml2 libxslt libgtk2 sqlite
+WEBKIT_DEPENDENCIES = icu curl libxml2 libxslt libgtk2 sqlite enchant \
+                       libsoup
+
+ifeq ($(BR2_PACKAGE_WEBKIT_X11),y)
+WEBKIT_CONF_OPT = --with-target=x11
+endif
+
+ifeq ($(BR2_PACKAGE_WEBKIT_DIRECTFB),y)
+WEBKIT_CONF_OPT = --with-target=directfb
+endif
+
+WEBKIT_CONF_OPT += --disable-video
 
 $(eval $(call AUTOTARGETS,package,webkit))
+
+$(WEBKIT_HOOK_POST_EXTRACT):
+       $(SED) 's/AUTOMAKE_FLAGS=.*/AUTOMAKE_FLAGS="--foreign --add-missing --copy"/' $(WEBKIT_DIR)/autogen.sh
+       $(SED) 's/LIBTOOLIZE_FLAGS=.*/LIBTOOLIZE_FLAGS="--force --automake --copy"/' $(WEBKIT_DIR)/autogen.sh
+       # Don't run the configure step yet
+       cd $(WEBKIT_DIR); AUTOGEN_CONFIGURE_ARGS=--version ./autogen.sh
+       touch $@