X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README;h=0f4b495b94a2cd73e81190ddecef168fe6dd9460;hb=refs%2Fheads%2Ftizen_ivi_release;hp=5a740483ee4e906bc6544cd43b8a2a5880d40fe6;hpb=bb57174cdd69850c48505676e126fbca75c0009b;p=profile%2Fivi%2Fwayland-ivi-extension.git diff --git a/README b/README index 5a74048..0f4b495 100644 --- a/README +++ b/README @@ -1,7 +1,54 @@ -IVI Extension for Wayland -========================= +Sections in this file describe: +- How to build +- Example applications + +How to build on different platforms +==================================== + +Pre-requisite: +- Weston works with any shell downloaded from the following URL + http://cgit.freedesktop.org/wayland/weston/ +- CMake required (version 2.6 or higher) + +Build up +1. Pull the current codebase form the git repo + E.g. git clone http://git.projects.genivi.org/wayland-ivi-extension.git + +2. Create a build directory + E.g mkdir build_ivi_extension + +3. In Generate build system for your platform using CMake. + E.g. cd + cmake -DCMAKE_TOOLCHAIN_FILE= ../ + + Example of *.cmake + +add_definitions ("-g -O3") +set (CMAKE_FIND_ROOT_PATH ) +set (CMAKE_INSTALL_PREFIX ) +set (FFI_INCLUDE_DIR /usr/lib/libffi-3.0.10/include) +set (XKB_INCLUDE_DIR /include/xkbcommon) +set (CAIRO_INCLUDE_DIR /include/cairo) + +4. Start the build and install + + E.g. sudo make install + +Example applications +==================================== + +Pre-requisite: +- Modify weston.ini to use ivi-shell.so + Example: + shell=ivi-shell.so +- Set Environmental values + Example: + export XDG_RUNTIME_DIR=/var/run//1000 + export LD_LIBRARY_PATH=/lib + +Start-up Weston: + Example: /bin/weston + +EGLWLMockNavigation: + Example: /bin/EGLWLMockNavigation -Directory Content -------------------------------------------------------------------------------- -protocol This directory contains the protocol specification for the - Wayland IVI extension.