Changeset 101174 in webkit
- Timestamp:
- Nov 25, 2011, 8:19:44 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 deleted
- 10 edited
- 1 moved
-
ChangeLog (modified) (1 diff)
-
GNUmakefile.am (modified) (2 diffs)
-
Source/WebKit/gtk/ChangeLog (modified) (1 diff)
-
Source/WebKit/gtk/GNUmakefile.am (modified) (2 diffs)
-
Source/WebKit/gtk/GNUmakefile.gtk-doc.am (deleted)
-
Source/WebKit/gtk/docs/GNUmakefile.am (deleted)
-
Source/WebKit/gtk/docs/version.xml.in (deleted)
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/GNUmakefile.am (modified) (1 diff)
-
Source/WebKit2/UIProcess/API/gtk/docs/build-gtkdoc (deleted)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/GNUmakefile.am (modified) (1 diff)
-
Tools/Scripts/webkitdirs.pm (modified) (1 diff)
-
Tools/gtk (added)
-
Tools/gtk/common.py (added)
-
Tools/gtk/generate-gtkdoc (added)
-
Tools/gtk/gtkdoc.py (moved) (moved from trunk/Source/WebKit2/UIProcess/API/gtk/docs/gtkdoc.py ) (5 diffs)
-
configure.ac (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r101089 r101174 1 2011-11-17 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] Integrate build-gtkdoc into build-webkit and make 4 https://bugs.webkit.org/show_bug.cgi?id=72626 5 6 Reviewed by Philippe Normand. 7 8 * GNUmakefile.am: Remove references to old gtkdoc files. Update 9 the dist-hook to include copying documentation into the distribution. 10 This also means that the build will fail if documentation hasn't been 11 generated before 'make dist.' 12 * configure.ac: Ditto. 13 1 14 2011-11-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 15 -
trunk/GNUmakefile.am
r98498 r101174 208 208 include Tools/GNUmakefile.am 209 209 include Source/WebKit/gtk/po/GNUmakefile.am 210 include Source/WebKit/gtk/docs/GNUmakefile.am211 210 include Tools/DumpRenderTree/gtk/GNUmakefile.ImageDiff.am 212 211 … … 266 265 distclean-local: 267 266 -rm -rf $(GENSOURCES) $(GENPROGRAMS) 267 268 dist-hook: doc-dist-hook 269 doc-dist-hook: docs-build.stamp 270 cp $(WebKit)/NEWS $(distdir) 271 @mkdir -p $(distdir)/Documentation/webkitgtk/html 272 @mkdir -p $(distdir)/Documentation/webkitgtk/tmpl 273 @-cp ./Documentation/webkitgtk/tmpl/*.sgml $(distdir)/Documentation/webkitgtk/tmpl 274 @cp ./Documentation/webkitgtk/html/* $(distdir)/Documentation/webkitgtk/html 275 if ENABLE_WEBKIT2 276 @mkdir -p $(distdir)/Documentation/webkit2gtk/html 277 @mkdir -p $(distdir)/Documentation/webkit2gtk/tmpl 278 @-cp ./Documentation/webkit2gtk/tmpl/*.sgml $(distdir)/Documentation/webkit2gtk/tmpl 279 @cp ./Documentation/webkit2gtk/html/* $(distdir)/Documentation/webkit2gtk/html 280 endif -
trunk/Source/WebKit/gtk/ChangeLog
r101049 r101174 1 2011-11-17 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] Integrate build-gtkdoc into build-webkit and make 4 https://bugs.webkit.org/show_bug.cgi?id=72626 5 6 Reviewed by Philippe Normand. 7 8 * docs/GNUmakefile.am: Removed. 9 * docs/version.xml.in: Removed. 10 1 11 2011-11-23 Kaustubh Atrawalkar <kaustubh@motorola.com> 2 12 -
trunk/Source/WebKit/gtk/GNUmakefile.am
r98554 r101174 385 385 $(WebKit)/ChangeLog \ 386 386 $(WebKit)/NEWS \ 387 $(WebKit)/docs/webkitgtk-docs.sgml \ 388 $(WebKit)/docs/webkitgtk-sections.txt \ 389 $(WebKit)/docs/webkitgtk.types \ 390 $(WebKit)/docs/webkitenvironment.xml \ 391 $(WebKit)/docs/webkitgtk-overrides.txt \ 387 392 $(WebKit)/webkitmarshal.list \ 388 $(WebKit)/GNUmakefile.gtk-doc.am \389 393 $(WebKit)/po/* \ 390 394 $(WebKit)/resources/* \ … … 594 598 $(top_builddir)/Source/WebKit/gtk/webkit/webkitversion.h 595 599 596 dist-hook:597 cp $(WebKit)/NEWS $(distdir)598 600 install-data-local: po-install-data-local 599 601 installdirs-data-local: po-installdirs-data-local -
trunk/Source/WebKit2/ChangeLog
r101167 r101174 1 2011-11-17 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] Integrate build-gtkdoc into build-webkit and make 4 https://bugs.webkit.org/show_bug.cgi?id=72626 5 6 Reviewed by Philippe Normand. 7 8 * GNUmakefile.am: Removed references to build-gtkdoc and gtkdoc.py. 9 * UIProcess/API/gtk/docs/build-gtkdoc: Removed. 10 1 11 2011-11-25 Kenneth Rohde Christiansen <kenneth@webkit.org> 2 12 -
trunk/Source/WebKit2/GNUmakefile.am
r100893 r101174 1404 1404 1405 1405 EXTRA_DIST += \ 1406 $(WebKit2)/UIProcess/API/gtk/docs/build-gtkdoc \1407 $(WebKit2)/UIProcess/API/gtk/docs/gtkdoc.py \1408 1406 $(WebKit2)/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml \ 1409 1407 $(WebKit2)/UIProcess/API/gtk/docs/webkit2gtk-sections.txt \ -
trunk/Tools/ChangeLog
r101169 r101174 1 2011-11-17 Martin Robinson <mrobinson@igalia.com> 2 3 [GTK] Integrate build-gtkdoc into build-webkit and make 4 https://bugs.webkit.org/show_bug.cgi?id=72626 5 6 Reviewed by Philippe Normand. 7 8 * GNUmakefile.am: Added support for new scripts and "make docs". 9 * Scripts/webkitdirs.pm: Call generate-gtkdoc when building. 10 (buildAutotoolsProject): 11 * gtk/generate-gtkdoc: Added. 12 * gtk/gtkdoc.py: Renamed from Source/WebKit2/UIProcess/API/gtk/docs/gtkdoc.py. 13 1 14 2011-11-25 Ádám Kallai <Kallai.Adam@stud.u-szeged.hu> 2 15 -
trunk/Tools/GNUmakefile.am
r99852 r101174 228 228 CLEANFILES += TestNetscapePlugin/libtestnetscapeplugin.la 229 229 endif 230 231 EXTRA_DIST += \ 232 Tools/gtk/common.py \ 233 Tools/gtk/generate-gtkdoc \ 234 Tools/gtk/gtkdoc.py \ 235 Tools/Scripts/VCSUtils.pm \ 236 Tools/Scripts/webkit-build-directory \ 237 Tools/Scripts/webkitdirs.pm 238 239 docs: docs-build.stamp 240 .PHONY : docs 241 DISTCLEANFILES += docs-build.stamp 242 243 if ENABLE_WEBKIT2 244 docs-build.stamp: \ 245 $(BUILT_SOURCES) \ 246 Source/WebKit/gtk/docs/webkitenvironment.xml \ 247 Source/WebKit/gtk/docs/webkitgtk-docs.sgml \ 248 Source/WebKit/gtk/docs/webkitgtk-sections.txt \ 249 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 250 libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 251 Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml \ 252 Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt 253 $(srcdir)/Tools/gtk/generate-gtkdoc 254 @touch docs-build.stamp 255 else 256 docs-build.stamp: \ 257 $(BUILT_SOURCES) \ 258 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \ 259 Source/WebKit/gtk/docs/webkitenvironment.xml \ 260 Source/WebKit/gtk/docs/webkitgtk-docs.sgml \ 261 Source/WebKit/gtk/docs/webkitgtk-sections.txt 262 $(srcdir)/Tools/gtk/generate-gtkdoc 263 @touch docs-build.stamp 264 endif 265 266 clean-local: doc-clean-local 267 doc-clean-local: 268 @rm -f Documentation/webkitgtk/*~ Documentation/webkitgtk*.bak 269 @rm -f Documentation/webkit2gtk/*~ Documentation/webkit2gtk*.bak 270 distclean-local: doc-distclean-local 271 doc-distclean-local: 272 @rm -rf Documentation 273 maintainer-clean-local: doc-maintainer-clean-local 274 doc-maintainer-clean-local: clean 275 @rm -rf Documentation/webkitgtk Documentation/webkit2gtk 276 -@rmdir Documentation 277 278 if ENABLE_GTK_DOC 279 all: docs-build.stamp 280 endif 281 -
trunk/Tools/Scripts/webkitdirs.pm
r101052 r101174 1680 1680 1681 1681 chdir ".." or die; 1682 1683 if (isGtk()) { 1684 my $relativeScriptsPath = relativeScriptsDir(); 1685 if (system("$relativeScriptsPath/../gtk/generate-gtkdoc --skip-html")) { 1686 die "\n gtkdoc did not build without warnings\n"; 1687 } 1688 } 1689 1682 1690 return 0; 1683 1691 } -
trunk/Tools/gtk/gtkdoc.py
r101173 r101174 1 # Copyright (C) 2011 Igalia S.L.1 # Copyright (C) 2011 Igalia S.L. 2 2 # 3 # This library is free software; you can redistribute it and/or4 # modify it under the terms of the GNU Lesser General Public5 # License as published by the Free Software Foundation; either6 # version 2 of the License, or (at your option) any later version.3 # This library is free software; you can redistribute it and/or 4 # modify it under the terms of the GNU Lesser General Public 5 # License as published by the Free Software Foundation; either 6 # version 2 of the License, or (at your option) any later version. 7 7 # 8 # This library is distributed in the hope that it will be useful,9 # but WITHOUT ANY WARRANTY; without even the implied warranty of10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU11 # Lesser General Public License for more details.8 # This library is distributed in the hope that it will be useful, 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 # Lesser General Public License for more details. 12 12 # 13 # You should have received a copy of the GNU Lesser General Public 14 # License along with this library; if not, write to the Free Software 15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 16 # 13 # You should have received a copy of the GNU Lesser General Public 14 # License along with this library; if not, write to the Free Software 15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 16 18 17 import errno … … 171 170 return answer == 'y' 172 171 173 def _run_command(self, args, env=None, cwd=None, print_output=True): 174 self.logger.info("Running %s", args[0]) 172 def _run_command(self, args, env=None, cwd=None, print_output=True, ignore_warnings=False): 173 if print_output: 174 self.logger.info("Running %s", args[0]) 175 175 self.logger.debug("Full command args: %s", str(args)) 176 176 … … 190 190 % (args[0], process.returncode)) 191 191 192 if 'warning' in stderr or 'warning' in stdout:192 if not ignore_warnings and ('warning' in stderr or 'warning' in stdout): 193 193 self.saw_warnings = True 194 194 if not self._ask_yes_or_no_question('%s produced warnings, ' … … 284 284 if self.library_path: 285 285 ldflags = ' "-L%s" ' % self.library_path + ldflags 286 env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path 286 current_ld_library_path = env.get('LD_LIBRARY_PATH') 287 if current_ld_library_path: 288 env['RUN'] = 'LD_LIBRARY_PATH="%s:%s" ' % (self.library_path, current_ld_library_path) 289 else: 290 env['RUN'] = 'LD_LIBRARY_PATH="%s" ' % self.library_path 291 287 292 if ldflags: 288 293 env['LDFLAGS'] = ldflags … … 339 344 '--module-dir=html', 340 345 '--html-dir=html'], 341 cwd=self.output_dir) 346 cwd=self.output_dir, 347 ignore_warnings=True) 342 348 343 349 -
trunk/configure.ac
r101060 r101174 1210 1210 AC_CONFIG_FILES([ 1211 1211 Source/WebKit/gtk/webkit/webkitversion.h 1212 Documentation/version.xml:Source/WebKit/gtk/docs/version.xml.in1213 1212 ]) 1214 1213 … … 1246 1245 Optimized memory allocator : $enable_fast_malloc 1247 1246 JavaScript Engine : $with_jsengine 1247 1248 1248 Features: 1249 1249 3D Rendering : $enable_3d_rendering … … 1305 1305 Hildon UI extensions : $with_hildon 1306 1306 Introspection support : $enable_introspection 1307 Generate documentation : $enable_gtk_doc 1307 1308 " 1308 1309 if test "$with_unicode_backend" = "glib"; then
Note:
See TracChangeset
for help on using the changeset viewer.