lights: cast to correct pointer type

Signed-off-by: Simon Busch <morphis@gravedo.de>
tests: include correct header file for exit method to avoid compiler warning

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #1 from morphis/for-upstream/further-fixes

For upstream/further fixes
hybris: install missing ui_compatibility_layer.h header file

Signed-off-by: Simon Busch <morphis@gravedo.de>
Merge pull request #9 from morphis/for-upstream/install-ui-header

hybris: install missing ui_compatibility_layer.h header file
Switch to be using plugins for windowing systems

Remove offscreen rendering temporarily as well.

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #10 from stskeeps/window_systems_in_modules

Switch to be using plugins for windowing systems
Add eglplatformcommon, server-side wayland enablement

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Merge pull request #11 from stskeeps/waylandserverside

Add eglplatformcommon, server-side wayland enablement
hooks: add a hook for the __sF symbol (stdin, stdout, stderr)

The goal here is to catch the call to file methods where the FILE* pointer is either stdin, stdout or stderr, and translate that pointer to a valid glibc  pointer.

Limitation: Currently, only fputs is managed.


Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
hooks: use a constant to refer to the size of the FILE structure of bionic's libc.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
hooks: redirect FILE* usage in all the stdio methods

 * All the methods of bionic's stdio that use a FILE* argument are now redirected, so that we can use the correct stdin,stdout or stderr if needed
 * fopen, fdopen, popen are hooked to the glibc version of the functions
 * __isthreaded symbol has been hooked to force the programs to use the thread-safe version of some stdio methods instead of an inline hard-coded implementation that uses the bionic FILE structure directly. See comments in hooks.c for details.

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Fix a couple of indentation and review comments for last commit

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>
Added implementation of my_pthread_mutex_lock_timeout_np()
Drop old Makefile.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Fix paths in .gitignore for test binaries.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
Initial .spec file for Mer.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>