diff options
author | Ross Burton <ross.burton@intel.com> | 2012-07-13 15:20:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-17 10:48:09 +0100 |
commit | ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0 (patch) | |
tree | 77514037eb07d9e5a90feca2446721e6b8daec16 | |
parent | e6c5f1edcccfc78259caac853361c14ebe6d2677 (diff) | |
download | openembedded-core-ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0.tar.gz openembedded-core-ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0.tar.bz2 openembedded-core-ecb18e2b6a8fc16b323f93c62ed5ff5b080c5dd0.zip |
webkit-gtk: remove svn recipe
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-sato/webkit/files/GNUmakefile.am | 280 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/Makefile | 17 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/Makefile.shared | 18 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/WebKit.pri | 107 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/WebKit.pro | 21 | ||||
-rwxr-xr-x | meta/recipes-sato/webkit/files/autogen.sh | 23 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/configure.ac | 1315 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/function-scope.patch | 21 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/files/gtk-doc.make | 173 | ||||
-rwxr-xr-x | meta/recipes-sato/webkit/files/update-webkit.sh | 8 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkit-gtk_svn.bb | 107 |
11 files changed, 0 insertions, 2090 deletions
diff --git a/meta/recipes-sato/webkit/files/GNUmakefile.am b/meta/recipes-sato/webkit/files/GNUmakefile.am deleted file mode 100644 index 4d2785f241..0000000000 --- a/meta/recipes-sato/webkit/files/GNUmakefile.am +++ /dev/null @@ -1,280 +0,0 @@ -# Top-level Makefile rule for automake -# -# Variable conventions: -# -# _h_api = API headers that will be installed and included in the distribution -# _cppflags = flags that will be passed to the C/CXX Preprocessor -# _sources = sources that will be compiled and included in the distribution -# _built_sources = files that will be autogenerated by the build system and -# will be part of the _SOURCES primary -# _built_nosources = files that are autogenerated but are not part of the -# _SOURCES primary -# _cleanfiles = files that will be removed by the clean target -# -# Sources, headers, flags, etc... should be added to the respective variables -# with the above suffix, e.g, webcore-specific sources should go to -# webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources, -# etc... The only exceptions are the global variables. See Global Variables -# below. - -# Global Variables Reference -# global_cppflags = CPPFLAGS that apply to all C/C++ files that are built for any project. -# global_cflags = CFLAGS that apply to all C files that are built for any project. -# global_cxxflags = CXXFLAGS that apply to all C++ files that are bult for any project. - -srcdir = @srcdir@ -VPATH = @srcdir@ - -DISTCHECK_CONFIGURE_FLAGS = \ - --enable-introspection \ - --enable-gtk-doc \ - --enable-webkit2 - -# Directory for autogenerated sources -GENSOURCES := $(top_builddir)/DerivedSources -GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore -GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore -GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit -GENSOURCES_WEBKIT2 := $(top_builddir)/DerivedSources/WebKit2 -GENPROGRAMS := $(top_builddir)/Programs -GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector -WebCore := $(srcdir)/Source/WebCore -WebKit := $(srcdir)/Source/WebKit/gtk -WebKit2 := $(srcdir)/Source/WebKit2 -pkgconfigdir := $(libdir)/pkgconfig -libwebkitgtkincludedir := $(prefix)/include/webkitgtk-@WEBKITGTK_API_VERSION@ - -# Libraries and support components -bin_PROGRAMS := -noinst_PROGRAMS := -libexec_PROGRAMS := -noinst_HEADERS := -noinst_LTLIBRARIES := -lib_LTLIBRARIES := -IDL_BINDINGS := -TEST_PROGS := -POFILES := -MOFILES := -javascriptcore_h_api := -javascriptcore_cppflags:= -javascriptcore_cflags := -javascriptcore_sources := -javascriptcore_built_sources := -javascriptcore_built_nosources := -webcore_cppflags := -webcore_sources := -webcore_libadd := -webcore_built_sources := -webcore_built_nosources := -webcoregtk_sources := -webcoregtk_cppflags := -webkitgtk_built_h_api := -webkitgtk_static_h_api := -webkitgtk_h_api := -webkitgtk_sources := -webkitgtk_cppflags := -webkitgtk_gdom_built_sources := -webkitgtk_built_sources := -webkitgtk_built_nosources := -webkit2_built_sources := -webkit2_plugin_process_built_sources := -webkittestrunner_built_sources := -libwebcoreinternals_built_sources := -global_cppflags := -global_cflags := -global_cxxflags := -JSCORE_GIRSOURCES := -WEBKIT_GIRSOURCES := -FEATURE_DEFINES := -typelibsdir := -typelibs_DATA := -EXTRA_DIST := -BUILT_SOURCES := -CLEANFILES := -DOMAIN := -DISTCLEANFILES := -MAINTAINERCLEANFILES := -pkgconfig_DATA := - -# We do not care at all about this implicit built-in make rules, -# disable them to save some build time -%: %.c -%: %.cpp -%: %.o -(%): % -%.out: % -%.c: %.w %.ch -%.tex: %.w %.ch -%:: %,v -%:: RCS/%,v -%:: RCS/% -%:: s.% -%:: SCCS/s.% - -global_cppflags += \ - -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ - -Wformat -Wformat-security -Wno-format-y2k -Wundef \ - -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ - -Wno-unused-parameter -Wno-parentheses \ - -fno-exceptions -DENABLE_GLIB_SUPPORT=1 - - -global_cxxflags += \ - -fno-rtti - -# -no-undefined required for building DLLs on Windows -# It breaks the build on other platforms, so we use it conditionally -if OS_WIN32 -no_undefined = -no-undefined -version_script = -export-symbols-regex "^(webkit_|k?JS).*" -endif - -if OS_GNU -version_script = -Wl,--version-script,$(srcdir)/Source/autotools/symbols.filter -endif - -# Extra checks and flags -global_cppflags += \ - -DBUILDING_CAIRO__=1 \ - -DBUILDING_GTK__=1 \ - -DWTF_CHANGES - -# For the Gtk port we want to use XP_UNIX both in X11 and Mac -if !TARGET_WIN32 -global_cppflags += \ - -DXP_UNIX -endif - -if USE_ICU_UNICODE -global_cppflags += \ - -DWTF_USE_ICU_UNICODE=1 -endif - -if USE_GLIB_UNICODE -global_cppflags += \ - -DWTF_USE_GLIB_UNICODE=1 -endif - -if !ENABLE_FAST_MALLOC -global_cppflags += \ - -DUSE_SYSTEM_MALLOC -endif - -if USE_GSTREAMER -global_cppflags += \ - -DWTF_USE_GSTREAMER=1 -endif - -# ---- -# GTK+ 2.x/3.x support -# ---- -if GTK_API_VERSION_2 -global_cppflags += \ - -DGTK_API_VERSION_2=1 -endif - -if !ENABLE_DEBUG -global_cppflags += -DNDEBUG -else -global_cppflags += \ - -DG_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED \ - -DGDK_DISABLE_DEPRECATED \ - -DGTK_DISABLE_DEPRECATED \ - -DPANGO_DISABLE_DEPRECATED -# Might be useful in the future -# -DGDK_MULTIHEAD_SAFE \ -# -DGTK_MULTIHEAD_SAFE -endif - -if ENABLE_COVERAGE -global_cppflags += \ - -DGCC_GENERATE_TEST_COVERAGE_FILES \ - -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS -endif - -EXTRA_DIST += \ - $(srcdir)/Source/autotools/symbols.filter \ - $(srcdir)/Source/WebKit/LICENSE - -# Include module makefiles -if USE_JSC -include Source/JavaScriptCore/GNUmakefile.am -endif - -include Source/WebCore/GNUmakefile.am -include Source/WebKit/gtk/GNUmakefile.am -include Source/WebCore/bindings/gobject/GNUmakefile.am -include Tools/GNUmakefile.am -include Source/WebKit/gtk/po/GNUmakefile.am -include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am - -if ENABLE_WEBKIT2 -include Source/WebKit2/GNUmakefile.am -include Source/WebKit2/UIProcess/API/gtk/tests/GNUmakefile.am -include Tools/MiniBrowser/gtk/GNUmakefile.am -include Tools/WebKitTestRunner/GNUmakefile.am -# [GTK] Refactor the translations now that we have webkit2 -# https://bugs.webkit.org/show_bug.cgi?id=55153 -endif - -# Autogenerated sources -BUILT_SOURCES += \ - $(webcore_built_sources) \ - $(webcore_built_nosources) \ - $(webkitgtk_built_sources) \ - $(webkitgtk_built_nosources) - -if USE_JSC -BUILT_SOURCES += \ - $(javascriptcore_built_sources) \ - $(javascriptcore_built_nosources) -endif - -DISTCLEANFILES += \ - $(CLEANFILES) \ - $(builddir)/doltcompile \ - $(builddir)/doltlibtool - -MAINTAINERCLEANFILES += \ - $(CLEANFILES) \ - $(builddir)/doltcompile \ - $(builddir)/doltlibtool \ - $(srcdir)/aconfig.h.in \ - $(srcdir)/Source/autotools/config.* \ - $(srcdir)/Source/autotools/compile \ - $(srcdir)/Source/autotools/depcomp \ - $(srcdir)/Source/autotools/install-sh \ - $(srcdir)/Source/autotools/missing \ - $(srcdir)/configure \ - $(srcdir)/GNUmakefile.in \ - $(srcdir)/INSTALL \ - $(srcdir)/README \ - $(top_builddir)/config.* - -# Older automake versions (1.7) place Plo files in a different place so we need -# to create the output directory manually. -all-local: stamp-po - $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources - -# remove built sources and program directories -clean-local: - -rm -rf $(GENPROGRAMS) - -maintainer-clean-local: distclean-local -distclean-local: - -rm -rf $(GENSOURCES) $(GENPROGRAMS) - -dist-hook: doc-dist-hook -doc-dist-hook: docs-build.stamp - cp $(WebKit)/NEWS $(distdir) - @mkdir -p $(distdir)/Documentation/webkitgtk/html - @mkdir -p $(distdir)/Documentation/webkitgtk/tmpl - @-cp ./Documentation/webkitgtk/tmpl/*.sgml $(distdir)/Documentation/webkitgtk/tmpl - @cp ./Documentation/webkitgtk/html/* $(distdir)/Documentation/webkitgtk/html -if ENABLE_WEBKIT2 - @mkdir -p $(distdir)/Documentation/webkit2gtk/html - @mkdir -p $(distdir)/Documentation/webkit2gtk/tmpl - @-cp ./Documentation/webkit2gtk/tmpl/*.sgml $(distdir)/Documentation/webkit2gtk/tmpl - @cp ./Documentation/webkit2gtk/html/* $(distdir)/Documentation/webkit2gtk/html -endif diff --git a/meta/recipes-sato/webkit/files/Makefile b/meta/recipes-sato/webkit/files/Makefile deleted file mode 100644 index 065f88f47f..0000000000 --- a/meta/recipes-sato/webkit/files/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -MODULES = Source/JavaScriptCore Source/JavaScriptGlue Source/ThirdParty/ANGLE Source/WebCore Source/WebKit Source/WebKit2 Tools - -all: - @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \ - if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done - -debug d development dev develop: - @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \ - if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done - -release r deployment dep deploy: - @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \ - if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done - -clean: - @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \ - if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done diff --git a/meta/recipes-sato/webkit/files/Makefile.shared b/meta/recipes-sato/webkit/files/Makefile.shared deleted file mode 100644 index 56ed9784ee..0000000000 --- a/meta/recipes-sato/webkit/files/Makefile.shared +++ /dev/null @@ -1,18 +0,0 @@ -SCRIPTS_PATH ?= ../Tools/Scripts -XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS) - -all: - ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} ) - -debug d development dev develop: force - $(SCRIPTS_PATH)/set-webkit-configuration --debug - ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} ) - -release r deployment dep deploy: force - $(SCRIPTS_PATH)/set-webkit-configuration --release - ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} ) - -clean: - ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} ) - -force: ; diff --git a/meta/recipes-sato/webkit/files/WebKit.pri b/meta/recipes-sato/webkit/files/WebKit.pri deleted file mode 100644 index d12423beb2..0000000000 --- a/meta/recipes-sato/webkit/files/WebKit.pri +++ /dev/null @@ -1,107 +0,0 @@ -# Include file to make it easy to include WebKit into Qt projects - - -isEmpty(OUTPUT_DIR) { - CONFIG(release):OUTPUT_DIR=$$PWD/WebKitBuild/Release - CONFIG(debug):OUTPUT_DIR=$$PWD/WebKitBuild/Debug -} - -!gtk-port:CONFIG += qt-port -qt-port:DEFINES += BUILDING_QT__=1 -qt-port:!building-libs { - QMAKE_LIBDIR = $$OUTPUT_DIR/lib $$QMAKE_LIBDIR - LIBS += -lQtWebKit - DEPENDPATH += $$PWD/WebKit/qt/Api -} - -gtk-port:!building-libs { - QMAKE_LIBDIR = $$OUTPUT_DIR/lib $$QMAKE_LIBDIR - LIBS += -lWebKitGtk - DEPENDPATH += $$PWD/WebKit/gtk $$PWD/WebKit/gtk/WebCoreSupport $$PWD/WebKit/gtk/webkit -} - -gtk-port { - CONFIG += link_pkgconfig - - DEFINES += BUILDING_CAIRO__=1 BUILDING_GTK__=1 - - # We use FreeType directly with Cairo - PKGCONFIG += cairo-ft - - directfb: PKGCONFIG += cairo-directfb gtk+-directfb-2.0 - else: PKGCONFIG += cairo gtk+-2.0 - - # Set a CONFIG flag for the GTK+ target (x11, quartz, win32, directfb) - CONFIG += $$system(pkg-config --variable=target $$PKGCONFIG) - - # We use the curl http backend on all platforms - PKGCONFIG += libcurl - DEFINES += WTF_USE_CURL=1 - - LIBS += -lWebKitGtk -ljpeg -lpng - - QMAKE_CXXFLAGS += $$system(icu-config --cppflags) - QMAKE_LIBS += $$system(icu-config --ldflags) - - # This set of warnings is borrowed from the Mac build - QMAKE_CXXFLAGS += -Wall -W -Wcast-align -Wchar-subscripts -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-format-y2k -Wno-unused-parameter -Wundef - - # These flags are based on optimization experience from the Mac port: - # Helps code size significantly and speed a little - QMAKE_CXXFLAGS += -fno-exceptions -fno-rtti - - DEPENDPATH += $$PWD/JavaScriptCore/API - INCLUDEPATH += $$PWD -} - -DEFINES += USE_SYSTEM_MALLOC -CONFIG(release) { - DEFINES += NDEBUG -} - -gtk-port:CONFIG(debug) { - DEFINES += G_DISABLE_DEPRECATED GDK_PIXBUF_DISABLE_DEPRECATED GDK_DISABLE_DEPRECATED GTK_DISABLE_DEPRECATED PANGO_DISABLE_DEPRECATED -# maybe useful for debugging DEFINES += GDK_MULTIHEAD_SAFE GTK_MULTIHEAD_SAFE -} - -BASE_DIR = $$PWD -qt-port:INCLUDEPATH += \ - $$PWD/WebKit/qt/Api -gtk-port:INCLUDEPATH += \ - $$BASE_DIR/WebCore/platform/gtk \ - $$BASE_DIR/WebCore/platform/network/curl \ - $$BASE_DIR/WebCore/platform/graphics/cairo \ - $$BASE_DIR/WebCore/loader/gtk \ - $$BASE_DIR/WebCore/page/gtk \ - $$BASE_DIR/WebKit/gtk \ - $$BASE_DIR/WebKit/gtk/WebCoreSupport \ - $$BASE_DIR/WebKit/gtk/webkit -INCLUDEPATH += \ - $$BASE_DIR/JavaScriptCore/ \ - $$BASE_DIR/JavaScriptCore/kjs \ - $$BASE_DIR/JavaScriptCore/bindings \ - $$BASE_DIR/JavaScriptCore/bindings/c \ - $$BASE_DIR/JavaScriptCore/wtf \ - $$BASE_DIR/JavaScriptCore/ForwardingHeaders \ - $$BASE_DIR/WebCore \ - $$BASE_DIR/WebCore/ForwardingHeaders \ - $$BASE_DIR/WebCore/platform \ - $$BASE_DIR/WebCore/platform/network \ - $$BASE_DIR/WebCore/platform/graphics \ - $$BASE_DIR/WebCore/loader \ - $$BASE_DIR/WebCore/page \ - $$BASE_DIR/WebCore/css \ - $$BASE_DIR/WebCore/dom \ - $$BASE_DIR/WebCore/bridge \ - $$BASE_DIR/WebCore/editing \ - $$BASE_DIR/WebCore/rendering \ - $$BASE_DIR/WebCore/history \ - $$BASE_DIR/WebCore/xml \ - $$BASE_DIR/WebCore/html \ - $$BASE_DIR/WebCore/plugins - - -macx { - INCLUDEPATH += /usr/include/libxml2 - LIBS += -lxml2 -lxslt -} diff --git a/meta/recipes-sato/webkit/files/WebKit.pro b/meta/recipes-sato/webkit/files/WebKit.pro deleted file mode 100644 index bc14feb5f6..0000000000 --- a/meta/recipes-sato/webkit/files/WebKit.pro +++ /dev/null @@ -1,21 +0,0 @@ -TEMPLATE = subdirs -CONFIG += ordered -!gtk-port:CONFIG += qt-port -qt-port { - lessThan(QT_MINOR_VERSION, 4) { - !win32-*:SUBDIRS += WebKit/qt/Plugins - } -} -SUBDIRS += \ - WebCore \ - JavaScriptCore/kjs/testkjs.pro - -qt-port { - SUBDIRS += WebKit/qt/QtLauncher - - !win32-*: SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro -} - -gtk-port:SUBDIRS += \ - WebKitTools/GtkLauncher \ - WebKitTools/DumpRenderTree/gtk/DumpRenderTree.pro diff --git a/meta/recipes-sato/webkit/files/autogen.sh b/meta/recipes-sato/webkit/files/autogen.sh deleted file mode 100755 index bb7779d44d..0000000000 --- a/meta/recipes-sato/webkit/files/autogen.sh +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/sh - -# Allow invocation from a separate build directory; in that case, we change -# to the source directory to run the auto*, then change back before running configure -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -ORIGDIR=`pwd` -cd $srcdir - -rm -f $top_srcdir/autom4te.cache - -touch README INSTALL - -if test -z `which autoreconf`; then - echo "Error: autoreconf not found, please install it." - exit 1 -fi -autoreconf --verbose --install -I Source/autotools $ACLOCAL_FLAGS|| exit $? - -cd $ORIGDIR || exit 1 - -$srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? diff --git a/meta/recipes-sato/webkit/files/configure.ac b/meta/recipes-sato/webkit/files/configure.ac deleted file mode 100644 index 65176aea2d..0000000000 --- a/meta/recipes-sato/webkit/files/configure.ac +++ /dev/null @@ -1,1315 +0,0 @@ -AC_PREREQ(2.59) - -m4_define([webkit_major_version], [1]) -m4_define([webkit_minor_version], [7]) -m4_define([webkit_micro_version], [2]) - -# This is the version we'll be using as part of our User-Agent string -# e.g., AppleWebKit/$(webkit_user_agent_version) ... -# -# Sourced from Source/WebCore/Configurations/Version.xcconfig -m4_define([webkit_user_agent_major_version], [535]) -m4_define([webkit_user_agent_minor_version], [10]) - -AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/]) - -AC_CONFIG_MACRO_DIR([Source/autotools]) -AC_CONFIG_AUX_DIR([Source/autotools]) -AC_SUBST(ACLOCAL_AMFLAGS, "-I Source/autotools") - -AC_CONFIG_HEADERS([autotoolsconfig.h]) -AC_CANONICAL_HOST - -WEBKIT_MAJOR_VERSION=webkit_major_version -WEBKIT_MINOR_VERSION=webkit_minor_version -WEBKIT_MICRO_VERSION=webkit_micro_version -WEBKIT_USER_AGENT_MAJOR_VERSION=webkit_user_agent_major_version -WEBKIT_USER_AGENT_MINOR_VERSION=webkit_user_agent_minor_version -AC_SUBST(WEBKIT_MAJOR_VERSION) -AC_SUBST(WEBKIT_MINOR_VERSION) -AC_SUBST(WEBKIT_MICRO_VERSION) -AC_SUBST(WEBKIT_USER_AGENT_MAJOR_VERSION) -AC_SUBST(WEBKIT_USER_AGENT_MINOR_VERSION) - -AC_CONFIG_SRCDIR([Source/WebCore/config.h]) - -dnl # Libtool library version, not to confuse with API version -dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html -LIBWEBKITGTK_VERSION=11:2:11 -AC_SUBST([LIBWEBKITGTK_VERSION]) - -AM_INIT_AUTOMAKE([foreign subdir-objects dist-xz no-dist-gzip tar-ustar]) - -# Use AM_SILENT_RULES if present -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - -# host checking - inspired by the GTK+ configure.in -# TODO: move these to webkit.m4? -AC_MSG_CHECKING([for native Win32]) -case "$host" in - *-*-mingw*) - os_win32=yes - ;; - *) - os_win32=no - ;; -esac -AC_MSG_RESULT([$os_win32]) - -case "$host" in - *-*-linux*) - os_linux=yes - ;; - *-*-freebsd*) - os_freebsd=yes - ;; - *-*-darwin*) - os_darwin=yes - ;; -esac - -case "$host_os" in - gnu* | linux* | k*bsd*-gnu) - os_gnu=yes - ;; - *) - os_gnu=no - ;; -esac - -# initialize webkit options -WEBKIT_INIT -AC_DISABLE_STATIC -AC_LIBTOOL_WIN32_DLL -AC_PROG_LIBTOOL -# use dolt to speedup the build -DOLT - -AC_PATH_PROG(FLEX, flex) -if test -z "$FLEX"; then - AC_MSG_ERROR([You need the 'flex' lexer generator to compile WebKit]) -else - FLEX_VERSION=`$FLEX --version | sed 's,.*\ \([0-9]*\.[0-9]*\.[0-9]*\)$,\1,'` - AX_COMPARE_VERSION([2.5.33],[gt],[$FLEX_VERSION], - AC_MSG_WARN([You need at least version 2.5.33 of the 'flex' lexer generator to compile WebKit correctly])) -fi - -AC_PATH_PROG(GPERF, gperf) -if test -z "$GPERF"; then - AC_MSG_ERROR([You need the 'gperf' hash function generator to compile WebKit]) -fi - -# Disable C++0x compat warnings for GCC >= 4.6.0 until we build -# cleanly with that. -if test "$CXX" = "g++"; then - CXX_VERSION=`$CXX -dumpversion` - AX_COMPARE_VERSION([$CXX_VERSION],[ge],[4.6.0],CXXFLAGS="$CXXFLAGS -Wno-c++0x-compat") -fi - -# pthread (not needed on Windows) -if test "$os_win32" = "no"; then -AC_CHECK_HEADERS([pthread.h], - AC_DEFINE([HAVE_PTHREAD_H],[1],[Define if pthread exists]), - AC_MSG_ERROR([pthread support is required to build WebKit])) -AC_CHECK_LIB(pthread, pthread_rwlock_init, - AC_DEFINE([HAVE_PTHREAD_RWLOCK],[1],[Define if pthread rwlock is present]), - AC_MSG_WARN([pthread rwlock support is not available])) -fi - -# check for libjpeg the way Gtk does it. -AC_CHECK_LIB(jpeg, jpeg_destroy_decompress, - jpeg_ok=yes, jpeg_ok=no - AC_MSG_ERROR([JPEG library (libjpeg) not found])) -if test "$jpeg_ok" = yes; then - AC_MSG_CHECKING([for jpeglib]) - AC_TRY_CPP( -[#include <stdio.h> -#undef PACKAGE -#undef VERSION -#undef HAVE_STDLIB_H -#include <jpeglib.h>], - jpeg_ok=yes, - jpeg_ok=no) - AC_MSG_RESULT($jpeg_ok) - if test "$jpeg_ok" = yes; then - JPEG_LIBS="-ljpeg" - # should we check for progressive JPEG like GTK+ as well? - else - AC_MSG_ERROR([JPEG library (libjpeg) not found]) - fi -fi -AC_SUBST([JPEG_LIBS]) - -# Check for libpng the way Gtk+ does it -for l in libpng libpng14 libpng12; do - AC_MSG_CHECKING(for $l) - if $PKG_CONFIG --exists $l ; then - AC_MSG_RESULT(yes) - PNG_LIBS=`$PKG_CONFIG --libs $l` - png_ok=yes - break - else - AC_MSG_RESULT(no) - png_ok=no - fi -done -if test "$png_ok" != yes; then - AC_CHECK_LIB(png, png_read_info, - [AC_CHECK_HEADER(png.h, - png_ok=yes, - png_ok=no)], - AC_MSG_ERROR([PNG library (libpng) not found]), -lz -lm) - if test "$png_ok" = yes; then - AC_MSG_CHECKING([for png_structp in png.h]) - AC_TRY_COMPILE([#include <png.h>], - [png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;], - png_ok=yes, - png_ok=no) - AC_MSG_RESULT($png_ok) - if test "$png_ok" = yes; then - PNG_LIBS='-lpng -lz' - else - AC_MSG_ERROR([PNG library (libpng) not found]) - fi - else - AC_MSG_ERROR([PNG library (libpng) not found]) - fi -fi -AC_SUBST([PNG_LIBS]) - - -if test "$os_win32" = "yes"; then - WINMM_LIBS=-lwinmm - SHLWAPI_LIBS=-lshlwapi - OLE32_LIBS=-lole32 -fi -AC_SUBST([WINMM_LIBS]) -AC_SUBST([SHLWAPI_LIBS]) -AC_SUBST([OLE32_LIBS]) - - -# determine the GTK+ version to use -AC_MSG_CHECKING([the GTK+ version to use]) -AC_ARG_WITH([gtk], - [AS_HELP_STRING([--with-gtk=2.0|3.0], [the GTK+ version to use (default: 3.0)])], - [case "$with_gtk" in - 2.0|3.0) ;; - *) AC_MSG_ERROR([invalid GTK+ version specified]) ;; - esac], - [with_gtk=3.0]) -AC_MSG_RESULT([$with_gtk]) - -GTK2_REQUIRED_VERSION=2.10 -GAIL2_REQUIRED_VERSION=1.8 -GTK3_REQUIRED_VERSION=3.0 -GAIL3_REQUIRED_VERSION=3.0 - -case "$with_gtk" in - 2.0) GTK_REQUIRED_VERSION=$GTK2_REQUIRED_VERSION - GTK_API_VERSION=2.0 - WEBKITGTK_API_MAJOR_VERSION=1 - WEBKITGTK_API_MINOR_VERSION=0 - WEBKITGTK_API_VERSION=1.0 - WEBKITGTK_PC_NAME=webkit - GAIL_PC_NAME=gail - GAIL_REQUIRED_VERSION=$GAIL2_REQUIRED_VERSION - ;; - 3.0) GTK_REQUIRED_VERSION=$GTK3_REQUIRED_VERSION - GTK_API_VERSION=3.0 - WEBKITGTK_API_MAJOR_VERSION=3 - WEBKITGTK_API_MINOR_VERSION=0 - WEBKITGTK_API_VERSION=3.0 - WEBKITGTK_PC_NAME=webkitgtk - GAIL_PC_NAME=gail-3.0 - GAIL_REQUIRED_VERSION=$GAIL3_REQUIRED_VERSION - ;; -esac - -AC_SUBST([WEBKITGTK_API_MAJOR_VERSION]) -AC_SUBST([WEBKITGTK_API_MINOR_VERSION]) -AC_SUBST([WEBKITGTK_API_VERSION]) -AC_SUBST([WEBKITGTK_PC_NAME]) -AC_SUBST([GTK_API_VERSION]) -AM_CONDITIONAL([GTK_API_VERSION_2],[test "$GTK_API_VERSION" = "2.0"]) - -# determine the GDK/GTK+ target -AC_MSG_CHECKING([the target windowing system]) -AC_ARG_WITH(target, - AC_HELP_STRING([--with-target=@<:@x11/win32/quartz/directfb@:>@], - [Select webkit target [default=x11]]), - [],[with_target="x11"]) - -case "$with_target" in - x11|win32|quartz|directfb) ;; - *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;; -esac - -AC_MSG_RESULT([$with_target]) - -AC_MSG_CHECKING([for Hildon UI extensions]) -AC_ARG_WITH(hildon, - AC_HELP_STRING([--with-hildon], - [Use Hildon UI extensions [default=no]]), - [],[with_hildon="no"]) -AC_MSG_RESULT([$with_hildon]) - -if test "$with_hildon" = "yes"; then - HILDON_CPPFLAGS="-DMAEMO_CHANGES" - PKG_CHECK_MODULES([HILDON], [hildon-1]) - AC_SUBST([HILDON_CPPFLAGS]) - AC_SUBST([HILDON_CFLAGS]) - AC_SUBST([HILDON_LIBS]) -fi - -# minimum base dependencies -LIBSOUP_REQUIRED_VERSION=2.33.6 -CAIRO_REQUIRED_VERSION=1.10 -FONTCONFIG_REQUIRED_VERSION=2.4 -FREETYPE2_REQUIRED_VERSION=9.0 -LIBXML_REQUIRED_VERSION=2.6 - -# minimum GTK+ base dependencies -PANGO_REQUIRED_VERSION=1.12 - -# optional modules -LIBXSLT_REQUIRED_VERSION=1.1.7 -SQLITE_REQUIRED_VERSION=3.0 -GSTREAMER_REQUIRED_VERSION=0.10 -GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION=0.10.30 -ENCHANT_REQUIRED_VERSION=0.22 -LIBFFTW_REQUIRED_VERSION=3.2.2 - -# Available modules -# -# glib - glib and includes gthread -# unicode - check and identify which unicode backend to use -# -# todo: webcore gtk -WEBKIT_CHECK_DEPENDENCIES([glib unicode]) - -GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", - [The gettext catalog name]) - -PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= $LIBXML_REQUIRED_VERSION) -AC_SUBST(LIBXML_CFLAGS) -AC_SUBST(LIBXML_LIBS) - -PKG_CHECK_MODULES(PANGO, - [pango >= $PANGO_REQUIRED_VERSION - pangoft2]) -AC_SUBST(PANGO_CFLAGS) -AC_SUBST(PANGO_LIBS) - -AC_MSG_CHECKING([whether to enable spellcheck support]) -AC_ARG_ENABLE([spellcheck], - [AS_HELP_STRING([--enable-spellcheck],[enable support for spellcheck])], - [],[enable_spellcheck="yes"]) -AC_MSG_RESULT([$enable_spellcheck]) - -if test "$enable_spellcheck" = "yes"; then -PKG_CHECK_MODULES(ENCHANT, enchant >= $ENCHANT_REQUIRED_VERSION, [], [enable_spellcheck="no"]) -AC_SUBST(ENCHANT_CFLAGS) -AC_SUBST(ENCHANT_LIBS) -fi - -PKG_CHECK_MODULES(GAIL, $GAIL_PC_NAME >= $GAIL_REQUIRED_VERSION) -AC_SUBST(GAIL_CFLAGS) -AC_SUBST(GAIL_LIBS) - -# check for target-specific dependencies -if test "$with_target" = "directfb"; then - PKG_CHECK_MODULES(CAIRO, cairo-directfb >= $CAIRO_REQUIRED_VERSION) - PKG_CHECK_MODULES(GTK, gtk+-directfb-2.0 >= $GTK_REQUIRED_VERSION) - AC_DEFINE([WTF_PLATFORM_DIRECTFB],[1],[Define if target is DirectFB]) -else - PKG_CHECK_MODULES(CAIRO, cairo >= $CAIRO_REQUIRED_VERSION) - PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED_VERSION) - - if test "$with_target" = "x11" && test "$os_win32" = "no"; then - # check for XT - PKG_CHECK_MODULES([XT], - [xt], - [xt_has_pkg_config=yes], - [xt_has_pkg_config=no]) - # some old versions of Xt do not provide xt.pc, so try to link against Xt - # and if it's installed fall back to just adding -lXt - if test "$xt_has_pkg_config" = "no"; then - # using AC_CHECK_LIB instead of AC_SEARCH_LIB is fine in this case as - # we don't care about the XtOpenDisplay symbol but only about the - # existence of libXt - AC_CHECK_LIB([Xt], [XtOpenDisplay], - [XT_CFLAGS=""; XT_LIBS="-lXt"], - [AC_MSG_ERROR([X Toolkit Intrinsics library (libXt) not found])]) - fi - AC_SUBST([XT_CFLAGS]) - AC_SUBST([XT_LIBS]) - AC_DEFINE([WTF_PLATFORM_X11],[1],[Define if target is X11]) - fi -fi -AC_SUBST(GTK_CFLAGS) -AC_SUBST(GTK_LIBS) -AC_SUBST(CAIRO_CFLAGS) -AC_SUBST(CAIRO_LIBS) - -# check whether to build with debugging enabled -AC_MSG_CHECKING([whether to do a debug build]) -AC_ARG_ENABLE(debug, - AC_HELP_STRING([--enable-debug], - [turn on debugging [default=no]]), - [],[enable_debug="no"]) -AC_MSG_RESULT([$enable_debug]) - -# check whether to enable optimized builds -AC_MSG_CHECKING([whether to enable optimized builds]) -AC_ARG_ENABLE(optimizations, - AC_HELP_STRING([--enable-optimizations], - [turn on optimize builds (GCC only) - [default=yes]]), - [enable_optimizations=$enableval], - [if test "$enable_debug" = "yes"; then enable_optimizations="no"; else enable_optimizations="yes"; fi]) -AC_MSG_RESULT([$enable_optimizations]) - -# check whether to enable 3D rendering support -AC_MSG_CHECKING([whether to enable support for 3D Rendering]) -AC_ARG_ENABLE(3d_rendering, - AC_HELP_STRING([--enable-3d-rendering], - [enable support for 3D Rendering (experimental) [default=no]]), - [],[enable_3d_rendering="no"]) -AC_MSG_RESULT([$enable_3d_rendering]) - -# check whether to enable WebGL support -AC_MSG_CHECKING([whether to enable WebGL support]) -AC_ARG_ENABLE(webgl, - AC_HELP_STRING([--enable-webgl], [enable support for WebGL [default=yes]]), - [], [if test "$with_target" = "x11"; then enable_webgl="yes"; else enable_webgl="no"; fi]) -AC_MSG_RESULT([$enable_webgl]) - -if test "$enable_webgl" = "yes"; then - AC_CHECK_HEADERS([GL/gl.h], [], AC_MSG_ERROR([OpenGL header not found])) - AC_CHECK_HEADERS([GL/glx.h], [], AC_MSG_ERROR([GLX header not found])) - OPENGL_LIBS="-lGL -ldl" -fi -AC_SUBST([OPENGL_LIBS]) - -# check whether to enable channel messaging support -AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support]) -AC_ARG_ENABLE(channel_messaging, - AC_HELP_STRING([--enable-channel-messaging], - [enable HTML5 channel messaging support [default=yes]]), - [],[enable_channel_messaging="yes"]) -AC_MSG_RESULT([$enable_channel_messaging]) - -# check whether to enable notifications -AC_MSG_CHECKING([whether to enable notifications]) -AC_ARG_ENABLE(notifications, - AC_HELP_STRING([--enable-notifications], - [enable notifications [default=no]]), - [],[enable_notifications="no"]) -AC_MSG_RESULT([$enable_notifications]) - -# check whether to enable the meter tag -AC_MSG_CHECKING([whether to enable HTML5 meter tag]) -AC_ARG_ENABLE(meter_tag, - AC_HELP_STRING([--enable-meter-tag], - [enable HTML5 meter [default=yes]]), - [],[enable_meter_tag="yes"]) -AC_MSG_RESULT([$enable_meter_tag]) - -# check whether to enable HTML5 Microdata support -AC_MSG_CHECKING([whether to enable HTML5 Microdata support]) -AC_ARG_ENABLE(microdata, - AC_HELP_STRING([--enable-microdata], - [enable HTML5 microdata support [default=no]]), - [],[enable_microdata="no"]) -AC_MSG_RESULT([$enable_microdata]) - -# check whether to enable page visibility API. -AC_MSG_CHECKING([whether to enable Page Visibility API support]) -AC_ARG_ENABLE(page_visibility_api, - AC_HELP_STRING([--enable-page-visibility-api], - [enable page visibility api[default=no]]), - [],[enable_page_visibility_api="no"]) -AC_MSG_RESULT([$enable_page_visibility_api]) - -# check whether to enable the progress tag -AC_MSG_CHECKING([whether to enable HTML5 progress tag]) -AC_ARG_ENABLE(progress_tag, - AC_HELP_STRING([--enable-progress-tag], - [enable HTML5 progress [default=yes]]), - [],[enable_progress_tag="yes"]) -AC_MSG_RESULT([$enable_progress_tag]) - -# check whether to enable JavaScript debugger/profiler support -AC_MSG_CHECKING([whether to enable JavaScript debugger/profiler support]) -AC_ARG_ENABLE(javascript_debugger, - AC_HELP_STRING([--enable-javascript-debugger], - [enable JavaScript debugger/profiler support [default=yes]]), - [],[enable_javascript_debugger="yes"]) -AC_MSG_RESULT([$enable_javascript_debugger]) - -# check whether to enable Gamepad support -AC_MSG_CHECKING([whether to enable Gamepad support]) -AC_ARG_ENABLE(gamepad, - AC_HELP_STRING([--enable-gamepad], - [enable Gamepad support [default=no]]), - [],[enable_gamepad="no"]) -AC_MSG_RESULT([$enable_gamepad]) - -# check whether to build with datagrid support -AC_MSG_CHECKING([whether to enable HTML5 datagrid support]) -AC_ARG_ENABLE(datagrid, - AC_HELP_STRING([--enable-datagrid], - [enable HTML5 datagrid support [default=no]]), - [],[enable_datagrid="no"]) -AC_MSG_RESULT([$enable_datagrid]) - -# check whether to build with data transfer items support -AC_MSG_CHECKING([whether to enable HTML5 data transfer items support]) -AC_ARG_ENABLE(data_transfer_items, - AC_HELP_STRING([--enable-data-transfer-items], - [enable HTML5 data transfer items support [default=no]]), - [],[enable_data_transfer_items="no"]) -AC_MSG_RESULT([$enable_data_transfer_items]) - -# check whether to enable DOM mutation observer support -AC_MSG_CHECKING([whether to enable DOM mutation observer support]) -AC_ARG_ENABLE(mutation_observers, - AC_HELP_STRING([--enable-mutation-observers], - [enable DOM mutation observer support [default=no]]), - [],[enable_mutation_observers="no"]) -AC_MSG_RESULT([$enable_mutation_observers]) - -# check whether to enable HTML5 client-side session and persitent storage support -AC_MSG_CHECKING([whether to enable HTML5 client-side session and persistent storage support]) -AC_ARG_ENABLE(dom_storage, - AC_HELP_STRING([--enable-dom-storage], - [enable HTML5 client-side session and persistent storage support [default=yes]]), - [],[enable_dom_storage="yes"]) -AC_MSG_RESULT([$enable_dom_storage]) - -# check whether to enable the indexed database API -AC_MSG_CHECKING([whether to enable the indexed database API]) -AC_ARG_ENABLE(indexed_database, - AC_HELP_STRING([--enable-indexed-database], - [enable the indexed database API [default=no]]), - [],[enable_indexed_database="no"]) -AC_MSG_RESULT([$enable_indexed_database]) - -# check whether to enable the color input -AC_MSG_CHECKING([whether to enable the color input]) -AC_ARG_ENABLE(input_color, - AC_HELP_STRING([--enable-input-color], - [enable the color input [default=no]]), - [],[enable_input_color="no"]) -AC_MSG_RESULT([$enable_input_color]) - -# check whether to enable the speech input API -AC_MSG_CHECKING([whether to enable the speech input API]) -AC_ARG_ENABLE(input_speech, - AC_HELP_STRING([--enable-input-speech], - [enable the speech input API [default=no]]), - [],[enable_input_speech="no"]) -AC_MSG_RESULT([$enable_input_speech]) - -# check whether to build with SQL database support -AC_MSG_CHECKING([whether to enable SQL client-side database storage support]) -AC_ARG_ENABLE(sql_database, - AC_HELP_STRING([--enable-sql-database], - [enable SQL client-side database storage support [default=yes]]), - [],[enable_sql_database="yes"]) -AC_MSG_RESULT([$enable_sql_database]) - -# check whether to build with icon database support -AC_MSG_CHECKING([whether to enable icon database support]) -AC_ARG_ENABLE(icon_database, - AC_HELP_STRING([--enable-icon-database], - [enable icon database [default=yes]]), - [],[enable_icon_database="yes"]) -AC_MSG_RESULT([$enable_icon_database]) - -# check whether to build with image resizer API support -AC_MSG_CHECKING([whether to enable image resizer API support]) -AC_ARG_ENABLE(image_resizer, - AC_HELP_STRING([--enable-image-resizer], - [enable image resizer [default=no]]), - [],[enable_image_resizer="no"]) -AC_MSG_RESULT([$enable_image_resizer]) - -# check whether to enable HTML5 datalist support -AC_MSG_CHECKING([whether to enable HTML5 datalist support]) -AC_ARG_ENABLE(datalist, - AC_HELP_STRING([--enable-datalist], - [enable HTML5 datalist support [default=yes]]), - [],[enable_datalist="yes"]) -AC_MSG_RESULT([$enable_datalist]) - -# check whether to enable HTML5 sandbox iframe support -AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support]) -AC_ARG_ENABLE(sandbox, - AC_HELP_STRING([--enable-sandbox], - [enable HTML5 sandboxed iframe support [default=yes]]), - [],[enable_sandbox="yes"]) -AC_MSG_RESULT([$enable_sandbox]) - -# check whether to enable HTML5 audio/video support -AC_MSG_CHECKING([whether to enable HTML5 video support]) -AC_ARG_ENABLE(video, - AC_HELP_STRING([--enable-video], - [enable HTML5 video support [default=yes]]), - [],[enable_video="yes"]) -AC_MSG_RESULT([$enable_video]) - -# turn off video features if --disable-video is requested -if test "$enable_video" = "no"; then - enable_video_track=no -fi - -# check whether to enable HTML5 video track support -AC_MSG_CHECKING([whether to enable HTML5 video track support]) -AC_ARG_ENABLE(video_track, - AC_HELP_STRING([--enable-video-track], - [enable HTML5 video track support [default=no]]), - [],[enable_video_track="no"]) -AC_MSG_RESULT([$enable_video_track]) - -# check whether to enable media source support -AC_MSG_CHECKING([whether to enable media source support]) -AC_ARG_ENABLE(media_source, - AC_HELP_STRING([--enable-media-source], - [enable support for media source [default=no]]), - [], [enable_media_source="no"]) -AC_MSG_RESULT([$enable_media_source]) - -# check whether to enable media statistics support -AC_MSG_CHECKING([whether to enable media statistics support]) -AC_ARG_ENABLE(media_statistics, - AC_HELP_STRING([--enable-media-statistics], - [enable support for media statistics [default=no]]), - [], [enable_media_statistics="no"]) -AC_MSG_RESULT([$enable_media_statistics]) - -# check whether to enable Javascript Fullscreen API support -AC_MSG_CHECKING([whether to enable Fullscreen API support]) -AC_ARG_ENABLE(fullscreen_api, - AC_HELP_STRING([--enable-fullscreen-api], - [enable the Fullscreen API support [default=yes]]), - [],[enable_fullscreen_api="yes"]) -AC_MSG_RESULT([$enable_fullscreen_api]) - -# check whether to enable media stream support -AC_MSG_CHECKING([whether to enable media stream support]) -AC_ARG_ENABLE(media_stream, - AC_HELP_STRING([--enable-media-stream], - [enable media stream support (incomplete) [default=no]]), - [],[enable_media_stream="no"]) -AC_MSG_RESULT([$enable_media_stream]) - -# check whether to enable XSLT support -AC_MSG_CHECKING([whether to enable XSLT support]) -AC_ARG_ENABLE(xslt, - AC_HELP_STRING([--enable-xslt], - [enable support for XSLT [default=yes]]), - [],[enable_xslt="yes"]) -AC_MSG_RESULT([$enable_xslt]) - -# check whether to enable geolocation support -AC_MSG_CHECKING([whether to enable geolocation support]) -AC_ARG_ENABLE(geolocation, - AC_HELP_STRING([--enable-geolocation], - [enable support for geolocation [default=no]]), - [],[enable_geolocation="no"]) -AC_MSG_RESULT([$enable_geolocation]) - -# check whether to enable MathML support -AC_MSG_CHECKING([whether to enable MathML support]) -AC_ARG_ENABLE(mathml, - AC_HELP_STRING([--enable-mathml], - [enable support for MathML [default=no]]), - [],[enable_mathml="no"]) -AC_MSG_RESULT([$enable_mathml]) - -# check whether to enable SVG support -AC_MSG_CHECKING([whether to enable SVG support]) -AC_ARG_ENABLE(svg, - AC_HELP_STRING([--enable-svg], - [enable support for SVG [default=yes]]), - [],[enable_svg="yes"]) -AC_MSG_RESULT([$enable_svg]) - -# check whether to enable SharedWorkers support -AC_MSG_CHECKING([whether to enable SharedWorkers support]) -AC_ARG_ENABLE(shared_workers, - AC_HELP_STRING([--enable-shared-workers], - [enable support for SharedWorkers [default=yes]]), - [],[enable_shared_workers="yes"]) -AC_MSG_RESULT([$enable_shared_workers]) - -# check whether to enable Web Workers support -AC_MSG_CHECKING([whether to enable Web Workers support]) -AC_ARG_ENABLE(workers, - AC_HELP_STRING([--enable-workers], - [enable support for Web Workers [default=yes]]), - [],[enable_workers="yes"]) -AC_MSG_RESULT([$enable_workers]) - -# check whether to enable directory upload support -AC_MSG_CHECKING([whether to enable directory upload support]) -AC_ARG_ENABLE(directory_upload, - AC_HELP_STRING([--enable-directory-upload], - [enable support for directory upload [default=no]]), - [], [enable_directory_upload="no"]) -AC_MSG_RESULT([$enable_directory_upload]) - -# check whether to enable HTML5 FileSystem API support -AC_MSG_CHECKING([whether to enable HTML5 FileSystem API support]) -AC_ARG_ENABLE(file_system, - AC_HELP_STRING([--enable-file-system], - [enable support for HTML5 FileSystem API [default=no]]), - [], [enable_file_system="no"]) -AC_MSG_RESULT([$enable_file_system]) - -# check whether to enable HTML5 <style scoped> support -AC_MSG_CHECKING([whether to enable HTML5 <style scoped> support]) -AC_ARG_ENABLE(file_system, - AC_HELP_STRING([--enable-style-scoped], - [enable support for HTML5 <style scoped> [default=no]]), - [], [enable_style_scoped="no"]) -AC_MSG_RESULT([$enable_style_scoped]) - -# check whether to enable Quota API support -AC_MSG_CHECKING([whether to enable Quota API support]) -AC_ARG_ENABLE(quota, - AC_HELP_STRING([--enable-quota], - [enable support for Quota API [default=no]]), - [], [enable_quota="no"]) -AC_MSG_RESULT([$enable_quota]) - -# turn off svg features if --disable-svg is requested -if test "$enable_svg" = "no"; then - enable_svg_fonts=no -fi - -# check whether to enable support for filters -AC_MSG_CHECKING([whether to enable support for filters]) -AC_ARG_ENABLE(filters, - AC_HELP_STRING([--enable-filters], - [enable support for filters (experimental) [default=yes]]), - [],[enable_filters="yes"]) -AC_MSG_RESULT([$enable_filters]) - -# check whether to enable support for SVG fonts -AC_MSG_CHECKING([whether to enable support for SVG fonts]) -AC_ARG_ENABLE(svg_fonts, - AC_HELP_STRING([--enable-svg-fonts], - [enable support for SVG fonts (experimental) [default=yes]]), - [],[enable_svg_fonts="yes"]) -AC_MSG_RESULT([$enable_svg_fonts]) - -# check for SVG features, enabling SVG if necessary -if test "$enable_svg_fonts" = "yes"; then - svg_flags=yes - if test "$enable_svg" = "no"; then - AC_MSG_WARN([SVG feature(s) requested but SVG is disabled.. Enabling SVG support]) - enable_svg=yes - fi -fi - -# check whether to enable Web Socket support -AC_MSG_CHECKING([whether to enable Web Sockets support]) -AC_ARG_ENABLE(web_sockets, - AC_HELP_STRING([--enable-web-sockets], - [enable support for Web Sockets [default=yes]]), - [],[enable_web_sockets="yes"]) -AC_MSG_RESULT([$enable_web_sockets]) - -# check whether to enable Web Audio support -enable_web_audio=no -AC_MSG_RESULT([$enable_web_audio]) - -# check whether to enable Web Timing support -AC_MSG_CHECKING([whether to enable Web Timing support]) -AC_ARG_ENABLE(web_timing, - AC_HELP_STRING([--enable-web-timing], - [enable support for Web Timing [default=no]]), - [],[enable_web_timing="no"]) -AC_MSG_RESULT([$enable_web_timing]) - -# check whether to enable Blob support -AC_MSG_CHECKING([whether to enable Blob support]) -AC_ARG_ENABLE(blob, - AC_HELP_STRING([--enable-blob], - [enable support for Blob [default=yes]]), - [],[enable_blob="yes"]) -AC_MSG_RESULT([$enable_blob]) - -# check whether to enable Fast Mobile Scrolling support -AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling]) -AC_ARG_ENABLE(fast_mobile_scrolling, - AC_HELP_STRING([--enable-fast-mobile-scrolling], - [enable support for Fast Mobile Scrolling [default=no]]), - [],[enable_fast_mobile_scrolling="no"]) -AC_MSG_RESULT([$enable_fast_mobile_scrolling]) - -# check whether to enable code coverage -AC_MSG_CHECKING([whether to enable code coverage support]) -AC_ARG_ENABLE(coverage, - AC_HELP_STRING([--enable-coverage], - [enable code coverage support [default=no]]), - [],[enable_coverage="no"]) -AC_MSG_RESULT([$enable_coverage]) - -# check whether to enable FastMalloc -AC_MSG_CHECKING([whether to enable optimized memory allocator]) -AC_ARG_ENABLE(fast_malloc, - AC_HELP_STRING([--enable-fast-malloc], - [enable optimized memory allocator default=yes, default=no for debug builds]), - [],[if test "$enable_debug" = "yes"; then enable_fast_malloc="no"; else enable_fast_malloc="yes"; fi]) -AC_MSG_RESULT([$enable_fast_malloc]) - -# check whether to enable debug symbols -AC_MSG_CHECKING([whether to enable debug symbols]) -AC_ARG_ENABLE(debug_symbols, - AC_HELP_STRING([--enable-debug-symbols], - [enable debug symbols default=no, default=yes for debug builds]), - [],[if test "$enable_debug" = "yes"; then enable_debug_symbols="yes"; else enable_debug_symbols="no"; fi]) -AC_MSG_RESULT([$enable_debug_symbols]) - -# check whether to enable debug features -AC_MSG_CHECKING([whether to enable debug features]) -AC_ARG_ENABLE(debug_features, - AC_HELP_STRING([--enable-debug-features], - [enable debug features default=no, default=yes for debug builds]), - [],[if test "$enable_debug" = "yes"; then enable_debug_features="yes"; else enable_debug_features="no"; fi]) -AC_MSG_RESULT([$enable_debug_features]) - -# Determine JavaScript engine to use. -AC_MSG_CHECKING([Javascript engine]) -AC_ARG_WITH(jsengine, - AC_HELP_STRING([--with-jsengine=@<:@jsc@:>@], - [Select Javascript engine [default=jsc]]), - [],[with_jsengine="jsc"]) - -case "$with_jsengine" in - jsc) ;; - *) AC_MSG_ERROR([Invalid JS engine: Must be jsc]) ;; -esac -AC_MSG_RESULT([$with_jsengine]) - -if test "$with_jsengine" = "jsc"; then - AC_MSG_CHECKING([whether to enable JIT compilation]) - AC_ARG_ENABLE([jit], - AC_HELP_STRING([--enable-jit], - [Enable JIT compilation default=yes]), - [],[enable_jit="yes"]) - if test "$enable_jit" = "yes"; then - case "$host_cpu" in - arm*) - AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) - AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) - AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT]) - ;; - i*86|x86_64) - AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) - AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) - AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT]) - AC_DEFINE([ENABLE_JIT_OPTIMIZE_CALL], [1], [Define to enable optimizing calls]) - AC_DEFINE([ENABLE_JIT_OPTIMIZE_PROPERTY_ACCESS], [1], [Define to enable optimized property access]) - AC_DEFINE([ENABLE_JIT_OPTIMIZE_ARITHMETIC], [1], [Define to enable optimized arithmetic]) - case "$host_cpu" in - i*86) - AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_VA_LIST], [1], [Use stub va_list]) - ;; - x86_64) - AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register]) - AC_DEFINE([WTF_USE_ALTERNATE_JSIMMEDIATE], [1], [Use alternate JSImmediate]) - ;; - esac - ;; - sh4) - AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) - AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT]) - AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) - AC_DEFINE([WTF_USE_JIT_STUB_ARGUMENT_REGISTER], [1], [Use stub register]) - ;; - *) - enable_jit="no (CPU '$host_cpu' not supported)" - ;; - esac - else - AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT]) - fi -else - AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT]) - enable_jit="no" -fi - -AC_MSG_RESULT([$enable_jit]) - -# Opcode stats -AC_MSG_CHECKING([whether to enable opcode stats]) -AC_ARG_ENABLE([opcode-stats], - [AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)])], - [], [enable_opcode_stats=no]) -AC_MSG_RESULT([$enable_opcode_stats]) - -if test "$enable_opcode_stats" = "yes"; then - if test "$enable_jit" = "yes"; then - AC_MSG_ERROR([JIT must be disabled for Opcode stats to work.]) - fi - AC_DEFINE([ENABLE_OPCODE_STATS], [1], [Define to enable Opcode statistics]) -fi - -# Link prefetch -AC_MSG_CHECKING([whether to enable link prefetch support]) -AC_ARG_ENABLE([link-prefetch], - [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])], - [],[enable_link_prefetch=no]) -AC_MSG_RESULT([$enable_link_prefetch]) - -if test "$enable_link_prefetch" = "yes"; then - AC_DEFINE([ENABLE_LINK_PREFETCH], [1], [Define to enable link prefetch support]) -fi - -# GObject Introspection -AC_MSG_CHECKING([whether to enable GObject introspection support]) -AC_ARG_ENABLE([introspection], - [AS_HELP_STRING([--enable-introspection],[Enable GObject introspection (default: disabled)])], - [],[enable_introspection=no]) -AC_MSG_RESULT([$enable_introspection]) - -# check whether to enable animation API -AC_MSG_CHECKING([whether to enable Animation API support]) -AC_ARG_ENABLE(animation_api, - AC_HELP_STRING([--enable-animation-api], - [enable support for Animation API (experimental) [default=no]]), - [], [enable_animation_api="no"]) -AC_MSG_RESULT([$enable_animation_api]) - -# check whether to enable requestAnimationFrame support -AC_MSG_CHECKING([whether to enable requestAnimationFrame support]) -AC_ARG_ENABLE(request_animation_frame, - AC_HELP_STRING([--enable-request-animation-frame], - [enable support for requestAnimationFrame (experimental) [default=no]]), - [],[enable_request_animation_frame="no"]) -AC_MSG_RESULT([$enable_request_animation_frame]) - -# check whether to enable touch icon loading -AC_MSG_CHECKING([whether to enable touch icon loading]) -AC_ARG_ENABLE(touch_icon_loading, - AC_HELP_STRING([--enable-touch-icon-loading], - [enable support for loading touch icons [default=no]]), - [], [enable_touch_icon_loading="no"]) -AC_MSG_RESULT([$enable_touch_icon_loading]) - -# check whether to enable Register Protocol Handler support -AC_MSG_CHECKING([whether to enable Register Protocol Handler]) -AC_ARG_ENABLE(register_protocol_handler, - AC_HELP_STRING([--enable-register-protocol-handler], - [enable support for Register Protocol Handler (experimental) [default=no]]), - [],[enable_register_protocol_handler="no"]) -AC_MSG_RESULT([$enable_register_protocol_handler]) - -# check whether to enable DeviceOrientation support -AC_MSG_CHECKING([whether to enable DeviceOrientation]) -AC_ARG_ENABLE(device_orientation, - AC_HELP_STRING([--enable-device-orientation], - [enable support for DeviceOrientation (experimental and incomplete) [default=no]]), - [],[enable_device_orientation="no"]) -AC_MSG_RESULT([$enable_device_orientation]) - -G_IR_SCANNER= -G_IR_COMPILER= -G_IR_GENERATE= -GIRDIR= -GIRTYPELIBDIR= - -if test "$enable_introspection" = "yes"; then - GOBJECT_INTROSPECTION_REQUIRED=0.9.5 - PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED]) - - G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)" - G_IR_COMPILER="$($PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0)" - G_IR_GENERATE="$($PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0)" - AC_DEFINE([ENABLE_INTROSPECTION],[1],[Define to enable GObject introspection support]) -fi - -AC_SUBST([G_IR_SCANNER]) -AC_SUBST([G_IR_COMPILER]) -AC_SUBST([G_IR_GENERATE]) - -# determine the font backend -AC_MSG_CHECKING([the font backend to use]) -AC_ARG_WITH(font_backend, - AC_HELP_STRING([--with-font-backend=@<:@freetype/pango@:>@], - [Select font backend [default=freetype]]), - [],[with_font_backend="freetype"]) - -case "$with_font_backend" in - freetype|pango) ;; - *) AC_MSG_ERROR([Invalid font backend: must be freetype or pango.]) ;; -esac -AC_MSG_RESULT([$with_font_backend]) - -if test "$host_cpu" = "sh4"; then - CXXFLAGS="$CXXFLAGS -mieee -w" - CFLAGS="$CFLAGS -mieee -w" -fi - -# Add '-g' flag to gcc to build with debug symbols -if test "$enable_debug_symbols" = "yes"; then - CXXFLAGS="$CXXFLAGS -g" - CFLAGS="$CFLAGS -g" -fi - -if test "$enable_debug_features" = "no"; then - AC_DEFINE([NDEBUG], [1], [Define to disable debugging features]) -fi - -# Add the appropriate 'O' level for optimized builds -if test "$enable_optimizations" = "yes"; then - CXXFLAGS="$CXXFLAGS -O2" - CFLAGS="$CFLAGS -O2" -else - CXXFLAGS="$CXXFLAGS -O0" - CFLAGS="$CFLAGS -O0" -fi - -PKG_CHECK_MODULES([LIBSOUP], - [libsoup-2.4 >= $LIBSOUP_REQUIRED_VERSION]) -AC_SUBST([LIBSOUP_CFLAGS]) -AC_SUBST([LIBSOUP_LIBS]) - -# check if FreeType/FontConfig are available -if test "$with_font_backend" = "freetype"; then - if test "$with_target" = "directfb"; then - PKG_CHECK_MODULES([FREETYPE], - [fontconfig >= $FONTCONFIG_REQUIRED_VERSION - freetype2 >= $FREETYPE2_REQUIRED_VERSION]) - else - PKG_CHECK_MODULES([FREETYPE], - [cairo-ft - fontconfig >= $FONTCONFIG_REQUIRED_VERSION - freetype2 >= $FREETYPE2_REQUIRED_VERSION]) - fi - AC_SUBST([FREETYPE_CFLAGS]) - AC_SUBST([FREETYPE_LIBS]) -fi - -# check if SQLite3 is available. Error out only if one of the -# features hard-depending on it is enabled while SQLite3 is -# unavailable. -PKG_CHECK_MODULES([SQLITE3], - [sqlite3 >= $SQLITE_REQUIRED_VERSION], - [sqlite3_has_pkg_config=yes], - [sqlite3_has_pkg_config=no]) -if test "$sqlite3_has_pkg_config" = "no"; then - AC_SEARCH_LIBS([sqlite3_open16], [sqlite3], - [sqlite3_found=yes;SQLITE3_LIBS="$LIBS";SQLITE3_CFLAGS="-I $srcdir/WebKitLibraries/WebCoreSQLite3"], - [sqlite3_found=no]) -fi -AC_SUBST([SQLITE3_CFLAGS]) -AC_SUBST([SQLITE3_LIBS]) - -if (test "$sqlite3_found" = "no"); then - AC_MSG_ERROR([SQLite3 is required for the Database related features]) -fi - -# check if libxslt is available -if test "$enable_xslt" = "yes"; then - PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION]) - AC_SUBST([LIBXSLT_CFLAGS]) - AC_SUBST([LIBXSLT_LIBS]) -fi - -# check if geoclue is available -if test "$enable_geolocation" = "yes"; then - PKG_CHECK_MODULES([GEOCLUE], [geoclue]) - AC_SUBST([GEOCLUE_CFLAGS]) - AC_SUBST([GEOCLUE_LIBS]) -fi - -# check for XRender under Linux/Unix. Some linkers require explicit -# linkage (like GNU Gold), so we cannot rely on GTK+ pulling XRender -if test "$os_win32" = "no"; then - PKG_CHECK_MODULES([XRENDER], [xrender]) - AC_SUBST([XRENDER_CFLAGS]) - AC_SUBST([XRENDER_LIBS]) -fi - -# check if gstreamer is available -if test "$enable_video" = "yes" || test "$enable_web_audio" = "yes"; then - PKG_CHECK_MODULES([GSTREAMER], - [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION - gstreamer-app-0.10 - gstreamer-audio-0.10 - gstreamer-base-0.10 - gstreamer-interfaces-0.10 - gstreamer-pbutils-0.10 - gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION - gstreamer-video-0.10], - [have_gstreamer=yes]) - - AC_SUBST([GSTREAMER_CFLAGS]) - AC_SUBST([GSTREAMER_LIBS]) -fi - -# check if libfftw is available -if test "$enable_web_audio" = "yes"; then - PKG_CHECK_MODULES([LIBFFTW], - [fftw3 >= $LIBFFTW_REQUIRED_VERSION - fftw3f >= $LIBFFTW_REQUIRED_VERSION], - [have_fftw=yes]) - - AC_SUBST([LIBFFTW_CFLAGS]) - AC_SUBST([LIBFFTW_LIBS]) -fi - -# check for code coverage support -if test "$enable_coverage" = "yes"; then - COVERAGE_CFLAGS="-MD" - COVERAGE_LDFLAGS="-ftest-coverage -fprofile-arcs" - AC_SUBST([COVERAGE_CFLAGS]) - AC_SUBST([COVERAGE_LDFLAGS]) -fi - -# check for HTML features -if test "$enable_video" = "yes"; then - html_flags=yes -fi - -# WebKit2 -AC_MSG_CHECKING([whether to build Webkit2]) -AC_ARG_ENABLE(webkit2, - AC_HELP_STRING([--enable-webkit2], [build webkit2 [default=no]]), - [], [enable_webkit2="no"]) -AC_MSG_RESULT([$enable_webkit2]) -if test "$enable_webkit2" = "yes"; then - if test "$GTK_API_VERSION" = "2.0"; then - AC_MSG_ERROR([WebKit2 requires GTK+ 3.x, use --with-gtk=3.0]) - fi -fi - -# Plugin Process -AC_MSG_CHECKING([whether to build plugin process for WebKit2]) -AC_ARG_ENABLE(plugin_process, - AC_HELP_STRING([--enable-plugin-process], [build plugin process for WebKit2 [default=yes]]), - [], [enable_plugin_process="yes"]) -AC_MSG_RESULT([$enable_plugin_process]) - -# Build the plugin process only when building Webkit2. -if test "$enable_webkit2" = "no"; then - enable_plugin_process=no -fi - -# Make sure we have GTK+ 2.x to build the plugin process. -if test "$enable_plugin_process" = "yes"; then - PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= $GTK2_REQUIRED_VERSION gail >= $GAIL2_REQUIRED_VERSION) -fi -AC_SUBST(GTK2_CFLAGS) -AC_SUBST(GTK2_LIBS) - -GTK_DOC_CHECK([1.10]) - -# OS conditionals -AM_CONDITIONAL([OS_WIN32],[test "$os_win32" = "yes"]) -AM_CONDITIONAL([OS_UNIX],[test "$os_win32" = "no"]) -AM_CONDITIONAL([OS_LINUX],[test "$os_linux" = "yes"]) -AM_CONDITIONAL([OS_GNU],[test "$os_gnu" = "yes"]) -AM_CONDITIONAL([OS_FREEBSD],[test "$os_freebsd" = "yes"]) - -# target conditionals -AM_CONDITIONAL([TARGET_X11], [test "$with_target" = "x11"]) -AM_CONDITIONAL([TARGET_WIN32], [test "$with_target" = "win32"]) -AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_target" = "quartz"]) -AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_target" = "directfb"]) - -# JS engine conditionals -AM_CONDITIONAL([USE_JSC], [test "$with_jsengine" = "jsc"]) - -# Unicode backend conditionals -AM_CONDITIONAL([USE_ICU_UNICODE], [test "$with_unicode_backend" = "icu"]) -AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"]) - -# Font backend conditionals -AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"]) -AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"]) - -# GStreamer feature conditional -AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"]) - -# WebKit feature conditionals -AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug_features" = "yes"]) -AM_CONDITIONAL([ENABLE_3D_RENDERING],[test "$enable_3d_rendering" = "yes"]) -AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"]) -AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"]) -AM_CONDITIONAL([ENABLE_METER_TAG],[test "$enable_meter_tag" = "yes"]) -AM_CONDITIONAL([ENABLE_MICRODATA],[test "$enable_microdata" = "yes"]) -AM_CONDITIONAL([ENABLE_PAGE_VISIBILITY_API],[test "$enable_page_visibility_api" = "yes"]) -AM_CONDITIONAL([ENABLE_PROGRESS_TAG],[test "$enable_progress_tag" = "yes"]) -AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"]) -AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"]) -AM_CONDITIONAL([ENABLE_GAMEPAD],[test "$enable_gamepad" = "yes"]) -AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"]) -AM_CONDITIONAL([ENABLE_DATAGRID],[test "$enable_datagrid" = "yes"]) -AM_CONDITIONAL([ENABLE_DATA_TRANSFER_ITEMS],[test "$enable_data_transfer_items" = "yes"]) -AM_CONDITIONAL([ENABLE_SQL_DATABASE],[test "$enable_sql_database" = "yes"]) -AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"]) -AM_CONDITIONAL([ENABLE_DETAILS],[test "$enable_details" = "yes"]) -AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"]) -AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"]) -AM_CONDITIONAL([ENABLE_STYLE_SCOPED],[test "$enable_style_scoped" = "yes"]) -AM_CONDITIONAL([ENABLE_QUOTA],[test "$enable_quota" = "yes"]) -AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"]) -AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"]) -AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"]) -AM_CONDITIONAL([ENABLE_INPUT_COLOR],[test "$enable_input_color" = "yes"]) -AM_CONDITIONAL([ENABLE_INPUT_SPEECH],[test "$enable_input_speech" = "yes"]) -AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"]) -AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"]) -AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"]) -AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"]) -AM_CONDITIONAL([ENABLE_MHTML], [test "$enable_mhtml" = "yes"]) -AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"]) -AM_CONDITIONAL([ENABLE_MEDIA_SOURCE],[test "$enable_media_source" = "yes"]) -AM_CONDITIONAL([ENABLE_MEDIA_STATISTICS],[test "$enable_media_statistics" = "yes"]) -AM_CONDITIONAL([ENABLE_VIDEO_TRACK],[test "$enable_video_track" = "yes"]) -AM_CONDITIONAL([ENABLE_FULLSCREEN_API],[test "$enable_fullscreen_api" = "yes"]) -AM_CONDITIONAL([ENABLE_MEDIA_STREAM],[test "$enable_media_stream" = "yes"]) -AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"]) -AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"]) -AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"]) -AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"]) -AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"]) -AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"]) -AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"]) -AM_CONDITIONAL([ENABLE_SHARED_WORKERS],[test "$enable_shared_workers" = "yes"]) -AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"]) -AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"]) -AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"]) -AM_CONDITIONAL([ENABLE_WEB_AUDIO],[test "$enable_web_audio" = "yes"]) -AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"]) -AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"]) -AM_CONDITIONAL([ENABLE_WEBKIT2],[test "$enable_webkit2" = "yes"]) -AM_CONDITIONAL([ENABLE_PLUGIN_PROCESS],[test "$enable_plugin_process" = "yes"]) -AM_CONDITIONAL([ENABLE_SPELLCHECK],[test "$enable_spellcheck" = "yes"]) -AM_CONDITIONAL([ENABLE_ANIMATION_API],[test "$enable_animation_api" = "yes"]) -AM_CONDITIONAL([ENABLE_REQUEST_ANIMATION_FRAME],[test "$enable_request_animation_frame" = "yes"]) -AM_CONDITIONAL([ENABLE_TOUCH_ICON_LOADING],[test "$enable_touch_icon_loading" = "yes"]) -AM_CONDITIONAL([ENABLE_REGISTER_PROTOCOL_HANDLER],[test "$enable_register_protocol_handler" = "yes"]) -AM_CONDITIONAL([ENABLE_DEVICE_ORIENTATION],[test "$enable_device_orientation" = "yes"]) -AM_CONDITIONAL([ENABLE_MUTATION_OBSERVERS],[test "$enable_mutation_observers" = "yes"]) - -# Gtk conditionals -AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"]) - -AC_CONFIG_FILES([ -GNUmakefile -]) - - -AC_CONFIG_FILES([ -Source/WebKit/gtk/webkit/webkitversion.h -]) - -AC_CONFIG_FILES([ -Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in -Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in -Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in -Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in -] -,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] -) - - -if test "$enable_webkit2" = "yes"; then - AC_CONFIG_FILES([ - Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in - ] - ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] - ) -fi - -AC_OUTPUT - -echo " -WebKit was configured with the following options: - -Build configuration: - Enable debugging (slow) : $enable_debug - Compile with debug symbols (slow) : $enable_debug_symbols - Enable debug features (slow) : $enable_debug_features - Enable GCC build optimization : $enable_optimizations - Code coverage support : $enable_coverage - Unicode backend : $with_unicode_backend - Font backend : $with_font_backend - Optimized memory allocator : $enable_fast_malloc - JavaScript Engine : $with_jsengine - -Features: - 3D Rendering : $enable_3d_rendering - WebGL : $enable_webgl - Blob support : $enable_blob - DOM mutation observer support : $enable_mutation_observers - DeviceOrientation support : $enable_device_orientation - Directory upload : $enable_directory_upload - Fast Mobile Scrolling : $enable_fast_mobile_scrolling - JIT compilation : $enable_jit - Filters support : $enable_filters - Geolocation support : $enable_geolocation - JavaScript debugger/profiler support : $enable_javascript_debugger - Gamepad support : $enable_gamepad - MathML support : $enable_mathml - Media source : $enable_media_source - Media statistics : $enable_media_statistics - HTML5 channel messaging support : $enable_channel_messaging - HTML5 meter element support : $enable_meter_tag - HTML5 microdata support : $enable_microdata - Page Visibility API support : $enable_page_visibility_api - HTML5 progress element support : $enable_progress_tag - HTML5 client-side session and persistent storage support : $enable_dom_storage - SQL client-side database storage support : $enable_sql_database - HTML5 datagrid support : $enable_datagrid - HTML5 data transfer items support : $enable_data_transfer_items - HTML5 FileSystem API support : $enable_file_system - Quota API support : $enable_quota - HTML5 sandboxed iframe support : $enable_sandbox - HTML5 video element support : $enable_video - HTML5 track element support : $enable_video_track - Fullscreen API support : $enable_fullscreen_api - Media stream support : $enable_media_stream - Icon database support : $enable_icon_database - Image resizer support : $enable_image_resizer - Link prefetch support : $enable_link_prefetch - Opcode stats : $enable_opcode_stats - SharedWorkers support : $enable_shared_workers - Color input support : $enable_input_color - Speech input support : $enable_input_speech - SVG support : $enable_svg - SVG fonts support : $enable_svg_fonts - Web Audio support : $enable_web_audio - Web Sockets support : $enable_web_sockets - Web Timing support : $enable_web_timing - Web Workers support : $enable_workers - XSLT support : $enable_xslt - Spellcheck support : $enable_spellcheck - Animation API : $enable_animation_api - RequestAnimationFrame support : $enable_request_animation_frame - Touch Icon Loading support : $enable_touch_icon_loading - Register Protocol Handler support : $enable_register_protocol_handler - WebKit2 support : $enable_webkit2 - WebKit2 plugin process : $enable_plugin_process - -GTK+ configuration: - GTK+ version : $with_gtk - GDK target : $with_target - Hildon UI extensions : $with_hildon - Introspection support : $enable_introspection - Generate documentation : $enable_gtk_doc -" -if test "$with_unicode_backend" = "glib"; then - echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<" - echo - echo -fi diff --git a/meta/recipes-sato/webkit/files/function-scope.patch b/meta/recipes-sato/webkit/files/function-scope.patch deleted file mode 100644 index a20a80501f..0000000000 --- a/meta/recipes-sato/webkit/files/function-scope.patch +++ /dev/null @@ -1,21 +0,0 @@ -we need to include unistd.h on all linux platforms therefore -extend the conditional inclusion accordingly - -This gets proper declation of sleep() into the source file - -Signed-off-by: Khem Raj <raj.khem@gmail.com> - -Upstream-Status: Pending -Index: webkit-gtk-1.7.2+svnr101488-r3/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp -=================================================================== ---- webkit-gtk-1.7.2+svnr101488-r3.orig/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp 2012-03-30 12:11:04.912613223 -0700 -+++ webkit-gtk-1.7.2+svnr101488-r3/Tools/DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp 2012-03-30 12:14:21.840622752 -0700 -@@ -29,7 +29,7 @@ - #include <assert.h> - #include <string.h> - --#if defined(ANDROID) -+#if defined(__linux__) - #include <unistd.h> - #endif - diff --git a/meta/recipes-sato/webkit/files/gtk-doc.make b/meta/recipes-sato/webkit/files/gtk-doc.make deleted file mode 100644 index 354ffb7c66..0000000000 --- a/meta/recipes-sato/webkit/files/gtk-doc.make +++ /dev/null @@ -1,173 +0,0 @@ -# -*- mode: makefile -*- - -#################################### -# Everything below here is generic # -#################################### - -if GTK_DOC_USE_LIBTOOL -GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -else -GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -endif - -# We set GPATH here; this gives us semantics for GNU make -# which are more like other make's VPATH, when it comes to -# whether a source that is a target of one rule is then -# searched for in VPATH/GPATH. -# -GPATH = $(srcdir) - -TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) - -EXTRA_DIST = \ - $(content_files) \ - $(HTML_IMAGES) \ - $(DOC_MAIN_SGML_FILE) \ - $(DOC_MODULE)-sections.txt \ - $(DOC_MODULE)-overrides.txt - -DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ - $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp - -SCANOBJ_FILES = \ - $(DOC_MODULE).args \ - $(DOC_MODULE).hierarchy \ - $(DOC_MODULE).interfaces \ - $(DOC_MODULE).prerequisites \ - $(DOC_MODULE).signals - -REPORT_FILES = \ - $(DOC_MODULE)-undocumented.txt \ - $(DOC_MODULE)-undeclared.txt \ - $(DOC_MODULE)-unused.txt - -CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) - -if ENABLE_GTK_DOC -all-local: html-build.stamp -else -all-local: -endif - -docs: html-build.stamp - -#### scan #### - -scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) - @echo 'gtk-doc: Scanning header files' - @-chmod -R u+w $(srcdir) - cd $(srcdir) && \ - gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) - if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ - CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ - else \ - cd $(srcdir) ; \ - for i in $(SCANOBJ_FILES) ; do \ - test -f $$i || touch $$i ; \ - done \ - fi - touch scan-build.stamp - -$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp - @true - -#### templates #### - -tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt - @echo 'gtk-doc: Rebuilding template files' - @-chmod -R u+w $(srcdir) - cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) - touch tmpl-build.stamp - -tmpl.stamp: tmpl-build.stamp - @true - -tmpl/*.sgml: - @true - - -#### xml #### - -sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) - @echo 'gtk-doc: Building XML' - @-chmod -R u+w $(srcdir) - cd $(srcdir) && \ - gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) - touch sgml-build.stamp - -sgml.stamp: sgml-build.stamp - @true - -#### html #### - -html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) - @echo 'gtk-doc: Building HTML' - @-chmod -R u+w $(srcdir) - rm -rf $(srcdir)/html - mkdir $(srcdir)/html - cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) - test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) - @echo 'gtk-doc: Fixing cross-references' - cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) - touch html-build.stamp - -############## - -clean-local: - rm -f *~ *.bak - rm -rf .libs - -distclean-local: - cd $(srcdir) && \ - rm -rf xml $(REPORT_FILES) \ - $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt - -maintainer-clean-local: clean - cd $(srcdir) && rm -rf xml html - -install-data-local: - -installfiles=`echo $(srcdir)/html/*`; \ - if test "$$installfiles" = '$(srcdir)/html/*'; \ - then echo '-- Nothing to install' ; \ - else \ - $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ - for i in $$installfiles; do \ - echo '-- Installing '$$i ; \ - $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ - done; \ - echo '-- Installing $(srcdir)/html/index.sgml' ; \ - $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ - which gtkdoc-rebase >/dev/null && \ - gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \ - fi - - -uninstall-local: - rm -f $(DESTDIR)$(TARGET_DIR)/* - -# -# Require gtk-doc when making dist -# -if ENABLE_GTK_DOC -dist-check-gtkdoc: -else -dist-check-gtkdoc: - @echo "*** gtk-doc must be installed and enabled in order to make dist" - @false -endif - -dist-hook: dist-check-gtkdoc dist-hook-local - mkdir $(distdir)/tmpl - mkdir $(distdir)/xml - mkdir $(distdir)/html - -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl - -cp $(srcdir)/xml/*.xml $(distdir)/xml - cp $(srcdir)/html/* $(distdir)/html - -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ - -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ - cd $(distdir) && rm -f $(DISTCLEANFILES) - -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html - -.PHONY : dist-hook-local docs diff --git a/meta/recipes-sato/webkit/files/update-webkit.sh b/meta/recipes-sato/webkit/files/update-webkit.sh deleted file mode 100755 index 723c45a4fb..0000000000 --- a/meta/recipes-sato/webkit/files/update-webkit.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# usage: sh update-webkit.sh <revision> - -export rev=$1 - -for i in autogen.sh configure.ac GNUmakefile.am Makefile Makefile.shared ; do - wget "http://trac.webkit.org/browser/trunk/$i?rev=$rev&format=raw" -O $i -done diff --git a/meta/recipes-sato/webkit/webkit-gtk_svn.bb b/meta/recipes-sato/webkit/webkit-gtk_svn.bb deleted file mode 100644 index b455759f36..0000000000 --- a/meta/recipes-sato/webkit/webkit-gtk_svn.bb +++ /dev/null @@ -1,107 +0,0 @@ -DESCRIPTION = "WebKitGTK+ is the port of the portable web rendering engine WebKitK to the GTK+ platform." -HOMEPAGE = "http://www.webkitgtk.org/" -BUGTRACKER = "http://bugs.webkit.org/" - -LICENSE = "BSD & LGPLv2+" -LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md5=fb9694013ad71b78f8913af7a5959680 \ - file://Source/WebKit/gtk/webkit/webkit.h;endline=21;md5=b4fbe9f4a944f1d071dba1d2c76b3351 \ - file://Source/JavaScriptCore/parser/Parser.h;endline=23;md5=2f3cff0ad0a9c486da5a376928973a90" - -# Choice of language backends - icu has issues on Big Endian machines so use pango -ICU_LIB = "icu" -ICU_LIB_powerpc = "pango" - -DEPENDS = "zlib enchant gnome-keyring libsoup-2.4 curl libxml2 cairo libxslt libxt libidn gnutls \ - gtk+ gstreamer gst-plugins-base flex-native gperf-native perl-native-runtime sqlite3 ${ICU_LIB}" -DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)}" - -SRCREV_FORMAT = "source" - -SRCREV = "101488" -PV = "1.7.2+svnr${SRCPV}" -PR = "r6" - -SRC_URI = "\ - svn://svn.webkit.org/repository/webkit/trunk/;module=Source;protocol=http;name=source \ - svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;protocol=http \ - svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;protocol=http \ - file://Makefile \ - file://Makefile.shared \ - file://autogen.sh \ - file://configure.ac \ - file://GNUmakefile.am \ - file://gtk-doc.make \ - file://nodolt.patch \ - file://function-scope.patch \ - file://webgit-gtk_fix_build_with_automake_1.12.patch \ - " - -S = "${WORKDIR}/" - -inherit autotools lib_package pkgconfig - -EXTRA_OECONF = "\ - --enable-debug=no \ - --enable-svg \ - --enable-icon-database=yes \ - --enable-fullscreen-api \ - --enable-image-resizer \ - --enable-link-prefetch \ - --with-gtk=2.0 \ - ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-webgl', '--disable-webgl', d)} \ - UNICODE_CFLAGS=-D_REENTRANT \ - " - -#default unicode backend icu breaks in cross-compile when target and host are different endian type -EXTRA_OECONF_append_powerpc += "--with-unicode-backend=glib" - -CPPFLAGS_append_powerpc += "-I${STAGING_INCDIR}/pango-1.0 \ - -I${STAGING_LIBDIR}/glib-2.0/include \ - -I${STAGING_INCDIR}/glib-2.0" - -EXTRA_AUTORECONF = " -I Source/autotools " - - -#| ./Source/JavaScriptCore/heap/HandleTypes.h: In static member function 'static T* JSC::HandleTypes<T>::getFromSlot(JSC::HandleSlot) [with T = JSC::Structure, JSC::HandleTypes<T>::ExternalType = JSC::Structure*, JSC::HandleSlot = JSC::JSValue*]': -#| ./Source/JavaScriptCore/heap/Handle.h:141:79: instantiated from 'JSC::Handle<T>::ExternalType JSC::Handle<T>::get() const [with T = JSC::Structure, JSC::Handle<T>::ExternalType = JSC::Structure*]' -#| ./Source/JavaScriptCore/runtime/ScopeChain.h:39:75: instantiated from here -#| ./Source/JavaScriptCore/heap/HandleTypes.h:38:130: warning: cast from 'JSC::JSCell*' to 'JSC::HandleTypes<JSC::Structure>::ExternalType {aka JSC::Structure*}' increases required alignment of target type [-Wcast-align] -#| {standard input}: Assembler messages: -#| {standard input}:28873: Error: invalid immediate: 983040 is out of range -#| {standard input}:28873: Error: value of 983040 too large for field of 2 bytes at 15110 -#| /OE/shr-core/tmp/sysroots/x86_64-linux/usr/libexec/armv4t-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.2/as: BFD (GNU Binutils) 2.21.1 assertion fail /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/binutils-cross-2.21.1a-r0/binutils-2.21.1/bfd/elf.c:2819 -#| arm-oe-linux-gnueabi-g++: internal compiler error: Segmentation fault (program as) -#| Please submit a full bug report, -#| with preprocessed source if appropriate. -#| See <http://gcc.gnu.org/bugs.html> for instructions. -#| make[1]: *** [Source/JavaScriptCore/jit/libjavascriptcoregtk_1_0_la-JIT.lo] Error 1 -#| make[1]: Leaving directory `/OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/webkit-gtk-1.5.1+svnr90727-r0' -ARM_INSTRUCTION_SET = "arm" - -CONFIGUREOPT_DEPTRACK = "" - -do_configure_append() { - # somethings wrong with icu, fix it up manually - for makefile in $(find ${S} -name "GNUmakefile") ; do - sed -i s:-I/usr/include::g $makefile - done -} - -do_install_prepend() { - cp ${S}/Programs/.libs/jsc ${S}/Programs/jsc-1 || true -} - -do_install_append() { - rmdir ${D}${libexecdir} -} - -PACKAGES =+ "${PN}-webinspector ${PN}launcher-dbg ${PN}launcher libjavascriptcore" -FILES_${PN}launcher = "${bindir}/GtkLauncher" -FILES_${PN}launcher-dbg = "${bindir}/.debug/GtkLauncher" -FILES_libjavascriptcore = "${libdir}/libjavascriptcoregtk-1.0.so.*" -FILES_${PN}-webinspector = "${datadir}/webkitgtk-*/webinspector/" -FILES_${PN} += "${datadir}/webkitgtk-*/resources/error.html \ - ${datadir}/webkitgtk-*/images \ - ${datadir}/glib-2.0/schemas" - - |