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)
* bump SRCREV and drop dependency on android-audiosystem
* Contains the following changes:
7fe16c7 [provision] If multiple APNs are found for a SPN/mmc/mnc search, only provision the first. Fixes: ht
a4d1c3f [provision] Address review comments.
29a0840 [provision] Fix dumb mistake.
a1d53b3 [provision] Only create the first context if multiple hits are found.
7b03404 rilmodem/gprs.c: adding back state tracking for data network (only when ofono is already attached).
6d63327 releasing version 1.12phablet11
b7cee8f rilmodem/gprs.c fixing coding style
afadb2e rilmodem/gprs.c: just request registration status if ofono is attached
b75c70c rilmodem/gprs.c: adding back state tracking for data network
5633043 [rilmodem] Fixes disable GPRS bug (LP: 1204644). Fixes: https://bugs.launchpad.net/bugs/1204644.
85ea4ce [gril/rilmodem] Re-factor gprs-context code to facilitate unit testing.
db5304e Re-merge from lp:~awe/phablet-extras/ofono-unittest-gprs-context.
581b912 [gril] Minor re-factoring in helper functions.
babdc62 [gril] Re-numbered parcel unit test data variables to match test cases.
2dc4d80 [gril] Moved ofono error helper #defines into <ofono/types.h>
8116e43 [rilmodem] Added comments to explain rilmodem's GPRS attached logic.
32dcac9 Releasing 1.12phablet10
a250197 [rilmodem] Fix deactivate GPRS bug (LP: 1204644).
c958d78 [rilmodem] Implement gprs_context_detach_shutdown().
e3ec835 [gril] Fix a bug in parcel_w_string() that can cause an invalid string terminator to be generated.
a8c33fa [gril/grilmodem] Ensure that data call is deactivated in invalid reply scenarios.
d1c119e Re-merge from trunk.
29f1578 [gril] Fixed the tracing logic, and cleaned up some minor warnings.
ac1361b [gril] Re-factored low-level message support into type-specific modules.
3b7a0d4 [rilmodem] Fix GPRS tight loop when roaming (LP: 1188404). . Fixes: https://bugs.launchpad.net/bugs/
18d4702 [rilmodem] Back out AudioSystem and Makefile.am changes made by mistake.
16006be [gril/rilmodem] Split grilmessages into grilrequest, grilreply, and grilunsol.
3ee4628 Releasing ofono-1.12phablet9
ca14f55 [rilmodem] Fix GPRS tight loop when roaming.
df58f76 [rilmodem] Add SIM PIN/PUK support.
bb88b9c [gril] Make changes for unit testing.
fe23a4c [gril] Initial gprs-context unit tests for grilmessages.
ff9371b [gril] Re-work of gprsmessages based on unit testing.
9adfec0 [rilmodem] Re-factor SIM aid/app string code to use g_strdup().
c903e1a [rildmodem] Fix SIM logic to make copies of aid/app strings.
5f8ec61 [ril] Fix compile error.
9c6e1c1 [rilmodem] Fix compile error.
08dc227 Re-merge from trunk.
990102e Releasing 1.12phablet8
dfc4065 [rilmodem] Minor re-factoring of PIN code.
c5263cb [ril] Add SIM PIN/PUK support.
248a28a [rilmodem] Add SIM PIN/PUK support.
2762dc4 Added network time plugin which exposes RILD NITZ messages over DBus.
9c9c400 Re-merge from trunk.
8bfe3f8 [gril] Exit if errors occur during RILD socket intialization.
283717d Update debian/changelog to UNRELEASED.
e9a0a6f [nettime] Fix NetworkTimeChanged signal in test/monitor-ofono.
15e100c [rilmodem] Minor changes/comments to gprs-context.
6bf818b Enable unit tests in debian/rules.
23c64c7 [gril/rilmodem] Re-factor RIL request/reply code to enable unit testing.
58267b7 Re-merge from trunk.
6a70613 Fixed changelog merge error.
e897f42 Re-merge from trunk.
2740edf Adding a test target to debian/rules.
5e92b7b [ril/rilmodem] Add real calls for revision and IMEI probe.
010530f rilmodem/devinfo.c: fixes from code review
f1b54ea Adding a check target to debian/rules
4e814eb [gril] Exit on RILD socket errors.
cfed13a Re-merge from trunk.
991532a rilmodem/devinfo.c: only free revision/imei if it's valid
812880e rilmodem/devinfo.c: using RIL_REQUEST_GET_IMEI for imei (works for both maguro and mako)
05db902 releasing version 1.12phablet6
74302bb [ril/rilmodem] Add real calls for revision and IMEI probe
83d4f62 [nettime] Added test scripts.
a59dbfa [rildmodem] Add retry logic to the initial GET_SIM_STATUS logic (LP: #1187031). Fixes: https://bugs.
ef93afc [nettime] Initial checkin of Network time plugin.
96f930b Releasing 1.12phablet5
0e3b9f6 [ril] Cleanup review comments, and fix merge error.
082ba61 [ril/rilmodem] Re-merge from trunk.
2d65a29 [gril/rilmodem] Add conditional build-time logic to RIL command tracing, and low-level gril logging.
ccc961c [gril/rilmodem] Get rid of tracing start/stop request/response #defines.
28e9b2f [ril/rilmodem] Minor cleanup.
02f3b8c [gril/rilmodem] Make g_ril_append_print_buf conditional.
88b965a [rilmodem] Remove un-needed SMS hex tracing calls.
7d59770 [gril/rilmodem] Re-factored tracing code to enable/disable by env variable.
617d9f3 [ril] Add forward declaration of send_get_sim_status().
aae0a21 [ril] Add retry logic to initial GET_SIM_STATUS logic.
750b33d [rilmodem] Fix compile-time error...
a7e5a9c [rilmodem] Add trace code to sms and voicecall.
2d96eb2 [gril/rilmodem] More debug clean-up/re-factoring.
e040300 [gril] Fix CONNECTED check.
1f618db [ril] Make ril plugin wait for RIL_CONNECTED before sending GET_SIM_StATUS.
e2079d1 Re-merge from trunk.
22b61b4 [gril] Add conditional guards to DBG statements.
d89d9a9 [rilmodem] Get rid of un-used sim_debug() function.
6390953 [rildmodem] More DBG cleanup.
1cb5e9a [rilmodem] Re-factored debug tracing to simplify and add ifdef logic.
8b5844b Saucy for ofono.
07f97ce Building for saucy.

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>
connman-conf: update wired.setup to configure the Android USB gadget correctly

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
connman: manually set xuser uid to 10000 to be out of android system user range

Better way would be settings 10000 as the lower bound in login.defs directly instead of
setting it manually here for only one user.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xuser-account: set xuser UID to 10000 and remove it from connman

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
* org.webosports.app.testr: bump SRCREV
  Contains the following changes:
  e79be4d Add further pages for windowing and telephony tests
* org.webosinternals.preware: bump SRCREV
  Contains the following changes:
06c19e7 Don't reference ProgressOrb in webos-ports-lib anymore
7fb9595 switched to events in feed.js
2dc44c3 fixed issue in cookie.js
4e398e3 fixed crash if blacklist is not defined
0c820a8 added convertStringToBool utilty function
11a90e7 restructured code
b0b150a implemented different package sets
fe99989 some build stuff (windows)
44af51e switched to webos-lib
46f354e Got multi install working.
7c283ed removed unused files.
65cb032 Re-Do service design temporarily untill c-service work can be done to combine ipkg
        and opkg support

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
* webos-ports-submissions and webos_enhanced_submissions now share some functionality

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
* libhybris: enable wayland support
  choose wayland as default EGL_PLATFORM
* libhybris: drop already usptream applied patches

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>