<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[160804] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/160804">160804</a></dd>
<dt>Author</dt> <dd>mrobinson@webkit.org</dd>
<dt>Date</dt> <dd>2013-12-18 16:04:47 -0800 (Wed, 18 Dec 2013)</dd>
</dl>
<h3>Log Message</h3>
<pre>[GTK] [CMake] Add support for building WebKit1
https://bugs.webkit.org/show_bug.cgi?id=116377
Reviewed by Gustavo Noronha Silva.
.:
* Source/cmake/OptionsGTK.cmake: Turn off some features that do not build properly
for WebKit1 and stop using the version script which we haven't implemented yet. Turn
on WebKit1.
Source/WebCore:
* PlatformGTK.cmake: Add a missing source required by WebKit1 to
the WebCore build.
Source/WebKit:
* CMakeLists.txt: Updated WebCore include directory list for WebKitGTK+ and
added BUILDING_WEBKIT to the list of defines.
* PlatformGTK.cmake: Added.
Source/WebKit/gtk:
* GNUmakefile.am: Switch to using the templates for building the GObject enums.
* webkit/webkitenumtypes.cpp.template: Added.
* webkit/webkitenumtypes.h.template: Added.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorePlatformGTKcmake">trunk/Source/WebCore/PlatformGTK.cmake</a></li>
<li><a href="#trunkSourceWebKitCMakeListstxt">trunk/Source/WebKit/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitgtkChangeLog">trunk/Source/WebKit/gtk/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitgtkGNUmakefileam">trunk/Source/WebKit/gtk/GNUmakefile.am</a></li>
<li><a href="#trunkSourcecmakeOptionsGTKcmake">trunk/Source/cmake/OptionsGTK.cmake</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKitPlatformGTKcmake">trunk/Source/WebKit/PlatformGTK.cmake</a></li>
<li><a href="#trunkSourceWebKitgtkwebkitwebkitenumtypescpptemplate">trunk/Source/WebKit/gtk/webkit/webkitenumtypes.cpp.template</a></li>
<li><a href="#trunkSourceWebKitgtkwebkitwebkitenumtypeshtemplate">trunk/Source/WebKit/gtk/webkit/webkitenumtypes.h.template</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/ChangeLog        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2013-12-16 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] [CMake] Add support for building WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=116377
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * Source/cmake/OptionsGTK.cmake: Turn off some features that do not build properly
+ for WebKit1 and stop using the version script which we haven't implemented yet. Turn
+ on WebKit1.
+
</ins><span class="cx"> 2013-12-18 Gustavo Noronha Silva <gns@gnome.org>
</span><span class="cx">
</span><span class="cx"> [GTK][CMake] Use thin archives if building on Linux, only way to get non-shared-core debug builds
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/WebCore/ChangeLog        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2013-12-16 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] [CMake] Add support for building WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=116377
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * PlatformGTK.cmake: Add a missing source required by WebKit1 to
+ the WebCore build.
+
</ins><span class="cx"> 2013-12-18 Hans Muller <hmuller@adobe.com>
</span><span class="cx">
</span><span class="cx"> [CSS Shapes] Simplify RectangleShape implementation
</span></span></pre></div>
<a id="trunkSourceWebCorePlatformGTKcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PlatformGTK.cmake (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformGTK.cmake        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/WebCore/PlatformGTK.cmake        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -44,6 +44,7 @@
</span><span class="cx"> platform/graphics/cairo/BitmapImageCairo.cpp
</span><span class="cx"> platform/graphics/cairo/CairoUtilities.cpp
</span><span class="cx"> platform/graphics/cairo/DrawingBufferCairo.cpp
</span><ins>+ platform/graphics/cairo/FloatRectCairo.cpp
</ins><span class="cx"> platform/graphics/cairo/FontCairo.cpp
</span><span class="cx"> platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
</span><span class="cx"> platform/graphics/cairo/GradientCairo.cpp
</span></span></pre></div>
<a id="trunkSourceWebKitCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/CMakeLists.txt (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/CMakeLists.txt        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/WebKit/CMakeLists.txt        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -3,10 +3,13 @@
</span><span class="cx"> "${JAVASCRIPTCORE_DIR}/ForwardingHeaders"
</span><span class="cx"> "${WEBKIT_DIR}"
</span><span class="cx"> "${WEBCORE_DIR}"
</span><ins>+ "${WEBCORE_DIR}/Modules/geolocation"
</ins><span class="cx"> "${WEBCORE_DIR}/Modules/filesystem"
</span><span class="cx"> "${WEBCORE_DIR}/Modules/mediastream"
</span><ins>+ "${WEBCORE_DIR}/Modules/navigatorcontentutils"
</ins><span class="cx"> "${WEBCORE_DIR}/Modules/networkinfo"
</span><span class="cx"> "${WEBCORE_DIR}/Modules/webdatabase"
</span><ins>+ "${WEBCORE_DIR}/Modules/websockets"
</ins><span class="cx"> "${WEBCORE_DIR}/accessibility"
</span><span class="cx"> "${WEBCORE_DIR}/bindings/generic"
</span><span class="cx"> "${WEBCORE_DIR}/bindings/js"
</span><span class="lines">@@ -18,12 +21,14 @@
</span><span class="cx"> "${WEBCORE_DIR}/dom"
</span><span class="cx"> "${WEBCORE_DIR}/dom/default"
</span><span class="cx"> "${WEBCORE_DIR}/editing"
</span><ins>+ "${WEBCORE_DIR}/fileapi"
</ins><span class="cx"> "${WEBCORE_DIR}/history"
</span><span class="cx"> "${WEBCORE_DIR}/html"
</span><span class="cx"> "${WEBCORE_DIR}/html/forms"
</span><span class="cx"> "${WEBCORE_DIR}/html/shadow"
</span><span class="cx"> "${WEBCORE_DIR}/inspector"
</span><span class="cx"> "${WEBCORE_DIR}/loader"
</span><ins>+ "${WEBCORE_DIR}/loader/archive"
</ins><span class="cx"> "${WEBCORE_DIR}/loader/appcache"
</span><span class="cx"> "${WEBCORE_DIR}/loader/icon"
</span><span class="cx"> "${WEBCORE_DIR}/loader/cache"
</span><span class="lines">@@ -38,16 +43,19 @@
</span><span class="cx"> "${WEBCORE_DIR}/platform/graphics/opengl"
</span><span class="cx"> "${WEBCORE_DIR}/platform/graphics/transforms"
</span><span class="cx"> "${WEBCORE_DIR}/platform/mediastream"
</span><ins>+ "${WEBCORE_DIR}/platform/mock"
</ins><span class="cx"> "${WEBCORE_DIR}/platform/network"
</span><span class="cx"> "${WEBCORE_DIR}/platform/sql"
</span><span class="cx"> "${WEBCORE_DIR}/platform/text"
</span><span class="cx"> "${WEBCORE_DIR}/plugins"
</span><span class="cx"> "${WEBCORE_DIR}/rendering"
</span><ins>+ "${WEBCORE_DIR}/rendering/line"
</ins><span class="cx"> "${WEBCORE_DIR}/rendering/shapes"
</span><span class="cx"> "${WEBCORE_DIR}/rendering/style"
</span><span class="cx"> "${WEBCORE_DIR}/storage"
</span><span class="cx"> "${WEBCORE_DIR}/style"
</span><span class="cx"> "${WEBCORE_DIR}/svg"
</span><ins>+ "${WEBCORE_DIR}/svg/animation"
</ins><span class="cx"> "${WEBCORE_DIR}/svg/graphics"
</span><span class="cx"> "${WEBCORE_DIR}/svg/properties"
</span><span class="cx"> "${WEBCORE_DIR}/workers"
</span><span class="lines">@@ -92,7 +100,7 @@
</span><span class="cx"> add_library(WebKit ${WebKit_LIBRARY_TYPE} ${WebKit_SOURCES})
</span><span class="cx"> add_dependencies(WebKit WebCore)
</span><span class="cx"> target_link_libraries(WebKit ${WebKit_LIBRARIES})
</span><del>-set_target_properties(WebKit PROPERTIES COMPILE_DEFINITIONS "BUILDING_WebKit")
</del><ins>+set_target_properties(WebKit PROPERTIES COMPILE_DEFINITIONS "BUILDING_WebKit;BUILDING_WEBKIT")
</ins><span class="cx"> set_target_properties(WebKit PROPERTIES FOLDER "WebKit")
</span><span class="cx"> set_target_properties(WebKit PROPERTIES LINK_INTERFACE_LIBRARIES "")
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/WebKit/ChangeLog        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2013-12-16 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] [CMake] Add support for building WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=116377
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * CMakeLists.txt: Updated WebCore include directory list for WebKitGTK+ and
+ added BUILDING_WEBKIT to the list of defines.
+ * PlatformGTK.cmake: Added.
+
</ins><span class="cx"> 2013-12-18 Alex Christensen <achristensen@webkit.org>
</span><span class="cx">
</span><span class="cx"> [WinCairo] Preparation for GStreamer on Windows.
</span></span></pre></div>
<a id="trunkSourceWebKitPlatformGTKcmake"></a>
<div class="addfile"><h4>Added: trunk/Source/WebKit/PlatformGTK.cmake (0 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/PlatformGTK.cmake         (rev 0)
+++ trunk/Source/WebKit/PlatformGTK.cmake        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -0,0 +1,158 @@
</span><ins>+set(DERIVED_SOURCES_WEBKITGTK_DIR ${DERIVED_SOURCES_DIR}/webkit)
+file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKITGTK_DIR})
+configure_file(gtk/webkit/webkitversion.h.in ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitversion.h)
+add_definitions(-DPACKAGE_LOCALE_DIR="${CMAKE_INSTALL_FULL_LOCALEDIR}")
+
+list(APPEND WebKit_INCLUDE_DIRECTORIES
+ ${DERIVED_SOURCES_DIR}
+ ${DERIVED_SOURCES_DIR}/webkitdom
+ ${DERIVED_SOURCES_GOBJECT_DOM_BINDINGS_DIR}
+ ${DERIVED_SOURCES_WEBKITGTK_DIR}
+ ${THIRDPARTY_DIR}/ANGLE/include/GLSLANG
+ ${THIRDPARTY_DIR}/ANGLE/src
+ ${THIRDPARTY_DIR}/ANGLE/include
+ ${THIRDPARTY_DIR}/ANGLE/include/KHR
+ ${THIRDPARTY_DIR}/ANGLE/include/GLSLANG
+ ${WEBCORE_DIR}/accessibility/atk
+ ${WEBCORE_DIR}/platform/cairo
+ ${WEBCORE_DIR}/platform/graphics/cairo
+ ${WEBCORE_DIR}/platform/graphics/gtk
+ ${WEBCORE_DIR}/platform/graphics/opentype
+ ${WEBCORE_DIR}/platform/graphics/texmap
+ ${WEBCORE_DIR}/platform/gtk
+ ${WEBCORE_DIR}/platform/network/soup
+ ${WEBCORE_DIR}/platform/text/enchant
+ ${WEBKIT_DIR}/gtk
+ ${WEBKIT_DIR}/gtk/webkit
+ ${WEBKIT_DIR}/gtk/WebCoreSupport
+ ${ENCHANT_INCLUDE_DIRS}
+ ${GTK3_INCLUDE_DIRS}
+ ${LIBSOUP_INCLUDE_DIRS}
+)
+
+list(APPEND WebKit_SOURCES
+ ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitenumtypes.cpp
+ ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+
+ gtk/WebCoreSupport/AcceleratedCompositingContextGL.cpp
+ gtk/WebCoreSupport/AssertMatchingEnums.cpp
+ gtk/WebCoreSupport/ChromeClientGtk.cpp
+ gtk/WebCoreSupport/ContextMenuClientGtk.cpp
+ gtk/WebCoreSupport/DeviceMotionClientGtk.cpp
+ gtk/WebCoreSupport/DeviceOrientationClientGtk.cpp
+ gtk/WebCoreSupport/DocumentLoaderGtk.cpp
+ gtk/WebCoreSupport/DragClientGtk.cpp
+ gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
+ gtk/WebCoreSupport/EditorClientGtk.cpp
+ gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
+ gtk/WebCoreSupport/FrameNetworkingContextGtk.cpp
+ gtk/WebCoreSupport/GeolocationClientGtk.cpp
+ gtk/WebCoreSupport/GtkAdjustmentWatcher.cpp
+ gtk/WebCoreSupport/InspectorClientGtk.cpp
+ gtk/WebCoreSupport/NavigatorContentUtilsClientGtk.cpp
+ gtk/WebCoreSupport/PlatformStrategiesGtk.cpp
+ gtk/WebCoreSupport/TextCheckerClientGtk.cpp
+ gtk/WebCoreSupport/UserMediaClientGtk.cpp
+ gtk/WebCoreSupport/WebViewInputMethodFilter.cpp
+
+ gtk/webkit/webkitapplicationcache.cpp
+ gtk/webkit/webkitauthenticationdialog.cpp
+ gtk/webkit/webkitdownload.cpp
+ gtk/webkit/webkiterror.cpp
+ gtk/webkit/webkitfavicondatabase.cpp
+ gtk/webkit/webkitfilechooserrequest.cpp
+ gtk/webkit/webkitgeolocationpolicydecision.cpp
+ gtk/webkit/webkitglobals.cpp
+ gtk/webkit/webkithittestresult.cpp
+ gtk/webkit/webkiticondatabase.cpp
+ gtk/webkit/webkitnetworkrequest.cpp
+ gtk/webkit/webkitnetworkresponse.cpp
+ gtk/webkit/webkitsecurityorigin.cpp
+ gtk/webkit/webkitsoupauthdialog.cpp
+ gtk/webkit/webkitspellchecker.cpp
+ gtk/webkit/webkitspellcheckerenchant.cpp
+ gtk/webkit/webkitversion.cpp
+ gtk/webkit/webkitviewportattributes.cpp
+ gtk/webkit/webkitwebbackforwardlist.cpp
+ gtk/webkit/webkitwebdatabase.cpp
+ gtk/webkit/webkitwebdatasource.cpp
+ gtk/webkit/webkitwebframe.cpp
+ gtk/webkit/webkitwebhistoryitem.cpp
+ gtk/webkit/webkitwebinspector.cpp
+ gtk/webkit/webkitwebnavigationaction.cpp
+ gtk/webkit/webkitwebplugin.cpp
+ gtk/webkit/webkitwebplugindatabase.cpp
+ gtk/webkit/webkitwebpolicydecision.cpp
+ gtk/webkit/webkitwebresource.cpp
+ gtk/webkit/webkitwebsettings.cpp
+ gtk/webkit/webkitwebview.cpp
+ gtk/webkit/webkitwebwindowfeatures.cpp
+)
+
+list(APPEND WebKitGTK_INSTALLED_HEADERS
+ ${WEBKIT_DIR}/gtk/webkit/webkit.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitapplicationcache.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitauthenticationdialog.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitdefines.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitdom.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitdownload.h
+ ${WEBKIT_DIR}/gtk/webkit/webkiterror.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitfavicondatabase.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitfilechooserrequest.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitgeolocationpolicydecision.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitglobals.h
+ ${WEBKIT_DIR}/gtk/webkit/webkithittestresult.h
+ ${WEBKIT_DIR}/gtk/webkit/webkiticondatabase.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitnetworkrequest.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitnetworkresponse.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitsecurityorigin.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitsoupauthdialog.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitspellchecker.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitspellcheckerenchant.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitviewportattributes.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebbackforwardlist.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebdatabase.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebdatasource.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebframe.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebhistoryitem.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebinspector.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebnavigationaction.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebplugin.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebplugindatabase.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebpolicydecision.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebresource.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebsettings.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebview.h
+ ${WEBKIT_DIR}/gtk/webkit/webkitwebwindowfeatures.h
+)
+
+list(APPEND WebKit_LIBRARIES
+ GObjectDOMBindings
+ WebCorePlatformGTK
+)
+
+set(WebKit_MARSHAL_LIST ${WEBKIT_DIR}/gtk/webkitmarshal.list)
+
+add_custom_command(
+ OUTPUT ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+ ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.h
+ MAIN_DEPENDENCY ${WebKit_MARSHAL_LIST}
+
+ COMMAND echo extern \"C\" { > ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+ COMMAND glib-genmarshal --prefix=webkit_marshal ${WebKit_MARSHAL_LIST} --body >> ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+ COMMAND echo } >> ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+
+ COMMAND glib-genmarshal --prefix=webkit_marshal ${WebKit_MARSHAL_LIST} --header > ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.h
+ VERBATIM
+)
+
+add_custom_command(
+ OUTPUT ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitenumtypes.h
+ ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitenumtypes.cpp
+ DEPENDS ${WebKitGTK_INSTALLED_HEADERS}
+
+ COMMAND glib-mkenums --template ${WEBKIT_DIR}/gtk/webkit/webkitenumtypes.h.template ${WebKitGTK_INSTALLED_HEADERS} | sed s/web_kit/webkit/ | sed s/WEBKIT_TYPE_KIT/WEBKIT_TYPE/ > ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitenumtypes.h
+
+ COMMAND glib-mkenums --template ${WEBKIT_DIR}/gtk/webkit/webkitenumtypes.cpp.template ${WebKitGTK_INSTALLED_HEADERS} | sed s/web_kit/webkit/ > ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitenumtypes.cpp
+ VERBATIM
+)
</ins></span></pre></div>
<a id="trunkSourceWebKitgtkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/gtk/ChangeLog (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/gtk/ChangeLog        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/WebKit/gtk/ChangeLog        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2013-12-16 Martin Robinson <mrobinson@igalia.com>
+
+ [GTK] [CMake] Add support for building WebKit1
+ https://bugs.webkit.org/show_bug.cgi?id=116377
+
+ Reviewed by Gustavo Noronha Silva.
+
+ * GNUmakefile.am: Switch to using the templates for building the GObject enums.
+ * webkit/webkitenumtypes.cpp.template: Added.
+ * webkit/webkitenumtypes.h.template: Added.
+
</ins><span class="cx"> 2013-12-18 Carlos Garcia Campos <cgarcia@igalia.com>
</span><span class="cx">
</span><span class="cx"> Unreviewed. Update NEWS and Versions.m4 for 2.3.3 release.
</span></span></pre></div>
<a id="trunkSourceWebKitgtkGNUmakefileam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/gtk/GNUmakefile.am (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/gtk/GNUmakefile.am        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/WebKit/gtk/GNUmakefile.am        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -362,18 +362,7 @@
</span><span class="cx"> $(GENSOURCES_WEBKIT)/webkitenumtypes.h: stamp-webkitenumtypes.h
</span><span class="cx">         @true
</span><span class="cx"> stamp-webkitenumtypes.h: $(webkitgtk_h_api) $(WebKit)/GNUmakefile.am
</span><del>-        $(AM_V_GEN)glib-mkenums \
-                        --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
-                        --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
-                        --fhead "#include <glib-object.h>\n\n" \
-                        --fhead "#include <webkit/webkitdefines.h>\n\n" \
-                        --fhead "G_BEGIN_DECLS\n\n" \
-                        --ftail "G_END_DECLS\n\n" \
-                        --ftail "#endif\n" \
-                        --fprod "#include <webkit/@basename@>\n\n" \
-                        --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
-                        --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
-                $(webkitgtk_h_api) | \
</del><ins>+        $(AM_V_GEN)glib-mkenums --template $(srcdir)/Source/WebKit/gtk/webkit/webkitenumtypes.h.template $(webkitgtk_h_api) | \
</ins><span class="cx">                 sed 's,web_kit,webkit,' | \
</span><span class="cx">                 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
</span><span class="cx">                 > xgen-gth \
</span><span class="lines">@@ -382,22 +371,7 @@
</span><span class="cx">         && echo timestamp > $(@F)
</span><span class="cx">
</span><span class="cx"> $(GENSOURCES_WEBKIT)/webkitenumtypes.cpp: $(webkitgtk_h_api) $(WebKit)/GNUmakefile.am
</span><del>-        $(AM_V_GEN)glib-mkenums \
-                        --fhead "#include <config.h>\n" \
-                        --fhead "#include <glib-object.h>\n" \
-                        --fhead "#include \"$(GENSOURCES_WEBKIT)/webkitenumtypes.h\"\n\n" \
-                        --fhead "extern \"C\" {\n\n" \
-                        --fprod "\n/* enumerations from \"@filename@\" */" \
-                        --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
-                        --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
-                        --vtail " { 0, NULL, NULL }\n};\n\n" \
-                        --vtail "GType @enum_name@_get_type(void)\n{\n" \
-                        --vtail " static GType type = 0;\n\n" \
-                        --vtail " if (!type)\n" \
-                        --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
-                        --vtail " return type;\n}\n\n" \
-                        --ftail "}\n" \
-                $(webkitgtk_h_api) | \
</del><ins>+        $(AM_V_GEN)glib-mkenums --template $(srcdir)/Source/WebKit/gtk/webkit/webkitenumtypes.cpp.template $(webkitgtk_h_api) | \
</ins><span class="cx">                 sed 's,web_kit,webkit,' \
</span><span class="cx">                 > xgen-gtc \
</span><span class="cx">         && cp xgen-gtc $@ \
</span></span></pre></div>
<a id="trunkSourceWebKitgtkwebkitwebkitenumtypescpptemplate"></a>
<div class="addfile"><h4>Added: trunk/Source/WebKit/gtk/webkit/webkitenumtypes.cpp.template (0 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/gtk/webkit/webkitenumtypes.cpp.template         (rev 0)
+++ trunk/Source/WebKit/gtk/webkit/webkitenumtypes.cpp.template        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+/*** BEGIN file-header ***/
+/*
+ * Copyright (C) 2013 Igalia S.L.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include <config.h>
+#include "webkitenumtypes.h"
+
+extern "C" {
+/*** END file-header ***/
+
+
+/*** BEGIN file-production ***/
+// Enumerations from @filename@.
+/*** END file-production ***/
+
+
+/*** BEGIN value-header ***/
+GType @enum_name@_get_type()
+{
+ static const G@Type@Value values[] = {
+/*** END value-header ***/
+
+
+/*** BEGIN value-production ***/
+ { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
+/*** END value-production ***/
+
+
+/*** BEGIN value-tail ***/
+ { 0, NULL, NULL }
+ };
+
+ static GType type = 0;
+ if (G_UNLIKELY(!type))
+ type = g_@type@_register_static("@EnumName@", values);
+
+ return type;
+}
+
+/*** END value-tail ***/
+
+
+/*** BEGIN file-tail ***/
+}
+/*** END file-tail ***/
</ins></span></pre></div>
<a id="trunkSourceWebKitgtkwebkitwebkitenumtypeshtemplate"></a>
<div class="addfile"><h4>Added: trunk/Source/WebKit/gtk/webkit/webkitenumtypes.h.template (0 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/gtk/webkit/webkitenumtypes.h.template         (rev 0)
+++ trunk/Source/WebKit/gtk/webkit/webkitenumtypes.h.template        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+/*** BEGIN file-header ***/
+/*
+ * Copyright (C) 2013 Igalia S.L.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef WEBKIT_ENUM_TYPES_H
+#define WEBKIT_ENUM_TYPES_H
+
+#include <glib-object.h>
+#include <webkit/webkitdefines.h>
+
+G_BEGIN_DECLS
+/*** END file-header ***/
+
+
+/*** BEGIN file-production ***/
+#include <webkit/@basename@>
+
+
+/* Enumerations from @filename@. */
+/*** END file-production ***/
+
+
+/*** BEGIN enumeration-production ***/
+#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type ()
+
+WEBKIT_API GType
+@enum_name@_get_type (void);
+
+/*** END enumeration-production ***/
+
+
+/*** BEGIN file-tail ***/
+G_END_DECLS
+
+#endif
+/*** END file-tail ***/
+
</ins></span></pre></div>
<a id="trunkSourcecmakeOptionsGTKcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/cmake/OptionsGTK.cmake (160803 => 160804)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/OptionsGTK.cmake        2013-12-18 23:50:19 UTC (rev 160803)
+++ trunk/Source/cmake/OptionsGTK.cmake        2013-12-19 00:04:47 UTC (rev 160804)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_IMAGE_SET ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_REGIONS ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_STICKY_POSITION ON)
</span><del>-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CUSTOM_SCHEME_HANDLER ON)
</del><ins>+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CUSTOM_SCHEME_HANDLER OFF)
</ins><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DATALIST_ELEMENT ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DOWNLOAD_ATTRIBUTE ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DRAG_SUPPORT ON)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FULLSCREEN_API ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GAMEPAD OFF)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INDEXED_DATABASE ON)
</span><del>-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INPUT_TYPE_COLOR ON)
</del><ins>+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INPUT_TYPE_COLOR OFF)
</ins><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LINK_PREFETCH ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LLINT ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_CAPTURE ON)
</span><span class="lines">@@ -71,7 +71,7 @@
</span><span class="cx"> set(ENABLE_WEBCORE ON)
</span><span class="cx"> set(ENABLE_INSPECTOR ON)
</span><span class="cx"> set(ENABLE_PLUGIN_PROCESS ON)
</span><del>-set(ENABLE_WEBKIT OFF)
</del><ins>+set(ENABLE_WEBKIT ON)
</ins><span class="cx"> set(ENABLE_WEBKIT2 ON)
</span><span class="cx">
</span><span class="cx"> set(WTF_USE_ICU_UNICODE 1)
</span><span class="lines">@@ -83,7 +83,6 @@
</span><span class="cx"> set(WebKit_OUTPUT_NAME webkitgtk-3.0)
</span><span class="cx"> set(WebKit2_OUTPUT_NAME webkit2gtk-3.0)
</span><span class="cx"> set(WebKit2_WebProcess_OUTPUT_NAME WebKitWebProcess)
</span><del>-set(VERSION_SCRIPT "-Wl,--version-script,${CMAKE_MODULE_PATH}/gtksymbols.filter")
</del><span class="cx">
</span><span class="cx"> set(DATA_BUILD_DIR "${CMAKE_BINARY_DIR}/share/${WebKit_OUTPUT_NAME}")
</span><span class="cx"> set(DATA_INSTALL_DIR "${DATADIR}/webkitgtk-3.0")
</span></span></pre>
</div>
</div>
</body>
</html>