diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-04-29 23:05:11 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-07-30 23:41:53 +0200 |
commit | 9542e2d61a2857887a61b84bc972ab4b59c585f2 (patch) | |
tree | 65a3666015c91ec2c8c14c81d8c5acf6fe7fbd91 /meta-efl/recipes-efl | |
parent | 7e42a01229ce1928d42b3ccf9b2365a576424729 (diff) | |
download | meta-openembedded-9542e2d61a2857887a61b84bc972ab4b59c585f2.tar.gz |
webkit-efl: upgrade to 1.9.3
* some revisions are broken for armv4t, see my comment at
https://bugs.webkit.org/show_bug.cgi?id=80354
* and newer then this need developement snapshot of
glib/glib-networking/libsoup-2.4
https://bugs.webkit.org/show_bug.cgi?id=91626
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-efl/recipes-efl')
4 files changed, 27 insertions, 126 deletions
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch deleted file mode 100644 index dcd3a4672..000000000 --- a/meta-efl/recipes-efl/webkit/webkit-efl/0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | From 3dfc99730b99472d642f19b825fb9794e32a05c4 Mon Sep 17 00:00:00 2001 | ||
2 | From: "rakuco@webkit.org" | ||
3 | <rakuco@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | ||
4 | Date: Tue, 10 Apr 2012 22:59:04 +0000 | ||
5 | Subject: [PATCH] [CMake] Do not pass -P to the preprocessor when running | ||
6 | make_names.pl. | ||
7 | https://bugs.webkit.org/show_bug.cgi?id=83225 | ||
8 | |||
9 | Reviewed by Rob Buis. | ||
10 | |||
11 | This is necessary to make CMake-based ports build with the | ||
12 | recently-released GCC 4.7.0, whose preprocessor seems to ignore | ||
13 | empty lines when -P is passed to it. Such behavior breaks | ||
14 | make_names.pl (in fact, InFilesParser.pm), which expects an empty | ||
15 | line to separate common and specific sections in .in files. | ||
16 | |||
17 | A fix for this same problem has been supposedly done in r84123, | ||
18 | but as the CMake-based ports always pass --preprocessor to the | ||
19 | Perl tools the fix never reached us. | ||
20 | |||
21 | The idea is to define CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS | ||
22 | for (!MSVC && !QNX) and use it in the macros which call | ||
23 | make_names.pl. | ||
24 | |||
25 | * Source/cmake/OptionsCommon.cmake: | ||
26 | * Source/cmake/WebKitMacros.cmake: | ||
27 | |||
28 | git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113786 268f45cc-cd09-0410-ab3c-d52691b4dbfc | ||
29 | --- | ||
30 | ChangeLog | 24 ++++++++++++++++++++++++ | ||
31 | Source/cmake/OptionsCommon.cmake | 7 +++++++ | ||
32 | Source/cmake/WebKitMacros.cmake | 2 +- | ||
33 | 3 files changed, 32 insertions(+), 1 deletions(-) | ||
34 | |||
35 | diff --git a/Source/cmake/OptionsCommon.cmake b/Source/cmake/OptionsCommon.cmake | ||
36 | index 11581e6..37cb4a8 100644 | ||
37 | --- a/Source/cmake/OptionsCommon.cmake | ||
38 | +++ b/Source/cmake/OptionsCommon.cmake | ||
39 | @@ -5,14 +5,21 @@ IF (WTF_OS_UNIX) | ||
40 | ADD_DEFINITIONS(-DXP_UNIX) | ||
41 | ENDIF (WTF_OS_UNIX) | ||
42 | |||
43 | +# CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS only matters with GCC >= 4.7.0. Since this | ||
44 | +# version, -P does not output empty lines, which currently breaks make_names.pl in | ||
45 | +# WebCore. Investigating whether make_names.pl should be changed instead is left as an exercise to | ||
46 | +# the reader. | ||
47 | IF (MSVC) | ||
48 | # FIXME: Some codegenerators don't support paths with spaces. So use the executable name only. | ||
49 | GET_FILENAME_COMPONENT(CODE_GENERATOR_PREPROCESSOR_EXECUTABLE ${CMAKE_CXX_COMPILER} NAME) | ||
50 | SET(CODE_GENERATOR_PREPROCESSOR "${CODE_GENERATOR_PREPROCESSOR_EXECUTABLE} /nologo /EP") | ||
51 | + SET(CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS "${CODE_GENERATOR_PREPROCESSOR}") | ||
52 | ELSEIF (CMAKE_SYSTEM_NAME MATCHES QNX) | ||
53 | SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -Wp,-P -x c++") | ||
54 | + SET(CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS "${CODE_GENERATOR_PREPROCESSOR}") | ||
55 | ELSE () | ||
56 | SET(CODE_GENERATOR_PREPROCESSOR "${CMAKE_CXX_COMPILER} -E -P -x c++") | ||
57 | + SET(CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS "${CMAKE_CXX_COMPILER} -E -x c++") | ||
58 | ENDIF () | ||
59 | |||
60 | SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON) | ||
61 | diff --git a/Source/cmake/WebKitMacros.cmake b/Source/cmake/WebKitMacros.cmake | ||
62 | index 3abe342..4e7ca9f 100644 | ||
63 | --- a/Source/cmake/WebKitMacros.cmake | ||
64 | +++ b/Source/cmake/WebKitMacros.cmake | ||
65 | @@ -89,7 +89,7 @@ MACRO (GENERATE_DOM_NAMES _namespace _attrs) | ||
66 | ADD_CUSTOM_COMMAND( | ||
67 | OUTPUT ${_outputfiles} | ||
68 | DEPENDS ${NAMES_GENERATOR} ${SCRIPTS_BINDINGS} ${_attrs} ${_tags} | ||
69 | - COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${NAMES_GENERATOR} --preprocessor "${CODE_GENERATOR_PREPROCESSOR}" --outputDir ${DERIVED_SOURCES_WEBCORE_DIR} ${_arguments} ${_additionArguments} | ||
70 | + COMMAND ${PERL_EXECUTABLE} -I${WEBCORE_DIR}/bindings/scripts ${NAMES_GENERATOR} --preprocessor "${CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS}" --outputDir ${DERIVED_SOURCES_WEBCORE_DIR} ${_arguments} ${_additionArguments} | ||
71 | VERBATIM) | ||
72 | ENDMACRO () | ||
73 | |||
74 | -- | ||
75 | 1.7.7 | ||
76 | |||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/0001-JavaScriptCore-add-EINA_LIBRARIES-to-shell-build-for.patch b/meta-efl/recipes-efl/webkit/webkit-efl/0001-JavaScriptCore-add-EINA_LIBRARIES-to-shell-build-for.patch deleted file mode 100644 index 6958b9e6a..000000000 --- a/meta-efl/recipes-efl/webkit/webkit-efl/0001-JavaScriptCore-add-EINA_LIBRARIES-to-shell-build-for.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 079acc344dc12818d8b56bf80a42065d8429f7ef Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 14 Feb 2012 09:56:53 +0100 | ||
4 | Subject: [PATCH] JavaScriptCore: add EINA_LIBRARIES to shell build for Efl | ||
5 | |||
6 | * needed for libwtf_efl | ||
7 | * otherwise fails with ../wtf/libwtf_efl.so.0.1.0: error: undefined reference to 'eina_module_free' | ||
8 | |||
9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
10 | --- | ||
11 | Source/JavaScriptCore/shell/PlatformEfl.cmake | 1 + | ||
12 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
13 | |||
14 | diff --git a/Source/JavaScriptCore/shell/PlatformEfl.cmake b/Source/JavaScriptCore/shell/PlatformEfl.cmake | ||
15 | index c35af2d..ef3f437 100644 | ||
16 | --- a/Source/JavaScriptCore/shell/PlatformEfl.cmake | ||
17 | +++ b/Source/JavaScriptCore/shell/PlatformEfl.cmake | ||
18 | @@ -1,6 +1,7 @@ | ||
19 | LIST(APPEND JSC_LIBRARIES | ||
20 | ${Glib_LIBRARIES} | ||
21 | ${ECORE_LIBRARIES} | ||
22 | + ${EINA_LIBRARIES} | ||
23 | ${CMAKE_DL_LIBS} | ||
24 | ) | ||
25 | |||
26 | -- | ||
27 | 1.7.8.4 | ||
28 | |||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt b/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt index c13086747..8071d61f9 100644 --- a/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt +++ b/meta-efl/recipes-efl/webkit/webkit-efl/CMakeLists.txt | |||
@@ -11,19 +11,15 @@ ENDIF () | |||
11 | # ----------------------------------------------------------------------------- | 11 | # ----------------------------------------------------------------------------- |
12 | # Default library type | 12 | # Default library type |
13 | # ----------------------------------------------------------------------------- | 13 | # ----------------------------------------------------------------------------- |
14 | SET(ENABLE_WEBCORE On) | 14 | SET(ENABLE_WEBCORE ON) |
15 | 15 | ||
16 | IF (NOT ENABLE_WEBKIT AND NOT ENABLE_WEBKIT2) | 16 | IF (NOT ENABLE_WEBKIT AND NOT ENABLE_WEBKIT2) |
17 | SET(ENABLE_WEBKIT On) | 17 | SET(ENABLE_WEBKIT ON) |
18 | ENDIF () | 18 | ENDIF () |
19 | 19 | ||
20 | OPTION(ONLY_BUILD_JAVASCRIPTCORE "only build JavaScriptCore") | 20 | SET(ENABLE_TOOLS ON) |
21 | IF (ONLY_BUILD_JAVASCRIPTCORE) | ||
22 | SET(ENABLE_WEBCORE Off) | ||
23 | SET(ENABLE_WEBKIT Off) | ||
24 | SET(ENABLE_WEBKIT2 Off) | ||
25 | ENDIF () | ||
26 | 21 | ||
22 | SET(WTF_DIR "${CMAKE_SOURCE_DIR}/Source/WTF") | ||
27 | SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/Source/JavaScriptCore") | 23 | SET(JAVASCRIPTCORE_DIR "${CMAKE_SOURCE_DIR}/Source/JavaScriptCore") |
28 | SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/Source/WebCore") | 24 | SET(WEBCORE_DIR "${CMAKE_SOURCE_DIR}/Source/WebCore") |
29 | SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/Source/WebKit") | 25 | SET(WEBKIT_DIR "${CMAKE_SOURCE_DIR}/Source/WebKit") |
@@ -35,10 +31,15 @@ SET(TOOLS_DIR "${CMAKE_SOURCE_DIR}/Tools") | |||
35 | SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") | 31 | SET(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources") |
36 | SET(DERIVED_SOURCES_JAVASCRIPTCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/JavaScriptCore") | 32 | SET(DERIVED_SOURCES_JAVASCRIPTCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/JavaScriptCore") |
37 | SET(DERIVED_SOURCES_WEBCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebCore") | 33 | SET(DERIVED_SOURCES_WEBCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebCore") |
34 | SET(DERIVED_SOURCES_WEBKIT_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit") | ||
38 | SET(DERIVED_SOURCES_WEBKIT2_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit2") | 35 | SET(DERIVED_SOURCES_WEBKIT2_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit2") |
39 | 36 | ||
40 | SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake") | 37 | SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake") |
41 | 38 | ||
39 | SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
40 | SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) | ||
41 | SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
42 | |||
42 | INCLUDE(WebKitMacros) | 43 | INCLUDE(WebKitMacros) |
43 | INCLUDE(WebKitFS) | 44 | INCLUDE(WebKitFS) |
44 | INCLUDE(WebKitHelpers) | 45 | INCLUDE(WebKitHelpers) |
@@ -109,24 +110,24 @@ SET(JavaScriptCore_LIBRARY_NAME JavaScriptCore) | |||
109 | SET(WebCore_LIBRARY_NAME WebCore) | 110 | SET(WebCore_LIBRARY_NAME WebCore) |
110 | SET(WebKit_LIBRARY_NAME WebKit) | 111 | SET(WebKit_LIBRARY_NAME WebKit) |
111 | SET(WebKit2_LIBRARY_NAME WebKit2) | 112 | SET(WebKit2_LIBRARY_NAME WebKit2) |
113 | SET(WebCoreTestSupport_LIBRARY_NAME WebCoreTestSupport) | ||
112 | 114 | ||
113 | # ----------------------------------------------------------------------------- | 115 | # ----------------------------------------------------------------------------- |
114 | # Default library types | 116 | # Default library types |
115 | # ----------------------------------------------------------------------------- | 117 | # ----------------------------------------------------------------------------- |
116 | OPTION(SHARED_CORE "build WTF, JavaScriptCore and WebCore as shared libraries") | 118 | OPTION(SHARED_CORE "build JavaScriptCore and WebCore as shared libraries") |
117 | 119 | ||
118 | IF (SHARED_CORE) | 120 | IF (SHARED_CORE) |
119 | SET(WTF_LIBRARY_TYPE SHARED) | ||
120 | SET(JavaScriptCore_LIBRARY_TYPE SHARED) | 121 | SET(JavaScriptCore_LIBRARY_TYPE SHARED) |
121 | SET(WebCore_LIBRARY_TYPE SHARED) | 122 | SET(WebCore_LIBRARY_TYPE SHARED) |
122 | ELSE () | 123 | ELSE () |
123 | SET(WTF_LIBRARY_TYPE STATIC) | ||
124 | SET(JavaScriptCore_LIBRARY_TYPE STATIC) | 124 | SET(JavaScriptCore_LIBRARY_TYPE STATIC) |
125 | SET(WebCore_LIBRARY_TYPE STATIC) | 125 | SET(WebCore_LIBRARY_TYPE STATIC) |
126 | ENDIF () | 126 | ENDIF () |
127 | 127 | ||
128 | SET(WebKit_LIBRARY_TYPE SHARED) | 128 | SET(WebKit_LIBRARY_TYPE SHARED) |
129 | SET(WebKit2_LIBRARY_TYPE SHARED) | 129 | SET(WebKit2_LIBRARY_TYPE SHARED) |
130 | SET(WebCoreTestSupport_LIBRARY_TYPE STATIC) | ||
130 | 131 | ||
131 | # ----------------------------------------------------------------------------- | 132 | # ----------------------------------------------------------------------------- |
132 | # Port-specific options | 133 | # Port-specific options |
@@ -135,6 +136,13 @@ INCLUDE(OptionsCommon) | |||
135 | INCLUDE(Options${PORT}) | 136 | INCLUDE(Options${PORT}) |
136 | 137 | ||
137 | # ----------------------------------------------------------------------------- | 138 | # ----------------------------------------------------------------------------- |
139 | # Enable API unit tests and create a target for the test runner | ||
140 | # ----------------------------------------------------------------------------- | ||
141 | IF (ENABLE_API_TESTS) | ||
142 | ENABLE_TESTING() | ||
143 | ENDIF () | ||
144 | |||
145 | # ----------------------------------------------------------------------------- | ||
138 | # Install JavaScript shell | 146 | # Install JavaScript shell |
139 | # ----------------------------------------------------------------------------- | 147 | # ----------------------------------------------------------------------------- |
140 | OPTION(SHOULD_INSTALL_JS_SHELL "generate an installation rule to install the built JavaScript shell") | 148 | OPTION(SHOULD_INSTALL_JS_SHELL "generate an installation rule to install the built JavaScript shell") |
@@ -152,9 +160,7 @@ ADD_SUBDIRECTORY(Source) | |||
152 | # ----------------------------------------------------------------------------- | 160 | # ----------------------------------------------------------------------------- |
153 | # Add tools | 161 | # Add tools |
154 | # ----------------------------------------------------------------------------- | 162 | # ----------------------------------------------------------------------------- |
155 | ADD_SUBDIRECTORY(Tools) | 163 | IF (ENABLE_TOOLS) |
164 | ADD_SUBDIRECTORY(Tools) | ||
165 | ENDIF () | ||
156 | 166 | ||
157 | # ----------------------------------------------------------------------------- | ||
158 | # Prints a summary of all enabled/disabled features | ||
159 | # ----------------------------------------------------------------------------- | ||
160 | WEBKIT_PRINT_FEATURES() | ||
diff --git a/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb b/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb index 7719212b4..7a7b9bd4e 100644 --- a/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb +++ b/meta-efl/recipes-efl/webkit/webkit-efl_svn.bb | |||
@@ -9,9 +9,10 @@ DEPENDS = "icu libxslt sqlite3 gperf-native bison-native flex-native jpeg \ | |||
9 | libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \ | 9 | libpng libxt fontconfig cairo freetype glib-2.0 libsoup-2.4 \ |
10 | libxml2 pango eina ecore evas edje" | 10 | libxml2 pango eina ecore evas edje" |
11 | 11 | ||
12 | SRCREV = "105069" | 12 | # 120145 and 122103 introduces dependency on libsoup-2.39.3 and glib-networking-2.33.2 |
13 | PV = "1.7.3+svnr${SRCPV}" | 13 | SRCREV = "120144" |
14 | PR = "r3" | 14 | PV = "1.9.3+svnr${SRCPV}" |
15 | PR = "r1" | ||
15 | 16 | ||
16 | SRCREV_FORMAT = "source" | 17 | SRCREV_FORMAT = "source" |
17 | 18 | ||
@@ -19,8 +20,6 @@ SRC_URI = "\ | |||
19 | svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;protocol=http;subdir=src \ | 20 | svn://svn.webkit.org/repository/webkit/trunk;module=Source;name=source;protocol=http;subdir=src \ |
20 | svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;protocol=http;subdir=src \ | 21 | svn://svn.webkit.org/repository/webkit/trunk/;module=WebKitLibraries;protocol=http;subdir=src \ |
21 | svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;protocol=http;subdir=src \ | 22 | svn://svn.webkit.org/repository/webkit/trunk/;module=Tools;protocol=http;subdir=src \ |
22 | file://0001-JavaScriptCore-add-EINA_LIBRARIES-to-shell-build-for.patch \ | ||
23 | file://0001-CMake-Do-not-pass-P-to-the-preprocessor-when-running.patch \ | ||
24 | file://CMakeLists.txt \ | 23 | file://CMakeLists.txt \ |
25 | " | 24 | " |
26 | 25 | ||
@@ -34,7 +33,7 @@ inherit cmake lib_package pkgconfig perlnative pythonnative | |||
34 | 33 | ||
35 | ARM_INSTRUCTION_SET = "arm" | 34 | ARM_INSTRUCTION_SET = "arm" |
36 | 35 | ||
37 | EXTRA_OECMAKE = "-DPORT=Efl -DSHARED_CORE=ON" | 36 | EXTRA_OECMAKE = "-DPORT=Efl -DSHARED_CORE=On -DENABLE_DRAG_SUPPORT=On" |
38 | 37 | ||
39 | LEAD_SONAME = "libewebkit.so" | 38 | LEAD_SONAME = "libewebkit.so" |
40 | PACKAGES =+ "${PN}launcher-dbg ${PN}launcher" | 39 | PACKAGES =+ "${PN}launcher-dbg ${PN}launcher" |