diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-11 12:24:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-12 15:00:46 +0100 |
commit | b36f998fc7b185e67d094fe59239f7a77167a9c4 (patch) | |
tree | 874b9d8fc1547d86871792d1a42b1fcac02d4467 /meta/recipes-sato/webkit/files/GNUmakefile.am | |
parent | 01552639c901223843b19410cb440c2da7726997 (diff) | |
download | poky-b36f998fc7b185e67d094fe59239f7a77167a9c4.tar.gz |
webkit-gtk: update SRCREV
The layout of the repository has changed, so we need to account for that:
* fixed license checksums
* fixed SRC_URI
* fixed SRCREV_FORMAT
PCRE is gone, so no need for the dftables hack anymore
But most importantly, this fixes the crash issues when using javascript (e.g. github.com)
Tested on:
* usrp-e1xx/angstrom-2011.07
(From OE-Core rev: 7df4f5f3d64f1f60814cea60d83270be7bfa4f2c)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit/files/GNUmakefile.am')
-rw-r--r-- | meta/recipes-sato/webkit/files/GNUmakefile.am | 107 |
1 files changed, 52 insertions, 55 deletions
diff --git a/meta/recipes-sato/webkit/files/GNUmakefile.am b/meta/recipes-sato/webkit/files/GNUmakefile.am index 8884fcb6f9..fb10790b1e 100644 --- a/meta/recipes-sato/webkit/files/GNUmakefile.am +++ b/meta/recipes-sato/webkit/files/GNUmakefile.am | |||
@@ -34,10 +34,12 @@ GENSOURCES := $(top_builddir)/DerivedSources | |||
34 | GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore | 34 | GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore |
35 | GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore | 35 | GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore |
36 | GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit | 36 | GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit |
37 | GENSOURCES_WEBKIT2 := $(top_builddir)/DerivedSources/WebKit2 | ||
37 | GENPROGRAMS := $(top_builddir)/Programs | 38 | GENPROGRAMS := $(top_builddir)/Programs |
38 | GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector | 39 | GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector |
39 | WebCore := $(srcdir)/WebCore | 40 | WebCore := $(srcdir)/Source/WebCore |
40 | WebKit := $(srcdir)/WebKit/gtk | 41 | WebKit := $(srcdir)/Source/WebKit/gtk |
42 | WebKit2 := $(srcdir)/Source/WebKit2 | ||
41 | 43 | ||
42 | # Libraries and support components | 44 | # Libraries and support components |
43 | bin_PROGRAMS := | 45 | bin_PROGRAMS := |
@@ -51,6 +53,7 @@ POFILES := | |||
51 | MOFILES := | 53 | MOFILES := |
52 | javascriptcore_h_api := | 54 | javascriptcore_h_api := |
53 | javascriptcore_cppflags:= | 55 | javascriptcore_cppflags:= |
56 | javascriptcore_cflags := | ||
54 | javascriptcore_sources := | 57 | javascriptcore_sources := |
55 | javascriptcore_built_sources := | 58 | javascriptcore_built_sources := |
56 | javascriptcore_built_nosources := | 59 | javascriptcore_built_nosources := |
@@ -69,6 +72,8 @@ webkitgtk_cppflags := | |||
69 | webkitgtk_gdom_built_sources := | 72 | webkitgtk_gdom_built_sources := |
70 | webkitgtk_built_sources := | 73 | webkitgtk_built_sources := |
71 | webkitgtk_built_nosources := | 74 | webkitgtk_built_nosources := |
75 | webkit2_built_sources := | ||
76 | libwebcoreinternals_built_sources := | ||
72 | global_cppflags := | 77 | global_cppflags := |
73 | global_cflags := | 78 | global_cflags := |
74 | global_cxxflags := | 79 | global_cxxflags := |
@@ -83,6 +88,21 @@ CLEANFILES := | |||
83 | DISTCLEANFILES := | 88 | DISTCLEANFILES := |
84 | MAINTAINERCLEANFILES := | 89 | MAINTAINERCLEANFILES := |
85 | 90 | ||
91 | # We do not care at all about this implicit built-in make rules, | ||
92 | # disable them to save some build time | ||
93 | %: %.c | ||
94 | %: %.cpp | ||
95 | %: %.o | ||
96 | (%): % | ||
97 | %.out: % | ||
98 | %.c: %.w %.ch | ||
99 | %.tex: %.w %.ch | ||
100 | %:: %,v | ||
101 | %:: RCS/%,v | ||
102 | %:: RCS/% | ||
103 | %:: s.% | ||
104 | %:: SCCS/s.% | ||
105 | |||
86 | global_cppflags += \ | 106 | global_cppflags += \ |
87 | -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ | 107 | -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ |
88 | -Wformat -Wformat-security -Wno-format-y2k -Wundef \ | 108 | -Wformat -Wformat-security -Wno-format-y2k -Wundef \ |
@@ -92,7 +112,6 @@ global_cppflags += \ | |||
92 | 112 | ||
93 | 113 | ||
94 | global_cxxflags += \ | 114 | global_cxxflags += \ |
95 | $(SYMBOL_VISIBILITY_INLINES) \ | ||
96 | -fno-rtti | 115 | -fno-rtti |
97 | 116 | ||
98 | # -no-undefined required for building DLLs on Windows | 117 | # -no-undefined required for building DLLs on Windows |
@@ -103,51 +122,21 @@ version_script = -export-symbols-regex "^(webkit_|k?JS).*" | |||
103 | endif | 122 | endif |
104 | 123 | ||
105 | if OS_GNU | 124 | if OS_GNU |
106 | version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter | 125 | version_script = -Wl,--version-script,$(srcdir)/Source/autotools/symbols.filter |
107 | endif | 126 | endif |
108 | 127 | ||
109 | # Convenience libraries | ||
110 | noinst_LTLIBRARIES += \ | ||
111 | libJavaScriptCore.la | ||
112 | |||
113 | nodist_EXTRA_libJavaScriptCore_la_SOURCES = \ | ||
114 | $(javascriptcore_built_nosources) | ||
115 | |||
116 | nodist_libJavaScriptCore_la_SOURCES = \ | ||
117 | $(javascriptcore_built_sources) | ||
118 | |||
119 | libJavaScriptCore_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/JavaScriptCore | ||
120 | libJavaScriptCore_la_HEADERS = $(javascriptcore_h_api) | ||
121 | |||
122 | libJavaScriptCore_la_SOURCES = \ | ||
123 | $(javascriptcore_sources) | ||
124 | |||
125 | libJavaScriptCore_la_LIBADD = \ | ||
126 | $(UNICODE_LIBS) \ | ||
127 | $(GLIB_LIBS) \ | ||
128 | -lpthread | ||
129 | |||
130 | libJavaScriptCore_la_CXXFLAGS = \ | ||
131 | $(global_cxxflags) \ | ||
132 | $(libJavaScriptCore_la_CFLAGS) | ||
133 | |||
134 | libJavaScriptCore_la_CFLAGS = \ | ||
135 | -fstrict-aliasing \ | ||
136 | -O3 \ | ||
137 | $(global_cflags) \ | ||
138 | $(GLIB_CFLAGS) \ | ||
139 | $(UNICODE_CFLAGS) | ||
140 | |||
141 | libJavaScriptCore_la_CPPFLAGS = \ | ||
142 | $(global_cppflags) \ | ||
143 | $(javascriptcore_cppflags) | ||
144 | |||
145 | # Extra checks and flags | 128 | # Extra checks and flags |
146 | global_cppflags += \ | 129 | global_cppflags += \ |
147 | -DBUILDING_CAIRO__=1 \ | 130 | -DBUILDING_CAIRO__=1 \ |
148 | -DBUILDING_GTK__=1 \ | 131 | -DBUILDING_GTK__=1 \ |
149 | -DWTF_CHANGES | 132 | -DWTF_CHANGES |
150 | 133 | ||
134 | # For the Gtk port we want to use XP_UNIX both in X11 and Mac | ||
135 | if !TARGET_WIN32 | ||
136 | global_cppflags += \ | ||
137 | -DXP_UNIX | ||
138 | endif | ||
139 | |||
151 | if USE_ICU_UNICODE | 140 | if USE_ICU_UNICODE |
152 | global_cppflags += \ | 141 | global_cppflags += \ |
153 | -DWTF_USE_ICU_UNICODE=1 | 142 | -DWTF_USE_ICU_UNICODE=1 |
@@ -178,7 +167,6 @@ endif | |||
178 | 167 | ||
179 | if !ENABLE_DEBUG | 168 | if !ENABLE_DEBUG |
180 | global_cppflags += -DNDEBUG | 169 | global_cppflags += -DNDEBUG |
181 | global_cflags += $(SYMBOL_VISIBILITY) | ||
182 | else | 170 | else |
183 | global_cppflags += \ | 171 | global_cppflags += \ |
184 | -DG_DISABLE_DEPRECATED \ | 172 | -DG_DISABLE_DEPRECATED \ |
@@ -198,17 +186,26 @@ global_cppflags += \ | |||
198 | endif | 186 | endif |
199 | 187 | ||
200 | EXTRA_DIST += \ | 188 | EXTRA_DIST += \ |
201 | $(srcdir)/autotools/symbols.filter \ | 189 | $(srcdir)/Source/autotools/symbols.filter \ |
202 | $(srcdir)/gtk-doc.make \ | 190 | $(srcdir)/gtk-doc.make \ |
203 | $(srcdir)/WebKit/LICENSE | 191 | $(srcdir)/Source/WebKit/LICENSE |
204 | 192 | ||
205 | # Include module makefiles | 193 | # Include module makefiles |
206 | include JavaScriptCore/GNUmakefile.am | 194 | include Source/JavaScriptCore/GNUmakefile.am |
207 | include WebCore/GNUmakefile.am | 195 | include Source/WebCore/GNUmakefile.am |
208 | include WebKit/gtk/GNUmakefile.am | 196 | include Source/WebKit/gtk/GNUmakefile.am |
209 | include WebCore/bindings/gobject/GNUmakefile.am | 197 | include Source/WebCore/bindings/gobject/GNUmakefile.am |
210 | include WebKitTools/GNUmakefile.am | 198 | include Tools/GNUmakefile.am |
211 | include WebKit/gtk/po/GNUmakefile.am | 199 | include Source/WebKit/gtk/po/GNUmakefile.am |
200 | include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am | ||
201 | |||
202 | if ENABLE_WEBKIT2 | ||
203 | include Source/WebKit2/GNUmakefile.am | ||
204 | include Tools/MiniBrowser/gtk/GNUmakefile.am | ||
205 | include Tools/WebKitTestRunner/GNUmakefile.am | ||
206 | # [GTK] Refactor the translations now that we have webkit2 | ||
207 | # https://bugs.webkit.org/show_bug.cgi?id=55153 | ||
208 | endif | ||
212 | 209 | ||
213 | # Autogenerated sources | 210 | # Autogenerated sources |
214 | BUILT_SOURCES += \ | 211 | BUILT_SOURCES += \ |
@@ -229,11 +226,11 @@ MAINTAINERCLEANFILES += \ | |||
229 | $(builddir)/doltcompile \ | 226 | $(builddir)/doltcompile \ |
230 | $(builddir)/doltlibtool \ | 227 | $(builddir)/doltlibtool \ |
231 | $(srcdir)/aconfig.h.in \ | 228 | $(srcdir)/aconfig.h.in \ |
232 | $(srcdir)/autotools/config.* \ | 229 | $(srcdir)/Source/autotools/config.* \ |
233 | $(srcdir)/autotools/compile \ | 230 | $(srcdir)/Source/autotools/compile \ |
234 | $(srcdir)/autotools/depcomp \ | 231 | $(srcdir)/Source/autotools/depcomp \ |
235 | $(srcdir)/autotools/install-sh \ | 232 | $(srcdir)/Source/autotools/install-sh \ |
236 | $(srcdir)/autotools/missing \ | 233 | $(srcdir)/Source/autotools/missing \ |
237 | $(srcdir)/configure \ | 234 | $(srcdir)/configure \ |
238 | $(srcdir)/GNUmakefile.in \ | 235 | $(srcdir)/GNUmakefile.in \ |
239 | $(srcdir)/INSTALL \ | 236 | $(srcdir)/INSTALL \ |
@@ -242,7 +239,7 @@ MAINTAINERCLEANFILES += \ | |||
242 | 239 | ||
243 | # Older automake versions (1.7) place Plo files in a different place so we need | 240 | # Older automake versions (1.7) place Plo files in a different place so we need |
244 | # to create the output directory manually. | 241 | # to create the output directory manually. |
245 | all-local: | 242 | all-local: stamp-po |
246 | $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources | 243 | $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources |
247 | 244 | ||
248 | # remove built sources and program directories | 245 | # remove built sources and program directories |