Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to WebKit2 API #7

Closed
k0ral opened this issue Dec 30, 2014 · 6 comments
Closed

Migrate to WebKit2 API #7

k0ral opened this issue Dec 30, 2014 · 6 comments

Comments

@k0ral
Copy link
Contributor

k0ral commented Dec 30, 2014

The current constraint pkgconfig-depends: webkitgtk-3.0 >= 1.8 corresponds to a WebKit1 API, which has been removed from the WebKitGTK+ release since the 2.6.* series.
I realize this is probably a significant change, and I would be glad to help this transition, so please let me know if/how I can contribute.

@erikkaplun
Copy link

It would be very nice to have WebKit2 API support, that way we could build against Homebrew's webkitgtk-2.10.4 formula not the old webkitgtk-2.4.9 which is currently only in available MacPorts (but I'm working on a Homebrew webkitgtk24-2.4.9 formula as we speak).

@erikkaplun
Copy link

@k0ral by the way, I'm not 100% sure, but I think webkitgtk3 does not compile against anything newer than webkitgtk-2.4.9 regardless of WebKit API version — see my comments in #13: webkitgtk3 requires webkit/webkitversion.h but that doesn't seem to be available on anything newer than webkitgtk-2.4.9; but I'd love to be corrected.

@jorsn
Copy link

jorsn commented Mar 16, 2016

@eallik @k0ral webkit/webkitversion.h is part of the WebKit1 API and is only for this reason not available on webkitgtk versions newer than 2.4.9. So the problem is the API version.

@Mikolaj
Copy link

Mikolaj commented Sep 21, 2016

I wonder if https://hackage.haskell.org/package/gi-webkit helps us in any way here?

@k0ral
Copy link
Contributor Author

k0ral commented Sep 21, 2016

Among the gi-* family of generated bindings, there are actually 2 packages for webkitgtk: gi-webkit and gi-webkit2, which I assume are bindings for Webkit1 and WebKit2 APIs, respectively.
I guess efforts are being diverted to those new bindings, so it might not be worth keeping this issue opened.

@hamishmack
Copy link
Contributor

Using the gi-webkit2 package is the way to go for WebKit2 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants