openwebos/meta-webos — pull request #36 by shr-project (2012-09-25 07:42:22+00:00)
Title: webkit-* and qt4-webos changes

qt4-webos is very bad recipe
1) deleting stuff from STAGING_INCDIR in do_configure_prepend
2) machine specific
3) hardcoded machine names e.g. in qt4_machine_config_* (at least machine names should be extracted to some variables which can be appended in some BSP bbappned)
4) QT_CONFIG_FLAGS is using STAGING_BINDIR_NATIVE/STAGING_DIR_HOST directly as prefix (oe-core qt4 recipes are using qt4-tools-native which is cleaner)
5) do_install_append is using sometimes correctly ${D}, but e.g.
install -m 555 ${PALM_BUILD_DIR}/plugins/platforms/libqpalm.so ${STAGING_LIBDIR}/libqpalm.so
6) webkit-webos and webkit-supplemental are using qt4-webos to find private headers

I'm not going to fix first 5, because it would be easier to just drop this recipes and use oe-core version with small .bbappned to apply webos changes and diff from webos qt4 repo.

This PR fixes 6) by storing needed headers to sysroot, so we can build webkit* even when qt4-webos builddir is gone (e.g. thanks to rm_work) and we don't need to update PR in webos-supplemental everytime qt4-webos PR is changed (it's not even possible with some other layers having PRINC in qt4-webos bbappend.