Changeset 29033 in webkit
- Timestamp:
- Dec 29, 2007 7:33:44 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r29006 r29033 1 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com> 2 3 Reviewed by Alp Toker. 4 5 http://bugs.webkit.org/show_bug.cgi?id=16669 6 autotools update and fixes 7 8 Various fixes to the autotools build 9 10 * GNUmakefile.am: 11 - Remove ICU_FLAGS because it adds -g in the CFLAGS/CXXFLAGS 12 - Fix clean rules (Rodney Dawes) 13 - Added webcore specific variables, remove STDINT_H and 14 PTHREAD_NP_H checks (already included in config.h) 15 * autogen.sh: 16 - Loosen automake and aclocal requirement 17 * configure.ac: 18 - Workaround AC_PROG_CXX putting -g in CXXFLAGS. Only use -g 19 when doing a debug build (Rodney Dawes) 20 - Fix webkit target and remove traces of XBL 21 1 22 2007-12-27 Jan Michael Alonzo <jmalonzo@unpluggable.com> 2 23 -
trunk/GNUmakefile.am
r29006 r29033 1 AUTOMAKE_OPTIONS = subdir-objects 1 # Top-level Makefile rule for automake 2 # 3 # Variable conventions: 4 # 5 # _h_api = API headers that will be installed and included in the distribution 6 # _cppflags = flags that will be passed to the C/CXX Preprocessor 7 # _sources = sources that will be compiled and included in the distribution 8 # _headers = header files that will be part of the distribution 9 # _built_sources = files that will be autogenerated by the build system and 10 # will be part of the _SOURCES primary 11 # _built_nosources = files that are autogenerated but are not part of the 12 # _SOURCES primary 13 # _cleanfiles = files that will be removed by the clean target 14 # 15 # Sources, headers, flags, etc... should be added to the respective variables 16 # with the above suffix, e.g, webcore-specific sources should go to 17 # webcore_sources, gtk port-specific flags should go to webkitgtk_cppflags, 18 # etc... The only exceptions are the global variables. See Global Variables below. 19 # 20 # Global Variables 21 # 22 # global_cppflags = CPPFLAGS that apply to JSC, WebCore, and to any 23 # specific port 24 # global_cflags = CFLAGS and CXXFLAGS that apply to JSC, WebCore, and to 25 # any specific port 2 26 3 27 srcdir = @srcdir@ … … 45 69 lib_LTLIBRARIES = libJavaScriptCore.la libWebKitGtk.la 46 70 71 # 47 72 # JavaScriptCore 48 49 # Following are the variables we use in JavaScripCore/GNUmakefile.am50 #51 # javascriptcore_h_api - api headers to be included in the JSC library52 # javascriptcore_cppflags - CPP flags for JSC53 # javascriptcore_sources - source files to be included54 # javascriptcore_built_sources - autogenerated sources and/or header files that are part of _SOURCES55 # javascriptcore_built_nosources - same as above but not part of _SOURCES56 #57 # If you add or remove sources or header files, make sure you update the58 # following variables in JavaScriptCore/GNUmakefile.am59 60 73 javascriptcore_h_api := 61 74 javascriptcore_cppflags:= … … 64 77 javascriptcore_built_nosources := 65 78 66 # The variables above are already included below so we don'tneed to touch67 # these variables too often79 # The variables above are already included below so no need to touch 80 # these variables unless you really have to 68 81 libJavaScriptCore_ladir = $(prefix)/include/WebKit/JavaScriptCore 69 82 libJavaScriptCore_la_HEADERS := $(javascriptcore_h_api) … … 81 94 libJavaScriptCore_la_CPPFLAGS := $(global_cppflags) $(javascriptcore_cppflags) 82 95 83 # WebKitGtk 84 85 # The Following variables have the same meaning as JSC, with addition of: 86 # 87 # webcore_sources - These are port-independent sources and header files 88 # webkitgtk_headers - header files that will be included in _SOURCES 89 96 # 97 # WebCore 98 webcore_cppflags := 90 99 webcore_sources := 100 webcore_headers := 101 webcore_built_sources := 102 webcore_built_nosources := 103 104 # WebKitGtk 91 105 webkitgtk_h_api := 92 106 webkitgtk_headers := 93 107 webkitgtk_sources := 94 108 webkitgtk_cppflags := 109 webkitgtk_ldflags := 95 110 webkitgtk_built_sources := 96 111 webkitgtk_built_nosources := 112 webkitgtk_cleanfiles := 97 113 98 114 # No need to touch the following variables unless you have to. If you need to change the values … … 103 119 104 120 libWebKitGtk_la_SOURCES := \ 121 $(webcore_built_sources) \ 122 $(webcore_headers) \ 105 123 $(webcore_sources) \ 106 124 $(webkitgtk_built_sources) \ … … 112 130 $(global_cflags) \ 113 131 $(DEPENDENCIES_CFLAGS) \ 114 $(ICU_CFLAGS) \115 132 $(SQLITE3_CFLAGS) \ 116 133 $(GSTREAMER_CFLAGS) \ … … 121 138 $(global_cflags) \ 122 139 $(DEPENDENCIES_CFLAGS) \ 123 $(ICU_CFLAGS) \124 140 $(SQLITE3_CFLAGS) \ 125 141 $(GSTREAMER_CFLAGS) \ … … 129 145 libWebKitGtk_la_CPPFLAGS := \ 130 146 $(global_cppflags) \ 147 $(webcore_cppflags) \ 131 148 $(webkitgtk_cppflags) 132 149 133 libWebKitGtk_la_LIBADD := @LTLIBOBJS@ libJavaScriptCore.la 150 libWebKitGtk_la_LIBADD := @LTLIBOBJS@ libJavaScriptCore.la 134 151 135 152 libWebKitGtk_la_LDFLAGS := \ 153 $(webkitgtk_ldflags) \ 136 154 $(DEPENDENCIES_LIBS) \ 137 155 $(ICU_LIBS) \ … … 139 157 $(GSTREAMER_LIBS) \ 140 158 $(LIBXSLT_LIBS) \ 141 $(COVERAGE_LDFLAGS) 142 143 libWebKitGtk_la_LDFLAGS += \ 159 $(COVERAGE_LDFLAGS) \ 144 160 -lpthread \ 145 161 -ljpeg \ 146 162 -version-info @LIBWEBKITGTK_VERSION@ 147 163 164 # 148 165 # Extra checks and flags 149 150 166 global_cppflags += \ 151 167 -DBUILDING_GTK__=1 \ 152 168 -DUSE_SYSTEM_MALLOC \ 153 169 -DWTF_CHANGES 170 171 if TARGET_X11 172 global_cppflags += -DXP_UNIX 173 endif 154 174 155 175 if !ENABLE_DEBUG … … 166 186 endif 167 187 168 if TARGET_X11 169 global_cppflags += -DXP_UNIX 170 endif 171 172 if OS_LINUX 173 global_cppflags += -DHAVE_STDINT_H 174 endif 175 176 if OS_FREEBSD 177 global_cppflags += -DHAVE_PTHREAD_NP_H 188 if !ENABLE_DATABASE 189 global_cppflags += -DENABLE_DATABASE=0 190 endif 191 192 if !ENABLE_ICONDATABASE 193 global_cppflags += -DENABLE_ICONDATABASE=0 178 194 endif 179 195 … … 185 201 186 202 if ENABLE_VIDEO 187 libWebKitGtk_la_LDFLAGS+= -lgstinterfaces-0.10 -lgstvideo-0.10188 endif 189 190 # WebKit/GTK+ sources191 203 webkitgtk_ldflags += -lgstinterfaces-0.10 -lgstvideo-0.10 204 endif 205 206 # 207 # WEBKIT GTK+ 192 208 webkitgtk_cppflags += \ 193 209 -I $(top_builddir)/WebKit/gtk/WebView \ … … 215 231 WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \ 216 232 WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \ 217 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h 233 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h 218 234 219 235 webkitgtk_sources += \ … … 231 247 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp 232 248 249 webkitgtk_cleanfiles += \ 250 $(top_builddir)/Programs/GtkLauncher \ 251 $(top_builddir)/WebKit/gtk/WebKitGtk.pc 252 233 253 pkgconfigdir = $(libdir)/pkgconfig 234 254 pkgconfig_DATA = WebKit/gtk/WebKitGtk.pc … … 249 269 stamp-webkit-marshal.cpp: $(WEBKIT_MARSHAL_LIST) 250 270 echo "extern \"C\" {" > $(WEBKIT_MARSHAL).cpp && \ 251 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) \ 252 --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \ 271 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \ 253 272 echo timestamp > $(@F) 254 273 255 274 stamp-webkit-marshal.h: $(WEBKIT_MARSHAL_LIST) 256 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) \ 257 --header > $(WEBKIT_MARSHAL).h && \ 275 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(WEBKIT_MARSHAL).h && \ 258 276 echo timestamp > $(@F) 277 278 # END WEBKIT GTK+ 279 280 # Files that will be cleaned 281 MAINTAINERCLEANFILES := $(stamp_files) $(BUILT_SOURCES) 282 DISTCLEANFILES := $(stamp_files) $(BUILT_SOURCES) 283 CLEANFILES := $(stamp_files) $(BUILT_SOURCES) 284 285 # Include module makefiles 286 include JavaScriptCore/GNUmakefile.am 287 include WebCore/GNUmakefile.am 288 include WebKitTools/GNUmakefile.am 289 259 290 260 291 # Autogenerated sources … … 262 293 $(javascriptcore_built_sources) \ 263 294 $(javascriptcore_built_nosources) \ 295 $(webcore_built_sources) \ 296 $(webcore_built_nosources) \ 264 297 $(webkitgtk_built_sources) \ 265 298 $(webkitgtk_built_nosources) 266 299 267 # Files that will be cleaned268 MAINTAINERCLEANFILES := $(stamp_files) $(BUILT_SOURCES)269 DISTCLEANFILES := $(stamp_files) $(BUILT_SOURCES)270 CLEANFILES := $(stamp_files) $(BUILT_SOURCES)271 272 # Include module makefiles273 include JavaScriptCore/GNUmakefile.am274 include WebCore/GNUmakefile.am275 include WebKitTools/GNUmakefile.am276 277 300 # Project-wide clean rules 278 clean-local: 279 -rm -rf $(GENSOURCES) 280 -rm -f $(top_builddir)/Programs/GtkLauncher $(top_builddir)/Programs/DumpRenderTree 281 -rm -f $(top_builddir)/Programs/testkjs $(top_builddir)/Programs/dftables 282 -rm -f $(top_builddir/WebKit/gtk/WebKitGtk-1.0.pc 283 284 distclean-local: 285 -rm -f $(srcdir)/aconfig.h.in configure config.* GNUmakefile.in \ 286 INSTALL README 287 301 CLEANFILES += \ 302 $(webkitgtk_cleanfiles) \ 303 $(top_builddir)/Programs/DumpRenderTree \ 304 $(top_builddir)/Programs/testkjs \ 305 $(top_builddir)/Programs/dftables \ 306 $(GENSOURCES) 307 308 MAINTAINERCLEANFILES += \ 309 $(srcdir)/aconfig.h.in \ 310 configure \ 311 config.* \ 312 GNUmakefile.in \ 313 INSTALL \ 314 README -
trunk/WebCore/ChangeLog
r29031 r29033 1 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com> 2 3 Reviewed by Alp Toker. 4 5 http://bugs.webkit.org/show_bug.cgi?id=16669 6 autotools update and fixes 7 8 Autotools update and database/icon database inclusion guard fixes 9 10 * GNUmakefile.am: 11 - Update autotools config as per -r29012 changes 12 - Fix CSSGrammar.h/cpp generation (Seo Sanghyeon, sanxiyn) 13 * dom/Document.cpp: 14 * loader/icon/IconDatabase.h: 15 * page/DOMWindow.cpp: 16 * page/InspectorController.cpp: 17 * page/Settings.cpp: 18 * storage/Database.h: 19 - Remove ENABLE(DATABASE) inclusion guard. Let the includer add the guard instead. 20 1 21 2007-12-29 Nikolas Zimmermann <zimmermann@kde.org> 2 22 -
trunk/WebCore/GNUmakefile.am
r29006 r29033 5 5 SVG_FEATURES := 6 6 7 web kitgtk_cppflags += \7 webcore_cppflags += \ 8 8 -I $(srcdir)/WebCore \ 9 9 -I $(srcdir)/WebCore/ForwardingHeaders \ … … 13 13 -I $(srcdir)/WebCore/platform/text \ 14 14 -I $(srcdir)/WebCore/loader \ 15 -I $(srcdir)/WebCore/loader/icon \ 15 16 -I $(srcdir)/WebCore/css \ 16 17 -I $(srcdir)/WebCore/dom \ … … 23 24 -I $(srcdir)/WebCore/bindings/js \ 24 25 -I $(srcdir)/WebCore/platform/image-decoders \ 25 -I $(srcdir)/WebCore/platform/gtk \26 -I $(srcdir)/WebCore/platform/graphics/gtk \27 -I $(srcdir)/WebCore/platform/graphics/cairo \28 -I $(srcdir)/WebCore/svg/graphics/cairo \29 -I $(srcdir)/WebCore/platform/network/curl \30 -I $(srcdir)/WebCore/platform/image-decoders \31 26 -I $(srcdir)/WebCore/platform/image-decoders/bmp \ 32 27 -I $(srcdir)/WebCore/platform/image-decoders/gif \ … … 36 31 -I $(srcdir)/WebCore/platform/image-decoders/xbm \ 37 32 -I $(srcdir)/WebCore/rendering \ 33 -I $(top_builddir)/WebCore/bindings/js 34 35 webkitgtk_cppflags += \ 36 -I $(srcdir)/WebCore/platform/gtk \ 37 -I $(srcdir)/WebCore/platform/graphics/gtk \ 38 -I $(srcdir)/WebCore/platform/graphics/cairo \ 39 -I $(srcdir)/WebCore/svg/graphics/cairo \ 40 -I $(srcdir)/WebCore/platform/network/curl \ 38 41 -I $(srcdir)/WebCore/loader/gtk \ 39 42 -I $(srcdir)/WebCore/page/gtk \ 40 43 -I $(srcdir)/WebKit/gtk/WebCoreSupport \ 41 -I $(srcdir)/WebKit/gtk/WebView \ 42 -I $(top_builddir)/WebCore/bindings/js 43 44 webkitgtk_built_nosources += \ 44 -I $(srcdir)/WebKit/gtk/WebView 45 46 webcore_built_nosources += \ 45 47 DerivedSources/DocTypeStrings.cpp \ 46 48 DerivedSources/tokenizer.cpp \ … … 57 59 WebCore/bindings/js/JSHTMLInputElementBaseTable.cpp 58 60 59 webkitgtk_built_sources += \ 61 webcore_built_sources += \ 62 DerivedSources/CSSPropertyNames.h \ 63 DerivedSources/CSSValueKeywords.h \ 64 DerivedSources/XLinkNames.cpp \ 65 DerivedSources/SVGElementFactory.cpp \ 66 DerivedSources/SVGNames.cpp \ 60 67 DerivedSources/HTMLNames.h \ 61 68 DerivedSources/HTMLNames.cpp \ … … 65 72 DerivedSources/CSSGrammar.h \ 66 73 DerivedSources/CSSGrammar.cpp \ 67 DerivedSources/CSSPropertyNames.h \68 DerivedSources/CSSValueKeywords.h \69 74 DerivedSources/UserAgentStyleSheets.h \ 70 75 DerivedSources/UserAgentStyleSheetsData.cpp \ … … 431 436 WebCore/xml/DOMParser.idl \ 432 437 WebCore/xml/XMLSerializer.idl 438 439 webcore_headers += \ 440 WebCore/loader/icon/IconDatabase.h 433 441 434 442 webcore_sources += \ … … 968 976 FEATURE_DEFINES_JAVASCRIPT += ENABLE_DATABASE=1 969 977 970 web kitgtk_built_sources += \978 webcore_built_sources += \ 971 979 DerivedSources/JSDatabase.h \ 972 980 DerivedSources/JSSQLError.h \ … … 987 995 WebCore/storage/SQLTransaction.idl 988 996 989 web kitgtk_cppflags += \997 webcore_cppflags += \ 990 998 -DENABLE_DATABASE=1 \ 991 999 -I $(top_srcdir)/WebCore/platform/sql \ 992 -I $(top_srcdir)/WebCore/storage 993 994 web kitgtk_sources += \1000 -I $(top_srcdir)/WebCore/storage 1001 1002 webcore_sources += \ 995 1003 WebCore/platform/sql/SQLiteAuthorizer.cpp \ 996 1004 WebCore/platform/sql/SQLiteDatabase.cpp \ … … 1022 1030 # ---- 1023 1031 if ENABLE_ICONDATABASE 1024 webkitgtk_cppflags += \ 1025 -DENABLE_ICONDATABASE=1 \ 1026 -I $(top_srcdir)/WebCore/loader/icon 1027 1028 webkitgtk_sources += \ 1032 webcore_cppflags += -DENABLE_ICONDATABASE=1 1033 1034 webcore_sources += \ 1029 1035 WebCore/loader/icon/IconDatabase.cpp \ 1030 1036 WebCore/loader/icon/IconRecord.cpp \ … … 1032 1038 1033 1039 else 1034 web kitgtk_sources += \1040 webcore_sources += \ 1035 1041 WebCore/loader/icon/IconDatabaseNone.cpp 1036 1042 … … 1043 1049 FEATURE_DEFINES_JAVASCRIPT += ENABLE_VIDEO=1 1044 1050 1045 web kitgtk_cppflags += -DENABLE_VIDEO=11051 webcore_cppflags += -DENABLE_VIDEO=1 1046 1052 1047 1053 if ENABLE_DEBUG 1048 web kitgtk_cppflags += -DGST_DISABLE_DEPRECATED1054 webcore_cppflags += -DGST_DISABLE_DEPRECATED 1049 1055 endif # END ENABLE_DEBUG 1050 1056 1051 web kitgtk_built_sources += \1057 webcore_built_sources += \ 1052 1058 DerivedSources/JSHTMLSourceElement.h \ 1053 1059 DerivedSources/JSHTMLAudioElement.h \ … … 1074 1080 WebCore/html/VoidCallback.idl 1075 1081 1076 web kitgtk_sources += \1082 webcore_sources += \ 1077 1083 WebCore/html/HTMLAudioElement.cpp \ 1078 1084 WebCore/html/HTMLMediaElement.cpp \ … … 1081 1087 WebCore/html/TimeRanges.cpp \ 1082 1088 WebCore/platform/graphics/MediaPlayer.cpp \ 1083 WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp \1084 WebCore/platform/graphics/gtk/VideoSinkGStreamer.cpp \1085 1089 WebCore/rendering/RenderVideo.cpp \ 1086 1090 WebCore/rendering/RenderMedia.cpp \ 1087 WebCore/bindings/js/JSHTMLAudioElementConstructor.cpp 1091 WebCore/bindings/js/JSHTMLAudioElementConstructor.cpp 1092 1093 webkitgtk_sources += \ 1094 WebCore/platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp \ 1095 WebCore/platform/graphics/gtk/VideoSinkGStreamer.cpp 1088 1096 1089 1097 endif # END ENABLE_VIDEO … … 1095 1103 FEATURE_DEFINES_JAVASCRIPT += ENABLE_XPATH=1 1096 1104 1097 web kitgtk_cppflags += -DENABLE_XPATH=11098 1099 web kitgtk_built_sources += \1105 webcore_cppflags += -DENABLE_XPATH=1 1106 1107 webcore_built_sources += \ 1100 1108 DerivedSources/XPathGrammar.h \ 1101 1109 DerivedSources/XPathGrammar.cpp \ … … 1115 1123 WebCore/xml/XPathEvaluator.idl 1116 1124 1117 web kitgtk_sources += \1125 webcore_sources += \ 1118 1126 WebCore/xml/NativeXPathNSResolver.cpp \ 1119 1127 WebCore/xml/XPathEvaluator.cpp \ … … 1152 1160 FEATURE_DEFINES_JAVASCRIPT += ENABLE_XSLT=1 1153 1161 1154 web kitgtk_cppflags += -DENABLE_XSLT=11155 1156 web kitgtk_sources += \1162 webcore_cppflags += -DENABLE_XSLT=1 1163 1164 webcore_sources += \ 1157 1165 WebCore/xml/XSLImportRule.cpp \ 1158 1166 WebCore/xml/XSLStyleSheet.cpp \ … … 1163 1171 1164 1172 # ---- 1165 # XBL Support1166 # ----1167 if ENABLE_XBL1168 FEATURE_DEFINES_JAVASCRIPT += ENABLE_XBL=11169 1170 webkitgtk_cppflags += -DENABLE_XBL=11171 1172 endif # END ENABLE_XBL1173 1174 # ----1175 1173 # SVG Support 1174 # 1175 # FIXME: allow a more fine-grained inclusion/generation of sources per SVG feature 1176 1176 # ---- 1177 1177 if ENABLE_SVG 1178 1178 FEATURE_DEFINES_JAVASCRIPT += ENABLE_SVG=1 1179 1179 1180 webkitgtk_built_sources += \ 1181 DerivedSources/XLinkNames.cpp \ 1182 DerivedSources/SVGElementFactory.cpp \ 1183 DerivedSources/SVGNames.cpp \ 1180 webcore_built_sources += \ 1184 1181 DerivedSources/JSSVGAElement.h \ 1185 1182 DerivedSources/JSSVGAngle.h \ … … 1295 1292 DerivedSources/JSSVGFETurbulenceElement.h \ 1296 1293 DerivedSources/JSSVGFilterElement.h \ 1294 DerivedSources/JSSVGFontElement.h \ 1297 1295 DerivedSources/JSSVGFontFaceElement.h \ 1298 1296 DerivedSources/JSSVGFontFaceFormatElement.h \ … … 1302 1300 DerivedSources/JSSVGForeignObjectElement.h \ 1303 1301 DerivedSources/JSSVGGElement.h \ 1302 DerivedSources/JSSVGGlyphElement.h \ 1304 1303 DerivedSources/JSSVGGradientElement.h \ 1305 1304 DerivedSources/JSSVGImageElement.h \ … … 1309 1308 DerivedSources/JSSVGMaskElement.h \ 1310 1309 DerivedSources/JSSVGMarkerElement.h \ 1310 DerivedSources/JSSVGMissingGlyphElement.h \ 1311 1311 DerivedSources/JSSVGZoomEvent.h \ 1312 1312 DerivedSources/JSSVGAElement.cpp \ … … 1496 1496 WebCore/svg/SVGFETurbulenceElement.idl \ 1497 1497 WebCore/svg/SVGFilterElement.idl \ 1498 WebCore/svg/SVGFontElement.idl \ 1498 1499 WebCore/svg/SVGFontFaceElement.idl \ 1499 1500 WebCore/svg/SVGFontFaceFormatElement.idl \ … … 1502 1503 WebCore/svg/SVGFontFaceUriElement.idl \ 1503 1504 WebCore/svg/SVGForeignObjectElement.idl \ 1505 WebCore/svg/SVGGElement.idl \ 1506 WebCore/svg/SVGGlyphElement.idl \ 1504 1507 WebCore/svg/SVGGElement.idl \ 1505 1508 WebCore/svg/SVGGradientElement.idl \ … … 1513 1516 WebCore/svg/SVGMatrix.idl \ 1514 1517 WebCore/svg/SVGMetadataElement.idl \ 1518 WebCore/svg/SVGMissingGlyphElement.idl \ 1515 1519 WebCore/svg/SVGNumber.idl \ 1516 1520 WebCore/svg/SVGNumberList.idl \ … … 1569 1573 WebCore/svg/SVGViewElement.idl 1570 1574 1571 web kitgtk_cppflags += \1575 webcore_cppflags += \ 1572 1576 -DENABLE_SVG=1 \ 1573 1577 -I \$(top_srcdir)/WebCore/svg \ … … 1575 1579 -I \$(top_srcdir)/WebCore/svg/graphics/filters 1576 1580 1577 web kitgtk_sources += \1581 webcore_sources += \ 1578 1582 WebCore/bindings/js/JSSVGElementWrapperFactory.cpp \ 1579 1583 WebCore/bindings/js/JSSVGMatrixCustom.cpp \ … … 1586 1590 WebCore/css/SVGCSSParser.cpp \ 1587 1591 WebCore/css/SVGCSSStyleSelector.cpp \ 1592 WebCore/css/SVGCSSFontFace.cpp \ 1588 1593 WebCore/rendering/SVGRenderStyle.cpp \ 1589 1594 WebCore/rendering/SVGRenderStyleDefs.cpp \ … … 1644 1649 WebCore/svg/SVGFilterPrimitiveStandardAttributes.cpp \ 1645 1650 WebCore/svg/SVGFitToViewBox.cpp \ 1651 WebCore/svg/SVGFont.cpp \ 1652 WebCore/svg/SVGFontElement.cpp \ 1646 1653 WebCore/svg/SVGFontFaceElement.cpp \ 1647 1654 WebCore/svg/SVGFontFaceFormatElement.cpp \ … … 1651 1658 WebCore/svg/SVGForeignObjectElement.cpp \ 1652 1659 WebCore/svg/SVGGElement.cpp \ 1660 WebCore/svg/SVGGlyphElement.cpp \ 1653 1661 WebCore/svg/SVGGradientElement.cpp \ 1654 1662 WebCore/svg/SVGImageElement.cpp \ … … 1662 1670 WebCore/svg/SVGMaskElement.cpp \ 1663 1671 WebCore/svg/SVGMetadataElement.cpp \ 1672 WebCore/svg/SVGMissingGlyphElement.cpp \ 1664 1673 WebCore/svg/SVGMPathElement.cpp \ 1665 1674 WebCore/svg/SVGNumberList.cpp \ … … 1763 1772 WebCore/rendering/SVGInlineTextBox.cpp \ 1764 1773 WebCore/rendering/SVGRenderSupport.cpp \ 1765 WebCore/rendering/SVGRootInlineBox.cpp \ 1774 WebCore/rendering/SVGRootInlineBox.cpp 1775 1776 webkitgtk_sources += \ 1766 1777 WebCore/svg/graphics/cairo/RenderPathCairo.cpp \ 1767 1778 WebCore/svg/graphics/cairo/SVGPaintServerCairo.cpp \ … … 1864 1875 # NOTE: older versions of bison do not inject an inclusion guard, so we do it 1865 1876 DerivedSources/CSSGrammar.h DerivedSources/CSSGrammar.cpp : $(WebCore)/css/CSSGrammar.y 1866 $(BISON) -d -p cssyy $< -o $ @1877 $(BISON) -d -p cssyy $< -o $(GENSOURCES)/CSSGrammar.cpp 1867 1878 touch $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp 1868 1879 echo '#ifndef CSSGrammar_h' > $(GENSOURCES)/CSSGrammar.h … … 1870 1881 cat $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp >> $(GENSOURCES)/CSSGrammar.h 1871 1882 echo '#endif' >> $(GENSOURCES)/CSSGrammar.h 1872 rm -f $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp1873 1883 1874 1884 # user agent style sheets 1875 1885 USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html4.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/svg.css 1886 1887 DerivedSources/UserAgentStyleSheetsData.cpp : DerivedSources/UserAgentStyleSheets.h 1888 1876 1889 DerivedSources/UserAgentStyleSheets.h : $(WebCore)/css/make-css-file-arrays.pl $(USER_AGENT_STYLE_SHEETS) 1877 1890 $(PERL) $< $@ UserAgentStyleSheetsData.cpp $(USER_AGENT_STYLE_SHEETS) -
trunk/WebCore/dom/Document.cpp
r28912 r29033 35 35 #include "CookieJar.h" 36 36 #include "DOMImplementation.h" 37 #include "DatabaseThread.h"38 37 #include "DocLoader.h" 39 38 #include "DocumentFragment.h" … … 106 105 #include "kjs_proxy.h" 107 106 107 #if ENABLE(DATABASE) 108 #include "DatabaseThread.h" 109 #endif 110 108 111 #if ENABLE(XPATH) 109 112 #include "XPathEvaluator.h" -
trunk/WebCore/loader/icon/IconDatabase.h
r27717 r29033 136 136 static String defaultDatabaseFilename(); 137 137 138 #if ENABLE(ICONDATABASE) 138 139 private: 139 #if ENABLE(ICONDATABASE)140 140 IconRecord* getOrCreateIconRecord(const String& iconURL); 141 141 PageURLRecord* getOrCreatePageURLRecord(const String& pageURL); -
trunk/WebCore/page/DOMWindow.cpp
r28570 r29033 34 34 #include "Console.h" 35 35 #include "DOMSelection.h" 36 #include "Database.h"37 36 #include "Document.h" 38 37 #include "Element.h" … … 49 48 #include <algorithm> 50 49 #include <wtf/MathExtras.h> 50 51 #if ENABLE(DATABASE) 52 #include "Database.h" 53 #endif 51 54 52 55 using std::min; -
trunk/WebCore/page/InspectorController.cpp
r28708 r29033 32 32 #include "CString.h" 33 33 #include "CachedResource.h" 34 #include "Database.h"35 34 #include "DocLoader.h" 36 35 #include "Document.h" … … 64 63 65 64 #if ENABLE(DATABASE) 65 #include "Database.h" 66 66 #include "JSDatabase.h" 67 67 #endif -
trunk/WebCore/page/Settings.cpp
r28872 r29033 27 27 #include "Settings.h" 28 28 29 #include "DatabaseTracker.h"30 29 #include "Frame.h" 31 30 #include "FrameTree.h" … … 33 32 #include "PageCache.h" 34 33 #include "HistoryItem.h" 34 35 #if ENABLE(DATABASE) 36 #include "DatabaseTracker.h" 37 #endif 35 38 36 39 namespace WebCore { -
trunk/WebCore/storage/Database.h
r28912 r29033 29 29 #ifndef Database_h 30 30 #define Database_h 31 32 #if ENABLE(DATABASE)33 31 34 32 #include "PlatformString.h" … … 158 156 } // namespace WebCore 159 157 160 #endif161 162 158 #endif // Database_h -
trunk/WebKit/gtk/ChangeLog
r29013 r29033 1 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com> 2 3 Reviewed by Alp Toker. 4 5 http://bugs.webkit.org/show_bug.cgi?id=16669 6 autotools update and fixes 7 8 pkgconfig file and icon database inclusion fix 9 10 * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags 11 * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions 12 1 13 2007-12-28 Christian Dywan <christian@twotoasts.de> 2 14 -
trunk/WebKit/gtk/WebKitGtk.pc.in
r28997 r29033 9 9 Requires:glib-2.0, gobject-2.0, gthread-2.0, gdk-2.0, gtk+-2.0, pango, libcurl, cairo, fontconfig, freetype2, libxml-2.0 10 10 Libs: -L${libdir} -lWebKitGtk @DEPENDENCIES_LIBS@ @ICU_LIBS@ @SQLITE3_LIBS@ @GSTREAMER_LIBS@ @LIBXSLT_LIBS@ 11 Cflags: -I${includedir}/WebKit @DEPENDENCIES_CFLAGS@ @ ICU_CFLAGS@ @SQLITE3_CFLAGS@ @GSTREAMER_CFLAGS@ @LIBXSLT_CFLAGS@11 Cflags: -I${includedir}/WebKit @DEPENDENCIES_CFLAGS@ @SQLITE3_CFLAGS@ @GSTREAMER_CFLAGS@ @LIBXSLT_CFLAGS@ -
trunk/WebKit/gtk/WebView/webkitprivate.cpp
r28963 r29033 22 22 #include "webkitprivate.h" 23 23 #include "ChromeClientGtk.h" 24 #include "DatabaseTracker.h"25 24 #include "FrameLoader.h" 26 25 #include "FrameLoaderClientGtk.h" … … 29 28 #include "Pasteboard.h" 30 29 #include "PasteboardHelperGtk.h" 30 #include "Threading.h" 31 32 #if ENABLE(DATABASE) 33 #include "DatabaseTracker.h" 34 #endif 31 35 32 36 using namespace WebCore; -
trunk/autogen.sh
r28997 r29033 16 16 } 17 17 18 if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then 19 AUTOMAKE=automake-1.9 20 ACLOCAL=aclocal-1.9 21 else 18 (automake --version) < /dev/null > /dev/null 2>&1 || { 22 19 echo 23 echo "You must have automake 1.9.xinstalled to compile $PROJECT."20 echo "You must have automake installed to compile $PROJECT." 24 21 echo "Install the appropriate package for your distribution," 25 22 echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/" 26 23 DIE=1 27 fi 24 } 28 25 29 26 if test "$DIE" -eq 1; then … … 35 32 touch README INSTALL 36 33 37 $ACLOCAL|| exit $?34 aclocal || exit $? 38 35 libtoolize --force || exit $? 39 36 autoheader || exit $? 40 $AUTOMAKE--foreign --add-missing || exit $?37 automake --foreign --add-missing || exit $? 41 38 autoconf || exit $? 42 39 43 ./configure --enable-maintainer-mode$AUTOGEN_CONFIGURE_ARGS "$@" || exit $?40 ./configure $AUTOGEN_CONFIGURE_ARGS "$@" || exit $? -
trunk/configure.ac
r28997 r29033 38 38 esac 39 39 40 # If CXXFLAGS and CFLAGS are unset, default to -O2 41 # This is to tell automake not to include '-g' if CXXFLAGS is not set 42 # For more info - http://www.gnu.org/software/automake/manual/autoconf.html#C_002b_002b-Compiler 43 if test -z "$CXXFLAGS"; then 44 CXXFLAGS="-O2" 45 fi 46 if test -z "$CFLAGS"; then 47 CFLAGS="-O2" 48 fi 49 40 50 # programs 41 51 AM_PROG_LIBTOOL … … 43 53 AM_PROG_CC_STDC 44 54 AC_PROG_CXX 55 AC_PROG_CXX_C_O 45 56 AM_PROG_CC_C_O 46 57 … … 116 127 # determine the GDK/GTK+ target 117 128 AC_MSG_CHECKING([the target for WebKit GTK+]) 118 AC_ARG_WITH(webkit target,129 AC_ARG_WITH(webkit_target, 119 130 AC_HELP_STRING([--with-webkit-target=@<:@x11/win32/quartz/directfb@:>@], 120 131 [Select webkit target [default=x11]]), 121 [],[with_webkit target="x11"])122 123 case "$with_webkit target" in132 [],[with_webkit_target="x11"]) 133 134 case "$with_webkit_target" in 124 135 x11|win32|quartz|directfb) ;; 125 136 *) AC_MSG_ERROR([Invalid target: must be x11, quartz, win32, or directfb.]) ;; 126 137 esac 127 138 128 AC_MSG_RESULT([$with_webkit target])139 AC_MSG_RESULT([$with_webkit_target]) 129 140 130 141 # minimum base dependencies … … 174 185 AC_HELP_STRING([--enable-database], 175 186 [enable HTML5 client-side storage support [default=no]]), 176 [],[enable_database=" yes"])187 [],[enable_database="no"]) 177 188 AC_MSG_RESULT([$enable_database]) 178 189 179 190 # check whether to build with icon database support 180 191 AC_MSG_CHECKING([whether to enable icon database support]) 181 AC_ARG_ENABLE(icon database,192 AC_ARG_ENABLE(icon_database, 182 193 AC_HELP_STRING([--enable-icon-database], 183 194 [enable icon database [default=no]]), 184 [],[enable_icon_database=" yes"])195 [],[enable_icon_database="no"]) 185 196 AC_MSG_RESULT([$enable_icon_database]) 186 197 … … 201 212 AC_MSG_RESULT([$enable_xpath]) 202 213 203 # check whether to enable XBL support204 AC_MSG_CHECKING([whether to enable XBL support])205 AC_ARG_ENABLE(xbl,206 AC_HELP_STRING([--enable-xbl],207 [enable support for XBL [default=no]]),208 [],[enable_xbl="no"])209 AC_MSG_RESULT([$enable_xbl])210 211 214 # check whether to enable XSLT support 212 215 AC_MSG_CHECKING([whether to enable XSLT support]) … … 272 275 [],[enable_coverage="no"]) 273 276 AC_MSG_RESULT([$enable_coverage]) 277 278 # Add '-g' flag to gcc if it's debug build 279 if test "$enable_debug" = "yes"; then 280 CXXFLAGS="$CXXFLAGS -g" 281 CFLAGS="$CFLAGS -g" 282 fi 274 283 275 284 # check if sqlite 3 is available … … 326 335 327 336 # target conditionals 328 AM_CONDITIONAL([TARGET_X11], [test "$with_webkit target" = "x11"])329 AM_CONDITIONAL([TARGET_WIN32], [test "$with_webkit target" = "win32"])330 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_webkit target" = "quartz"])331 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_webkit target" = "directfb"])337 AM_CONDITIONAL([TARGET_X11], [test "$with_webkit_target" = "x11"]) 338 AM_CONDITIONAL([TARGET_WIN32], [test "$with_webkit_target" = "win32"]) 339 AM_CONDITIONAL([TARGET_QUARTZ], [test "$with_webkit_target" = "quartz"]) 340 AM_CONDITIONAL([TARGET_DIRECTFB], [test "$with_webkit_target" = "directfb"]) 332 341 333 342 # WebKit feature conditionals … … 336 345 AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"]) 337 346 AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"]) 338 AM_CONDITIONAL([ENABLE_XBL],[test "$enable_xbl" = "yes"])339 347 AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"]) 340 348 AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"]) … … 348 356 AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"]) 349 357 350 351 358 AC_CONFIG_FILES([ 352 359 GNUmakefile … … 360 367 WebKit was configured with the following options: 361 368 362 Target : $with_webkit target369 Target : $with_webkit_target 363 370 Enable debug : $enable_debug 364 371 Icon database support : $enable_icon_database … … 373 380 XPATH support : $enable_xpath 374 381 XSLT support : $enable_xslt 375 XBL support : $enable_xbl376 382 Code coverage support : $enable_coverage 377 383 "
Note: See TracChangeset
for help on using the changeset viewer.