webos_enhanced_submissions: Make it easier to use AUTOREV

:Release Notes:
Fix issues we've discovered when using AUTOREV and SRCREVs without
matching tags.

:Detailed Notes:
Allow empty SRCREV in WEBOS_VERSION when WEBOS_SUBMISSION is 0.
Clear WEBOS_GIT_TAG (tag param in SRC_URI) when we're using SRCREV.

There are 3 typical cases when you would want to override the
WEBOS_VERSION setting in the recipe:
1) To use some specific SHA-1 which doesn't have matching submissions
   tag.

   SRCREV_pn-luna-service2 = "be814b74577110b7d80a0308ffc0869196df410e"
   # set the version, disable tag check
   WEBOS_VERSION_pn-luna-service2 = "3.7.0-0"
   # append suffix with revision so it's clear what was built
   PV_append_pn-luna-service2 = "${WEBOS_PV_SUFFIX}"

   This is for webos-local.conf, if you do it from .bbappend you can
   drop overrides ("_pn-luna-service2")

2) To use latest revision in selected branch.

   Same as 2) above, only difference is SRCREV variable:
   SRCREV_pn-luna-service2 = "${AUTOREV}"

   If you want to use latest revision in different branch add branch param
   to WEBOS_VERSION, e.g.
   WEBOS_VERSION_pn-luna-service2 = "3.7.0-0;branch=something"

3) To use some review on gerrit

   # set the version, disable tag check
   WEBOS_VERSION_pn-luna-service2 = "3.7.0-0"
   # disable branch check (as the review probably isn't included in
   # any branch - otherwise you would just set SRCREV)
   WEBOS_GIT_BRANCH_pn-luna-service2 = ";nobranch=1"
   # review reference
   WEBOS_GIT_PARAM_TAG_pn-luna-service2 = "refs/changes/09/5009/7"
   # enable tag param in SRC_URI
   WEBOS_GIT_TAG_pn-luna-service2 = ";tag=${WEBOS_GIT_PARAM_TAG}"
   # append suffix with revision so it's clear what was built;
   # you can use something else (like "+review5009"), the SHA-1
   # shown in package version (from SRCPV which is included in
   # WEBOS_PV_SUFFIX) is available only after you use:
   # git fetch <repo> refs/changes/09/5009/7
   PV_append_pn-luna-service2 = "${WEBOS_PV_SUFFIX}"

In all 3 cases you will see QA error about using submission 0, if
you want to change this error to warning, then add:
   WEBOS_ERROR_QA_AUTOREV_pn-luna-service2 = ""
but make sure that you'll never push such change to official build.

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Build Notes:
Invalidates all sstate signatures.

:Issues Addressed:
[ES-563] Make it easier to use AUTOREV (or any given SHA-1 or gerrit
         ref) from WEBOS_VERSION and document it

Open-webOS-DCO-1.0-Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Change-Id: I0636434f01580b968e473a70c006abd10a4645e3
Reviewed-on: https://g2g.palm.com/5023
Reviewed-by: DCO Verification
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Tested-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: luna-service2=182

:Release Notes:
Implement C++ wrapper for LSError. Allow luna-send to send on behalf of
other services. Add JSON schema for meta-data JSONs. Fix unreliable unit
tests. Implement hub runner wrapper for integration tests.

:Detailed Notes:
luna-service2 submissions/178..submissions/182:
c3551ce Revert change to public API to fix SAM build
aab3154 Fix build against gtest in webOS environment
6f3c525 Fix use of unsafe string functions in LS2
b461619 Implement hub runner for integration tests
b0a7daf Fix unreliable test_timersource
ed3787e add schema for meta-data JSONs
3b17fcc Allow sending on behalf of other services
24232e9 Implement C++ wrapper for LSError

:Testing Performed:
Mini BAT

:QA Notes:

:Issues Addressed:
[BHV-71] Fix: LS2 uses unsafe string functions
[BHV-1535] Investigate existing wrappers
[BHV-1587] Design category description format
[BHV-1588] Create JSON schema for category description
[BHV-2211] luna-service2: add luna-send exception for service name registration
[BHV-3430] CCC: luna-service2=182

