Reactivate OpenGL support in Desktop builds (OWEBOS-2557)

Changed the order of initialization because xcb/qpa has trouble
reparenting opengl widgets

Open-webOS-DCO-1.0-Signed-off-by: Florian Haenel <florian.hanel@palm.com>

Change-Id: I50b07cdfd4ad1a605f7b2b94e9d8627216cf9e98
Fix creating dangling Textures (OWEBOS-2568)

By using bindTexture in HostWindowDataOpenGL we create textures that
no-one cleans up later. This was unnecessary anyways as the comment
indicated - the pixmap will be uploaded through the paintengine anyways
and memory-managed inside Qt instead.

Open-webOS-DCO-1.0-Signed-off-by: Florian Haenel <florian.hanel@palm.com>

Change-Id: I30e495f4e70cb884e437d80e53abe272565dab4a
Add documentation for luna-sysmgr service APIs.

Open-webOS-DCO-1.0-Signed-off-by: Jaakko Putaala <jaakko.putaala@palm.com>

Change-Id: I8b6f54b1b39f9ff4203215cf5651c13dbc75267c
Fixed building error with x86_64 gcc

- x86_64 gcc predefines macro __x86_64__ instead of __i386__

Open-webOS-DCO-1.0-Signed-off-by: Weiwen Zhao <panda.hust@gmail.com>
NAYA-120 Justtype not fullscreen on topaz

Make sure to also resize the ipc buffer to the correct orientation
through a flip event when justtype is added to the overlay
windowmanager. When SysMgr is shown in portrait mode first and
only rotated after unlocking, the ipc buffer belonging to the
JustType app is not flipped correctly, causing the dimensions in
WindowedWebApp to get out of sync.

Open-webOS-DCO-1.0-Signed-off-by: Florian Haenel <florian.hanel@palm.com>

Change-Id: I3b6ddc34a3437098ecaa7fe99039d7954b3ffc23
Stretch wallpaper to fill the whole screen on desktop.

Open-webOS-DCO-1.0-Signed-off-by: Jaakko Putaala <jaakko.putaala@palm.com>

Change-Id: Id74fba12c199e9b8aaa50f6019d42294cb832a56
Correct launch app & id to a window opened from application.

Fixes the Jira issue OWEBOS-2554 Same Apps cards are not automatically group
together as a single group in build-desktop

Open-webOS-DCO-1.0-Signed-off-by: Jaakko Putaala <jaakko.putaala@palm.com>

Change-Id: Icb43505fbeeea497824e938fca33d96e2363da97
Fixes NAYA-150 App rendering problems depending on orientation

This patch is based on earlier Florian's changes to fix rotation
and resizing inside the CardWebApp class.

Open-webOS-DCO-1.0-Signed-off-by: Torsten Rahn <torsten.rahn@palm.com>

Change-Id: Ic5f5eb21943f85d620b2a307741871c8550d72f6
Fix deviceInfo when luna-prefs is not available [OWOS-2480]

Add a fallback sane version number for cases where HAVE_LUNA_PREF is undefined, or the prefs service is non-functioning
Return "Desktop" for modelName and modelNameAscii

Open-webOS-DCO-1.0-Signed-off-by: Eric Blade <eric.blade@palm.com>

Change-Id: I4a847e5966a92132c70959447ec777291cc1e81c
Implement luna-sysmgr portability initiative

*  Add concept of known and unknown devices
*  Remove general reliance on TARGET_DEVICE
*  Add explicit support for hidlib, libnapp, media-api, nyx and affinity
*  Change default configuration for unknown device to exclude unsupported libraries
*  Clean up names for DEFINES for HAS_LUNA_PREFS and HAS_QPA

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@palm.com>

Change-Id: I476638f29a287cf1e352fd4a57813a44819835c3
Merge branch 'unstable' of ssh://g2g.palm.com/luna-sysmgr into unstable

* 'unstable' of ssh://g2g.palm.com/luna-sysmgr:
  Implement luna-sysmgr portability initiative