Op 23 nov. 2011, om 07:47 heeft Xiaofeng Yan het volgende geschreven:
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Hi Richard & all,
I fixed some problems found at previous submitting and use PACKAGECONFIG to get mutual configuration between directfb and x11. I hope this submitting isn't a horrible mess :).
One previous problem about what happen when user want to have both directfb and x11 in DISTRO_FEATURES?
That was the question I was going to ask
I think directfb and x11 can't be defined in DISTRO_FEATURES at the same time because directfb and x11 are the lowest level library for GUI with different mechanism.
I don't understand what the above means, but I've been building both directfb and x11 for some years now and they don't clash.
Hi koen,
x11 and directfb should be mutual in DISTRO_FEATURES. User may use file "meta-yocto/conf/local.conf.sample.extended" to select the mode they want to need.
but directfb can work in an image with x11. for example, "directfb" and "direcrfb-examples" can be added to task-core-x11-sato.bb. you can run df_andi, a demo based on directfb, on matchbox term running on core-image-sato with x11. So directfb and x11 can exist in the same image but not be defined in DISTRO_FEATURES at same time.
If you have any suggestion, I will fix them again.
Last time I looked both gtk+ and pango had their backend modularized, so you can build both and install the right one in the rootfs. I think that would be a better way to go. Just look at debian with their gtk-directfb installer, they have gtk-X as well :)
I know what you mean. It could be a good method to have both in an
image. It may become a new task after completing this feature.