Discussion:
[directfb-users] WebKit DFB
rippel tippel
2012-04-11 16:27:34 UTC
Permalink
Hi,

I'm wondering whether the WebKit DFB project is still running/supported.

I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).

Could anyone provide any advice?

Cheers,
rippel
Sriram Neelakandan
2012-04-11 17:13:05 UTC
Permalink
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..

I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB

regards
Sriram
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
Dave Henderson
2012-04-11 17:56:31 UTC
Permalink
Plus 2. I'm very interested in using webkit on DFB for certain projects.

Dave
Post by Sriram Neelakandan
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be
pushed out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB
regards
Sriram
Hi,
I'm wondering whether the WebKit DFB project is still
running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Timothy Chon
2012-04-11 18:05:11 UTC
Permalink
+3, I've been interested in getting this to compile correctly (on linux)
too.

--tim

On Wed, Apr 11, 2012 at 10:56, Dave Henderson
Post by Dave Henderson
Plus 2. I'm very interested in using webkit on DFB for certain projects.
Dave
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB
regards
Sriram
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
rippel tippel
2012-04-12 12:20:36 UTC
Permalink
After some hacking in Makefiles, I managed to ./configure WebKit
(hoorray!). In particular, I'm using branch webkitdfb_2010-11-18.

Unfortunately 'make' fails with this error:

...
CXX WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowBase.lo
CXX WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo
In file included from ./DerivedSources/WebCore/JSSharedWorker.h:27:0,
from WebCore/bindings/js/JSDOMWindowCustom.cpp:51:
./WebCore/workers/SharedWorker.h:41:48: error: invalid use of
incomplete type 'struct WebCore::AbstractWorker'
./WebCore/dom/EventTarget.h:43:11: error: forward declaration of
'struct WebCore::AbstractWorker'
In file included from WebCore/bindings/js/JSDOMWindowCustom.cpp:51:0:
./DerivedSources/WebCore/JSSharedWorker.h:34:48: error: expected
class-name before '{' token
./DerivedSources/WebCore/JSSharedWorker.h:35:13: error:
'JSAbstractWorker' does not name a type
./DerivedSources/WebCore/JSSharedWorker.h:57:108: error: 'Base' has
not been declared
./DerivedSources/WebCore/JSSharedWorker.h: In static member function
'static WTF::PassRefPtr<JSC::Structure>
WebCore::JSSharedWorker::createStructure(JSC::JSValue)':
./DerivedSources/WebCore/JSSharedWorker.h:46:98: error:
'AnonymousSlotCount' was not declared in this scope
./DerivedSources/WebCore/JSSharedWorker.h: In member function
'WebCore::SharedWorker* WebCore::JSSharedWorker::impl() const':
./DerivedSources/WebCore/JSSharedWorker.h:54:43: error: 'Base' has not
been declared
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2

I've recompiled using the '--disable-shared-workers' configure flag
and it failed with this error:

...
CC WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'webkit_soup_request_file_check_uri':
WebCore/platform/network/soup/cache/soup-request-file.c:78:21: error:
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
WebCore/platform/network/soup/cache/soup-request-file.c:78:21: note:
each undeclared identifier is reported only once for each function it
appears in
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'webkit_soup_request_file_ensure_file':
WebCore/platform/network/soup/cache/soup-request-file.c:162:21: error:
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
WebCore/platform/network/soup/cache/soup-request-file.c:182:28: error:
'SOUP_URI_SCHEME_FTP' undeclared (first use in this function)
make[1]: *** [WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2

Now I'm wondering if those errors are due to my toolchain (I'm
cross-compiling for Atom) or they are issues in the source code/side
libraries.

This is what I'm using:

