[geary/wip/720290-webkitgtk-2.0.4] First stab
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/720290-webkitgtk-2.0.4] First stab
- Date: Wed, 11 Dec 2013 22:40:37 +0000 (UTC)
commit e351db20cc81fce607659aa20e6577e95f712150
Author: Jim Nelson <jim yorba org>
Date: Wed Dec 11 14:40:29 2013 -0800
First stab
CMakeLists.txt | 1 +
.../metadata/webkitgtk-1.10/WebKit-3.0.metadata | 16 ++++++++++++++++
.../metadata/webkitgtk-2.0/WebKit-3.0.metadata | 3 +++
src/CMakeLists.txt | 19 +++++++++++++++----
4 files changed, 35 insertions(+), 4 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a190d8..de761db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,6 +52,7 @@ endif ()
find_package(PkgConfig)
pkg_check_modules(LIBUNITY QUIET unity>=5.12.0)
pkg_check_modules(LIBMESSAGINGMENU QUIET messaging-menu>=12.10.2)
+pkg_check_modules(WEBKITGTK110X QUIET webkitgtk-3.0<=1.10.2)
pkg_check_modules(WEBKITGTK22X QUIET webkitgtk-3.0>=2.2.0)
# intl
diff --git a/bindings/metadata/webkitgtk-1.10/WebKit-3.0.metadata
b/bindings/metadata/webkitgtk-1.10/WebKit-3.0.metadata
new file mode 100644
index 0000000..27ca48d
--- /dev/null
+++ b/bindings/metadata/webkitgtk-1.10/WebKit-3.0.metadata
@@ -0,0 +1,16 @@
+DOM* parent="WebKit.DOM" name="DOM(.+)"
+
+DOMEventTarget.add_event_listener skip=false
+DOMEventTarget.remove_event_listener skip=false
+
+WebView.entering_fullscreen#signal name="entering_fullscreen_signal"
+WebView.leaving_fullscreen#signal name="leaving_fullscreen_signal"
+
+WebView.move_cursor#virtual_method name="leaving_fullscreen_method"
+WebSettings.enable_default_context_menu#property deprecated=false
+
+DOMNode.dispatch_event type="void"
+DOMWebKitNamedFlow.dispatch_event type="void"
+DOMDOMApplicationCache.dispatch_event type="void"
+DOMDOMWindow.dispatch_event type="void"
+
diff --git a/bindings/metadata/webkitgtk-2.0/WebKit-3.0.metadata
b/bindings/metadata/webkitgtk-2.0/WebKit-3.0.metadata
index 27ca48d..41376f1 100644
--- a/bindings/metadata/webkitgtk-2.0/WebKit-3.0.metadata
+++ b/bindings/metadata/webkitgtk-2.0/WebKit-3.0.metadata
@@ -13,4 +13,7 @@ DOMNode.dispatch_event type="void"
DOMWebKitNamedFlow.dispatch_event type="void"
DOMDOMApplicationCache.dispatch_event type="void"
DOMDOMWindow.dispatch_event type="void"
+DOMTextTrackCue.dispatch_event type="void"
+DOMTextTrack.dispatch_event type="void"
+DOMTextTrackList.dispatch_event type="void"
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bfc9c5d..b221039 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -436,8 +436,19 @@ else ()
message(STATUS "Unity launcher support: OFF")
endif ()
-if (WEBKITGTK22X_FOUND)
- message(STATUS "Targeting WebKitGTK 2.2.x")
+if (WEBKITGTK110X_FOUND)
+ message(STATUS "Targeting WebKitGTK 1.10")
+ SET(EXTRA_CLIENT_PKG_CONFIG
+ ${EXTRA_CLIENT_PKG_CONFIG}
+ webkitgtk-3.0>=1.10.0
+ webkitgtk-3.0<=1.10.2
+ )
+
+ SET(WEBKITGTK_METADATA_DIR
+ webkitgtk-1.10
+ )
+elseif (WEBKITGTK22X_FOUND)
+ message(STATUS "Targeting WebKitGTK 2.2")
SET(EXTRA_CLIENT_PKG_CONFIG
${EXTRA_CLIENT_PKG_CONFIG}
webkitgtk-3.0>=2.2.0
@@ -447,10 +458,10 @@ if (WEBKITGTK22X_FOUND)
webkitgtk-2.2
)
else ()
- message(STATUS "Targeting WebKitGTK 1.10.0 to 2.0.4")
+ message(STATUS "Targeting WebKitGTK 2.0")
SET(EXTRA_CLIENT_PKG_CONFIG
${EXTRA_CLIENT_PKG_CONFIG}
- webkitgtk-3.0>=1.10.0
+ webkitgtk-3.0>=2.0.0
webkitgtk-3.0<=2.0.4
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]