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>
wakelockd: add recipe

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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
sleepd: use wakelockd for suspend handling

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

* import from separate meta-webos-ports
* for history check danny-old branch
* changes since import:
* bump SRCREV

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
alsa-lib: ucm: fix handling of config files

* when file type is not reported correctly
* import modifications from separate  meta-webos-ports
* for history check danny-old branch

* alsa-lib: rename bbappend to match new version from oe-core
* one patch was already applied upstream, drop it from OE

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

* import from separate meta-webos-ports

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
libhybris: use webOS-ports/master branch and bump SRCREV

* import modifications from separate meta-webos-ports
* changes since import:
* bump to SRCREV which installs missing header files
* bump SRCREV to working modified upstream version
  Latest upstream version is causing LSM to segfault because of the newly introduced
  reference counting for rendering buffers which isn't used by the current rendering
  infrastructure.
* bump SRCREV to fix bug causing nothing to be rendered
* bump SRCREV
  a3664bf egl: remove offscreen rendering code
* bump SRCREV to follow upstream

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

* formely known as webos-hybris-compositor
* qt-webos-plugin: depend on libwebos-gui
* luna-sysmgr: depend on libwebos-gui
* bump SRCREV
  3e175d6 Create and ship a pkg-config file
* bump SRCREV
  This includes a rework of libwebos-gui to be qt-free. Related to this there is a minor
  change in luna-sysmgr to adjust for the API changes of the libwebos-gui library.
* bump SRCREV to be compliant with recent libhybris
  9d6556b Use correct usage value for buffer creation
  cae5965 Move surface manager client communication into own thread
  11f3367 Track buffer handle ownership to free either the handle or the actual memory
  212237a Move buffer allocation into own class
  9a7be4b Remove unneeded increment of buffer reference count
  e860ee3 Implement method to send message to restore a buffer after rendering
  85ed30d Rework WebosSurfaceManagerRemoteClient to handle different message types
  dbf8270 Move protocol message definition to separate header to be shared accross different components
  96dbf38 Supply a buffer handle through c'tor and unregister buffer for process and buffer destruction
  35840d5 Add proper reference counting and correct buffer resizing
  950d682 Implemented dynamic buffer count support.
  b3e0a12 Mark buffer as still used when it's returned to our native window implementation
  51f112b Link against libhybris-eglplatformcommon
  8c1c122 Implement new native window API method setBufferCount
  5729fb4 Cleanup offscreen rendering code
  e6fb889 Adjust for native window API changes for sync fence support

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt-palm-plugin: add recipe for the external QPA plugin

* luna-sysmgr: add dependency on qt-palm-plugin
* luna-sysmgr-common: add DEPEND on qt-palm-plugin
* qt-palm-plugin: fix compilation on qemu* machines

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt-webos-plugin: add recipe for QPA plugin

* import from separate meta-webos-ports
* changes since import:
* qt-webos-plugin: bump SRCREV
  e82a2ce Install qweboswindow.h header file for webappmanager
  c74f93d Use pkg-config for WebosHybrisCompositor library detection
  69b5359 Drop unneeded/unused includes for sysmgr-ipc/ime
* qt-webos-plugin: bump SRCREV
  7d5bbf1 Implement virtual method setWinId from base class QPlatformWindow
  c0e94fe Use libwebos-gui library instead of old libWebosHybrisCompositor one

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

* for history check danny-old branch
* changes since import:
* add patch to extended QPlatformWindow class
* disable both webOS QPA plugins
* install necessary fontdatabase source files
  The fontdatabase sources are needed by the qt-palm-plugin module to compile out of the
  qt4 source tree.
* drop ${PN}-support package
  The ${PN}-support package isn't needed anymore because the packaged libqwebos library is
  now part of another component which is packaged on its own and pulled into the image by a
  DEPENDS in luna-sysmgr.
* apply all patches for all MACHINEs
  building webos-qpa-plugins for qemu* MACHINEs are causeing issues in do_rootfs
  /usr/plugins/platforms/libqpalm.so is provided by both qt4-webos and qt-palm-plugin

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