Webkit-gtk3 or webkit-gtk-devel?s

Eric Gregory eric at yorba.org
Fri Apr 5 11:48:04 PDT 2013


On Apr 4, 2013, at 1:49 PM, Jeremy Huddleston Sequoia wrote:

> Try this:
> 
> Index: Portfile
> ===================================================================
> --- Portfile	(revision 104900)
> +++ Portfile	(working copy)
> @@ -229,3 +229,19 @@
> livecheck.type  regex
> livecheck.url   http://webkitgtk.org/?page=download
> livecheck.regex webkitgtk-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)
> +
> +subport webkit-gtk3 {
> +    depends_lib-delete \
> +        port:gtk2
> +
> +    depends_lib-append \
> +        port:gtk3
> +
> +    configure.args-delete \
> +        --with-gtk=2.0 \
> +        --disable-webkit2 \
> +
> +    configure.args-append \
> +        --with-gtk=3.0 \
> +        --enable-webkit2 \
> +}

Not working for me, I'm getting a number of build errors.  

A quick look search through the logs reveals:

:info:build Source/WebKit2/UIProcess/WebUIClient.cpp:201:48: error: cannot initialize a parameter of type 'WKNativeEventPtr' (aka 'NSEvent *') with an rvalue of type 'GdkEvent *' (aka '_GdkEvent *')
:info:build Source/WebKit2/UIProcess/WebUIClient.cpp:213:50: error: cannot initialize a parameter of type 'WKNativeEventPtr' (aka 'NSEvent *') with an rvalue of type 'const GdkEvent *' (aka 'const _GdkEvent *')
:error:build org.macports.build for port webkit-gtk3 returned: command execution failed

  - Eric



More information about the macports-dev mailing list