cairo 1.10.0
curl 7.25.0
directfb/direct/fusion 1.4.3
enchant 1.6.0
fontconfig 2.8.0
freetype 2.3.5
gettext 0.18.1.1
glib 2.26.1
gperf 3.0.4
icu 3.8
libpng 1.2.49
libsoup 2.28.2
libxml2 2.7.8
libxslt 1.1.26
Lite 0.8.10
pango 1.27.1
pixman 0.19.2
SQLite3 autoconf-3071100

I couldn't find a list of the required versions for each library, so I
would be grateful if anyone could provide a link to that, if exists.

Also, the code looks allright, my C++ is a bit rusty so I may have
missed something... any idea?

Cheers,
Piero
Post by Timothy Chon
+3, I've been interested in getting this to compile correctly (on linux)
too.
--tim
Plus 2.  I'm very interested in using webkit on DFB for certain projects.
Dave
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB
regards
Sriram
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
Sriram Neelakandan
2012-04-12 12:36:46 UTC
Permalink
Hi Piero,

./configure --prefix=/home/sriramn/work_x86/installs/dfbwebkit/
--with-target=directfb --without-gtkplus --enable-optimizations
--disable-channel-messaging --enable-javascript-debugger
--enable-offline-web-applications --enable-dom-storage --enable-database
--disable-eventsource --disable-icon-database --enable-datalist
--disable-video --enable-svg --enable-xpath --enable-xslt --enable-workers
--disable-web-sockets --enable-jit --with-cairo-directfb
--with-networking-backend=curl

