Firebird News

Thursday, December 10, 2009

wxwebkit is amazing and flamerobin future

I was thinking on howto evolve the flamerobin project and i think the next stage (for example on E/R diagraming) would be to adopt the wxwebkit engine for interface rendering , what we do now with wxhtml

Instead of it we will use jquery and paint in the browser canvas (similar like in thunderbird 3.x)
The tree in the left will stay native and the grids , but some parts in the future will be replaced with cool html that can be skinned with css.
Core will stay c++ and parts of the interface will be pure native.

To build wxwebkit on ubuntu/debian was quite easy:
sudo apt-get install gcc g++ flex bison gperf libxml2 libxslt1.1 libxslt1-dev libcurl4-openssl-dev libsqlite3-dev libpng12-dev libjpeg62-dev libpango1.0-dev libgtk2.0-dev subversion

git clone git://gitorious.org/+wxwebkit-developers/webkit/wxwebkit.gitcd wxwebkit/WebKitTools/Scripts
./build-webkit --wx --makeargs="-j2"
cd wxwebkit/WebKitBuild/Debug.master
chmod +x libwxwebkit.so
sudo cp libwxwebkit.so /usr/lib/
./wxBrowser

What is so amazing ?, you can put webkit in edit mode and actually Edit the website (html) !


3 comments:

John Smith said...

Soon after starting build:

root@rolf-desktop:/home/rolf/wxwebkit/WebKitTools/Scripts# ./build-webkit --wx --makeargs="-j2"
Building JavaScriptCore
/home/rolf/wxwebkit/WebKitTools/wx/waf: 1: Syntax error: newline unexpected

Ubuntu 10.04/64

Adrian Marius Popa said...

Let me check , I thinks the wxwebkit page is moved

Adrian Marius Popa said...

my $waf = "$sourceDir/WebKitTools/wx/waf";
my $wafURL = 'http://wxwebkit.wxcommunity.com/downloads/deps/waf';

and the link seems to be down