luna-service2: add few patches and make it TUNE_PKGARCH

* patch to create required directories on daemon startup
* Until now it was required that the used init system takes care of creating all needed
  directories for the ls-hubd daemon. With the patch the daemon now takes care about this on
  it's own. If the directories are not existing they are created and otherwise left as they
  are.
* update dir creation path and add another one for systemd support
* add systemd dependency
* add patch for different include scenarios
* add patch to correct path to WebAppMgr binary
* change location of QtWebProcess instead of the WebAppMgr binary
  We moved the implementation of the PalmServiceBridge recently back to webkit so we have to
  specify the right location for the QtWebProcess within the luna-service2 configuration.
* Use webos-ports-submissions
* use WEBOS_LS2_SECURE to control permissions on ls2 files
* we don't want to make whole luna-service2 and all recipes depending on it MACHINE_ARCH
  just because of this

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
luna-prefs: split out machine specific things into own package

With having luna-prefs not machine specific anymore we're able to build the luna-sysmgr
stack without any package being machine specific.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Remove webos_machine_dep from some recipes which doesn't need it

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
lxc: import recipe from meta-virtualization

Instead of using the whole meta-virtualization we import the only recipe we need from it.

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
qt5-opengles2-test: add recipe for simple qt5 & gles2 test program

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
shadow-sysroot: use UID_MIN = 10000

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
luna-webappmanager: add recipe for the new webappmanager service

* Contains the following changes:
14c06fb Load webOS API script as user script of the WebView
905a542 Prevent client side from overriding a already created instance of the PalmServiceBridge
5203bb7 Correct some issues with application launch
aab5691 We need a privileged service in order to talk with another identity for our apps
db5133f Uncomment accidentially commented line to evaluate java script code on app side
* Contains the following changes:
80f03a8 Allow service to own bus names for our application clients
1f24602 Don't use a flickable viewport to get the zoom working correctly
691e804 Implement scaling of our applications according to configured DPI
8002d31 Scale application splash icon according to configuration
7399807 Only load user scripts when we're using a patched qtwebkit
14c06fb Load webOS API script as user script of the WebView
905a542 Prevent client side from overriding a already created instance of the PalmServiceBridge
* luna-webappmanager: add support for systemd
* Contains the following changes:
340f1ab palmsystemplugin: initialize all properties on startup
9a219cf Complete recreation of PalmSystem API
5867739 palmservicebridgeplugin: supply application id and check prefix for private bus access
d3b2858 palmservicebridgeplugin: pass service response as string and not as json object
fcfb4fb Use same size of icon glow background as for the icon itself
8e9e8f0 Some more work to have full API coverage of the PalmSystem
0f51016 Correct name of internal webOS handler object
d81debf Add support to access local files for applications
b1150aa Correct name of cursive font family property
f9c742d Start service after luna-next has started
4b8d424 Pass application launch parameters to web process once it requests them
8bfa6ed Pass launch parameters to webapplication and make them accessible
f770827 Set default fonts according to what the old webappmanager has
* Contains the following changes:
986c2fe Make sure that we always start after luna-next has been started
05595cb Create separate ls2 role definition for QtWebProcess
2ca7c59 Drop implementation of the PalmServiceBridge which is now part of webkit
6634279 Don't inject webos API user script for all frames but just the main frame
6cf81bf Use maliit as input management module
567dc0d Rework application/window relation to support more than one window per app
b24c707 Export headless property for the web application
650ac61 webapplication: implement application relaunch

Signed-off-by: Simon Busch <morphis@gravedo.de>
qtwebkit: use our own repository

* add patch for better userscript injection support
* use our own git repository synced with latest upstream webkit
* disable the jit on arm platforms for now

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
mesa: enable support for gallium and llvmpipe

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
v86d: install module configuration for uvesafb

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