This is my configure and it compiled thru without any issues (as long as u
have all the deps compiled and installed)
Post by rippel tippel
After some hacking in Makefiles, I managed to ./configure WebKit
(hoorray!). In particular, I'm using branch webkitdfb_2010-11-18.
...
CXX WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowBase.lo
CXX WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo
In file included from ./DerivedSources/WebCore/JSSharedWorker.h:27:0,
./WebCore/workers/SharedWorker.h:41:48: error: invalid use of
incomplete type 'struct WebCore::AbstractWorker'
./WebCore/dom/EventTarget.h:43:11: error: forward declaration of
'struct WebCore::AbstractWorker'
./DerivedSources/WebCore/JSSharedWorker.h:34:48: error: expected
class-name before '{' token
'JSAbstractWorker' does not name a type
./DerivedSources/WebCore/JSSharedWorker.h:57:108: error: 'Base' has
not been declared
./DerivedSources/WebCore/JSSharedWorker.h: In static member function
'static WTF::PassRefPtr<JSC::Structure>
'AnonymousSlotCount' was not declared in this scope
./DerivedSources/WebCore/JSSharedWorker.h: In member function
./DerivedSources/WebCore/JSSharedWorker.h:54:43: error: 'Base' has not
been declared
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
I've recompiled using the '--disable-shared-workers' configure flag
...
CC
WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
each undeclared identifier is reported only once for each function it
appears in
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
'SOUP_URI_SCHEME_FTP' undeclared (first use in this function)
make[1]: ***
[WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
Now I'm wondering if those errors are due to my toolchain (I'm
cross-compiling for Atom) or they are issues in the source code/side
libraries.
cairo 1.10.0
curl 7.25.0
directfb/direct/fusion 1.4.3
enchant 1.6.0
fontconfig 2.8.0
freetype 2.3.5
gettext 0.18.1.1
glib 2.26.1
gperf 3.0.4
icu 3.8
libpng 1.2.49
libsoup 2.28.2
libxml2 2.7.8
libxslt 1.1.26
Lite 0.8.10
pango 1.27.1
pixman 0.19.2
SQLite3 autoconf-3071100
I couldn't find a list of the required versions for each library, so I
would be grateful if anyone could provide a link to that, if exists.
Also, the code looks allright, my C++ is a bit rusty so I may have
missed something... any idea?
Cheers,
Piero
Post by Timothy Chon
+3, I've been interested in getting this to compile correctly (on linux)
too.
--tim
On Wed, Apr 11, 2012 at 10:56, Dave Henderson <
Post by Dave Henderson
Plus 2. I'm very interested in using webkit on DFB for certain
projects.
Post by Timothy Chon
Post by Dave Henderson
Dave
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo /
DFB
Post by Timothy Chon
Post by Dave Henderson
regards
Sriram
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still
running/supported.
Post by Timothy Chon
Post by Dave Henderson
Post by rippel tippel
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development (
http://tinyurl.com/2doosu)
rippel tippel
2012-04-12 16:56:36 UTC
Permalink
Hi Sriram,

thank you for sharing this. I've added my cross-compile options
(--host, --prefix, etc.) and could generate a correct Makefile.
However 'make' fails when looking for Xlib.h (see below) and I don't
have/want X11 on my embedded platform. My understanding is that X11
should not be necessary in order to build WebKitDFB.

Do you remember which branch did you use?

Tomorrow I'll try again, maybe using the 'webkitdfb_2010-11-18_cairo'
branch as well, just in case.

Best,
Piero

[Appendix]

This is my configure command, where $TOOLCHAIN is buildroot's staging dir:

./configure \
--host=i686-cm-linux --build=i686-pc-linux-gnu --prefix=$TOOLCHAIN/usr/webkit \
--with-target=directfb \
--without-gtkplus \
--enable-optimizations --disable-channel-messaging \
--disable-gtk-doc-html \
--enable-javascript-debugger --enable-offline-web-applications \
--enable-dom-storage --enable-database \
--disable-eventsource --disable-icon-database \
--enable-datalist --disable-video --enable-svg --enable-xpath \
--enable-xslt --enable-workers --disable-web-sockets \
--enable-jit --with-cairo-directfb --with-networking-backend=curl \
ac_cv_path_icu_config=$TOOLCHAIN/usr/bin/icu-config \
ac_cv_path_CURL_CONFIG=$TOOLCHAIN/usr/bin/curl-config \
ac_cv_path_FLEX=$TOOLCHAIN/usr/bin/flex \
ac_cv_path_GPERF=$TOOLCHAIN/usr/bin/gperf \
GLIB_COMPILE_SCHEMAS=$TOOLCHAIN/usr/bin/glib-compile-schemas \
GLIB_MKENUMS=$TOOLCHAIN/usr/bin/glib-mkenums \
GLIB_GENMARSHAL=$TOOLCHAIN/usr/bin/glib-genmarshal \
CC=$TOOLCHAIN/bin/i686-cm-linux-gcc \
CPP=$TOOLCHAIN/bin/i686-cm-linux-cpp \
CXX=$TOOLCHAIN/bin/i686-cm-linux-g++ \
CPPFLAGS="-I$TOOLCHAIN/usr/include -I$TOOLCHAIN/include
-I$TOOLCHAIN/usr/local/include" \
LDFLAGS="-L$TOOLCHAIN/lib -L$TOOLCHAIN/usr/lib -L$TOOLCHAIN/usr/local/lib"

Here's the error:

...
CXX WebCore/bindings/js/libwebkitgtk___la-ScriptController.lo
In file included from ./WebCore/bridge/npruntime_internal.h:28:0,
from ./WebCore/bridge/NP_jsobject.h:31,
from WebCore/bindings/js/ScriptController.cpp:34:
./WebCore/bridge/npapi.h:93:22: fatal error: X11/Xlib.h: No such file
or directory
compilation terminated.
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-ScriptController.lo] Error 1

