[Gtk] add options for 3D transforms and HTML5 channel messaging to the build
authorjmalonzo@webkit.org <jmalonzo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Feb 2009 09:22:35 +0000 (09:22 +0000)
committerjmalonzo@webkit.org <jmalonzo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Feb 2009 09:22:35 +0000 (09:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=24072

Reviewed by Alexey Proskuryakov.

Add options for toggling 3D transforms and HTML5 channel messaging
support on or off.

Also fix the web-workers option. It should be web-workers and not workers.

    * configure.ac:

Allow toggling of 3D transforms and HTML5 channel messaging
support for the Autotools (Gtk) build.

Also add '--gtk' in the build-webkit help doc and fix autotools
option for web-workers support.

    * Scripts/build-webkit:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41172 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
WebKitTools/ChangeLog
WebKitTools/Scripts/build-webkit
configure.ac

index c60eb9f..8aecaf0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
+        https://bugs.webkit.org/show_bug.cgi?id=24072
+
+        Add options for toggling 3D transforms and HTML5 channel messaging
+        support on or off.
+
+        Also fix the web-workers option. It should be web-workers and not workers.
+
+        * configure.ac:
+
 2009-02-23  Xan Lopez  <xan@gnome.org>
 
         Reviewed by Alexey Proskuryakov.
index b5074b4..b5941cf 100644 (file)
@@ -1,3 +1,18 @@
+2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
+
+        Reviewed by Alexey Proskuryakov.
+
+        [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
+        https://bugs.webkit.org/show_bug.cgi?id=24072
+
+        Allow toggling of 3D transforms and HTML5 channel messaging
+        support for the Autotools (Gtk) build.
+
+        Also add '--gtk' in the build-webkit help doc and fix autotools
+        option for web-workers support.
+
+        * Scripts/build-webkit:
+
 2009-02-23  Xan Lopez  <xan@gnome.org>
 
         Reviewed by Alexey Proskuryakov.
index 37ada10..898f7b1 100755 (executable)
@@ -70,6 +70,7 @@ Usage: $programName [options] [options to pass to build system]
   --cairo-win32                 Build using Cairo (rather than CoreGraphics) on Windows
   --chromium                    Build the Chromium port on Mac/Win/Linux
   --clean                       Cleanup the build directory
+  --gtk                         Build the GTK port
   --universal                   Build 2-way universal (PPC and Intel 32-bit)
   --64-bit                      Build 64-bit, combine with --universal to build 4-way universal
   --[no-]3d-transforms          Toggle 3D Transforms support (default: $threeDTransformsSupport)
@@ -200,6 +201,8 @@ if (isGtk()) {
     push @options, autotoolsFlag($domStorageSupport, "dom-storage");
     push @options, autotoolsFlag($iconDatabaseSupport, "icon-database");
     push @options, autotoolsFlag($offlineWebApplicationSupport, "offline-web-applications");
+    push @options, autotoolsFlag($threeDTransformsSupport, "3D-transforms");
+    push @options, autotoolsFlag($channelMessagingSupport, "channel-messaging");
     push @options, autotoolsFlag($svgSupport, "svg");
     push @options, autotoolsFlag($svgAnimationSupport, "svg-animation");
     push @options, autotoolsFlag($svgFiltersSupport, "svg-filters");
@@ -211,7 +214,7 @@ if (isGtk()) {
     push @options, autotoolsFlag($xsltSupport, "xslt");
     push @options, autotoolsFlag($wmlSupport, "wml");
     push @options, autotoolsFlag($videoSupport, "video");
-    push @options, autotoolsFlag($workersSupport, "workers");
+    push @options, autotoolsFlag($workersSupport, "web-workers");
     push @options, autotoolsFlag($coverageSupport, "coverage");
 }
 
index f13d9fa..9acca42 100644 (file)
@@ -268,6 +268,22 @@ AC_ARG_ENABLE(dashboard_support,
               [],[enable_dashboard_support="yes"])
 AC_MSG_RESULT([$enable_dashboard_support])
 
+# check whether to enable 3D transforms support
+AC_MSG_CHECKING([whether to enable support for 3D Transforms])
+AC_ARG_ENABLE(3D_transforms,
+              AC_HELP_STRING([--enable-3D-transforms],
+                             [enable support for 3D transforms [default=no]]),
+              [],[enable_3D_transforms="no"])
+AC_MSG_RESULT([$enable_3D_transforms])
+
+# check whether to enable channel messaging support
+AC_MSG_CHECKING([whether to enable HTML5 Channel Messaging support])
+AC_ARG_ENABLE(channel_messaging,
+              AC_HELP_STRING([--enable-channel-messaging],
+                             [enable HTML5 channel messaging support [default=no]]),
+              [],[enable_channel_messaging="no"])
+AC_MSG_RESULT([$enable_channel_messaging])
+
 # check whether to enable HTML5 Offline Web Applications support
 AC_MSG_CHECKING([whether to enable HTML5 offline web applications support])
 AC_ARG_ENABLE(offline_web_applications,
@@ -351,7 +367,7 @@ AC_MSG_RESULT([$enable_wml])
 # check whether to enable Web Workers support
 AC_MSG_CHECKING([whether to enable Web Workers support])
 AC_ARG_ENABLE(web_workers,
-              AC_HELP_STRING([--enable-workers],
+              AC_HELP_STRING([--enable-web-workers],
                              [enable support for Web Workers [default=yes]]),
               [],[enable_web_workers="yes"])
 AC_MSG_RESULT([$enable_web_workers])
@@ -542,7 +558,6 @@ if test "$enable_geolocation" = "yes"; then
     AC_SUBST([GEOCLUE_LIBS])
 fi
 
-
 # check if gstreamer is available
 if test "$enable_video" = "yes"; then
    PKG_CHECK_MODULES([GSTREAMER],
@@ -586,6 +601,8 @@ AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
 # WebKit feature conditionals
 AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
 AM_CONDITIONAL([ENABLE_DASHBOARD_SUPPORT],[test "$enable_dashboard_support" = "yes"])
+AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"])
+AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"])
 AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
 AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
 AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
@@ -628,9 +645,12 @@ Build configuration:
  Font backend                                             : $with_font_backend
  Optimized memory allocator                               : $enable_fast_malloc
 Features:
+ 3D Transforms                                            : $enable_3D_transforms
  JIT compilation                                          : $enable_jit
  Dashboard support                                        : $enable_dashboard_support
+ Geolocation support                                      : $enable_geolocation
  HTML5 offline web applications support                   : $enable_offline_web_applications
+ HTML5 channel messaging support                          : $enable_channel_messaging
  HTML5 client-side session and persistent storage support : $enable_dom_storage
  HTML5 client-side database storage support               : $enable_database
  HTML5 video element support                              : $enable_video
@@ -642,11 +662,10 @@ Features:
  SVG foreign object support                               : $enable_svg_foreign_object
  SVG as image support                                     : $enable_svg_as_image
  SVG use element support                                  : $enable_svg_use_element
- XPATH support                                            : $enable_xpath
- XSLT support                                             : $enable_xslt
  WML support                                              : $enable_wml
  Web Workers support                                      : $enable_web_workers
- Geolocation support                                      : $enable_geolocation
+ XPATH support                                            : $enable_xpath
+ XSLT support                                             : $enable_xslt
 GTK+ configuration:
  GDK target                                               : $with_target
  Hildon UI extensions                                     : $with_hildon