webappmanager: Add dependency on serviceinstaller

Compilation fails otherwise:

| /home/morphis/data/oe/webos-ports-setup/webos-ports/tmp-eglibc/sysroots/
  x86_64-linux/usr/libexec/armv7a-vfp-neon-webos-linux-gnueabi/gcc/arm-webos-linux-gnueabi/4.7.2/ld:
cannot find -lserviceinstaller
| collect2: error: ld returned 1 exit status

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I893ad039f71ed384e17a3d2fd6540335b5c785cb
Reviewed-on: http://g2g.palm.com/1275
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
luna-sysmgr-common: Add dependency on serviceinstaller

* otherwise fails to build:
| arm-webos-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/OE/webos/owpb/openwebos-ports/tmp-eglibc/sysroots/tuna -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -L/OE/webos/owpb/openwebos-ports/tmp-eglibc/sysroots/tuna/usr/lib -Wl,-rpath /OE/webos/owpb/openwebos-ports/tmp-eglibc/sysroots/tuna/usr/lib -Wl,-O1 -Wl,-rpath,/usr/lib -shared -Wl,-soname,libLunaSysMgrCommon.so.1 -o libLunaSysMgrCommon.so.1.0.0 release-tuna/.obj/NyxSensorConnector.o release-tuna/.obj/NyxInputControl.o release-tuna/.obj/NyxLedControl.o release-tuna/.obj/ApplicationDescriptionBase.o release-tuna/.obj/AsyncCaller.o release-tuna/.obj/HostBase.o release-tuna/.obj/JSONUtils.o release-tuna/.obj/LocalePreferences.o release-tuna/.obj/Localization.o release-tuna/.obj/Logging.o release-tuna/.obj/Mutex.o release-tuna/.obj/Settings.o release-tuna/.obj/SingletonTimer.o release-tuna/.obj/TaskBase.o release-tuna/.obj/Timer.o release-tuna/.obj/Utils.o release-tuna/.obj/WindowProperties.o release-tuna/.obj/moc_NyxSensorConnector.o release-tuna/.obj/moc_HostBase.o release-tuna/.obj/moc_LocalePreferences.o release-tuna/.obj/moc_ProcessKiller.o release-tuna/.obj/moc_HostArm.o   -L/OE/webos/owpb/openwebos-ports/tmp-eglibc/sysroots/tuna/usr/lib -lnyx -lluna-prefs -lPmLogLib -lrolegen -lqpalm -lserviceinstaller -pthread -lgthread-2.0 -lrt -lglib-2.0 -lQtGui -lQtNetwork -lQtCore -lpthread
| /OE/webos/owpb/openwebos-ports/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-webos-linux-gnueabi/gcc/arm-webos-linux-gnueabi/4.7.2/ld: cannot find -lserviceinstaller
| collect2: error: ld returned 1 exit status
| make: *** [release-tuna/libLunaSysMgrCommon.so.1.0.0] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /OE/webos/owpb/openwebos-ports/tmp-eglibc/work/tuna-webos-linux-gnueabi/luna-sysmgr-common-3.0.0-3-r0+wop+gitr3+0a5b6597041ae831bff35ac2e38e046a2aaca833/temp/log.do_compile.1638 for further information)
NOTE: recipe luna-sysmgr-common-3.0.0-3-r0+wop+gitr3+0a5b6597041ae831bff35ac2e38e046a2aaca833: task do_compile: Failed
ERROR: Task 2985 (/OE/webos/owpb/openwebos-ports/meta-webos/recipes-webos/luna-sysmgr-common/luna-sysmgr-common.bb, do_compile) failed with exit code '1'

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Id3e2486314090a8345bb97756495a4bf27de6b7c
Reviewed-on: http://g2g.palm.com/1276
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
luna-sysmgr, webappmanager: Add qmake-webos-native dependency

* webos_qmake expects qmake-palm available

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: Ia49205d8a573637043b38d6e1b638a49a355c63c
Reviewed-on: http://g2g.palm.com/1277
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
keyboard-efigs: Add missing dependencies

* qmake-webos-native for webos_qmake
* libpbnjson for ../include/JSONUtils.h:23:23:
  fatal error: pbnjson.hpp: No such file or directory

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@palm.com>
Change-Id: I71e909006b4380959034e672114c469e904dfcab
Reviewed-on: http://g2g.palm.com/1278
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
meta-webos: comment cleanups

* fix spelling and capitalization of Open webOS
* fix whitespace

Open-webOS-DCO-1.0-Signed-off-by: Weiwen Zhao <panda.hust@gmail.com>
webos-image: sleepd=14,1.1.1

Correct a fault where the configuration file was installed to
/var/palm, instead of /etc/default.

Also, prepare sleepd to build and run against versions 3.0.0
and later of nyx.

Commits included:
    f8c248b Add "reason" argument to nyx_system_reboot calls
    7bc9a8a Conditionalize use of nyx-lib 3.0.0 API
    f5d2cc1 Fix default configuration file installation location
    242ce19 Stop relying on lunaservice.h to include glib.h

Open-webOS-DCO-1.0-Signed-off-by: Keith Derrick <keith.derrick@palm.com>

