webos-ports: modify distro configuration

* define DEPLOY_DIR_IMAGE path with separate directory for each MACHINE
* add LICENSE_CREATE_PACKAGE
* webos-features: Enable gold as default linker
* defaulttunes: Add config file with DEFAULTTUNE overrides
  * change DEFAULTTUNE for tuna and grouper to cortexa8t-neon
* import MACHINE_CLASS override from SHR
* set default of WEBOS_TARGET_MACHINE_IMPL to device
  Having the default set to device makes it easier to support different target machines
  without adding webos specific overrides to their machine layer.
* fix KERNEL_IMAGE_BASE_NAME to include PKGE
* switch init manager from upstart to systemd

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
classes: import from separate meta-webos-ports

* for history check danny-old branch
* changes since import:
* extend enyojs_application bbclass to install db8 kinds/permissions and activities
* add simple bbclass to extend package meta data for device/luna restart
* rename cordova_application/enyojs_application bbclass to start with prefix webos_
* move common application parts from webos_enyojs_application into own webos_application class
* webos-ports-image: don't pack minimal /dev into our images
  We're using devtmpfs so are not required to have a minimal /dev as part of our images.
  This will furthermore break the generation of android fastboot images as they are not
  supporting special files like character or block devices.
* rm_old_work: drop WORKDIR modification
  it's no longer needed, package.bbclass was fixed to package source
  correctly when last directory ends with just PV and this layout is also
  default in oe-core now

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
images: import from separate meta-webos-ports

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
devshell: add recipe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
orc: disable mmap, docs, examples and testsuite

* introduce changes related to orc from HP/Palm's  meta-oe

This makes use of upstream meta-oe rather than using only a subset of meta-oe from
HP/Palm. Furthermore version of orc has bumped to 0.4.16 as 0.4.14 is gone from upstream
meta-oe.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
nodejs: provide native version

* CMAKE_AR needs to be set otherwise it's set to CMAKE_AR-NOTFOUND

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
opkg: run opkg-postinst a bit earlier

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
sysvinit: use u-a for telinit

* for history check danny-old branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
distro-feed-configs: limit available architectures

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
mtdev: add recipe

* for history check danny-old branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
ofono, ofono-qt: add recipes

* for history check danny-old branch
* changes since import:
* use ubuntu's modified version with support for the android ril daemon
* launch when android init system has finished launching it's services
* bump SRCREV
  [ril/rilmodem] Initial support for mobile data (GPRS).
* correct DEPENDS and bump PR
  * libsamsung-ipc is not needed anymore as the used ofono version does not include support
    for it.
  * the rilmodem driver depends on symbols from libwaudio which is part of
    android-audiosystem.
  * use DEPENDS +=, because DEPENDS from .inc are still needed (dbus,
    glib-2.0, udev, mobile-broadband-*, bluez4)

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
connman, (webos-)connman-adapter: import from separate meta-webos-ports

* for history check danny-old branch

* changes since import:
* webos-connman-adapter: add temporary patch to fix #379
  Patch will go upstream and should be dropped once it is included upstream.
* connman-conf: add wired-setup script to SRC_URI
* connman-conf: fix build for qemu*
  qemuall append without leading space, which causes errors like this:
  ERROR: Fetcher failure: Unable to find file file://wired-setupfile://wired.config anywhere.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
pulseaudio: import from separate meta-webos-ports

* for history check danny-old branch
* changes since modification:
* import patch from ubuntu
  See https://bazaar.launchpad.net/~phablet-team/phablet-extras/pulseaudio/revision/587
* add alsa configuration to system configuration file
* add upstart script to start in system mode on startup
* add patch to configure pulseaudio properly; fixes #421
* configure it to be compatible with the android-audiosystem
  * Pulseaudio needs to be start only when the android mediaserver is running as otherwise
    it will hang while accessing the audioflinger service through android-audiosystem
  * We're overriding the default configuration with our own variant which will be extended
    soon to support the webOS audio system.
  * We can't use udev based module autodetection while configuring manual alsa sink/source
    as this leads to access pulseaudio the alsa card provided by the device twice and having
    our kernel oopsing.
  * always start in system mode
* launch when android init system has finished launching it's services

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
packagegroups: import from separate meta-webos-ports

* for history check danny-old branch
* changes since import:
  packagegroup-webos-upstart: make it MACHINE_ARCH, add pulseaudio-upstart
* packagegroup-webos-ports-extended: add more packages
  samsung-rfs-mgr from ofono and right android-system-image
  android-audiosystem
  pull android-audiosystem only for tuna and grouper
  only include bluez4 when machine has bluetooth feature
  gstreamer and plugins
  pulseaudio-misc
  android-system-compat
  drop dependency on samsung-rfs-mgr for tuna
  some additional gst plugins
* packagegroup-webos-ports-development: add more packages
  strace
  opkg-utils
  gst-meta-debug
  testr application
  gdbserver and bc

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
crash-handler: add recipe

* import from separate meta-webos-ports
* for history check danny-old branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
mjson: add recipe

* import from separate meta-webos-ports
* for history check danny-old branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
powerstat: add recipe

* import from separate meta-webos-ports
* for history check danny-old branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
apps: add recipes for webosports and webosinternals apps

* import from separate meta-webos-ports
* for history check danny-old branch
* changes since import:
* org.webosports.app.calendar: fix not starting application
  Application was not starting because cordova script wasn't in place so webOS window magic
  couldn't be done as needed.
  bump SRCREV to latest
* org.webosports.app.settings: bump SRCREV
  5cd1745 Correct path to stored defaults wallpapers
  bump SRCREV
  efc30a1 Remove developer mode from devmode page
  14d6612 Rename Developer Mode page to Developer Options
  38225cb Add option to developer options to enable FPS counter
* org.webosports.app.pdf: add pdf viewer application
* org.webosports.app.testr: add recipe for testr application

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
services: add recipes for webosports and weebosinternals services

* import from separate meta-webos-ports
* for history check danny-old branch
* changes since import:
* org.webosinternals.service.update: bump SRCREV
  fca1778 Implement service method to retrieve various information about a package
  package needs a device restart after an upgrade

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
token-generater: add recipe

* import from separate meta-webos-ports
* for history check danny-old branch

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>