After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 676249 - Lack of binding for webkitgtk-3.0
Lack of binding for webkitgtk-3.0
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GTK+ GStreamer WebKitGTK+
0.16.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-17 15:02 UTC by Marcin Lewandowski
Modified: 2014-05-14 21:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcin Lewandowski 2012-05-17 15:02:20 UTC
On ubuntu 12.04, default install of valac 0.16, WebKit bindings depend on GTK2, not GTK3.

/usr/share/vala-0.16/vapi/webkit-1.0.deps contents are 

atk
gio-2.0
cairo
pango
gdk-pixbuf-2.0
gdk-2.0
gtk+-2.0
libsoup-2.4


instead of

atk
gio-2.0
cairo
pango
gdk-pixbuf-2.0
gdk-3.0
gtk+-3.0
libsoup-2.4
Comment 1 Maciej (Matthew) Piechotka 2012-05-19 07:35:41 UTC
You want webkit-3.0 instead of webkit-1.0 (the lack of bindings for 3.0 stands though - both webkit and webkit2).

% ldd /usr/lib/libwebkitgtk-*.so | grep -P '(libgtk|webkit)'
/usr/lib/libwebkitgtk-1.0.so:
	libgtk-x11-2.0.so.0 => /usr/lib64/libgtk-x11-2.0.so.0 (0x00007f43705fd000)
/usr/lib/libwebkitgtk-3.0.so:
	libgtk-3.so.0 => /usr/lib64/libgtk-3.so.0 (0x00007f34549a9000)
Comment 2 maxim.suraev 2014-04-02 14:24:58 UTC
Same applies to vala 0.22
Would be nice to see gtk-3 dependency by default alongside with webkit-3.0 - version 1.0 will be deprecated soon enough.
Comment 3 Björn Harrtell 2014-04-06 15:44:49 UTC
Would also like to see this resolved. Workaround described at https://mail.gnome.org/archives/vala-list/2011-July/msg00006.html seem to work, but seem like a hack that shouldn't be used in the main vala source.
Comment 4 Evan Nemerson 2014-05-14 21:36:20 UTC
commit 4c94877bc44483e2b0bbd1ebd5d2f9a211283769
Author: Evan Nemerson <evan@nemerson.com>
Date:   Wed May 14 14:35:09 2014 -0700

    Add webkit2gtk-3.0 and webkit2gtk-web-extension-3.0 bindings.
    
    Fixes bug 676249.