From 0b876c0f97a7c8458c22e768d1edf043e92a19e0 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Wed, 11 May 2016 10:32:18 +0200 Subject: [PATCH] Update dependencies in README.md Remove mentions of libdbus, add systemd and openssl. Mention Ubuntu 16.04 and Fedora 23 as reference systems. Add dependencies helper for both. Signed-off-by: Manuel Bachmann --- CMakeLists.txt | 2 -- README.md | 21 ++++++++++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ca01758..60ef6cec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,7 +91,6 @@ SET(include_dirs ${json-c_INCLUDE_DIRS} ${libmicrohttpd_INCLUDE_DIRS} ${uuid_INCLUDE_DIRS} - ${dbus_INCLUDE_DIRS} ${alsa_INCLUDE_DIRS} ${pulseaudio_INCLUDE_DIRS} # ${librtlsdr_INCLUDE_DIRS} @@ -104,7 +103,6 @@ SET(link_libraries ${json-c_LIBRARIES} ${libmicrohttpd_LIBRARIES} ${uuid_LIBRARIES} - ${dbus_LIBRARIES} ${alsa_LIBRARIES} ${pulseaudio_LIBRARIES} # ${librtlsdr_LIBRARIES} diff --git a/README.md b/README.md index 0cfc8da3..0e966d16 100644 --- a/README.md +++ b/README.md @@ -9,26 +9,33 @@ Final goal is to keep the engine publicly accessible and modifiable, still allow Finally, whatever license is chosen, it should be compatible with dependencies and automotive industry requirements - as 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"); +Building Application Framework Binder has been tested under **Ubuntu 16.04 LTS (Xenial Xerus)** or **Fedora 23**, and requires the following libraries: + * libmagic ("libmagic-dev" under Ubuntu, "file-devel" under Fedora); + * libmicrohttpd >= 0.9.48 (fetch and build from "http://ftp.gnu.org/gnu/libmicrohttpd"); * json-c ("libjson-c-dev/devel"); * uuid ("uuid-dev/libuuid-devel"); - * dbus ("libdbus-1-dev/dbus-1-devel"); + * openssl ("libssl-dev/openssl-devel"); + * systemd >= 222 ("libsystemd-dev/systemd-devel"); optionally, for plugins : * alsa ("libasound2-dev/alsa-devel"); * pulseaudio ("libpulse-dev/libpulse-devel"); - * rtl-sdr >= 0.5.0 (fetch and build from "git://git.osmocom.org/rtl-sdr"); + * rtl-sdr >= 0.5.0 ("librtlsdr-dev", or fetch and build from "git://git.osmocom.org/rtl-sdr" under Fedora); * GUPnP ("libglib2.0-dev libgupnp-av-1.0-dev/glib2-devel libgupnp-av-devel"); and the following tools: + * gcc; + * make; * pkg-config; * cmake >= 2.8.8. -To install all dependencies under OpenSUSE (excepting rtl-sdr), please type: +To install all dependencies under Ubuntu (excepting libmicrohttpd), please type: ``` -$ zypper in file-devel libmicrohttpd-devel libjson-c-devel libuuid-devel dbus-1-devel alsa-devel libpulse-devel glib2-devel libgupnp-av-devel pkg-config cmake +$ apt-get install libmagic-dev libjson-c-dev uuid-dev libsystemd-dev libssl-dev libasound2-dev libpulse-dev librtlsdr-dev libglib2.0-dev libgupnp-av-1.0-dev gcc make pkg-config cmake +``` +or under Fedora (excepting libmicrohttpd and rtl-sdr): +``` +$ dnf install file-devel json-c-devel libuuid-devel systemd-devel openssl-devel alsa-devel libpulse-devel glib2-devel libgupnp-av-devel gcc make pkg-config cmake ``` To build, move to the root directory and type: -- 2.16.6