[96734] trunk/dports/www/webkit-gtk/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Aug 17 16:38:29 PDT 2012


Revision: 96734
          https://trac.macports.org/changeset/96734
Author:   jeremyhu at macports.org
Date:     2012-08-17 16:38:29 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
webkit-gtk: Add support for additional WebKit features, remove svg and filters variants.

Modified Paths:
--------------
    trunk/dports/www/webkit-gtk/Portfile

Modified: trunk/dports/www/webkit-gtk/Portfile
===================================================================
--- trunk/dports/www/webkit-gtk/Portfile	2012-08-17 23:33:05 UTC (rev 96733)
+++ trunk/dports/www/webkit-gtk/Portfile	2012-08-17 23:38:29 UTC (rev 96734)
@@ -7,7 +7,7 @@
 name		webkit-gtk
 epoch           1
 version		1.6.3
-revision        4
+revision        5
 description	Apple's WebKit HTML rendering library for GTK+
 long_description ${description}
 maintainers	devans
@@ -31,7 +31,9 @@
         port:libxslt \
         port:sqlite3 \
         port:enchant \
-        port:xorg-libXt
+        port:xorg-libXt \
+        port:libgeoip \
+        port:geoclue
         
 depends_build	\
         port:pkgconfig \
@@ -48,10 +50,75 @@
 
 configure.args	\
         --with-gtk=2.0 \
-        --enable-introspection=no \
-        --disable-svg \
-        --disable-video
+        --disable-introspection \
+        --enable-link-prefetch \
+        --enable-image-resizer \
+        --disable-video \
+        --enable-svg \
+        --enable-geolocation \
+        --enable-client-based-geolocation \
+        --enable-webgl \
+        --enable-page-visibility-api \
+        --enable-datagrid \
+        --enable-mathml \
+        --enable-web-timing
 
+# Not enabled because marked as expirimental
+#        --enable-3d-rendering \
+#        --enable-animation-api \
+
+
+# In 1.6.3:
+# Source/WebCore/bindings/js/JSDOMBinding.h:242: error: no matching function for call to 'toJS(JSC::ExecState*&, WebCore::JSDOMGlobalObject*&, WebCore::IDBDatabaseException*)'
+#        --enable-indexed-database \
+
+# In 1.6.3:
+# Source/WebCore/platform/gtk/ClipboardGtk.h:46: error: cannot allocate an object of abstract type 'WebCore::ClipboardGtk'
+#        --enable-data-transfer-items \
+
+# In 1.6.3:
+# Source/WebCore/bindings/js/JSEntrySyncCustom.cpp:53: error: 'getDOMObjectWrapper' was not declared in this scope
+#        --enable-file-system \
+
+# In 1.6.3:
+# Source/WebKit/gtk/webkit/webkitwebview.cpp:3397: error: cannot allocate an object of abstract type 'WebKit::ChromeClient'
+#        --enable-directory-upload \
+
+# In 1.6.3:
+# ./DerivedSources/webkit/WebKitDOMHTMLMediaElement.h:101: error: 'WebKitDOMUint8Array' has not been declared
+#        --enable-media-source \
+#        --enable-media-statistics \
+#        --enable-media-stream \
+
+# In 1.6.3:
+# Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:762: error: 'fatal' was not declared in this scope
+#        --enable-xhtmlmp \
+
+# In 1.6.3:
+# ./DerivedSources/webkit/WebKitDOMDOMWindow.h:821: error: expected constructor, destructor, or type conversion before '*' token
+#        --enable-notifications \
+
+# In 1.6.3:
+# AudioSourceProvider.h is missing.  It is present in 1.9.6, so we should try again when a newer version is working
+#        --enable-web-audio \
+
+# In 1.6.3:
+# Source/WebCore/html/ColorInputType.cpp:124: error: declaration of 'virtual void WebCore::ColorInputType::setValue(const WTF::String&, bool, bool)' outside of class is not definition
+# Source/WebCore/html/ColorInputType.cpp:125: error: expected unqualified-id before '{' token
+# Source/WebCore/html/ColorInputType.cpp:211: error: expected `}' at end of input
+#        --enable-input-color \
+
+# In 1.6.3:
+# Source/WebCore/html/HTMLInputElement.cpp:1698: error: '((const WebCore::HTMLInputElement*)this)->WebCore::HTMLInputElement::m_maxInputCharsAllowed' cannot be used as a function
+#       --enable-wcss \
+
+# In 1.6.3
+# DerivedSources/WebCore/JSStorageInfoQuotaCallback.cpp:67: error: no matching function for call to 'toJS(JSC::ExecState*&, WebCore::JSDOMGlobalObject*, long long unsigned int&)'
+#       --enable-quota \
+
+# We don't want to use the headers from the installed WebKit
+configure.cppflags-delete -I${prefix}/include
+
 autoreconf.env-append ACLOCAL="aclocal -I Source/autotools"
 use_autoreconf  yes
 autoreconf.args -fvi
@@ -91,43 +158,18 @@
     configure.args-append --with-font-backend=pango
 }
 
-#
-# video is now enabled by default so make the variant no_video
-#
-
-variant video description {Disable HTML5 video support using gstreamer} {
+variant video description {Enable HTML5 video support using gstreamer} {
 	depends_lib-append	port:gst-plugins-base
 	configure.args-delete	--disable-video
 }
 
-#
-# add new variant to support gnome_keyring
-#
-
 variant gnome_keyring description {Enable support for gnomekeyring} {
         depends_lib-append      port:libgnome-keyring
         configure.args-append   --enable-gnomekeyring
 }
 
-#
-# variant to enable filter support which is disabled by default
-#
+default_variants +video
 
-variant filters description {Enable support for SVG filters (experimental)} {
-	configure.args-append	--enable-filters
-}
-
-#
-# all svg support (except filters) is enabled by default
-#
-
-variant svg description {Disable all SVG support} {
-	configure.args-delete	--disable-svg
-	configure.args-append	--enable-svg
-}
-
-default_variants +video +svg
-
 livecheck.type  regex
 livecheck.url   http://webkitgtk.org/?page=download
 livecheck.regex webkit-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/49a1a6fd/attachment.html>


More information about the macports-changes mailing list