This feature is from bug 1674 Tree/Branch: Poky/master Poky Commit: 468998cddbe1a803096c9b357e1b5daa3b7e8c2e Steps: 1. Download poky source and prepare the build environment 2. Set MACHINE to qemuarm in conf/local.conf 3. Remove "x11" from DISTRO_FEATURES in meta/conf/distro/include/default-distrovars.inc, use "gtk-directfb" instead of it: DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g gtk-directfb ${DISTRO_FEATURES_LIBC}" 4. Run "bitbake core-image-gtk-directfb" to build a gtk-directfb image Error log: ############# | checking for CAIRO_BACKEND... no | configure: error: Package requirements (cairo-xlib >= 1.6) were not met: | | No package 'cairo-xlib' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables CAIRO_BACKEND_CFLAGS | and CAIRO_BACKEND_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | ERROR: oe_runconf failed ..... ERROR: '/buildarea2/poky/meta/recipes-gnome/gtk+/gtk+_2.24.8.bb' failed #####################
Misconfiguration of directfb in PACKAGECONFIG causes this problem. I change directfb to gtk-directfb. Another problem is about messy code when running gtk-demo because of no "/etc/pango". I create this directory in pango.inc. Please review patches on the following web page. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/?h=xiaofeng/gtk-directfb
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=beb601f79ff0cc98ae546344a89f6c64997c8658 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=094118031c7e9d47d34d433ce4f9a6b054c9145f http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e2948feae83f75bda5ef88dcc375dc6481506a37
verified on: git info: 41a83ccfe50ec69425a4828fb5836d38d3f99e67 git branch : poky/master and the gtk-directfb image can boot and "gtk-demo" can run on the image.
test env : host: ubuntu 11.10 x86_64 kernel: 3.0.0-15-generic #26-Ubuntu SMP