Change-Id: Iaecc652761565e19d9b0afc8c6d183d1e2e2cc4c
Reviewed-on: http://g2g.palm.com/1299
Reviewed-by: Keith Derrick <keith.derrick@palm.com>
Tested-by: Keith Derrick <keith.derrick@palm.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
webos-image: support selecting an alternative to dropbear

* synchronize with core-image.bbclass from oe-core to be able to use
  ssh-server-openssh IMAGE_FEATURE

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: I96a560dc9ee115f2ea73fde5736c23f426f2588e
Reviewed-on: http://g2g.palm.com/1093
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
dhcp: rename bbappend to match new version from oe-core

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: Ibe3ddfeffec19ff6f32bfc27ed4357e8c02ccad6
Reviewed-on: http://g2g.palm.com/1104
Reviewed-by: Iyad Qumei <iyad.qumei@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
iproute2: rename as we have a newer version in oe-core

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: Ia960af3ca0397da98d3eb57ca4ba1111cd810e21
Reviewed-on: http://g2g.palm.com/1107
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
libtinyxml: Drop, no longer used by Open webOS

- This recipe is no longer needed to build webos-image. The dependency
  on it was removed together with the task-webos-core recipe in commit
  70b787bcb78db34c6a7d05b19786cb2e48bbece2.

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I063e0d6f92d264b2f85699f008915b3fd0fd46a3
Reviewed-on: http://g2g.palm.com/1108
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
nodejs: Don't use host python when building

OE-core now stages the python-native binary in a subdirectory that is
not part of PATH by default so that bitbake will always use the host
Python and never python-native. This means that if you have
python-native in DEPENDS it gets built, but not used. What you need to
do instead is inherit from pythonnative, which arranges for
python-native to be built and found in PATH.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: Ic6ddc38d3964877d1f90db4c135bc4dd319e5fd8
Reviewed-on: http://g2g.palm.com/1103
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
bbclasses, recipes: use 4 spaces in python tasks

* replace tabs with 4 spaces in python tasks
* shell tasks should use tabs according to yocto styleguide,
  but that's not fatal and in meta-webos there is a lot of shell
  code indented by 4 spaces (which is better, because it's consistent
  with python tasks)
* newer oe-core is using 4 spaces and python code will fail with IndentationError
  when we prepend tab indentation to such task (e.g. populate_packages, clean)
  NOTE: Error during finalise of recipe.bb
  ERROR: ExpansionError during parsing recipe.bb:
    Failure expanding variable populate_packages:
    IndentationError: unindent does not match any outer indentation level (<string>, line 4)
* there is also check in bitbake:
  WARNING: Variable populate_packages contains tabs, please remove these (recipe.bb)

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I50a6dc28ed8cdafae8a8465aa99b51d9e626d4a8
Reviewed-on: http://g2g.palm.com/1102
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
webos-image: define WEBOS_IMAGE_DEFAULT_FEATURES

* IMAGE_FEATURES shared by all default images

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Change-Id: If90f64ae48cc271010228fa79e09211ff3c79ef4
Reviewed-on: http://g2g.palm.com/1094
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
webos-image: pull dropbear through ssh-server-dropbear

* it was in task-webos-extended RDEPENDS and before
  that in task-webos-core RDEPENDS, but sshd in image
  (openssh or dropbear) should be decided by IMAGE_FEATURES

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Change-Id: I8d3cba130caafa9d0e5dce225206fb2442e8f13e
Reviewed-on: http://g2g.palm.com/1095
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
task-webos-extended: provide upgrade path from task-webos-core

* add RPROVIDES/RREPLACES/RCONFLICTS to replace task-webos-core
  package by task-webos-extended package during upgrade on target

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Change-Id: Icc1f7d2e0c53aa554189c7752d6ec16cd2f8c1f0
Reviewed-on: http://g2g.palm.com/1096
Reviewed-by: Herb Kuta <herb.kuta@palm.com>
Tested-by: Herb Kuta <herb.kuta@palm.com>
task*: rename to packagegroup to match oe-core

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I5c283578bd9a2707fefe7fd51c4c1b1f68eafa66
Reviewed-on: http://g2g.palm.com/1097
Reviewed-by: Martin Jansa <martin.jansa@palm.com>
Tested-by: Martin Jansa <martin.jansa@palm.com>
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
packagegroup: provide upgrade path from task-* recipes

* add RPROVIDES/RREPLACES/RCONFLICTS so that task-* packages are
  replaced by packagegroup-* packages during upgrade on target
* PR bumped in next commit

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Change-Id: Iaa01ee995387ac78b0c50a5c57a91abd2051fff0
Reviewed-on: http://g2g.palm.com/1098
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
packagegroup: inherit packagegroup, drop PACKAGES and ALLOW_EMPTY

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: I41bab57213c03cb5a4f2b5635fd7b15bcd660b1b
Reviewed-on: http://g2g.palm.com/1099
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
webos.conf: use packagegroup-* names instead of task-*

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: Iec30a9982bba8f425f81cd5f7581a239926707e4
Reviewed-on: http://g2g.palm.com/1100
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>
webos-image.bbclass: use packagegroup-* names instead of task-*

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Change-Id: If9296b52f569e6002055048ae3433523161369ff
Reviewed-on: http://g2g.palm.com/1101
Reviewed-by: Susan Montooth <susan.montooth@palm.com>
Tested-by: Susan Montooth <susan.montooth@palm.com>