<!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  &lt;mrobinson@igalia.com&gt;
+
+        [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  &lt;gns@gnome.org&gt;
</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  &lt;mrobinson@igalia.com&gt;
+
+        [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  &lt;hmuller@adobe.com&gt;
</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">     &quot;${JAVASCRIPTCORE_DIR}/ForwardingHeaders&quot;
</span><span class="cx">     &quot;${WEBKIT_DIR}&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/Modules/geolocation&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/Modules/filesystem&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/Modules/mediastream&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/Modules/navigatorcontentutils&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/Modules/networkinfo&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/Modules/webdatabase&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/Modules/websockets&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/accessibility&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/bindings/generic&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/bindings/js&quot;
</span><span class="lines">@@ -18,12 +21,14 @@
</span><span class="cx">     &quot;${WEBCORE_DIR}/dom&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/dom/default&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/editing&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/fileapi&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/history&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/html&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/html/forms&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/html/shadow&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/inspector&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/loader&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/loader/archive&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/loader/appcache&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/loader/icon&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/loader/cache&quot;
</span><span class="lines">@@ -38,16 +43,19 @@
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/graphics/opengl&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/graphics/transforms&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/mediastream&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/platform/mock&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/platform/network&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/sql&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/platform/text&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/plugins&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/rendering&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/rendering/line&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/rendering/shapes&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/rendering/style&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/storage&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/style&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/svg&quot;
</span><ins>+    &quot;${WEBCORE_DIR}/svg/animation&quot;
</ins><span class="cx">     &quot;${WEBCORE_DIR}/svg/graphics&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/svg/properties&quot;
</span><span class="cx">     &quot;${WEBCORE_DIR}/workers&quot;
</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 &quot;BUILDING_WebKit&quot;)
</del><ins>+set_target_properties(WebKit PROPERTIES COMPILE_DEFINITIONS &quot;BUILDING_WebKit;BUILDING_WEBKIT&quot;)
</ins><span class="cx"> set_target_properties(WebKit PROPERTIES FOLDER &quot;WebKit&quot;)
</span><span class="cx"> set_target_properties(WebKit PROPERTIES LINK_INTERFACE_LIBRARIES &quot;&quot;)
</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  &lt;mrobinson@igalia.com&gt;
+
+        [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  &lt;achristensen@webkit.org&gt;
</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=&quot;${CMAKE_INSTALL_FULL_LOCALEDIR}&quot;)
+
+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 \&quot;C\&quot; { &gt; ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+    COMMAND glib-genmarshal --prefix=webkit_marshal ${WebKit_MARSHAL_LIST} --body &gt;&gt; ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+    COMMAND echo } &gt;&gt; ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkitmarshal.cpp
+
+    COMMAND glib-genmarshal --prefix=webkit_marshal ${WebKit_MARSHAL_LIST} --header &gt; ${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/ &gt; ${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/ &gt; ${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  &lt;mrobinson@igalia.com&gt;
+
+        [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  &lt;cgarcia@igalia.com&gt;
</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 &quot;#ifndef WEBKIT_ENUM_TYPES_H\n&quot; \
-                        --fhead &quot;#define WEBKIT_ENUM_TYPES_H\n\n&quot; \
-                        --fhead &quot;#include &lt;glib-object.h&gt;\n\n&quot; \
-                        --fhead &quot;#include &lt;webkit/webkitdefines.h&gt;\n\n&quot; \
-                        --fhead &quot;G_BEGIN_DECLS\n\n&quot; \
-                        --ftail &quot;G_END_DECLS\n\n&quot; \
-                        --ftail &quot;#endif\n&quot; \
-                        --fprod &quot;#include &lt;webkit/@basename@&gt;\n\n&quot; \
-                        --eprod &quot;#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n&quot; \
-                        --eprod &quot;WEBKIT_API GType\n@enum_name@_get_type(void);\n\n&quot; \
-                $(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">                 &gt; xgen-gth \
</span><span class="lines">@@ -382,22 +371,7 @@
</span><span class="cx">         &amp;&amp; echo timestamp &gt; $(@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 &quot;#include &lt;config.h&gt;\n&quot; \
-                        --fhead &quot;#include &lt;glib-object.h&gt;\n&quot; \
-                        --fhead &quot;#include \&quot;$(GENSOURCES_WEBKIT)/webkitenumtypes.h\&quot;\n\n&quot; \
-                        --fhead &quot;extern \&quot;C\&quot; {\n\n&quot; \
-                        --fprod &quot;\n/* enumerations from \&quot;@filename@\&quot; */&quot; \
-                        --vhead &quot;static const G@Type@Value _@enum_name@_values[] = {&quot; \
-                        --vprod &quot;    { @VALUENAME@, \&quot;@VALUENAME@\&quot;, \&quot;@valuenick@\&quot; },&quot; \
-                        --vtail &quot;    { 0, NULL, NULL }\n};\n\n&quot; \
-                        --vtail &quot;GType @enum_name@_get_type(void)\n{\n&quot; \
-                        --vtail &quot;    static GType type = 0;\n\n&quot; \
-                        --vtail &quot;    if (!type)\n&quot; \
-                        --vtail &quot;        type = g_@type@_register_static(\&quot;@EnumName@\&quot;, _@enum_name@_values);\n\n&quot; \
-                        --vtail &quot;    return type;\n}\n\n&quot; \
-                        --ftail &quot;}\n&quot; \
-                $(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">                 &gt; xgen-gtc \
</span><span class="cx">         &amp;&amp; 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 &lt;config.h&gt;
+#include &quot;webkitenumtypes.h&quot;
+
+extern &quot;C&quot; {
+/*** 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@, &quot;@VALUENAME@&quot;, &quot;@valuenick@&quot; },
+/*** END value-production ***/
+
+
+/*** BEGIN value-tail ***/
+        { 0, NULL, NULL }
+    };
+
+    static GType type = 0;
+    if (G_UNLIKELY(!type))
+        type = g_@type@_register_static(&quot;@EnumName@&quot;, 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 &lt;glib-object.h&gt;
+#include &lt;webkit/webkitdefines.h&gt;
+
+G_BEGIN_DECLS
+/*** END file-header ***/
+
+
+/*** BEGIN file-production ***/
+#include &lt;webkit/@basename@&gt;
+
+
+/* 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 &quot;-Wl,--version-script,${CMAKE_MODULE_PATH}/gtksymbols.filter&quot;)
</del><span class="cx"> 
</span><span class="cx"> set(DATA_BUILD_DIR &quot;${CMAKE_BINARY_DIR}/share/${WebKit_OUTPUT_NAME}&quot;)
</span><span class="cx"> set(DATA_INSTALL_DIR &quot;${DATADIR}/webkitgtk-3.0&quot;)
</span></span></pre>
</div>
</div>

</body>
</html>