On Thu, Apr 12, 2012 at 1:36 PM, Sriram Neelakandan
Post by Sriram Neelakandan
Hi Piero,
./configure --prefix=/home/sriramn/work_x86/installs/dfbwebkit/
--with-target=directfb --without-gtkplus --enable-optimizations
--disable-channel-messaging --enable-javascript-debugger
--enable-offline-web-applications --enable-dom-storage --enable-database
--disable-eventsource --disable-icon-database --enable-datalist
--disable-video --enable-svg --enable-xpath --enable-xslt --enable-workers
--disable-web-sockets --enable-jit --with-cairo-directfb
--with-networking-backend=curl
This is my configure and it compiled thru without any issues (as long as u
have all the deps compiled and installed)
Post by rippel tippel
After some hacking in Makefiles, I managed to ./configure WebKit
(hoorray!). In particular, I'm using branch webkitdfb_2010-11-18.
...
CXX    WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowBase.lo
CXX    WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo
In file included from ./DerivedSources/WebCore/JSSharedWorker.h:27:0,
./WebCore/workers/SharedWorker.h:41:48: error: invalid use of
incomplete type 'struct WebCore::AbstractWorker'
./WebCore/dom/EventTarget.h:43:11: error: forward declaration of
'struct WebCore::AbstractWorker'
./DerivedSources/WebCore/JSSharedWorker.h:34:48: error: expected
class-name before '{' token
'JSAbstractWorker' does not name a type
./DerivedSources/WebCore/JSSharedWorker.h:57:108: error: 'Base' has
not been declared
./DerivedSources/WebCore/JSSharedWorker.h: In static member function
'static WTF::PassRefPtr<JSC::Structure>
'AnonymousSlotCount' was not declared in this scope
./DerivedSources/WebCore/JSSharedWorker.h: In member function
./DerivedSources/WebCore/JSSharedWorker.h:54:43: error: 'Base' has not
been declared
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
I've recompiled using the '--disable-shared-workers' configure flag
...
CC
WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
each undeclared identifier is reported only once for each function it
appears in
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
'SOUP_URI_SCHEME_FTP' undeclared (first use in this function)
make[1]: ***
[WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
Now I'm wondering if those errors are due to my toolchain (I'm
cross-compiling for Atom) or they are issues in the source code/side
libraries.
cairo 1.10.0
curl 7.25.0
directfb/direct/fusion 1.4.3
enchant 1.6.0
fontconfig 2.8.0
freetype 2.3.5
gettext 0.18.1.1
glib 2.26.1
gperf 3.0.4
icu 3.8
libpng 1.2.49
libsoup 2.28.2
libxml2 2.7.8
libxslt 1.1.26
Lite 0.8.10
pango 1.27.1
pixman 0.19.2
SQLite3 autoconf-3071100
I couldn't find a list of the required versions for each library, so I
would be grateful if anyone could provide a link to that, if exists.
Also, the code looks allright, my C++ is a bit rusty so I may have
missed something... any idea?
Cheers,
Piero
Post by Timothy Chon
+3, I've been interested in getting this to compile correctly (on linux)
too.
--tim
On Wed, Apr 11, 2012 at 10:56, Dave Henderson
Plus 2.  I'm very interested in using webkit on DFB for certain projects.
Dave
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB
regards
Sriram
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still
running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)
Sriram Neelakandan
2012-04-13 04:30:46 UTC
Permalink
NPAPI and linux without X11 dont blend well
For now NPAPI defaults to X11 on Linux; I hope WebkitDFB will change it.
We will have to convince push NPAPI-DFB definitions via Mozilla


http://www.mail-archive.com/webkit-***@lists.webkit.org/msg05383.html
https://bugs.webkit.org/attachment.cgi?id=20705&action=prettypatch

