[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 18:40:05 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 01d377b507f5e847f3b900380126b8d0e366e9db
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Dec 15 16:51:30 2010 +0000
2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
Reviewed by Martin Robinson.
Changes to enable building WebKit2 for Gtk port.
(https://bugs.webkit.org/show_bug.cgi?id=37369)
* GNUmakefile.am: Changes to build either of WebKit1 or WebKit2.
It basically excludes all WebKit/gtk/webkit/ files when building WebKit2.
Also, exludes Unittests, DumprenderTree, GtkLauncher etc for WebKit2.
* configure.ac: Option for enable or disable WebKit2.
2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
Reviewed by Martin Robinson.
Changes to enable building WebKit2 for Gtk port
(https://bugs.webkit.org/show_bug.cgi?id=37369)
No new functionality added or deleted. Only makefile change. Hence, no tests added.
* GNUmakefile.am: Removed bindings/gobject from webcore_sources & webcore_cppflags and added them to WebKit/gtk/GNUmakefile.am
* platform/network/soup/cache/webkit/soup-cache.h: Remove include <webkit/webkitdefines.h> and declare WEBKIT_API directly
2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Phaneendra Kasibhatla <ravi.kasibhatla at motorola.com>
Reviewed by Martin Robinson.
Changes to enable building WebKit2 for Gtk port.
(https://bugs.webkit.org/show_bug.cgi?id=37369)
* GNUmakefile.am: Added WebCore/bindings/gobject to webkitgtk_sources & webkitgtk_cppflags.
They should get compiled only when WebKit/gtk/GNUmakefile.am is getting included but not
with WebKit2/GNUmakefile.am inclusion.
2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
Reviewed by Martin Robinson.
Changes to enable building WebKit2 for Gtk port.
(https://bugs.webkit.org/show_bug.cgi?id=37369)
* GNUmakefile.am: Added.
* Scripts/generate-forwarding-headers.pl: For GTK port, taking 1 extra argument for copying network headers.
* WebKit2Prefix.h: Included WebCore/config.h for GTK port as the first header file for WebKit2 sources files.
* gtk: Added.
* gtk/webkit2.pc.in: Added.
2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
Reviewed by Martin Robinson.
Change generate-forwarding-headers.pl for GTK port usage
(https://bugs.webkit.org/show_bug.cgi?id=37369)
* Scripts/webkitdirs.pm: Added changes to build webkit2 for GTK port using build-webkit script.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/ChangeLog b/ChangeLog
index 8931e1a..69ea52b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
+
+ Reviewed by Martin Robinson.
+
+ Changes to enable building WebKit2 for Gtk port.
+ (https://bugs.webkit.org/show_bug.cgi?id=37369)
+
+ * GNUmakefile.am: Changes to build either of WebKit1 or WebKit2.
+ It basically excludes all WebKit/gtk/webkit/ files when building WebKit2.
+ Also, exludes Unittests, DumprenderTree, GtkLauncher etc for WebKit2.
+ * configure.ac: Option for enable or disable WebKit2.
+
2010-12-14 Commit Queue <commit-queue at webkit.org>
Unreviewed. Test commit for commit-queue at webkit.org.
diff --git a/GNUmakefile.am b/GNUmakefile.am
index 27debae..131a028 100644
--- a/GNUmakefile.am
+++ b/GNUmakefile.am
@@ -34,10 +34,12 @@ 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)/WebCore
WebKit := $(srcdir)/WebKit/gtk
+WebKit2 := $(srcdir)/WebKit2
# Libraries and support components
bin_PROGRAMS :=
@@ -69,6 +71,7 @@ webkitgtk_cppflags :=
webkitgtk_gdom_built_sources :=
webkitgtk_built_sources :=
webkitgtk_built_nosources :=
+webkit2_built_sources :=
global_cppflags :=
global_cflags :=
global_cxxflags :=
@@ -203,10 +206,15 @@ EXTRA_DIST += \
# Include module makefiles
include JavaScriptCore/GNUmakefile.am
include WebCore/GNUmakefile.am
+# Include module makefiles based on webkit arch
+if ENABLE_WEBKIT2
+include WebKit2/GNUmakefile.am
+else #ENABLE_WEBKIT2
include WebKit/gtk/GNUmakefile.am
include WebCore/bindings/gobject/GNUmakefile.am
include WebKitTools/GNUmakefile.am
include WebKit/gtk/po/GNUmakefile.am
+endif #ENABLE_WEBKIT2
# Autogenerated sources
BUILT_SOURCES += \
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index aac3009..db26d03 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
+
+ Reviewed by Martin Robinson.
+
+ Changes to enable building WebKit2 for Gtk port
+ (https://bugs.webkit.org/show_bug.cgi?id=37369)
+
+ No new functionality added or deleted. Only makefile change. Hence, no tests added.
+
+ * GNUmakefile.am: Removed bindings/gobject from webcore_sources & webcore_cppflags and added them to WebKit/gtk/GNUmakefile.am
+ * platform/network/soup/cache/webkit/soup-cache.h: Remove include <webkit/webkitdefines.h> and declare WEBKIT_API directly
+
2010-12-15 Jarred Nicholls <jarred at sencha.com>
Reviewed by Andreas Kling.
diff --git a/WebCore/GNUmakefile.am b/WebCore/GNUmakefile.am
index cb36e31..5ad157a 100644
--- a/WebCore/GNUmakefile.am
+++ b/WebCore/GNUmakefile.am
@@ -7,10 +7,10 @@ WEBCORE_CSS_VALUE_KEYWORDS := $(WebCore)/css/CSSValueKeywords.in
webcore_cppflags += \
-I$(srcdir)/WebCore \
-I$(srcdir)/WebCore/accessibility \
+ -I$(srcdir)/WebCore/bindings \
-I$(srcdir)/WebCore/bindings/generic \
-I$(srcdir)/WebCore/bindings/js \
-I$(srcdir)/WebCore/bindings/js/specialization \
- -I$(srcdir)/WebCore/bindings/gobject \
-I$(srcdir)/WebCore/bridge \
-I$(srcdir)/WebCore/bridge/c \
-I$(srcdir)/WebCore/bridge/jni/jsc \
@@ -686,21 +686,6 @@ webcore_sources += \
WebCore/bindings/generic/GenericBinding.h \
WebCore/bindings/generic/RuntimeEnabledFeatures.cpp \
WebCore/bindings/generic/RuntimeEnabledFeatures.h \
- WebCore/bindings/gobject/ConvertToUTF8String.cpp \
- WebCore/bindings/gobject/ConvertToUTF8String.h \
- WebCore/bindings/gobject/DOMObjectCache.cpp \
- WebCore/bindings/gobject/DOMObjectCache.h \
- WebCore/bindings/gobject/GObjectEventListener.cpp \
- WebCore/bindings/gobject/GObjectEventListener.h \
- WebCore/bindings/gobject/WebKitDOMBinding.cpp \
- WebCore/bindings/gobject/WebKitDOMBinding.h \
- WebCore/bindings/gobject/WebKitDOMEventTarget.cpp \
- WebCore/bindings/gobject/WebKitDOMEventTarget.h \
- WebCore/bindings/gobject/WebKitDOMEventTargetPrivate.h \
- WebCore/bindings/gobject/WebKitDOMObject.cpp \
- WebCore/bindings/gobject/WebKitDOMObject.h \
- WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp \
- WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.h \
WebCore/bindings/js/CachedScriptSourceProvider.h \
WebCore/bindings/js/DOMObjectHashTableMap.cpp \
WebCore/bindings/js/DOMObjectHashTableMap.h \
@@ -3831,7 +3816,6 @@ webcoregtk_sources += \
WebCore/platform/text/gtk/TextBreakIteratorGtk.cpp
endif
-
# ---
# Channel mesaging support
# ---
diff --git a/WebCore/platform/network/soup/cache/webkit/soup-cache.h b/WebCore/platform/network/soup/cache/webkit/soup-cache.h
index e447cfc..ccc924c 100644
--- a/WebCore/platform/network/soup/cache/webkit/soup-cache.h
+++ b/WebCore/platform/network/soup/cache/webkit/soup-cache.h
@@ -23,12 +23,16 @@
#ifndef WEBKIT_SOUP_CACHE_H
#define WEBKIT_SOUP_CACHE_H 1
-#if BUILDING_GTK__
-#include <webkit/webkitdefines.h>
+#ifdef G_OS_WIN32
+ #ifdef BUILDING_WEBKIT
+ #define WEBKIT_API __declspec(dllexport)
+ #else
+ #define WEBKIT_API __declspec(dllimport)
+ #endif
+ #define WEBKIT_OBSOLETE_API WEBKIT_API
#else
-#ifndef WEBKIT_API
-#define WEBKIT_API
-#endif
+#define WEBKIT_API __attribute__((visibility("default")))
+#define WEBKIT_OBSOLETE_API WEBKIT_API __attribute__((deprecated))
#endif
#include <libsoup/soup-types.h>
diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index deec696..6462beb 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Phaneendra Kasibhatla <ravi.kasibhatla at motorola.com>
+
+ Reviewed by Martin Robinson.
+
+ Changes to enable building WebKit2 for Gtk port.
+ (https://bugs.webkit.org/show_bug.cgi?id=37369)
+
+ * GNUmakefile.am: Added WebCore/bindings/gobject to webkitgtk_sources & webkitgtk_cppflags.
+ They should get compiled only when WebKit/gtk/GNUmakefile.am is getting included but not
+ with WebKit2/GNUmakefile.am inclusion.
+
2010-12-14 Carlos Garcia Campos <cgarcia at igalia.com>
Reviewed by Martin Robinson.
diff --git a/WebKit/gtk/GNUmakefile.am b/WebKit/gtk/GNUmakefile.am
index dd46959..d6abf4a 100644
--- a/WebKit/gtk/GNUmakefile.am
+++ b/WebKit/gtk/GNUmakefile.am
@@ -154,6 +154,19 @@ webkitgtk_built_sources += \
BUILT_SOURCES += $(webkitgtk_built_sources)
webkitgtk_sources += \
+ WebCore/bindings/gobject/ConvertToUTF8String.cpp \
+ WebCore/bindings/gobject/ConvertToUTF8String.h \
+ WebCore/bindings/gobject/GObjectEventListener.cpp \
+ WebCore/bindings/gobject/GObjectEventListener.h \
+ WebCore/bindings/gobject/WebKitDOMBinding.cpp \
+ WebCore/bindings/gobject/WebKitDOMBinding.h \
+ WebCore/bindings/gobject/WebKitDOMEventTarget.cpp \
+ WebCore/bindings/gobject/WebKitDOMEventTarget.h \
+ WebCore/bindings/gobject/WebKitDOMEventTargetPrivate.h \
+ WebCore/bindings/gobject/WebKitDOMObject.cpp \
+ WebCore/bindings/gobject/WebKitDOMObject.h \
+ WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp \
+ WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.h \
WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index ebcb3c9..0be1e9a 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,16 @@
+2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
+
+ Reviewed by Martin Robinson.
+
+ Changes to enable building WebKit2 for Gtk port.
+ (https://bugs.webkit.org/show_bug.cgi?id=37369)
+
+ * GNUmakefile.am: Added.
+ * Scripts/generate-forwarding-headers.pl: For GTK port, taking 1 extra argument for copying network headers.
+ * WebKit2Prefix.h: Included WebCore/config.h for GTK port as the first header file for WebKit2 sources files.
+ * gtk: Added.
+ * gtk/webkit2.pc.in: Added.
+
2010-12-15 Jan Erik Hanssen <jhanssen at sencha.com>
Reviewed by Andreas Kling.
diff --git a/WebKit2/GNUmakefile.am b/WebKit2/GNUmakefile.am
new file mode 100644
index 0000000..2bb4c41
--- /dev/null
+++ b/WebKit2/GNUmakefile.am
@@ -0,0 +1,686 @@
+
+webkit2_sources :=
+
+# WebKit2 Convenience libraries
+noinst_LTLIBRARIES += \
+ libWebKit2.la
+
+libWebKit2_ladir = $(prefix)/include/webkit2- at WEBKITGTK_API_VERSION@/WebKit2
+libWebKit2_la_HEADERS = \
+ $(WebKit2)/Shared/API/c/WKArray.h \
+ $(WebKit2)/Shared/API/c/WKBase.h \
+ $(WebKit2)/Shared/API/c/WKCertificateInfo.h \
+ $(WebKit2)/Shared/API/c/WKData.h \
+ $(WebKit2)/Shared/API/c/WKDictionary.h \
+ $(WebKit2)/Shared/API/c/WKError.h \
+ $(WebKit2)/Shared/API/c/WKEvent.h \
+ $(WebKit2)/Shared/API/c/WKGeometry.h \
+ $(WebKit2)/Shared/API/c/WKMutableArray.h \
+ $(WebKit2)/Shared/API/c/WKMutableDictionary.h \
+ $(WebKit2)/Shared/API/c/WKNumber.h \
+ $(WebKit2)/Shared/API/c/WKSerializedScriptValue.h \
+ $(WebKit2)/Shared/API/c/WKSerializedScriptValuePrivate.h \
+ $(WebKit2)/Shared/API/c/WKSharedAPICast.h \
+ $(WebKit2)/Shared/API/c/WKString.h \
+ $(WebKit2)/Shared/API/c/WKStringPrivate.h \
+ $(WebKit2)/Shared/API/c/WKType.h \
+ $(WebKit2)/Shared/API/c/WKURL.h \
+ $(WebKit2)/Shared/API/c/WKURLRequest.h \
+ $(WebKit2)/Shared/API/c/WKURLResponse.h \
+ $(WebKit2)/Shared/API/c/WKUserContentURLPattern.h \
+ $(WebKit2)/Shared/API/c/gtk/WKBaseGtk.h \
+ $(WebKit2)/UIProcess/API/cpp/WKRetainPtr.h \
+ $(WebKit2)/UIProcess/API/C/WebKit2.h \
+ $(WebKit2)/UIProcess/API/C/WKAPICast.h \
+ $(WebKit2)/UIProcess/API/C/WKBackForwardList.h \
+ $(WebKit2)/UIProcess/API/C/WKBackForwardListItem.h \
+ $(WebKit2)/UIProcess/API/C/WKContext.h \
+ $(WebKit2)/UIProcess/API/C/WKContextPrivate.h \
+ $(WebKit2)/UIProcess/API/C/WKFormSubmissionListener.h \
+ $(WebKit2)/UIProcess/API/C/WKFrame.h \
+ $(WebKit2)/UIProcess/API/C/WKFramePolicyListener.h \
+ $(WebKit2)/UIProcess/API/C/WKNativeEvent.h \
+ $(WebKit2)/UIProcess/API/C/WKNavigationData.h \
+ $(WebKit2)/UIProcess/API/C/WKPage.h \
+ $(WebKit2)/UIProcess/API/C/WKPageNamespace.h \
+ $(WebKit2)/UIProcess/API/C/WKPagePrivate.h \
+ $(WebKit2)/UIProcess/API/C/WKPreferences.h \
+ $(WebKit2)/UIProcess/API/C/WKPreferencesPrivate.h \
+ $(WebKit2)/UIProcess/API/C/gtk/WKAPICastiGtk.h \
+ $(WebKit2)/UIProcess/API/C/gtk/WKView.h
+
+nodist_libWebKit2_la_SOURCES = \
+ $(webkit2_built_sources)
+
+libWebKit2_la_SOURCES = \
+ $(webkit2_sources)
+
+libWebKit2_la_CPPFLAGS = \
+ -fno-strict-aliasing \
+ $(global_cppflags) \
+ -include $(srcdir)/WebKit2/WebKit2Prefix.h \
+ -I$(srcdir)/WebKit2 \
+ -I$(srcdir)/WebKit2/gtk \
+ -I$(srcdir)/WebKit2/Platform \
+ -I$(srcdir)/WebKit2/Platform/CoreIPC \
+ -I$(srcdir)/WebKit2/Platform/CoreIPC/gtk \
+ -I$(srcdir)/WebKit2/Platform/gtk \
+ -I$(srcdir)/WebKit2/PluginProcess \
+ -I$(srcdir)/WebKit2/Shared \
+ -I$(srcdir)/WebKit2/Shared/API \
+ -I$(srcdir)/WebKit2/Shared/API/c \
+ -I$(srcdir)/WebKit2/Shared/API/c/gtk \
+ -I$(srcdir)/WebKit2/Shared/CoreIPCSupport \
+ -I$(srcdir)/WebKit2/Shared/gtk \
+ -I$(srcdir)/WebKit2/UIProcess \
+ -I$(srcdir)/WebKit2/UIProcess/API \
+ -I$(srcdir)/WebKit2/UIProcess/API/C \
+ -I$(srcdir)/WebKit2/UIProcess/API/C/gtk \
+ -I$(srcdir)/WebKit2/UIProcess/API/cpp \
+ -I$(srcdir)/WebKit2/UIProcess/gtk \
+ -I$(srcdir)/WebKit2/UIProcess/Launcher \
+ -I$(srcdir)/WebKit2/UIProcess/Launcher/gtk \
+ -I$(srcdir)/WebKit2/UIProcess/Plugins \
+ -I$(srcdir)/WebKit2/UIProcess/Plugins/gtk \
+ -I$(srcdir)/WebKit2/WebProcess \
+ -I$(srcdir)/WebKit2/WebProcess/gtk \
+ -I$(srcdir)/WebKit2/WebProcess/InjectedBundle \
+ -I$(srcdir)/WebKit2/WebProcess/InjectedBundle/API \
+ -I$(srcdir)/WebKit2/WebProcess/InjectedBundle/API/c \
+ -I$(srcdir)/WebKit2/WebProcess/InjectedBundle/DOM \
+ -I$(srcdir)/WebKit2/WebProcess/InjectedBundle/gtk \
+ -I$(srcdir)/WebKit2/WebProcess/Launching \
+ -I$(srcdir)/WebKit2/WebProcess/Plugins \
+ -I$(srcdir)/WebKit2/WebProcess/Plugins/Netscape \
+ -I$(srcdir)/WebKit2/WebProcess/Plugins/Netscape/gtk \
+ -I$(srcdir)/WebKit2/WebProcess/WebCoreSupport \
+ -I$(srcdir)/WebKit2/WebProcess/WebCoreSupport/gtk \
+ -I$(srcdir)/WebKit2/WebProcess/WebPage \
+ -I$(srcdir)/WebKit2/WebProcess/WebPage/gtk \
+ -I$(top_builddir)/DerivedSources/WebKit2 \
+ -I$(top_builddir)/DerivedSources/WebKit2/include \
+ -I$(top_builddir)/DerivedSources/WebKit2/include/JavaScriptCore \
+ -I$(top_builddir)/DerivedSources/WebKit2/include/WebCore \
+ -I$(top_builddir)/DerivedSources/WebKit2/include/WebKit2 \
+ $(webcore_cppflags) \
+ $(webcoregtk_cppflags) \
+ $(javascriptcore_cppflags)
+
+libWebKit2_la_CXXFLAGS = \
+ $(global_cxxflags) \
+ $(libWebKit2_la_CFLAGS)
+
+libWebKit2_la_CFLAGS = \
+ $(global_cflags) \
+ $(COVERAGE_CFLAGS) \
+ $(GLIB_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(LIBSOUP_CFLAGS) \
+ $(UNICODE_CFLAGS) \
+ $(XT_CFLAGS)
+
+libWebKit2_la_LIBADD = \
+ -lpthread \
+ $(CAIRO_LIBS) \
+ $(COVERAGE_LDFLAGS) \
+ $(GLIB_LIBS) \
+ $(GTK_LIBS) \
+ $(LIBSOUP_LIBS) \
+ $(UNICODE_LIBS) \
+ $(XT_LIBS)
+
+# Shared libraries
+lib_LTLIBRARIES += \
+ libwebkit2gtk- at WEBKITGTK_API_MAJOR_VERSION@. at WEBKITGTK_API_MINOR_VERSION@.la
+
+nodist_EXTRA_libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
+ $(webcore_built_nosources)
+
+nodist_libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
+ $(webcore_built_sources)
+
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
+ $(webcore_sources) \
+ $(webcoregtk_sources)
+
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
+ $(global_cxxflags)
+
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
+ $(global_cflags)
+
+# When building WebCore, we want WebCore/config.h and NOT JavaScriptCore/config.h,
+# hence, it's important that WebCore/ should come first before JavaScriptCore in the
+# include path.
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
+ -DBUILDING_WEBKIT \
+ -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
+ -DDATA_DIR=\"${datadir}\" \
+ $(global_cppflags) \
+ $(webcore_cppflags) \
+ $(webcoregtk_cppflags) \
+ $(javascriptcore_cppflags) \
+ -fno-strict-aliasing \
+ $(HILDON_CPPFLAGS) \
+ $(COVERAGE_CFLAGS) \
+ $(ENCHANT_CFLAGS) \
+ $(GAIL_CFLAGS) \
+ $(GEOCLUE_CFLAGS) \
+ $(GLIB_CFLAGS) \
+ $(GSTREAMER_CFLAGS) \
+ $(GTK_CFLAGS) \
+ $(HILDON_CFLAGS) \
+ $(LIBSOUP_CFLAGS) \
+ $(LIBXML_CFLAGS) \
+ $(LIBXSLT_CFLAGS) \
+ $(SQLITE3_CFLAGS) \
+ $(UNICODE_CFLAGS) \
+ $(XT_CFLAGS)
+
+# For the Gtk port we want to use XP_UNIX both in X11 and Mac
+if !TARGET_WIN32
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS += \
+ -DXP_UNIX
+endif
+
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \
+ -version-info @LIBWEBKITGTK_VERSION@ \
+ $(version_script) \
+ $(no_undefined)
+
+libwebkit2gtk_ at WEBKITGTK_API_MAJOR_VERSION@_ at WEBKITGTK_API_MINOR_VERSION@_la_LIBADD = \
+ -lpthread \
+ libJavaScriptCore.la \
+ libWebKit2.la \
+ $(GSTREAMER_LIBS) \
+ $(GTK_LIBS) \
+ $(HILDON_LIBS) \
+ $(JPEG_LIBS) \
+ $(LIBSOUP_LIBS) \
+ $(LIBXML_LIBS) \
+ $(LIBXSLT_LIBS) \
+ $(PANGO_LIBS) \
+ $(PNG_LIBS) \
+ $(SQLITE3_LIBS) \
+ $(UNICODE_LIBS) \
+ $(XT_LIBS)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = WebKit2/gtk/@WEBKITGTK_PC_NAME at -@WEBKITGTK_API_VERSION at .pc
+
+# WebKit2 specific variables
+webkit2_sources += \
+ WebKit2/Platform/CoreIPC/ArgumentCoder.h \
+ WebKit2/Platform/CoreIPC/ArgumentCoders.h \
+ WebKit2/Platform/CoreIPC/ArgumentDecoder.cpp \
+ WebKit2/Platform/CoreIPC/ArgumentDecoder.h \
+ WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp \
+ WebKit2/Platform/CoreIPC/ArgumentEncoder.h \
+ WebKit2/Platform/CoreIPC/Arguments.h \
+ WebKit2/Platform/CoreIPC/Attachment.cpp \
+ WebKit2/Platform/CoreIPC/Attachment.h \
+ WebKit2/Platform/CoreIPC/BinarySemaphore.cpp \
+ WebKit2/Platform/CoreIPC/BinarySemaphore.h \
+ WebKit2/Platform/CoreIPC/Connection.cpp \
+ WebKit2/Platform/CoreIPC/Connection.h \
+ WebKit2/Platform/CoreIPC/CoreIPCMessageKinds.h \
+ WebKit2/Platform/CoreIPC/DataReference.cpp \
+ WebKit2/Platform/CoreIPC/DataReference.h \
+ WebKit2/Platform/CoreIPC/gtk/ConnectionGtk.cpp \
+ WebKit2/Platform/CoreIPC/HandleMessage.h \
+ WebKit2/Platform/CoreIPC/MessageID.h \
+ WebKit2/Platform/gtk/ModuleGtk.cpp \
+ WebKit2/Platform/gtk/RunLoopGtk.cpp \
+ WebKit2/Platform/gtk/SharedMemoryGtk.cpp \
+ WebKit2/Platform/gtk/WorkQueueGtk.cpp \
+ WebKit2/Platform/Logging.cpp \
+ WebKit2/Platform/Logging.h \
+ WebKit2/Platform/Module.cpp \
+ WebKit2/Platform/Module.h \
+ WebKit2/Platform/PlatformProcessIdentifier.h \
+ WebKit2/Platform/RunLoop.cpp \
+ WebKit2/Platform/RunLoop.h \
+ WebKit2/Platform/SharedMemory.h \
+ WebKit2/Platform/WorkItem.h \
+ WebKit2/Platform/WorkQueue.cpp \
+ WebKit2/Platform/WorkQueue.h \
+ WebKit2/PluginProcess/PluginControllerProxy.cpp \
+ WebKit2/PluginProcess/PluginControllerProxy.h \
+ WebKit2/PluginProcess/PluginProcess.cpp \
+ WebKit2/PluginProcess/PluginProcess.h \
+ WebKit2/PluginProcess/PluginProcessMain.h \
+ WebKit2/PluginProcess/WebProcessConnection.cpp \
+ WebKit2/PluginProcess/WebProcessConnection.h \
+ WebKit2/Shared/API/c/gtk/WKBaseGtk.h \
+ WebKit2/Shared/APIClient.h \
+ WebKit2/Shared/API/c/WKArray.cpp \
+ WebKit2/Shared/API/c/WKArray.h \
+ WebKit2/Shared/API/c/WKBase.h \
+ WebKit2/Shared/API/c/WKCertificateInfo.cpp \
+ WebKit2/Shared/API/c/WKCertificateInfo.h \
+ WebKit2/Shared/API/c/WKData.cpp \
+ WebKit2/Shared/API/c/WKData.h \
+ WebKit2/Shared/API/c/WKDictionary.cpp \
+ WebKit2/Shared/API/c/WKDictionary.h \
+ WebKit2/Shared/API/c/WKError.cpp \
+ WebKit2/Shared/API/c/WKError.h \
+ WebKit2/Shared/API/c/WKEvent.h \
+ WebKit2/Shared/API/c/WKGeometry.h \
+ WebKit2/Shared/API/c/WKMutableArray.cpp \
+ WebKit2/Shared/API/c/WKMutableArray.h \
+ WebKit2/Shared/API/c/WKMutableDictionary.cpp \
+ WebKit2/Shared/API/c/WKMutableDictionary.h \
+ WebKit2/Shared/API/c/WKNumber.cpp \
+ WebKit2/Shared/API/c/WKNumber.h \
+ WebKit2/Shared/API/c/WKSerializedScriptValue.cpp \
+ WebKit2/Shared/API/c/WKSerializedScriptValue.h \
+ WebKit2/Shared/API/c/WKSerializedScriptValuePrivate.h \
+ WebKit2/Shared/API/c/WKSharedAPICast.h \
+ WebKit2/Shared/API/c/WKString.cpp \
+ WebKit2/Shared/API/c/WKString.h \
+ WebKit2/Shared/API/c/WKStringPrivate.h \
+ WebKit2/Shared/API/c/WKType.cpp \
+ WebKit2/Shared/API/c/WKType.h \
+ WebKit2/Shared/API/c/WKURL.cpp \
+ WebKit2/Shared/API/c/WKURL.h \
+ WebKit2/Shared/API/c/WKURLRequest.cpp \
+ WebKit2/Shared/API/c/WKURLRequest.h \
+ WebKit2/Shared/API/c/WKURLResponse.cpp \
+ WebKit2/Shared/API/c/WKURLResponse.h \
+ WebKit2/Shared/API/c/WKUserContentURLPattern.cpp \
+ WebKit2/Shared/API/c/WKUserContentURLPattern.h \
+ WebKit2/Shared/APIObject.h \
+ WebKit2/Shared/BackingStore.cpp \
+ WebKit2/Shared/BackingStore.h \
+ WebKit2/Shared/CacheModel.h \
+ WebKit2/Shared/CommandLine.h \
+ WebKit2/Shared/CoreIPCSupport/DrawingAreaMessageKinds.h \
+ WebKit2/Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h \
+ WebKit2/Shared/CoreIPCSupport/InjectedBundleMessageKinds.h \
+ WebKit2/Shared/CoreIPCSupport/WebContextMessageKinds.h \
+ WebKit2/Shared/CoreIPCSupport/WebPageProxyMessageKinds.h \
+ WebKit2/Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h \
+ WebKit2/Shared/DrawingAreaBase.h \
+ WebKit2/Shared/FindOptions.h \
+ WebKit2/Shared/FontSmoothingLevel.h \
+ WebKit2/Shared/gtk/BackingStoreGtk.cpp \
+ WebKit2/Shared/gtk/NativeWebKeyboardEventGtk.cpp \
+ WebKit2/Shared/gtk/PlatformCertificateInfo.h \
+ WebKit2/Shared/gtk/UpdateChunk.cpp \
+ WebKit2/Shared/gtk/UpdateChunk.h \
+ WebKit2/Shared/gtk/WebCoreArgumentCodersGtk.cpp \
+ WebKit2/Shared/gtk/WebEventFactory.cpp \
+ WebKit2/Shared/gtk/WebEventFactory.h \
+ WebKit2/Shared/ImmutableArray.cpp \
+ WebKit2/Shared/ImmutableArray.h \
+ WebKit2/Shared/ImmutableDictionary.cpp \
+ WebKit2/Shared/ImmutableDictionary.h \
+ WebKit2/Shared/MutableArray.cpp \
+ WebKit2/Shared/MutableArray.h \
+ WebKit2/Shared/MutableDictionary.cpp \
+ WebKit2/Shared/MutableDictionary.h \
+ WebKit2/Shared/NativeWebKeyboardEvent.h \
+ WebKit2/Shared/NotImplemented.h \
+ WebKit2/Shared/StringPairVector.h \
+ WebKit2/Shared/UserMessageCoders.h \
+ WebKit2/Shared/VisitedLinkTable.cpp \
+ WebKit2/Shared/VisitedLinkTable.h \
+ WebKit2/Shared/WebCertificateInfo.h \
+ WebKit2/Shared/WebCoreArgumentCoders.h \
+ WebKit2/Shared/WebData.h \
+ WebKit2/Shared/WebError.cpp \
+ WebKit2/Shared/WebError.h \
+ WebKit2/Shared/WebEventConversion.cpp \
+ WebKit2/Shared/WebEventConversion.h \
+ WebKit2/Shared/WebEvent.h \
+ WebKit2/Shared/WebNavigationDataStore.h \
+ WebKit2/Shared/WebNumber.h \
+ WebKit2/Shared/WebPageCreationParameters.cpp \
+ WebKit2/Shared/WebPageCreationParameters.h \
+ WebKit2/Shared/WebPopupItem.cpp \
+ WebKit2/Shared/WebPopupItem.h \
+ WebKit2/Shared/WebPreferencesStore.cpp \
+ WebKit2/Shared/WebPreferencesStore.h \
+ WebKit2/Shared/WebProcessCreationParameters.cpp \
+ WebKit2/Shared/WebProcessCreationParameters.h \
+ WebKit2/Shared/WebSerializedScriptValue.h \
+ WebKit2/Shared/WebString.h \
+ WebKit2/Shared/WebURL.h \
+ WebKit2/Shared/WebURLRequest.cpp \
+ WebKit2/Shared/WebURLRequest.h \
+ WebKit2/Shared/WebURLResponse.cpp \
+ WebKit2/Shared/WebURLResponse.h \
+ WebKit2/Shared/WebUserContentURLPattern.h \
+ WebKit2/UIProcess/API/C/gtk/WKAPICastGtk.h \
+ WebKit2/UIProcess/API/C/gtk/WKView.cpp \
+ WebKit2/UIProcess/API/C/gtk/WKView.h \
+ WebKit2/UIProcess/API/cpp/WKRetainPtr.h \
+ WebKit2/UIProcess/API/C/WebKit2.h \
+ WebKit2/UIProcess/API/C/WKAPICast.h \
+ WebKit2/UIProcess/API/C/WKBackForwardList.cpp \
+ WebKit2/UIProcess/API/C/WKBackForwardList.h \
+ WebKit2/UIProcess/API/C/WKBackForwardListItem.cpp \
+ WebKit2/UIProcess/API/C/WKBackForwardListItem.h \
+ WebKit2/UIProcess/API/C/WKContext.cpp \
+ WebKit2/UIProcess/API/C/WKContext.h \
+ WebKit2/UIProcess/API/C/WKContextPrivate.h \
+ WebKit2/UIProcess/API/C/WKFormSubmissionListener.cpp \
+ WebKit2/UIProcess/API/C/WKFormSubmissionListener.h \
+ WebKit2/UIProcess/API/C/WKFrame.cpp \
+ WebKit2/UIProcess/API/C/WKFrame.h \
+ WebKit2/UIProcess/API/C/WKFramePolicyListener.cpp \
+ WebKit2/UIProcess/API/C/WKFramePolicyListener.h \
+ WebKit2/UIProcess/API/C/WKNativeEvent.h \
+ WebKit2/UIProcess/API/C/WKNavigationData.cpp \
+ WebKit2/UIProcess/API/C/WKNavigationData.h \
+ WebKit2/UIProcess/API/C/WKPage.cpp \
+ WebKit2/UIProcess/API/C/WKPage.h \
+ WebKit2/UIProcess/API/C/WKPageNamespace.cpp \
+ WebKit2/UIProcess/API/C/WKPageNamespace.h \
+ WebKit2/UIProcess/API/C/WKPagePrivate.h \
+ WebKit2/UIProcess/API/C/WKPreferences.cpp \
+ WebKit2/UIProcess/API/C/WKPreferences.h \
+ WebKit2/UIProcess/API/C/WKPreferencesPrivate.cpp \
+ WebKit2/UIProcess/API/C/WKPreferencesPrivate.h \
+ WebKit2/UIProcess/ChunkedUpdateDrawingAreaProxy.cpp \
+ WebKit2/UIProcess/ChunkedUpdateDrawingAreaProxy.h \
+ WebKit2/UIProcess/DrawingAreaProxy.cpp \
+ WebKit2/UIProcess/DrawingAreaProxy.h \
+ WebKit2/UIProcess/FindIndicator.cpp \
+ WebKit2/UIProcess/FindIndicator.h \
+ WebKit2/UIProcess/GenericCallback.h \
+ WebKit2/UIProcess/gtk/ChunkedUpdateDrawingAreaProxyGtk.cpp \
+ WebKit2/UIProcess/gtk/WebContextGtk.cpp \
+ WebKit2/UIProcess/gtk/WebView.cpp \
+ WebKit2/UIProcess/gtk/WebView.h \
+ WebKit2/UIProcess/gtk/WebViewInternal.cpp \
+ WebKit2/UIProcess/gtk/WebViewInternal.h \
+ WebKit2/UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp \
+ WebKit2/UIProcess/Launcher/gtk/ThreadLauncherGtk.cpp \
+ WebKit2/UIProcess/Launcher/ProcessLauncher.cpp \
+ WebKit2/UIProcess/Launcher/ProcessLauncher.h \
+ WebKit2/UIProcess/Launcher/ThreadLauncher.cpp \
+ WebKit2/UIProcess/Launcher/ThreadLauncher.h \
+ WebKit2/UIProcess/LayerBackedDrawingAreaProxy.cpp \
+ WebKit2/UIProcess/LayerBackedDrawingAreaProxy.h \
+ WebKit2/UIProcess/PageClient.h \
+ WebKit2/UIProcess/Plugins/gtk/PluginInfoStoreGtk.cpp \
+ WebKit2/UIProcess/Plugins/PluginInfoStore.cpp \
+ WebKit2/UIProcess/Plugins/PluginInfoStore.h \
+ WebKit2/UIProcess/Plugins/PluginProcessManager.cpp \
+ WebKit2/UIProcess/Plugins/PluginProcessManager.h \
+ WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp \
+ WebKit2/UIProcess/Plugins/PluginProcessProxy.h \
+ WebKit2/UIProcess/ProcessModel.h \
+ WebKit2/UIProcess/ResponsivenessTimer.cpp \
+ WebKit2/UIProcess/ResponsivenessTimer.h \
+ WebKit2/UIProcess/VisitedLinkProvider.cpp \
+ WebKit2/UIProcess/VisitedLinkProvider.h \
+ WebKit2/UIProcess/WebBackForwardList.cpp \
+ WebKit2/UIProcess/WebBackForwardList.h \
+ WebKit2/UIProcess/WebBackForwardListItem.cpp \
+ WebKit2/UIProcess/WebBackForwardListItem.h \
+ WebKit2/UIProcess/WebContext.cpp \
+ WebKit2/UIProcess/WebContext.h \
+ WebKit2/UIProcess/WebContextInjectedBundleClient.cpp \
+ WebKit2/UIProcess/WebContextInjectedBundleClient.h \
+ WebKit2/UIProcess/WebContextUserMessageCoders.h \
+ WebKit2/UIProcess/WebEditCommandProxy.cpp \
+ WebKit2/UIProcess/WebEditCommandProxy.h \
+ WebKit2/UIProcess/WebFindClient.cpp \
+ WebKit2/UIProcess/WebFindClient.h \
+ WebKit2/UIProcess/WebFormClient.cpp \
+ WebKit2/UIProcess/WebFormClient.h \
+ WebKit2/UIProcess/WebFormSubmissionListenerProxy.cpp \
+ WebKit2/UIProcess/WebFormSubmissionListenerProxy.h \
+ WebKit2/UIProcess/WebFrameListenerProxy.cpp \
+ WebKit2/UIProcess/WebFrameListenerProxy.h \
+ WebKit2/UIProcess/WebFramePolicyListenerProxy.cpp \
+ WebKit2/UIProcess/WebFramePolicyListenerProxy.h \
+ WebKit2/UIProcess/WebFrameProxy.cpp \
+ WebKit2/UIProcess/WebFrameProxy.h \
+ WebKit2/UIProcess/WebHistoryClient.cpp \
+ WebKit2/UIProcess/WebHistoryClient.h \
+ WebKit2/UIProcess/WebLoaderClient.cpp \
+ WebKit2/UIProcess/WebLoaderClient.h \
+ WebKit2/UIProcess/WebNavigationData.cpp \
+ WebKit2/UIProcess/WebNavigationData.h \
+ WebKit2/UIProcess/WebPageNamespace.cpp \
+ WebKit2/UIProcess/WebPageNamespace.h \
+ WebKit2/UIProcess/WebPageProxy.cpp \
+ WebKit2/UIProcess/WebPageProxy.h \
+ WebKit2/UIProcess/WebPolicyClient.cpp \
+ WebKit2/UIProcess/WebPolicyClient.h \
+ WebKit2/UIProcess/WebPopupMenuProxy.h \
+ WebKit2/UIProcess/WebPreferences.cpp \
+ WebKit2/UIProcess/WebPreferences.h \
+ WebKit2/UIProcess/WebProcessManager.cpp \
+ WebKit2/UIProcess/WebProcessManager.h \
+ WebKit2/UIProcess/WebProcessProxy.cpp \
+ WebKit2/UIProcess/WebProcessProxy.h \
+ WebKit2/UIProcess/WebUIClient.cpp \
+ WebKit2/UIProcess/WebUIClient.h \
+ WebKit2/WebKit2Prefix.cpp \
+ WebKit2/WebKit2Prefix.h \
+ WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp \
+ WebKit2/WebProcess/gtk/WebProcessMainGtk.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleAPICast.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleInitialize.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleNodeHandlePrivate.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleRangeHandle.h \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp \
+ WebKit2/WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.h \
+ WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp \
+ WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.h \
+ WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp \
+ WebKit2/WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.h \
+ WebKit2/WebProcess/InjectedBundle/gtk/InjectedBundleGtk.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundle.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundleHitTestResult.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageFormClient.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundlePageUIClient.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundleScriptWorld.cpp \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundleScriptWorld.h \
+ WebKit2/WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h \
+ WebKit2/WebProcess/Plugins/JSNPMethod.cpp \
+ WebKit2/WebProcess/Plugins/JSNPMethod.h \
+ WebKit2/WebProcess/Plugins/JSNPObject.cpp \
+ WebKit2/WebProcess/Plugins/JSNPObject.h \
+ WebKit2/WebProcess/Plugins/Netscape/gtk/NetscapePluginGtk.cpp \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.h \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapePluginModule.cpp \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapePluginModule.h \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.cpp \
+ WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h \
+ WebKit2/WebProcess/Plugins/NPJSObject.cpp \
+ WebKit2/WebProcess/Plugins/NPJSObject.h \
+ WebKit2/WebProcess/Plugins/NPRuntimeObjectMap.cpp \
+ WebKit2/WebProcess/Plugins/NPRuntimeObjectMap.h \
+ WebKit2/WebProcess/Plugins/NPRuntimeUtilities.cpp \
+ WebKit2/WebProcess/Plugins/NPRuntimeUtilities.h \
+ WebKit2/WebProcess/Plugins/PluginController.h \
+ WebKit2/WebProcess/Plugins/Plugin.cpp \
+ WebKit2/WebProcess/Plugins/Plugin.h \
+ WebKit2/WebProcess/Plugins/PluginProcessConnection.cpp \
+ WebKit2/WebProcess/Plugins/PluginProcessConnection.h \
+ WebKit2/WebProcess/Plugins/PluginProcessConnectionManager.cpp \
+ WebKit2/WebProcess/Plugins/PluginProcessConnectionManager.h \
+ WebKit2/WebProcess/Plugins/PluginProxy.cpp \
+ WebKit2/WebProcess/Plugins/PluginProxy.h \
+ WebKit2/WebProcess/Plugins/PluginView.cpp \
+ WebKit2/WebProcess/Plugins/PluginView.h \
+ WebKit2/WebProcess/WebCoreSupport/gtk/WebErrorsGtk.cpp \
+ WebKit2/WebProcess/WebCoreSupport/gtk/WebFrameNetworkingContext.h \
+ WebKit2/WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebBackForwardControllerClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebChromeClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebContextMenuClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebDragClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebDragClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebEditorClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebErrors.h \
+ WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebInspectorClient.h \
+ WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h \
+ WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebPopupMenu.h \
+ WebKit2/WebProcess/WebCoreSupport/WebSearchPopupMenu.cpp \
+ WebKit2/WebProcess/WebCoreSupport/WebSearchPopupMenu.h \
+ WebKit2/WebProcess/WebKitMain.cpp \
+ WebKit2/WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp \
+ WebKit2/WebProcess/WebPage/ChunkedUpdateDrawingArea.h \
+ WebKit2/WebProcess/WebPage/DrawingArea.cpp \
+ WebKit2/WebProcess/WebPage/DrawingArea.h \
+ WebKit2/WebProcess/WebPage/FindController.cpp \
+ WebKit2/WebProcess/WebPage/FindController.h \
+ WebKit2/WebProcess/WebPage/FindPageOverlay.cpp \
+ WebKit2/WebProcess/WebPage/FindPageOverlay.h \
+ WebKit2/WebProcess/WebPage/gtk/ChunkedUpdateDrawingAreaGtk.cpp \
+ WebKit2/WebProcess/WebPage/gtk/WebPageGtk.cpp \
+ WebKit2/WebProcess/WebPage/LayerBackedDrawingArea.cpp \
+ WebKit2/WebProcess/WebPage/LayerBackedDrawingArea.h \
+ WebKit2/WebProcess/WebPage/PageOverlay.cpp \
+ WebKit2/WebProcess/WebPage/PageOverlay.h \
+ WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp \
+ WebKit2/WebProcess/WebPage/WebBackForwardListProxy.h \
+ WebKit2/WebProcess/WebPage/WebEditCommand.cpp \
+ WebKit2/WebProcess/WebPage/WebEditCommand.h \
+ WebKit2/WebProcess/WebPage/WebFrame.cpp \
+ WebKit2/WebProcess/WebPage/WebFrame.h \
+ WebKit2/WebProcess/WebPage/WebPage.cpp \
+ WebKit2/WebProcess/WebPage/WebPage.h \
+ WebKit2/WebProcess/WebProcess.cpp \
+ WebKit2/WebProcess/WebProcess.h \
+ WebKit2/WebProcess/WebProcessMain.h
+
+webkit2_built_sources += \
+ DerivedSources/WebKit2/DownloadProxyMessages.h \
+ DerivedSources/WebKit2/DownloadProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/NPObjectMessageReceiverMessages.h \
+ DerivedSources/WebKit2/NPObjectMessageReceiverMessageReceiver.cpp \
+ DerivedSources/WebKit2/PluginControllerProxyMessages.h \
+ DerivedSources/WebKit2/PluginControllerProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/PluginProcessMessages.h \
+ DerivedSources/WebKit2/PluginProcessMessageReceiver.cpp \
+ DerivedSources/WebKit2/PluginProcessProxyMessages.h \
+ DerivedSources/WebKit2/PluginProcessProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/PluginProxyMessages.h \
+ DerivedSources/WebKit2/PluginProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebContextMessages.h \
+ DerivedSources/WebKit2/WebContextMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebInspectorMessages.h \
+ DerivedSources/WebKit2/WebInspectorMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebInspectorProxyMessages.h \
+ DerivedSources/WebKit2/WebInspectorProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebPageMessages.h \
+ DerivedSources/WebKit2/WebPageMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebPageProxyMessages.h \
+ DerivedSources/WebKit2/WebPageProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebProcessMessages.h \
+ DerivedSources/WebKit2/WebProcessMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebProcessProxyMessages.h \
+ DerivedSources/WebKit2/WebProcessProxyMessageReceiver.cpp \
+ DerivedSources/WebKit2/WebProcessConnectionMessages.h \
+ DerivedSources/WebKit2/WebProcessConnectionMessageReceiver.cpp
+
+BUILT_SOURCES += \
+ $(webkit2_built_sources) \
+ generate-webkit2-forwarding-headers
+
+ForwardingHeaders := $(GENSOURCES_WEBKIT2)/include
+generate-webkit2-forwarding-headers: $(srcdir)/WebKitTools/Scripts/generate-forwarding-headers.pl $(webkit2_sources)
+ $(AM_V_at)$(mkdir_p) $(ForwardingHeaders)/JavaScriptCore
+ $(AM_V_at)$(mkdir_p) $(ForwardingHeaders)/WebCore
+ $(AM_V_at)$(mkdir_p) $(ForwardingHeaders)/WebKit2
+ $(AM_V_GEN)$(PERL) $< $(WebKit2) $(ForwardingHeaders) gtk soup
+
+vpath %.messages.in = \
+ $(WebKit2)/PluginProcess \
+ $(WebKit2)/Shared/Plugins \
+ $(WebKit2)/UIProcess \
+ $(WebKit2)/UIProcess/Downloads \
+ $(WebKit2)/UIProcess/Plugins \
+ $(WebKit2)/WebProcess \
+ $(WebKit2)/WebProcess/Plugins \
+ $(WebKit2)/WebProcess/WebPage
+
+message_gen_scripts = \
+ $(WebKit2)/Scripts/generate-message-receiver.py \
+ $(WebKit2)/Scripts/generate-messages-header.py \
+ $(WebKit2)/Scripts/webkit2/__init__.py \
+ $(WebKit2)/Scripts/webkit2/messages.py
+
+# Message header generation
+DerivedSources/WebKit2/%MessageReceiver.cpp: %.messages.in $(message_gen_scripts)
+ $(AM_V_GEN)$(PYTHON) $(srcdir)/WebKit2/Scripts/generate-message-receiver.py $< > $@
+
+DerivedSources/WebKit2/%Messages.h: %.messages.in $(message_gen_scripts)
+ $(AM_V_GEN)$(PYTHON) $(srcdir)/WebKit2/Scripts/generate-messages-header.py $< > $@
+
+CLEANFILES += \
+ $(BUILT_SOURCES) \
+ $(top_builddir)/WebKit2/gtk/@WEBKITGTK_PC_NAME at -@WEBKITGTK_API_VERSION at .pc \
+ $(top_builddir)/Programs/WebKitWebProcess
+
+# WebKitWebProcess
+bin_PROGRAMS += \
+ Programs/WebKitWebProcess
+
+Programs_WebKitWebProcess_CPPFLAGS = \
+ -I$(srcdir)/WebKit2 \
+ -I$(srcdir)/WebKit2/UIProcess/API/C \
+ -I$(srcdir)/WebKit2/WebProcess/gtk \
+ -I$(top_builddir)/DerivedSources/WebKit2 \
+ -I$(top_builddir)/DerivedSources/WebKit2/include \
+ -I$(top_builddir)/DerivedSources/WebKit2/include/WebCore \
+ $(global_cppflags) \
+ $(javascriptcore_cppflags)
+
+Programs_WebKitWebProcess_CFLAGS = \
+ $(global_cflags) \
+ $(GTK_CFLAGS) \
+ $(LIBSOUP_CFLAGS)
+
+Programs_WebKitWebProcess_SOURCES = \
+ WebKit2/gtk/MainGtk.cpp
+
+Programs_WebKitWebProcess_LDADD = \
+ libwebkit2gtk- at WEBKITGTK_API_MAJOR_VERSION@. at WEBKITGTK_API_MINOR_VERSION@.la \
+ $(GTK_LIBS) \
+ $(GLIB_LIBS) \
+ $(LIBSOUP_LIBS)
+
+Programs_WebKitWebProcess_LDFLAGS = \
+ -no-fast-install \
+ -no-install
diff --git a/WebKit2/Scripts/generate-forwarding-headers.pl b/WebKit2/Scripts/generate-forwarding-headers.pl
index d5abb5b..295f112 100755
--- a/WebKit2/Scripts/generate-forwarding-headers.pl
+++ b/WebKit2/Scripts/generate-forwarding-headers.pl
@@ -47,8 +47,18 @@ my $outputDirectory = $ARGV[0];
shift;
my $platform = $ARGV[0];
+my $network;
+if ($platform =~ "gtk") {
+ shift;
+ $network = $ARGV[0];
+}
+
foreach my $prefix (@platformPrefixes) {
- push(@skippedPrefixes, $prefix) unless ($prefix =~ $platform);
+ if ($platform =~ "gtk") {
+ push(@skippedPrefixes, $prefix) unless ($prefix =~ $platform or $prefix =~ $network);
+ } else {
+ push(@skippedPrefixes, $prefix) unless ($prefix =~ $platform);
+ }
}
foreach (@frameworks) {
diff --git a/WebKit2/WebKit2Prefix.h b/WebKit2/WebKit2Prefix.h
index bdfc181..8912e5a 100644
--- a/WebKit2/WebKit2Prefix.h
+++ b/WebKit2/WebKit2Prefix.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2010 Apple Inc. All rights reserved.
+ * Portions Copyright (c) 2010 Motorola Mobility, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -23,6 +24,9 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+#if defined (BUILDING_GTK__)
+#include <WebCore/config.h>
+#endif /* defined (BUILDING_GTK__) */
#include <wtf/Platform.h>
#include <wtf/DisallowCType.h>
#ifdef __cplusplus
@@ -109,4 +113,3 @@ static const type& name() \
#endif
#endif /* defined(WIN32) || defined(_WIN32) */
-
diff --git a/WebKit2/gtk/webkit2.pc.in b/WebKit2/gtk/webkit2.pc.in
new file mode 100644
index 0000000..6eeee80
--- /dev/null
+++ b/WebKit2/gtk/webkit2.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: WebKit2
+Description: Web content engine for GTK+
+Version: @VERSION@
+Requires: glib-2.0 gtk+- at GTK_API_VERSION@ libsoup-2.4
+Libs: -L${libdir} -lwebkit2gtk- at WEBKITGTK_API_VERSION@
+Cflags: -I${includedir}/webkit2- at WEBKITGTK_API_VERSION@
diff --git a/WebKitTools/ChangeLog b/WebKitTools/ChangeLog
index 761ba9e..b8c7384 100644
--- a/WebKitTools/ChangeLog
+++ b/WebKitTools/ChangeLog
@@ -1,3 +1,12 @@
+2010-12-15 Amruth Raj <amruthraj at motorola.com> and Ravi Kasibhatla <ravi.kasibhatla at motorola.com>
+
+ Reviewed by Martin Robinson.
+
+ Change generate-forwarding-headers.pl for GTK port usage
+ (https://bugs.webkit.org/show_bug.cgi?id=37369)
+
+ * Scripts/webkitdirs.pm: Added changes to build webkit2 for GTK port using build-webkit script.
+
2010-12-14 Kent Tamura <tkent at chromium.org>
Reviewed by Jian Li.
diff --git a/WebKitTools/Scripts/webkitdirs.pm b/WebKitTools/Scripts/webkitdirs.pm
index 9d47e8c..d9bc3dd 100644
--- a/WebKitTools/Scripts/webkitdirs.pm
+++ b/WebKitTools/Scripts/webkitdirs.pm
@@ -1352,6 +1352,8 @@ sub buildAutotoolsProject($@)
$makeArgs = $makeArgs . " " . $1;
} elsif ($opt =~ /^--prefix=(.*)/i ) {
$prefix = $1;
+ } elsif ($opt =~ /^--webkit2/i ) {
+ push @buildArgs, "--enable-webkit2";
} else {
push @buildArgs, $opt;
}
diff --git a/configure.ac b/configure.ac
index f73c2e8..e40db54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -902,6 +902,23 @@ 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
+ # Turn on this macro by default. It is used in inttypes.h for defining macros used by webkit.
+ # In WebKit, this define is ensured by doing it before including config.h in any source file.
+ # In WebKit2, WebKit2Prefix.h is included as first header file, so we need to define this
+ # macro before actually WebKit2Prefix.h is included in any file.
+ AC_DEFINE([__STDC_FORMAT_MACROS],[1],[Turn on the __STDC_FORMAT_MACROS used in inttypes.h]),
+ WEBKITGTK_PC_NAME=${WEBKITGTK_PC_NAME}2
+ AC_SUBST([WEBKITGTK_PC_NAME])
+fi
+
GTK_DOC_CHECK([1.10])
# OS conditionals
@@ -976,26 +993,37 @@ 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"])
# Gtk conditionals
AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"])
-
AC_CONFIG_FILES([
GNUmakefile
-WebKit/gtk/webkit/webkitversion.h
-WebKit/gtk/docs/GNUmakefile
-WebKit/gtk/docs/version.xml
-]
-)
-
-AC_CONFIG_FILES([
-WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit/gtk/webkit.pc.in
-WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in
-WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:WebKit/gtk/org.webkitgtk.gschema.xml.in
-]
-,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
-)
+])
+
+if test "$enable_webkit2" = "no"; then
+ AC_CONFIG_FILES([
+ WebKit/gtk/webkit/webkitversion.h
+ WebKit/gtk/docs/GNUmakefile
+ WebKit/gtk/docs/version.xml
+ ]
+ )
+
+ AC_CONFIG_FILES([
+ WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit/gtk/webkit.pc.in
+ WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in
+ WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:WebKit/gtk/org.webkitgtk.gschema.xml.in
+ ]
+ ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
+ )
+else
+ AC_CONFIG_FILES([
+ WebKit2/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit2/gtk/webkit2.pc.in
+ ]
+ ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
+ )
+fi
AC_OUTPUT
@@ -1054,6 +1082,7 @@ GTK+ configuration:
GDK target : $with_target
Hildon UI extensions : $with_hildon
Introspection support : $enable_introspection
+ WebKit2 support : $enable_webkit2
"
if test "$with_unicode_backend" = "glib"; then
echo " >> WARNING: the glib-based unicode backend is slow and incomplete <<"
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list