Changeset 148916 in webkit


Ignore:
Timestamp:
Apr 22, 2013 3:15:37 PM (11 years ago)
Author:
Martin Robinson
Message:

[GTK] Enable introspection always for developer builds
https://bugs.webkit.org/show_bug.cgi?id=114983

Reviewed by Gustavo Noronha Silva.

.:

  • Source/autotools/SetupAutoconfHeader.m4: No longer expose the ENABLE_INTROSPECTION

autoconf header variable. It isn't used and it means that when introspection is enabled
or disabled, there is an unnecessary full rebuild.

Source/WebKit/gtk:

  • GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate

warnings about deprecated API that the g-ir-scanner uses when generating
the scanner program. Use --quiet to avoid printing lots of output to
non-verbose builds.

Source/WebKit2:

  • GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate

warnings about deprecated API that the g-ir-scanner uses when generating
the scanner program. Use --quiet.

Tools:

  • Scripts/webkitdirs.pm:

(runAutogenForAutotoolsProjectIfNecessary): Always enable introspection
when using build-webkit.

  • gtk/jhbuildrc: Enable documentation for all jhbuild modules and explicitly

choose the memory gsettings backend while in the jhbuild. This eliminates
warnings from programs that fall back to the memory backend.

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r148903 r148916  
     12013-04-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Enable introspection always for developer builds
     4        https://bugs.webkit.org/show_bug.cgi?id=114983
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * Source/autotools/SetupAutoconfHeader.m4: No longer expose the ENABLE_INTROSPECTION
     9        autoconf header variable. It isn't used and it means that when introspection is enabled
     10        or disabled, there is an unnecessary full rebuild.
     11
    1122013-04-22  Zan Dobersek  <zdobersek@igalia.com>
    213
  • trunk/Source/WebKit/gtk/ChangeLog

    r148914 r148916  
     12013-04-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Enable introspection always for developer builds
     4        https://bugs.webkit.org/show_bug.cgi?id=114983
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate
     9        warnings about deprecated API that the g-ir-scanner uses when generating
     10        the scanner program. Use --quiet to avoid printing lots of output to
     11        non-verbose builds.
     12
    1132013-04-22  Martin Robinson  <mrobinson@igalia.com>
    214
  • trunk/Source/WebKit/gtk/GNUmakefile.am

    r148903 r148916  
    296296if ENABLE_INTROSPECTION
    297297WebKit-@WEBKITGTK_API_VERSION@.gir: $(G_IR_SCANNER) JavaScriptCore-@WEBKITGTK_API_VERSION@.gir libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
    298         $(AM_V_GEN)$(G_IR_SCANNER) -v --warn-all \
     298        $(AM_V_GEN) \
     299             CFLAGS="$(CFLAGS) -Wno-deprecated-declarations" \
     300             $(G_IR_SCANNER) \
     301             --quiet \
     302             --warn-all \
     303             --warn-error \
    299304             --symbol-prefix=webkit \
    300305             --identifier-prefix=WebKit \
  • trunk/Source/WebKit2/ChangeLog

    r148913 r148916  
     12013-04-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Enable introspection always for developer builds
     4        https://bugs.webkit.org/show_bug.cgi?id=114983
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate
     9        warnings about deprecated API that the g-ir-scanner uses when generating
     10        the scanner program. Use --quiet.
     11
    1122013-04-22  Anders Carlsson  <andersca@apple.com>
    213
  • trunk/Source/WebKit2/GNUmakefile.am

    r148903 r148916  
    263263
    264264WebKit2-@WEBKITGTK_API_VERSION@.gir: $(G_IR_SCANNER) libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
    265         $(AM_V_GEN)$(G_IR_SCANNER) -v --warn-all \
     265        $(AM_V_GEN) \
     266             CFLAGS="$(CFLAGS) -Wno-deprecated-declarations" \
     267             $(G_IR_SCANNER) \
     268             --quiet \
     269             --warn-all \
     270             --warn-error \
    266271             --symbol-prefix=webkit \
    267272             --identifier-prefix=WebKit \
  • trunk/Source/autotools/SetupAutoconfHeader.m4

    r148445 r148916  
    5959fi
    6060
    61 if test "$enable_introspection" = "yes"; then
    62     AC_DEFINE([ENABLE_INTROSPECTION], [1], [Define to enable GObject introspection support])
    63 fi
    64 
    6561if test "$enable_video" = "yes" || test "$enable_web_audio" = "yes"; then
    6662    AC_DEFINE([WTF_USE_GSTREAMER], [1], [ ])
  • trunk/Tools/ChangeLog

    r148903 r148916  
     12013-04-22  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Enable introspection always for developer builds
     4        https://bugs.webkit.org/show_bug.cgi?id=114983
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * Scripts/webkitdirs.pm:
     9        (runAutogenForAutotoolsProjectIfNecessary): Always enable introspection
     10        when using build-webkit.
     11        * gtk/jhbuildrc: Enable documentation for all jhbuild modules and explicitly
     12        choose the memory gsettings backend while in the jhbuild. This eliminates
     13        warnings from programs that fall back to the memory backend.
     14
    1152013-04-22  Zan Dobersek  <zdobersek@igalia.com>
    216
  • trunk/Tools/Scripts/webkitdirs.pm

    r148615 r148916  
    19951995    my ($dir, $prefix, $sourceDir, $project, $joinedOverridableFeatures, @buildArgs) = @_;
    19961996
     1997    # Always enable introspection when building WebKitGTK+.
     1998    unshift(@buildArgs, "--enable-introspection");
     1999
    19972000    my $joinedBuildArgs = join(" ", @buildArgs);
    19982001
  • trunk/Tools/gtk/jhbuildrc

    r147122 r148916  
    5555# to use only the plugins we build in JHBuild.
    5656os.environ['GST_PLUGIN_SYSTEM_PATH'] = ''
     57
     58# We often end up using the memory backend anyway, so explicitly choosing
     59# it will prevent the warning message.
     60os.environ['GSETTINGS_BACKEND'] = 'memory'
     61
     62# We always enable introspection so that we can sniff out problems with our
     63# annotations sooner rather than later.
     64autogenargs='--enable-introspection'
Note: See TracChangeset for help on using the changeset viewer.