Open-webOS-DCO-1.0-Signed-off-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>

Change-Id: I01b585f534bd1e4c019d2b13b51617fe0ce0eb05
Reviewed-on: https://g2g.palm.com/5140
Reviewed-by: DCO Verification
Build: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: db8=134

:Release Notes:
Disable 'kind not registered' error,
change putKind ordering to kind-object-index,
backup maindb if database corrupted,
fix MojErr return status, remove unrequired macros,
remove INSANE_SKIP from the bitbake script,
change delKind operations ordering,
fix potential problem with 'compact' function.

:Detailed Notes:
submissions/130..submissions/134
894fdfb Fix search test
6788e59 Change putKind ordering to kind-object-index
769cc6c Made compact() thread safe
1d84e69 Change order for delKind
eb4a305 Revert "Change putKind ordering to kind-object-index"
8aea609 Revert "Disable 'kind not registered' error"
c25fe4d Disable 'kind not registered' error
52eae78 Revert "Disable 'kind not registered' error"
8a0550a Disable 'kind not registered' error
e1f949f Change putKind ordering to kind-object-index
1c29344 Backup maindb if database corrupted
9bf251c Fix MojErr return status, remove unrequired macros

:Testing Performed:
MiniBAT.

:QA Notes:

:Issues Addressed:
[ANG-3561] When using delKind, delete all associated data
           before deleting the kind
[BHV-2354] [DB8] Wrong transaction order
[BHV-1216] Fix MojErr return status, remove unrequired macros
[BHV-1557] We need to remain logs why factory reset happens
[BHV-2617] LevelDb Compaction Issue
[BHV-3160] Eliminate possible crash via compact() call
[GF-61568] Factory reset happens when AC/DC test
[BHV-2050] CCC: db8=134

Open-webOS-DCO-1.0-Signed-off-by: Oleg Yablokov <oleg.yablokov@lge.com>

Change-Id: I3eee96a1ee4ededf8a14270ec1ca58241434dc85
Reviewed-on: https://g2g.palm.com/4913
Reviewed-by: DCO Verification
Build: Oleg Yablokov <oleg.yablokov@lge.com>
Reviewed-by: Oleg Yablokov <oleg.yablokov@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Martin Jansa <Martin.Jansa@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
sqlite3: Rename bbappend to match new oe-core version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
libgcrypt: Rename bbappend to match new oe-core version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
dropbear: Rename bbappend to match new oe-core version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
dhcp: Rename bbappend to match new oe-core version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
connman: Rename bbappend to match new oe-core version

* drop applied patch
* it was resolved in upstream commit:
  commit ffe6305a07f694893b32f08de5e3f2bfd65cf966
  Author: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
  Date:   Tue Jul 2 16:59:39 2013 +0300

  wifi: Interface creation callback might arise when it is not ready yet

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
mm-common: Rename .bbappend to match new version from meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
curl: Rename bbappend to match new oe-core version

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
buildhistory, oe-pkgdata-util: drop webos modifications

* oe-pkgdata-util was partial backport from master, so we
  can drop it completely
* we would need to backport few more patches to stay
  compatible with master, but we're not using WEBOS_BOM_data.pkl
  so it's easier to just drop it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
busybox: Rename .bbappend to match new version from oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
e2fsprogs: Rename .bbappend to match new version from oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xkeyboard-config: drop unneeded .bbappend

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
ca-certificates: rename .bbappend to match new version from oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
connman: rename .bbappend to match new version from oe-core

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
webos-preferred-versions: Drop P_V for linux-yocto -> upgrade to 3.10

* temporary disable sound.cfg, kernel-tools were changes so that
  ${S}/meta/cfg/kernel-cache/cfg/ no longer exists

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
vboxguestdrivers: Upgrade to 4.2.18

* 4.2.6 isn't compatible with 3.10 kernel

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

* we need to use newer version for dora/master builds
* all changes for shlibs providers are already included in our
  webOS-ports/dora and webOS-ports/master oe-core branches

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
glib: Drop .bbappend resolved in newer upstream version

* 2.36.4 included in oe-core/dora already has this patch

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