On Mon, Nov 20, 2017 at 5:59 AM, Sérgio Basto <ser...@serjux.com> wrote:
Please remember me what is the difference of webkitgtk, webkitgtk3 and webkitgtk4 ?

The package names are very confusing, sorry.

webkitgtk: This package is WebKitGTK+ 2.4 built with the original WebKitGTK+ API, for use by GTK+ 2 applications. If you really, really want to use it in your package, you can bundle it, but this is discouraged since security updates ended in 2014.

webkitgtk3: This package is WebKitGTK+ 2.4 built with the original WebKitGTK+ API, for use by GTK+ 3 applications. Ditto.

webkitgtk4: This package is the modern version of WebKitGTK+ (currently 2.18.3). It's the only version that you should be using. It exposes a newer multiprocess API. The "4" in the package name is related to the API version, but this was a mistake IMO.

To save the Markdown plugin, you'd need to rewrite all of Geany with GTK+ 3, first using the webkitgtk3 package. Then you can switch to webkitgtk4 as the next step. It's not possible to mix GTK+ 2 and GTK+ 3 in the same process, so switching to GTK+ 3 is the only way you can continue using WebKitGTK+ without bundling the old version. A better alternative might be to stop using WebKitGTK+ altogether if it's not absolutely required. (I don't know, but perhaps you could use pango, for instance.) Alternatively: possibly you could try to run the markdown plugin in a separate process from the rest of Geany?

Note: even if you rewrite Geany with GTK+ 3, it's only a matter of time (guess: five years or so) before we drop GTK+ 3 support. So you have to be prepared to move on to GTK+ 4 sooner or later. If you're not OK with this then you should not be using WebKitGTK+ at all.

Hope that helps,

Michael
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to