Skip to contentSkip to conversation

webkit with poky(yocto) on top of directfb and not X11

DISCUSSION Robert Berger 3 participants 5 messages Apr 6, 2011 – Apr 8, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to figure out how to get a webkit with yocto/poky built without X11, but directfb instead.

Grepping through the poky tree that's what I see:

sato contains a webkit, which depends on gtk+, which runs on x11/clutter.

... but there is also a qt4-embedded package, which seems to run on top of directfb and has a dependency with webkit.

Does this mean, that if I build/install qt4-embedded and kill the X-server on a sato image that I'll have a webkit on top of directfb?

Is this supposed to be the right way to achieve webkit over directfb?

Please advise.

Regards,

Robert..."The IQ of the group is the lowest IQ of a member of the group divided by the number of people in the group." - unknown

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1

#1 lore raw
Quoted 19 lines · Robert Berger

Hi,

I'm trying to figure out how to get a webkit with yocto/poky built without X11, but directfb instead.

Grepping through the poky tree that's what I see:

sato contains a webkit, which depends on gtk+, which runs on x11/clutter.

... but there is also a qt4-embedded package, which seems to run on top of directfb and has a dependency with webkit.

Does this mean, that if I build/install qt4-embedded and kill the X-server on a sato image that I'll have a webkit on top of directfb?

Is this supposed to be the right way to achieve webkit over directfb?

Please advise.

Quoted 7 lines

Regards,

Robert..."The IQ of the group is the lowest IQ of a member of the group divided by the number of people in the group." - unknown

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1

I am also new to the DirectFB, some here is just preliminary thought for your referrence.

From the dependency point of view, you want a webkit-fb which is depending on gtk+-fb which in turn is depending on DirectFB. so probably you need:
- a gtk-fb recipes. it can reuse current gtk+ recipe, but add directfb target, like EXTRA_OECONF += " --with-gdktarget=directfb "
- a webkit-fb recipe: it can reuse the current webkit-gtk recipe, but add directfb target: EXTRA_OECONF += " --with-target=directfb "

it is not related to qt4-embedded, so you don't need to add qt4-embedded.

Regards
Ke

#4 lore raw
In reply to Robert Berger
Quoted 7 lines · On Wednesday 06 April 2011 20:22:31 Robert Berger wrote:

... but there is also a qt4-embedded package, which seems to run on top of directfb and has a dependency with webkit.

Does this mean, that if I build/install qt4-embedded and kill the X-server on a sato image that I'll have a webkit on top of directfb?

Is this supposed to be the right way to achieve webkit over directfb?

I don't know that there's one "right" way - Ke has suggested a gtk+ based solution, but qt4-embedded should also work in the way you described, in that it will provide a webkit-based web browsing widget for your application that can be used without X.

In this scenario you would create a recipe for your application that would inherit from the qt4e bbclass, and then create a custom image that would install your application's package, and shared library dependencies will pull in the appropriate Qt4-embedded packages automatically. The finishing touch would be an init-script that started your application on boot.

(I guess it would be useful to document some of this Qt4 stuff in a little more depth at some point.)

Cheers,
Paul

#2 lore raw
In reply to Yu Ke

Hi,

Quoted 11 lines · Yu Ke

I am also new to the DirectFB, some here is just preliminary thought for your referrence.

From the dependency point of view, you want a webkit-fb which is depending on gtk+-fb which in turn is depending on DirectFB. so probably you need:
- a gtk-fb recipes. it can reuse current gtk+ recipe, but add directfb target, like EXTRA_OECONF += " --with-gdktarget=directfb "
- a webkit-fb recipe: it can reuse the current webkit-gtk recipe, but add directfb target: EXTRA_OECONF += " --with-target=directfb "

I did not try it yet with yocto/poky, but last time we tried webkit over gtk+ over directfb it turned out that what you suggest exists, but only partially;)
If you are brave enough to build it you will find that there is actually still a dependency on X11, which needs to be stubbed.

You might want to have a look here to see what I mean:
http://old.nabble.com/Plug-in-support-on-DirectFB-Webkit-td22287620.html

Quoted 5 lines

it is not related to qt4-embedded, so you don't need to add qt4-embedded.

Regards
Ke

Regards,

Robert

#3 lore raw
In reply to Yu Ke

Hi,

You can find also in openembedded __nonworking__ recipes:

http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/nonworking/gtk+/gtk+-directfb_2.10.14.bb

So I guess this approach needs quite a bit of cooking and it's questionable if and how the webkit plugin infrastructure will work.

Regards,

Robert
...The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents.

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1