Webkit status (updated)

Phil Longstaff plongstaff at rogers.com
Mon Mar 30 08:55:54 EDT 2009


Hi Chris,

as an alternative to webkit, I was also looking at whether gecko would be a better engine.  It looks about the same as webkit as far as maturity is concerned.

Anyway, modify Makefile.am and remove references to gnc-html-gtkmozembed.c.  You'll then need to run autogen.sh and configure again.  This will ensure that file won't be compiled.  I'm going to commit some changes to remove those files in the near future.

Phil




________________________________
From: Chris Dennis <cgdennis at btinternet.com>
To: Phil Longstaff <plongstaff at rogers.com>
Sent: Monday, March 30, 2009 4:51:12 AM
Subject: Re: Webkit status (updated)

Phil Longstaff wrote:
> It turned out to be simple to look through the html string for an <object> tag, then remove it and pass it to an object handler.  The object handlers used by gnc_html_webkit parse this string for the info put into the html string by html-barchart.scm/html-piechart.scm/html-linechart.scm/html-
> scatter.scml and use that to pass to gog to create the graph pixbuf.  The pixbuf is then saved to /tmp as a png image, and the original <object> string is replaced by a new <img> string with a reference to the image.  Works like a charm.
> 
> So, at this point, with libwebkit-1.0-1 and libwebkit-dev installed (on kubuntu), I can replace use of gtkhtml by webkit.

Hello Phil

I checked out the -webkit branch, and tried to compile it, but got this error:

gnc-html-gtkmozembed.c:42:25: error: gtkmozembed.h: No such file or directory

Is there an easy way to get hold of gtkmozembed?  It's not in Ubuntu Intrepid.

cheers

Chris
-- Chris Dennis                                  cgdennis at btinternet.com
Fordingbridge, Hampshire, UK


More information about the gnucash-devel mailing list