Progress!  I've gotten WebKit to build.  Now I need to figure out how to tell Geary to use the new WebKit in place of the system one.  (And I think I have to get the GIR files from somewhere else.)

For the record, here's what I did:
- Get a tarball from the webkitgtk releases (http://webkitgtk.org/releases/), not from the main webkit site.  (That was what was causing my confusion about build systems last night.)  I chose 1.10.2, the most recent of the 1.10 series.
- Get the build dependencies:
sudo apt-get build-dep webkit

- Install some GL libraries (for reasons that will come apparent later)
sudo apt-get install libgl1-mesa-dev mesa-common-dev

- Upgrade libsoup.  12.04 has 2.38.1, WebKit wants 2.40 or greater.  I did this by adding ppa:laney/webkit-backports and choosing to upgrade libsoup2.4-1.  This ended up requiring upgrades of:
    gir1.2-soup-2.4
    glib-networking
    glib-networking-common
    glib-networking-services
    glib-networking:i386
    libglib2.0-0
    libglib2.0-0:i386
    libglib2.0-bin
    libglib2.0-dev
    libpcre3
    libpcre3-dev
    libpcre3:i386
    libpcrepp0
    libsoup2.4-1
    libsoup2.4-1:i386
    libsoup2.4-dev
I am slightly worried about upgrading libglib, but no ill effects so far.
- Configure with
./configure --prefix="$HOME/webkit" --disable-video --disable-xslt --disable-webkit2

At first, I tried to disable almost everything that seemed unnecessary, but this kept leading to compilation errors.  Then I tried disabling just the four modules that Eric recommended (the three above plus webGL).  This got all the way through to the linker, where it failed with a message about being unable to find some GL symbols.  So I added webGL back in.
- Make with make
make

This took an hour or two.
- Install to ~/webkit
make install

The only binary installed was the javascript console, which does work.  Now to see about compiling Geary against this.  Any and all hints appreciated.

Thanks for the help,
Robert



_______________________________________________
Geary mailing list
[email protected]
http://lists.yorba.org/cgi-bin/mailman/listinfo/geary

Reply via email to