Changeset 95283 in webkit


Ignore:
Timestamp:
Sep 16, 2011 4:43:16 AM (13 years ago)
Author:
Carlos Garcia Campos
Message:

[GTK] Disable WebKit2 by default in configure.ac, but enable it with build-webkit
https://bugs.webkit.org/show_bug.cgi?id=68178

Patch by Martin Robinson <mrobinson@igalia.com> on 2011-09-16
Reviewed by Xan Lopez.

.:

  • configure.ac: Do not build WebKit2 by default. Re-add pkgconfig support

for WebKit2.

Source/WebKit2:

  • GNUmakefile.am: Do not build WebKit2 by default. Re-add pkgconfig support

for WebKit2.

Tools:

Add a work-around to enable WebKit2 when using build-webkit.

  • Scripts/webkitdirs.pm:

(buildAutotoolsProject):

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r95271 r95283  
     12011-09-16  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Disable WebKit2 by default in configure.ac, but enable it with build-webkit
     4        https://bugs.webkit.org/show_bug.cgi?id=68178
     5
     6        Reviewed by Xan Lopez.
     7
     8        * configure.ac: Do not build WebKit2 by default. Re-add pkgconfig support
     9        for WebKit2.
     10
    1112011-09-15  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebKit2/ChangeLog

    r95271 r95283  
     12011-09-16  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Disable WebKit2 by default in configure.ac, but enable it with build-webkit
     4        https://bugs.webkit.org/show_bug.cgi?id=68178
     5
     6        Reviewed by Xan Lopez.
     7
     8        * GNUmakefile.am: Do not build WebKit2 by default. Re-add pkgconfig support
     9        for WebKit2.
     10
    1112011-09-15  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebKit2/GNUmakefile.am

    r94456 r95283  
    914914        $(XT_LIBS)
    915915
     916pkgconfig_DATA += Source/WebKit2/webkit2gtk-@WEBKITGTK_API_VERSION@.pc
     917
    916918# WebKit2 specific variables
    917919forwarding_headers := $(GENSOURCES_WEBKIT2)/include
     
    960962        $(BUILT_SOURCES) \
    961963        $(top_builddir)/Programs/WebKitWebProcess
     964
     965DISTCLEANFILES += \
     966        $(top_builddir)/WebKit2/webkit2gtk-@WEBKITGTK_API_VERSION@.pc
    962967
    963968# WebKitWebProcess
  • trunk/Tools/ChangeLog

    r95258 r95283  
     12011-09-16  Martin Robinson  <mrobinson@igalia.com>
     2
     3        [GTK] Disable WebKit2 by default in configure.ac, but enable it with build-webkit
     4        https://bugs.webkit.org/show_bug.cgi?id=68178
     5
     6        Reviewed by Xan Lopez.
     7
     8        Add a work-around to enable WebKit2 when using build-webkit.
     9
     10        * Scripts/webkitdirs.pm:
     11        (buildAutotoolsProject):
     12
    1132011-09-15  James Robinson  <jamesr@chromium.org>
    214
  • trunk/Tools/Scripts/webkitdirs.pm

    r95188 r95283  
    15221522    }
    15231523
     1524    # This is a temporary work-around to enable building WebKit2 on the bots,
     1525    # but ensuring that it does not ship until the API is stable.
     1526    if ($project eq "WebKit" and isGtk()) {
     1527        push @buildArgs, "--enable-webkit2";
     1528    }
     1529
    15241530    $prefix = $ENV{"WebKitInstallationPrefix"} if !defined($prefix);
    15251531    push @buildArgs, "--prefix=" . $prefix if defined($prefix);
  • trunk/configure.ac

    r95271 r95283  
    10641064AC_MSG_CHECKING([whether to build Webkit2])
    10651065AC_ARG_ENABLE(webkit2,
    1066     AC_HELP_STRING([--enable-webkit2], [build webkit2 [default=yes]]),
    1067     [], [enable_webkit2="yes"])
     1066    AC_HELP_STRING([--enable-webkit2], [build webkit2 [default=no]]),
     1067    [], [enable_webkit2="no"])
    10681068AC_MSG_RESULT([$enable_webkit2])
    10691069if test "$enable_webkit2" = "yes"; then
     
    12041204,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
    12051205)
     1206
     1207
     1208if test "$enable_webkit2" = "yes"; then
     1209    AC_CONFIG_FILES([
     1210    Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in
     1211    ]
     1212    ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
     1213    )
     1214fi
    12061215
    12071216AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.