Ignore:
Timestamp:
Aug 17, 2012, 11:38:29 PM (7 years ago)
Author:
jeremyhu@…
Message:

webkit-gtk: Add support for additional WebKit features, remove svg and filters variants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/webkit-gtk/Portfile

    r96097 r96734  
    88epoch           1
    99version         1.6.3
    10 revision        4
     10revision        5
    1111description     Apple's WebKit HTML rendering library for GTK+
    1212long_description ${description}
     
    3232        port:sqlite3 \
    3333        port:enchant \
    34         port:xorg-libXt
     34        port:xorg-libXt \
     35        port:libgeoip \
     36        port:geoclue
    3537       
    3638depends_build   \
     
    4951configure.args  \
    5052        --with-gtk=2.0 \
    51         --enable-introspection=no \
    52         --disable-svg \
    53         --disable-video
     53        --disable-introspection \
     54        --enable-link-prefetch \
     55        --enable-image-resizer \
     56        --disable-video \
     57        --enable-svg \
     58        --enable-geolocation \
     59        --enable-client-based-geolocation \
     60        --enable-webgl \
     61        --enable-page-visibility-api \
     62        --enable-datagrid \
     63        --enable-mathml \
     64        --enable-web-timing
     65
     66# Not enabled because marked as expirimental
     67#        --enable-3d-rendering \
     68#        --enable-animation-api \
     69
     70
     71# In 1.6.3:
     72# Source/WebCore/bindings/js/JSDOMBinding.h:242: error: no matching function for call to 'toJS(JSC::ExecState*&, WebCore::JSDOMGlobalObject*&, WebCore::IDBDatabaseException*)'
     73#        --enable-indexed-database \
     74
     75# In 1.6.3:
     76# Source/WebCore/platform/gtk/ClipboardGtk.h:46: error: cannot allocate an object of abstract type 'WebCore::ClipboardGtk'
     77#        --enable-data-transfer-items \
     78
     79# In 1.6.3:
     80# Source/WebCore/bindings/js/JSEntrySyncCustom.cpp:53: error: 'getDOMObjectWrapper' was not declared in this scope
     81#        --enable-file-system \
     82
     83# In 1.6.3:
     84# Source/WebKit/gtk/webkit/webkitwebview.cpp:3397: error: cannot allocate an object of abstract type 'WebKit::ChromeClient'
     85#        --enable-directory-upload \
     86
     87# In 1.6.3:
     88# ./DerivedSources/webkit/WebKitDOMHTMLMediaElement.h:101: error: 'WebKitDOMUint8Array' has not been declared
     89#        --enable-media-source \
     90#        --enable-media-statistics \
     91#        --enable-media-stream \
     92
     93# In 1.6.3:
     94# Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:762: error: 'fatal' was not declared in this scope
     95#        --enable-xhtmlmp \
     96
     97# In 1.6.3:
     98# ./DerivedSources/webkit/WebKitDOMDOMWindow.h:821: error: expected constructor, destructor, or type conversion before '*' token
     99#        --enable-notifications \
     100
     101# In 1.6.3:
     102# AudioSourceProvider.h is missing.  It is present in 1.9.6, so we should try again when a newer version is working
     103#        --enable-web-audio \
     104
     105# In 1.6.3:
     106# 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
     107# Source/WebCore/html/ColorInputType.cpp:125: error: expected unqualified-id before '{' token
     108# Source/WebCore/html/ColorInputType.cpp:211: error: expected `}' at end of input
     109#        --enable-input-color \
     110
     111# In 1.6.3:
     112# Source/WebCore/html/HTMLInputElement.cpp:1698: error: '((const WebCore::HTMLInputElement*)this)->WebCore::HTMLInputElement::m_maxInputCharsAllowed' cannot be used as a function
     113#       --enable-wcss \
     114
     115# In 1.6.3
     116# DerivedSources/WebCore/JSStorageInfoQuotaCallback.cpp:67: error: no matching function for call to 'toJS(JSC::ExecState*&, WebCore::JSDOMGlobalObject*, long long unsigned int&)'
     117#       --enable-quota \
     118
     119# We don't want to use the headers from the installed WebKit
     120configure.cppflags-delete -I${prefix}/include
    54121
    55122autoreconf.env-append ACLOCAL="aclocal -I Source/autotools"
     
    92159}
    93160
    94 #
    95 # video is now enabled by default so make the variant no_video
    96 #
    97 
    98 variant video description {Disable HTML5 video support using gstreamer} {
     161variant video description {Enable HTML5 video support using gstreamer} {
    99162        depends_lib-append      port:gst-plugins-base
    100163        configure.args-delete   --disable-video
    101164}
    102 
    103 #
    104 # add new variant to support gnome_keyring
    105 #
    106165
    107166variant gnome_keyring description {Enable support for gnomekeyring} {
     
    110169}
    111170
    112 #
    113 # variant to enable filter support which is disabled by default
    114 #
    115 
    116 variant filters description {Enable support for SVG filters (experimental)} {
    117         configure.args-append   --enable-filters
    118 }
    119 
    120 #
    121 # all svg support (except filters) is enabled by default
    122 #
    123 
    124 variant svg description {Disable all SVG support} {
    125         configure.args-delete   --disable-svg
    126         configure.args-append   --enable-svg
    127 }
    128 
    129 default_variants +video +svg
     171default_variants +video
    130172
    131173livecheck.type  regex
Note: See TracChangeset for help on using the changeset viewer.