Language Selection

English French German Italian Portuguese Spanish

GTK+ 3 Plugins in WebKitGTK+ and Evince Browser Plugin

Filed under
GNOME

The WebKit2 GTK+ API has always been GTK+ 3 only, but WebKitGTK+ still had a hard dependency on GTK+ 2 because of the plugin process. Some popular browser plugins like flash or Java use GTK+ 2 unconditionally (and it seems they are not going to be ported to GTK+ 3, at least not in the short term). These plugins stopped working in Epiphany when it switched to GTK+ 3 and started to work again when Epiphany moved to WebKit2.

To support GTK+ 2 plugins we had to build the plugin process with GTK+ 2, but also some parts of WebCore and WebKit2 (the ones depending on GTK+ and used by the plugin process) were built twice. As a result we had a WebKitPluginProcess binary of ~40MB, that was always used for all the plugins. This kind of made sense, since there were no plugins using GTK+ 3, and the GTK+ 2 dependency was harmless for plugins not using GTK+ at all. However, we realized we were making a rule for the exception, since most of the plugins don’t even use GTK+, and there weren’t plugins using GTK+ 3 because they were not supported by any browser (kind of chicken-egg problem).

Read more

More in Tux Machines

today's leftovers

  • Comic-Con and FOSS Comic Book Solutions
    After whetting his appetite at this year’s Comic-Con, our resident Linux newbie discovers free and open source apps for reading digital comics, as well as a treasure trove of available sources for free comics online.
  • Linux Kernel 3.12.62 LTS Improves SPARC Support, Updates the Networking Stack
    Linux kernel developer Jiri Slaby announced the release of the sixty-second maintenance update for the long-term supported Linux 3.12 kernel series, which will receive support until 2017 because of SUSE Enterprise Linux. Linux kernel 3.12.62 LTS is a modest update, and looking at the diff from the previous maintenance release, version 3.12.61, we can notice that it changes a total of 96 files, with 1213 insertions and 1053 deletions. Among the changes, we can notice lots of fixes for the SPARC hardware architecture, but there are various other improvements for the ARM, MIPS, PA-RISC, and x86 instruction set architectures.
  • ‘Anatine’ Is a Simple Desktop Twitter App for Linux
    Anatine describes itself as a 'pristine Twitter app for Linux', but is it anything more than a wrapper around the mobile website?
  • Skype for Linux Alpha 1.3 Released With Small Bug Fixes
    A small bug fix update to Skype for Linux alpha is now available, and fixes, among many changes, errant close to tray behaviour on the Cinnamon desktop.
  • On the killing of intltool
    Say thanks to Daiki Ueno for his work maintaining gettext and enhancing it to make change practical, and to Javier Jardon for pushing this within GNOME and working to remove intltool from important GNOME modules.
  • On discoverability
    I've discussed elsewhere that usability is about real people doing real tasks in a reasonable amount of time. Some researchers also refer to "learnability" and "memorability" to define usability—this is very similar to discoverability. Can you discover the features of the system just by poking at it? Is the user interface obvious enough that you can figure it out on your own?
  • This is Lubuntu 16.10’s New Default Wallpaper
    The default wallpaper of Lubuntu 16.10 — yes, that's Lubuntu, with an 'l' — has been unveiled — but will fans of the lightweight Ubuntu spin like it?

today's howtos

Red Hat and Fedora

Android Leftovers