Webkit status (updated)

Chris Dennis cgdennis at btinternet.com
Tue Mar 31 13:46:30 EDT 2009


Phil Longstaff wrote:
> On March 31, 2009 05:14:31 am Chris Dennis wrote:
>  > Hello Phil
>  >
>  > Phil Longstaff wrote:
>  > > 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.
>  >
>  > OK, I've done that, and compiled your version. But the reports are
>  > still generated via GtkHTML. Is there something that needs to be done
>  > to a report to make it use Webkit?
> 
> 
> It's not the report, it's how gnucash is compiled. With the changes I 
> committed last night, you need to add '--enable-webkit' to the 
> 'configure' command. You also need to ensure you have the webkit 
> libraries and include files installed.
> 
> 
> What distro are you running? What version of webkit?
> 
> 
> Phil

I hadn't used '--enable-webkit' in the configure step, so I reconfigured 
with that, and recompiled etc., but reports are still using GtkHTML. 
The complete configure command I used was:
   ./configure --prefix=/usr/local/gnucash-webkit --enable-webkit \
     --enable-debug --enable-doxygen --enable-error-on-warning \
     --enable-compile-warnings

I'm using Ubuntu Intrepid, and the webkit packages I added to make the 
compilation work are libwebkit-1.0-1 and libwebkit-dev, both version 
1.0.1-2ubuntu0.1.  I'm using version 18011 of the webkit branch of Gnucash.

cheers

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


More information about the gnucash-devel mailing list