Opened 10 years ago

Closed 10 years ago

#5575 closed task (fixed)

Add new page webkitgtk-2.6.0 separated from 2.4 series

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.7
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

http://webkitgtk.org/releases/webkitgtk-2.6.0.tar.xz

Don't know what we should do. Too many modifications: API and build system. Has to be carefully considered and perhaps discussed here or in -dev.

WebKit1 API has been removed.

 - WebKit1 API has been removed.
 - Switch to CMake build system.
 - Binary version bump to make WebKit1 and WebKit2 parallel installable.
 - Several API changes.
 - The DOM bindings API has been split into stable and unstable parts.
 - Support for browser plugins using GTK+3, leaving the GTK+2
   dependency optional for building a plugin process with support for
   GTK+2 plugins.
 - HighDPI support for non-accelerated compositing contents.
 - Dynamic user agent string depending on the site.
 - User scripts API.

Change History (6)

comment:1 by Armin K, 10 years ago

Well, the package is not ABI compatible with previous versions. It ships libraries as libjavascriptcoregtk-4.0.so and libwebkit2gtk-4.0.so. Directories and pkg-config files have been renamed too.

And as support for WebKit1 API has been removed, only GTK+3 version of this library can be built. GTK+2 can be used as an opt dep if NPAPI plugin support is desired - much like now is being done for WebKitGTK+ GTK+3 variant.

So far, I can tell that if you use GNOME, you need to have both WebKitGTK+ versions 3 installed. Some packages have not migrated nor will in short period as they use the WebKit1 API.

Epiphany is one of the packages that has migrated to this version, so if Epiphany is to be upgraded, you need to add a new, coinstallable package with current WebKitGTK+.

It appears that dependencies are more or less the same, except that cmake is being used as a build system.

cmake -DCMAKE_BUILD_TYPE=Release  \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_SKIP_RPATH=ON       \
      -DPORT=GTK                  \
      -DLIB_INSTALL_DIR=/usr/lib

This is the cmake line I used to build it. There's a special cmake parameter that's needed for enabling GTK-Doc docs, but I have not tested it as I don't really care about that.

Hope it helps.

comment:2 by Fernando de Oliveira, 10 years ago

Summary: webkitgtk-2.6.0Add new page webkitgtk-2.6.0 separated from 2.4 series
Type: enhancementtask

Finally reached the point where I think flly understand your reply.

Thanks for the explanation and details, they are most of the new needed page.

Epiphany was the only gnome in the book that I could not install (after I installed adwaita-icon-theme-3.14.0).

Well, as you wrote, we need it, if Epiphany is to stay in the book.

I am in favor of adding this package to the book: sooner than later, eventually it will have to be in.

Will try doing it, but if it is too difficult, will ask for help here.

comment:3 by Fernando de Oliveira, 10 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:4 by Fernando de Oliveira, 10 years ago

Can't find a way to build MiniBrowser or GtkLauncher.

I see there a directory:

$ ls webkitgtk-2.6.0/Tools/MiniBrowser/
Configurations  gtk  MBToolbarItem.h  MiniBrowserWebProcessPlugIn.h

Any ideas, please?

comment:5 by Fernando de Oliveira, 10 years ago

Armin, thank you very much for facilitating this task for me.

Hopefully fixed at r14434.

Will leave open so that mistakes in the page can be corrected.

Please, anyone having time, read and send comments about what should be changed. Much appreciated.

comment:6 by Fernando de Oliveira, 10 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.