regards
Sriram
Post by rippel tippel
Hi Sriram,
thank you for sharing this. I've added my cross-compile options
(--host, --prefix, etc.) and could generate a correct Makefile.
However 'make' fails when looking for Xlib.h (see below) and I don't
have/want X11 on my embedded platform. My understanding is that X11
should not be necessary in order to build WebKitDFB.
Do you remember which branch did you use?
Tomorrow I'll try again, maybe using the 'webkitdfb_2010-11-18_cairo'
branch as well, just in case.
Best,
Piero
[Appendix]
./configure \
--host=i686-cm-linux --build=i686-pc-linux-gnu
--prefix=$TOOLCHAIN/usr/webkit \
--with-target=directfb \
--without-gtkplus \
--enable-optimizations --disable-channel-messaging \
--disable-gtk-doc-html \
--enable-javascript-debugger --enable-offline-web-applications \
--enable-dom-storage --enable-database \
--disable-eventsource --disable-icon-database \
--enable-datalist --disable-video --enable-svg --enable-xpath \
--enable-xslt --enable-workers --disable-web-sockets \
--enable-jit --with-cairo-directfb --with-networking-backend=curl \
ac_cv_path_icu_config=$TOOLCHAIN/usr/bin/icu-config \
ac_cv_path_CURL_CONFIG=$TOOLCHAIN/usr/bin/curl-config \
ac_cv_path_FLEX=$TOOLCHAIN/usr/bin/flex \
ac_cv_path_GPERF=$TOOLCHAIN/usr/bin/gperf \
GLIB_COMPILE_SCHEMAS=$TOOLCHAIN/usr/bin/glib-compile-schemas \
GLIB_MKENUMS=$TOOLCHAIN/usr/bin/glib-mkenums \
GLIB_GENMARSHAL=$TOOLCHAIN/usr/bin/glib-genmarshal \
CC=$TOOLCHAIN/bin/i686-cm-linux-gcc \
CPP=$TOOLCHAIN/bin/i686-cm-linux-cpp \
CXX=$TOOLCHAIN/bin/i686-cm-linux-g++ \
CPPFLAGS="-I$TOOLCHAIN/usr/include -I$TOOLCHAIN/include
-I$TOOLCHAIN/usr/local/include" \
LDFLAGS="-L$TOOLCHAIN/lib -L$TOOLCHAIN/usr/lib -L$TOOLCHAIN/usr/local/lib"
...
CXX WebCore/bindings/js/libwebkitgtk___la-ScriptController.lo
In file included from ./WebCore/bridge/npruntime_internal.h:28:0,
from ./WebCore/bridge/NP_jsobject.h:31,
./WebCore/bridge/npapi.h:93:22: fatal error: X11/Xlib.h: No such file
or directory
compilation terminated.
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-ScriptController.lo] Error 1
On Thu, Apr 12, 2012 at 1:36 PM, Sriram Neelakandan
Post by Sriram Neelakandan
Hi Piero,
./configure --prefix=/home/sriramn/work_x86/installs/dfbwebkit/
--with-target=directfb --without-gtkplus --enable-optimizations
--disable-channel-messaging --enable-javascript-debugger
--enable-offline-web-applications --enable-dom-storage --enable-database
--disable-eventsource --disable-icon-database --enable-datalist
--disable-video --enable-svg --enable-xpath --enable-xslt
--enable-workers
Post by Sriram Neelakandan
--disable-web-sockets --enable-jit --with-cairo-directfb
--with-networking-backend=curl
This is my configure and it compiled thru without any issues (as long as
u
Post by Sriram Neelakandan
have all the deps compiled and installed)
Post by rippel tippel
After some hacking in Makefiles, I managed to ./configure WebKit
(hoorray!). In particular, I'm using branch webkitdfb_2010-11-18.
...
CXX WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowBase.lo
CXX WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo
In file included from ./DerivedSources/WebCore/JSSharedWorker.h:27:0,
./WebCore/workers/SharedWorker.h:41:48: error: invalid use of
incomplete type 'struct WebCore::AbstractWorker'
./WebCore/dom/EventTarget.h:43:11: error: forward declaration of
'struct WebCore::AbstractWorker'
./DerivedSources/WebCore/JSSharedWorker.h:34:48: error: expected
class-name before '{' token
'JSAbstractWorker' does not name a type
./DerivedSources/WebCore/JSSharedWorker.h:57:108: error: 'Base' has
not been declared
./DerivedSources/WebCore/JSSharedWorker.h: In static member function
'static WTF::PassRefPtr<JSC::Structure>
'AnonymousSlotCount' was not declared in this scope
./DerivedSources/WebCore/JSSharedWorker.h: In member function
./DerivedSources/WebCore/JSSharedWorker.h:54:43: error: 'Base' has not
been declared
make[1]: ***
[WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo]
Post by Sriram Neelakandan
Post by rippel tippel
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
I've recompiled using the '--disable-shared-workers' configure flag
...
CC
WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo
Post by Sriram Neelakandan
Post by rippel tippel
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
each undeclared identifier is reported only once for each function it
appears in
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
'SOUP_URI_SCHEME_FTP' undeclared (first use in this function)
make[1]: ***
[WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo]
Post by Sriram Neelakandan
Post by rippel tippel
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
Now I'm wondering if those errors are due to my toolchain (I'm
cross-compiling for Atom) or they are issues in the source code/side
libraries.
cairo 1.10.0
curl 7.25.0
directfb/direct/fusion 1.4.3
enchant 1.6.0
fontconfig 2.8.0
freetype 2.3.5
gettext 0.18.1.1
glib 2.26.1
gperf 3.0.4
icu 3.8
libpng 1.2.49
libsoup 2.28.2
libxml2 2.7.8
libxslt 1.1.26
Lite 0.8.10
pango 1.27.1
pixman 0.19.2
SQLite3 autoconf-3071100
I couldn't find a list of the required versions for each library, so I
would be grateful if anyone could provide a link to that, if exists.
Also, the code looks allright, my C++ is a bit rusty so I may have
missed something... any idea?
Cheers,
Piero
Post by Timothy Chon
+3, I've been interested in getting this to compile correctly (on
linux)
Post by Sriram Neelakandan
Post by rippel tippel
Post by Timothy Chon
too.
--tim
On Wed, Apr 11, 2012 at 10:56, Dave Henderson
Post by Dave Henderson
Plus 2. I'm very interested in using webkit on DFB for certain projects.
Dave
Plus 1. very much interested to support and contribute to this
project.
Post by Sriram Neelakandan
Post by rippel tippel
Post by Timothy Chon
Post by Dave Henderson
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB
regards
Sriram
On Wed, Apr 11, 2012 at 9:57 PM, rippel tippel <
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still
running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18,
but
Post by Sriram Neelakandan
Post by rippel tippel
Post by Timothy Chon
Post by Dave Henderson
Post by rippel tippel
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development (
http://tinyurl.com/2doosu)
rippel tippel
2012-04-18 14:59:39 UTC
Permalink
Maybe it's a naive question... In the git page
(http://git.directfb.org/) I can see two WebKitDFB projects:

libs/WebKitDFB.git and programs/WebKit.git

It looks like they're sharing a lot of code, and I'm quite confused on
what the differences are, especially in terms of features.

To make things clear, I'm planning to use it in an Atom-based embedded
device, with full HTML5 and WebGL support.
I would probably need it as a library, i.e. I should be able to render
my own content (not necessarily a remote web page).
Which one (if any) should I use?

Cheers,
rippel


On Fri, Apr 13, 2012 at 5:44 AM, Sriram Neelakandan
For now,
1. disable NPAPI support during compilation or
2. remove those header inclusions and structs with an #if 0
On Fri, Apr 13, 2012 at 10:00 AM, Sriram Neelakandan
Post by Sriram Neelakandan
NPAPI and linux without X11 dont blend well
For now NPAPI defaults to X11 on Linux; I hope WebkitDFB will change it.
We will have to convince push NPAPI-DFB definitions via Mozilla
https://bugs.webkit.org/attachment.cgi?id=20705&action=prettypatch
regards
Sriram
Post by rippel tippel
Hi Sriram,
thank you for sharing this. I've added my cross-compile options
(--host, --prefix, etc.) and could generate a correct Makefile.
However 'make' fails when looking for Xlib.h (see below) and I don't
have/want X11 on my embedded platform. My understanding is that X11
should not be necessary in order to build WebKitDFB.
Do you remember which branch did you use?
Tomorrow I'll try again, maybe using the 'webkitdfb_2010-11-18_cairo'
branch as well, just in case.
Best,
Piero
[Appendix]
./configure \
--host=i686-cm-linux --build=i686-pc-linux-gnu
--prefix=$TOOLCHAIN/usr/webkit \
--with-target=directfb \
--without-gtkplus \
--enable-optimizations --disable-channel-messaging \
--disable-gtk-doc-html \
--enable-javascript-debugger --enable-offline-web-applications \
--enable-dom-storage --enable-database \
--disable-eventsource --disable-icon-database \
--enable-datalist --disable-video --enable-svg --enable-xpath \
--enable-xslt --enable-workers --disable-web-sockets \
--enable-jit --with-cairo-directfb --with-networking-backend=curl \
ac_cv_path_icu_config=$TOOLCHAIN/usr/bin/icu-config \
ac_cv_path_CURL_CONFIG=$TOOLCHAIN/usr/bin/curl-config \
ac_cv_path_FLEX=$TOOLCHAIN/usr/bin/flex \
ac_cv_path_GPERF=$TOOLCHAIN/usr/bin/gperf \
GLIB_COMPILE_SCHEMAS=$TOOLCHAIN/usr/bin/glib-compile-schemas \
GLIB_MKENUMS=$TOOLCHAIN/usr/bin/glib-mkenums \
GLIB_GENMARSHAL=$TOOLCHAIN/usr/bin/glib-genmarshal \
CC=$TOOLCHAIN/bin/i686-cm-linux-gcc \
CPP=$TOOLCHAIN/bin/i686-cm-linux-cpp \
CXX=$TOOLCHAIN/bin/i686-cm-linux-g++ \
CPPFLAGS="-I$TOOLCHAIN/usr/include -I$TOOLCHAIN/include
-I$TOOLCHAIN/usr/local/include" \
LDFLAGS="-L$TOOLCHAIN/lib -L$TOOLCHAIN/usr/lib
-L$TOOLCHAIN/usr/local/lib"
...
CXX    WebCore/bindings/js/libwebkitgtk___la-ScriptController.lo
In file included from ./WebCore/bridge/npruntime_internal.h:28:0,
                from ./WebCore/bridge/NP_jsobject.h:31,
./WebCore/bridge/npapi.h:93:22: fatal error: X11/Xlib.h: No such file
or directory
compilation terminated.
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-ScriptController.lo] Error 1
On Thu, Apr 12, 2012 at 1:36 PM, Sriram Neelakandan
Post by Sriram Neelakandan
Hi Piero,
./configure --prefix=/home/sriramn/work_x86/installs/dfbwebkit/
--with-target=directfb --without-gtkplus --enable-optimizations
--disable-channel-messaging --enable-javascript-debugger
--enable-offline-web-applications --enable-dom-storage
--enable-database
--disable-eventsource --disable-icon-database --enable-datalist
--disable-video --enable-svg --enable-xpath --enable-xslt
--enable-workers
--disable-web-sockets --enable-jit --with-cairo-directfb
--with-networking-backend=curl
This is my configure and it compiled thru without any issues (as long as u
have all the deps compiled and installed)
Post by rippel tippel
After some hacking in Makefiles, I managed to ./configure WebKit
(hoorray!). In particular, I'm using branch webkitdfb_2010-11-18.
...
CXX    WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowBase.lo
CXX    WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo
In file included from ./DerivedSources/WebCore/JSSharedWorker.h:27:0,
./WebCore/workers/SharedWorker.h:41:48: error: invalid use of
incomplete type 'struct WebCore::AbstractWorker'
./WebCore/dom/EventTarget.h:43:11: error: forward declaration of
'struct WebCore::AbstractWorker'
./DerivedSources/WebCore/JSSharedWorker.h:34:48: error: expected
class-name before '{' token
'JSAbstractWorker' does not name a type
./DerivedSources/WebCore/JSSharedWorker.h:57:108: error: 'Base' has
not been declared
./DerivedSources/WebCore/JSSharedWorker.h: In static member function
'static WTF::PassRefPtr<JSC::Structure>
'AnonymousSlotCount' was not declared in this scope
./DerivedSources/WebCore/JSSharedWorker.h: In member function
./DerivedSources/WebCore/JSSharedWorker.h:54:43: error: 'Base' has not
been declared
make[1]: ***
[WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
I've recompiled using the '--disable-shared-workers' configure flag
...
CC
WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
each undeclared identifier is reported only once for each function it
appears in
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
'SOUP_URI_SCHEME_FTP' undeclared (first use in this function)
make[1]: ***
[WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2
Now I'm wondering if those errors are due to my toolchain (I'm
cross-compiling for Atom) or they are issues in the source code/side
libraries.
cairo 1.10.0
curl 7.25.0
directfb/direct/fusion 1.4.3
enchant 1.6.0
fontconfig 2.8.0
freetype 2.3.5
gettext 0.18.1.1
glib 2.26.1
gperf 3.0.4
icu 3.8
libpng 1.2.49
libsoup 2.28.2
libxml2 2.7.8
libxslt 1.1.26
Lite 0.8.10
pango 1.27.1
pixman 0.19.2
SQLite3 autoconf-3071100
I couldn't find a list of the required versions for each library, so I
would be grateful if anyone could provide a link to that, if exists.
Also, the code looks allright, my C++ is a bit rusty so I may have
missed something... any idea?
Cheers,
Piero
Post by Timothy Chon
+3, I've been interested in getting this to compile correctly (on linux)
too.
--tim
On Wed, Apr 11, 2012 at 10:56, Dave Henderson
Plus 2.  I'm very interested in using webkit on DFB for certain projects.
Dave
Plus 1. very much interested to support and contribute to this project.
AFAIK, i heard that there is a more recent port that is yet to be pushed
out.
But looks like the core-maintainers are busy with some other stuff ..
I managed to compile the 2010-11-18 stuff on PC.. it did work well.
And I don't think you need GTK for it. It just requires LiTE/ Cairo /
DFB
regards
Sriram
On Wed, Apr 11, 2012 at 9:57 PM, rippel tippel
Post by rippel tippel
Hi,
I'm wondering whether the WebKit DFB project is still
running/supported.
I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
have some issues in cross-compiling it, as my platform doesn't have
GTK+ (error is about 'gail' not found, actually).
Could anyone provide any advice?
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)
_______________________________________________
directfb-users mailing list
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development
(http://tinyurl.com/2doosu)
Sriram Neelakandan
2012-04-18 17:13:33 UTC
Permalink
Post by rippel tippel
libs/WebKitDFB.git and programs/WebKit.git
Which one (if any) should I use?
I have built the browser out of programs/Webkit.git some time back .. its
of an old webkit-baseline-Nov-2010 or so
I noticed the libs/WebkitDFB recently ...and its looks like an updated port
!
may be some one from directfb-dev should be able to throw more light on
this.
--
Sriram Neelakandan
Author - Embedded Linux System Design And Development (
http://tinyurl.com/2doosu)
Denis Oliver Kropp
2012-05-03 20:13:20 UTC
Permalink
Post by rippel tippel
libs/WebKitDFB.git and programs/WebKit.git
Which one (if any) should I use?
I have built the browser out of programs/Webkit.git some time back .. its of an old webkit-baseline-Nov-2010 or so
I noticed the libs/WebkitDFB recently ...and its looks like an updated port !
may be some one from directfb-dev should be able to throw more light on this.
Yes, I had some issues pulling from webkit git and pushing to ours.

Will finish the update soon.
--
Best regards,
Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
Loading...