* Contains the following changes:
4ae2605 Merge pull request #6 from webOS-ports/tofe/work
e2438a9 NotificationContainer: add rounded corners
8c97c61 Fixes for the destruction of a window, either from compositor's side or from card view's side.
0b35444 Merge pull request #5 from webOS-ports/tofe/work
fbb35a0 Tests: add more test icons in the full launcher, to have the different situations for app title disp
412676d Launcher: Fix the icons display, and refactorize the code for launching an application so that it is
3bf363c CardView: move the trigger of the startup animation for the first card display to the card window wr
902574f Merge pull request #4 from webOS-ports/tofe/work
ac5fb57 More naming rework, and better launcher show/hide animations.
01f50d0 Merge pull request #3 from webOS-ports/morphis/work
11ae5a0 Arguments passed/retrieved to/from LunaService must be stringify/parsed
* Contains the following changes:
a76a83c Merge pull request #11 from webOS-ports/tofe/work
49aa052 SlidingItemArea: fix to have the MouseArea in front of the slided item.
884ae1d Merge pull request #10 from webOS-ports/tofe/work
3fc39c9 CardView: introduce a SlidingItemArea component to represent items that can be
swiped out of the view.
eaa7beb Introduce states for WindowManager, rename NotificationArea to Dashboard
64f7500 Merge pull request #9 from webOS-ports/tofe/work
8a73f58 ScreenShooter: add a screenshot capability on swipe-to-right on Gesture Area.
45b3dcc Merge pull request #8 from webOS-ports/tofe/work
8c3d4c7 Launcher: fix javascript issue when the launch of an application fails
6139cea Rounded corner: use a shorter radius
63d22e3 Notifications: minor esthetical changes
6c96ef6 CardView: fix to actually destroy the cardWindo
* Contains the following changes:
71531e6 Merge pull request #15 from webOS-ports/tofe/work
cf3273c JustTypeField: reuse the original WebOS image files, and fix the color and font of the text.
5b6509f JustType: add a Just Type field in the main view. By default, the event is interpreted by the Window
9aaabda Merge pull request #14 from webOS-ports/tofe/work
baf17e0 LunaGestureArea: add some nice animation on swipe left/right
e996d6a Merge pull request #13 from webOS-ports/tofe/work
9578c85 WindowManager: send events on swipe back and swipe nex
7d1c4eb Merge pull request #12 from webOS-ports/tofe/work
389158b WindowManager: fix a bug when switching between expanded launcher mode and cardView mode
da39f06 Dashboard: Use the slidingArea widget for the notifications
a93d4cb Launcher: Improve the layout of the launcher bar
ee2fb30 WindowManager: fix default state when luna-next starts
903a884 Regroup utility components in Utils
* Contains the following changes:
cc1e17c Merge pull request #18 from webOS-ports/tofe/work
3aa6fb8 JustType: fix some layout issues
47162ab Merge pull request #17 from webOS-ports/tofe/fixes
a38bd3c WindowManager: fix: compositor is a QtObject, not an Item
19e166c Merge pull request #16 from webOS-ports/tofe/work
be7923b Update README.md
qemu*: Improve support for qemuarm and qemux86-64

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
webos-ports-emulator-appliance: add recipe to create appliance for our emulator

* With providing a preconfigured appliance it's easier for people to setup the emulator
  inside VirtualBox without the need to configured the virtual machine on their own.
* forward guest port 1122 to host for webkit inspector
* add BUILD_ID also to emulator appliance zip packages
* drop DEPENDS, do_deploy[depends] should be enough

Signed-off-by: Simon Busch <morphis@gravedo.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
packagegroup-webos-ports-extended: don't add android related packages by default

We only should add android specific packages when we're building for a device which is
based on Android.

Signed-off-by: Simon Busch <morphis@gravedo.de>
webos-systemd-services: package new createLocalAccount service

* bump SRCREV to start services in the correct order

Signed-off-by: Simon Busch <morphis@gravedo.de>
luna-sysmgr-common: bump SRCREV

Contains the following changes:

c6c6d9d Import Preferences class from luna-sysmgr

Signed-off-by: Simon Busch <morphis@gravedo.de>
luna-sysmgr/luna-sysmgr-conf: bump SRCREV

* Contains the following changes:
1138ef0 Specify hardware type emulator for qemux86
c4edc1b Supply noWindow application setting when launching web application
* Contains the following changes:
78a3b99 Remove Preferences class which is now part of luna-sysmgr-common

Signed-off-by: Simon Busch <morphis@gravedo.de>
luna-next: bump SRCREV

* Contains the following changes:
c8a7a58 Merge pull request #40 from webOS-ports/morphis/work
3113581 Mark ourself as conflicting with the getty@tty1.service
685414f Correctly setup the tty to avoid problems between console and compositor
0b2c7db Merge pull request #39 from webOS-ports/morphis/work
aabf624 Switch console mode on startup
8ee1d5f Change systemd service type to notify
c0d3667 Handover direct rendering context to fullscreen windows
efb999e Implement the basics to manage different types of windows
9e57bd8 Add support to send special events from QML to application window
* Contains the following changes:
c3ca8fa Merge pull request #41 from webOS-ports/morphis/work
8920b2c plugins: integrate statusbar service connector from luna-sysmgr
21bc354 Notify systemd about startup in any case and not based on commandline argument
c59f21a plugins: compositor: make compositor window a focus scope

Signed-off-by: Simon Busch <morphis@gravedo.de>
systemd: enable support for deadling with coredumps inside systemd

Signed-off-by: Simon Busch <morphis@gravedo.de>
conf: distro: webos-ports.inc: add ext4.fastboot as image filesystem type

Signed-off-by: Simon Busch <morphis@gravedo.de>