diff options
Diffstat (limited to 'src/poi-service/README.md')
-rw-r--r-- | src/poi-service/README.md | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/poi-service/README.md b/src/poi-service/README.md index a0e8c29..a8ebd94 100644 --- a/src/poi-service/README.md +++ b/src/poi-service/README.md @@ -28,13 +28,21 @@ or to build updated parts ## How To Run ```./bin/poi-server -f ./resource/poi-database-sample.db``` -## How to for the CommonAPI based version (draft) -The former version of the POCs is based on GLib DBus. A migration to CommonAPI is under progress. +## How to for the CommonAPI based version -###Prerequisites -You need CommonAPI 3.1.5 and Franca 0.9.1 installed +## Prerequisites +You need CommonAPI 3.1.9 and Franca 0.9.1 installed For the Ubuntu 64 bits, due to the use of symbol versioning LIBDBUS_1_0 by CommonAPI-DBus, the patched version of DBus has to be >= 1.10.0 -NB: the patch common-api-dbus-runtime/src/dbus-patches/capi-dbus-add-support-for-custom-marshalling.patch failed a little bit, it's needed to update the dbus/dbus-string.h manually +NB: In case you migrate from 3.1.5 to 3.1.9, due to a cmake issue (wrong management of micro version), it's necessary to do: +``` +sudo mv /usr/local/lib/cmake/CommonAPI-3.1.5 /usr/local/lib/cmake/oldCommonAPI-3.1.5 +``` +Symbolic links are also not well managed, so you need to fix it: +``` +sudo ln -sfn /usr/local/lib/libCommonAPI.so.3.1.9 /usr/local/lib/libCommonAPI.so.3 +sudo ln -sfn /usr/local/lib/libCommonAPI-DBus.so.3.1.9 /usr/local/lib/libCommonAPI-DBus.so.3 +``` +NB: the patch common-api-dbus-runtime/src/dbus-patches/capi-dbus-add-support-for-custom-marshalling.patch may fail a little bit, in that case it's needed to update the dbus/dbus-string.h manually ### How to build First it's required to set some paths: @@ -49,9 +57,6 @@ to clean and rebuild all (including invoking cmake) or to build updated parts ```./build.sh -m``` -NB: in case you didn't build the whole code yet, you can also invoke -```./clone_and_build.sh -m``` - ## How To Test ```./run-capi &``` ```../../test/poi-service/test-poi-capi.py``` |