X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=README.md;h=c54c0f1e631186794426b65ef9849244364de100;hb=da9b5d47f01f786f3170c80724a1a6d8f9b94ebb;hp=7eb5434e7682e33c746d756eb82eec95ee63afcc;hpb=accb3215b180f8e386f896ba0368b7188eaa190e;p=src%2Fapp-framework-binder.git diff --git a/README.md b/README.md index 7eb5434e..c54c0f1e 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,40 @@ Final goal is keep the engine public while allowing people to load non open-sour libraries especially libmicrohttpd & libjson. Finally what ever Licence is chosen it should be compatible with dependencies and automotive industry requirementsas the primary target for this code is AGL. +### Building + Building Application Framework Binder requires the following libraries: + + * libmagic ("libmagic-dev" under Debian/Ubuntu, "file-devel" under OpenSUSE); + * libmicrohttpd ("libmicrohttpd-dev/devel"); + * json-c ("libjson-c-dev/devel"); + * uuid ("uuid-dev/libuuid-devel"); + * dbus ("libdbus-1-dev/dbus-1-devel"); + + optionally, for plugins : + + * alsa ("libasound2-dev/alsa-devel"); + * rtl-sdr >= 0.5.0 (fetch and build from "git://git.osmocom.org/rtl-sdr"); + + and the following tools: + + * pkg-config; + * cmake >= 2.8.8. + +To install all dependencies under OpenSUSE (except rtl-sdr), please type: + +$ zypper in file-devel libmicrohttpd-devel libjson-c-devel libuuid-devel pkg-config cmake + + To build from the root directory, please type: + +$ mkdir build; cd build
+$ cmake ..
+$ make; make install
+ ### Start -afb-daemon --help +$ afb-daemon --help ### Example -afb-daemon --verbose --rootdir=/home/fulup/.AFB --alias=icons:/usr/share/icons +$ afb-daemon --verbose --rootdir=/home/fulup/.AFB --alias=icons:/usr/share/icons ### Directory & Path Default behaviour is to locate ROOTDIR in $HOME/.AFB