ilmClient: Fix segv when a layer is added.
[profile/ivi/wayland-ivi-extension.git] / README
1 Sections in this file describe:
2 - How to build 
3 - Example applications
4
5 How to build on different platforms
6 ====================================
7
8 Pre-requisite: 
9 - Weston works with any shell downloaded from the following URL
10   http://cgit.freedesktop.org/wayland/weston/
11 - CMake required (version 2.6 or higher)
12
13 Build up
14 1. Pull the current codebase form the git repo
15    E.g. git clone http://git.projects.genivi.org/wayland-ivi-extension.git
16
17 2. Create a build directory
18    E.g mkdir build_ivi_extension
19
20 3. In <build-dir> Generate build system for your platform using CMake.
21    E.g. cd <build-dir>
22         cmake -DCMAKE_TOOLCHAIN_FILE=<your setting *.cmake> ../
23
24    Example of *.cmake
25
26 add_definitions ("-g -O3")
27 set (CMAKE_FIND_ROOT_PATH <your root path>)
28 set (CMAKE_INSTALL_PREFIX <your installation path>)
29 set (FFI_INCLUDE_DIR /usr/lib/libffi-3.0.10/include)
30 set (XKB_INCLUDE_DIR <your installation path>/include/xkbcommon)
31 set (CAIRO_INCLUDE_DIR <your installation path>/include/cairo)
32
33 4. Start the build and install
34    
35    E.g. sudo make install
36
37 Example applications
38 ====================================
39   
40 Pre-requisite:
41 - Modify weston.ini to use ivi-shell.so
42   Example:
43     shell=ivi-shell.so
44 - Set Environmental values
45   Example:
46     export XDG_RUNTIME_DIR=/var/run/<your user name>/1000
47     export LD_LIBRARY_PATH=<your installation path>/lib 
48
49 Start-up Weston:
50    Example: <your installation path>/bin/weston
51
52 EGLWLMockNavigation:
53    Example: <your installation path>/bin/EGLWLMockNavigation
54