HostArm: close framebuffer file descriptors on shutdown

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
HostArm: skip second framebuffer initialization correctly

On some platforms we don't have a second framebuffer so until now some statements in the
init method where never reached on these platforms.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
HostArm: initialize number of fb1 buffers correctly to zero

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
MemoryMonitor: use /proc/*/oom_score_adj rather than /proc/*/oom_adj

On newer kernels /proc/*/oom_adj is deprecated and should not be used anymore. As Open
webOS requires at least a linux 3.3 kernel this changes the use to the new
/proc/*/oom_score_adj entry but still keeps backward compatiblity for older kernels which
onles provides /proc/*/oom_adj.

More information about the change are available on the following pages:
- https://github.com/mirrors/linux-2.6/commit/a63d83f427fbce97a6cea0db2e64b0eb8435cd10#include/linux/oom.h
- https://www.redhat.com/archives/lvm-devel/2011-July/msg00097.html

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Update tuna configuration files to reflect new DPI scaling

Open-WebOS-DCO-1.0-Signed-Off-By: Josh Palmer <jpalmerwatkins@me.com>
sound: chose correct SoundPlayer implementation based on config option

When compiling for a target device this will lead to build errors when the device has no
support for the media api.

Open-WebOS-DCO-1.0-Signed-Off-By: Simon Busch <morphis@gravedo.de>
Correct dependency on libserviceinstaller for target devices

There is difference in the way of compiling serviceinstaller: When compiling it with cmake
it will result in a library called libserviceinstaller and if the plain Makefile is used
it will named libserviceinstall. OE uses the cmake approach and therefore we need to fix
this.

Open-webOS-DCO-1.0-Signed-off-by: Simon Busch <morphis@gravedo.de>
Gestures: Fix flick gesture on non-desktop builds

* Remove FlickGestureRecognizer from HostQtDesktop.cpp
* Add FlickGestureRecognizer to WindowServer.cpp
* Move recognizer file entries from desktop.pri to sysmgr.pro

Open-webOS-DCO-1.0-Signed-off-by: Josh Palmer <jpalmerwatkins@me.com>
Merge branch 'shiftyaxel/enable-flick-gesture' of git://github.com/webOS-ports/luna-sysmgr into shiftyaxel/enable-flick-gesture
Merge branch 'shiftyaxel/enable-flick-gesture' into rock/master

Conflicts:
	Src/base/hosts/HostArm.cpp