webkit: completely drop all machine-specific things

Compiling webkit in a machine specific way doesn't really make sense so we drop everything
related to this and forget about it as fast as possible :)

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
webos-image: add missing pieces to support to support selecting an alternative to dropbear

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
webos-image: pull dropbear through ssh-server-dropbear image feature instead of task-webos-core RDEPENDS

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
task-webos-core, task-webos-extended: drop invalid DEPENDS_${PN}

* tasks (packagegroups in newer oe-core) does not have such _build_ time
  dependencies and DEPENDS (unlike RDEPENDS) doesn't have _${PN} suffix

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
task-webos-core: remove jpeg from RDEPENDS

* if something depends on lib like jpeg it will pull it with shlibs
* it allows to switch P_P_jpeg e.g. to libjpeg-turbo

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
distro: webos: set PREFERRED_PROVIDER_jpeg to jpeg

* this way libjpeg-turbo wont be selected as default provider for build
  time dependency on jpeg

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt4-webos: store parts of builddir and srcdir for webkit-webos and webkit-supplemental

* webkit-supplemental needs some header files which are not installed by
  default and inside those there are other headers included from srcdir

  # but qt4-webos checkout has different layout (src/gui/painting/qwindowsurface_p instead of qt-build-tuna/include/QtGui/private/qwindowsurface_p.h)
  # $ find tmp-eglibc/work/armv7a-vfp-neon-webos-linux-gnueabi/webkit-supplemental-2.0.0-0.5-r1/ -name qwindowsurface_p.h
  # tmp-eglibc/work/armv7a-vfp-neon-webos-linux-gnueabi/webkit-supplemental-2.0.0-0.5-r1/qt4-webos/src/gui/painting/qwindowsurface_p.h
  #
  # $ find tmp-eglibc/work/tuna-webos-linux-gnueabi/qt4-webos-4.8.2.03-0.35-r11/ -name qwindowsurface_p.h
  # tmp-eglibc/work/tuna-webos-linux-gnueabi/qt4-webos-4.8.2.03-0.35-r11/git/src/gui/painting/qwindowsurface_p.h
  # tmp-eglibc/work/tuna-webos-linux-gnueabi/qt4-webos-4.8.2.03-0.35-r11/package/usr/src/debug/qt4-webos-4.8.2.03-0.35-r11/git/src/gui/painting/qwindowsurface_p.h
  # tmp-eglibc/work/tuna-webos-linux-gnueabi/qt4-webos-4.8.2.03-0.35-r11/packages-split/qt4-webos-dbg/usr/src/debug/qt4-webos-4.8.2.03-0.35-r11/git/src/gui/painting/qwin
  # tmp-eglibc/work/tuna-webos-linux-gnueabi/qt4-webos-4.8.2.03-0.35-r11/qt-build-tuna/include/QtGui/private/qwindowsurface_p.h
  #
  # $ cat tmp-eglibc/work/tuna-webos-linux-gnueabi/qt4-webos-4.8.2.03-1.00-r12/qt-build-tuna/include/QtGui/private/qwindowsurface_p.h
  # #include "../../../../git/src/gui/painting/qwindowsurface_p.h"

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
webkit-supplemental: don't use WORKDIR from qt4-webos build, but stored headers in sysroot

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt4-webos: make it MACHINE_ARCH

* qt4-webos is really machine-specific as of right so we have to specifiy it to keep package
  feeds sane. This is necessary unless qt4-webos moves out of the machine-specific corner and
  becomes as universal component available to use for all machines.

* even if we replace those python functions using MACHINE to define
  config with simple variable with arch overrides, we still export
  MACHINE to qt build
  export WEBOS_CONFIG="webos ${MACHINE}"
  so to make this recipe correctly TUNE_PKGARCH we have to change remove
  MACHINE usage from .pro files in repo and replace it with something
  more generic.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
webkit-webos: make it MACHINE_ARCH

* we're depending on MACHINE specific qt4-webos so better to build it as MACHINE_ARCH
  then rebuild it after each MACHINE switch as TUNE_PKGARCH

* this is temporary solution, qt4-webos should be changed to be TUNE_PKGARCH
  but that needs some changes in qt repo too.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
webkit-supplemental: make it MACHINE_ARCH

* we're depending on MACHINE specific qt4-webos so better to build it as MACHINE_ARCH
  then rebuild it after each MACHINE switch as TUNE_PKGARCH

* this is temporary solution, qt4-webos should be changed to be TUNE_PKGARCH
  but that needs some changes in qt repo too.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
browser-adapter: make it MACHINE_ARCH

* we're depending on MACHINE specific qt4-webos so better to build it as MACHINE_ARCH
  then rebuild it after each MACHINE switch as TUNE_PKGARCH

* this is temporary solution, qt4-webos should be changed to be TUNE_PKGARCH
  but that needs some changes in qt repo too.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
browserserver: make it MACHINE_ARCH

* we're depending on MACHINE specific qt4-webos so better to build it as MACHINE_ARCH
  then rebuild it after each MACHINE switch as TUNE_PKGARCH

* this is temporary solution, qt4-webos should be changed to be TUNE_PKGARCH
  but that needs some changes in qt repo too.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
luna-sysservice: make it MACHINE_ARCH

* we're depending on MACHINE specific qt4-webos so better to build it as MACHINE_ARCH
  then rebuild it after each MACHINE switch as TUNE_PKGARCH

* this is temporary solution, qt4-webos should be changed to be TUNE_PKGARCH
  but that needs some changes in qt repo too.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt4-webos: fix creating /include directory in build host root

* the same fix like normal qt4
  http://git.openembedded.org/openembedded-core/commit/?id=7d3fd68480d54a8ef0d91a772df3506cd45ef2c2

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt4-webos: add patch to fix build for qemux86-64

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
browser-adapter: fix unmatched quotes

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt4-webos: replace python functions with simpler variable

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qmake-webos-native: remove dependency on target MACHINE in native recipe

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt4-webos: move shared parts between qt4-webos.bb and qmake-webos-native.bb to qt4-webos.inc

* at least we don't depend on MACHINE variable from native recipe
  and we can disable opengl

* but this is still only temporary solution and needs to be replaced with qt4-native

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>