set(PROJECT_PRETTY_NAME "Automotive Message Broker")
set(PROJECT_SERIES "0.14")
set(PROJECT_MAJOR_VERSION "0.13")
-set(PROJECT_MINOR_VERSION "802")
+set(PROJECT_MINOR_VERSION "803")
set(PROJECT_VERSION "${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}")
set(PROJECT_CODENAME "74A")
set(PROJECT_QUALITY "alpha")
~~~~~~~~~~~~~{.json}
{
- "mainloop" : "/usr/lib/i386-linux-gnu/automotive-message-broker/qtmainloopplugin.so",
+ "mainloop" : "/usr/local/lib/i386-linux-gnu/automotive-message-broker/qtmainloopplugin.so",
"plugins" : "/etc/ambd/plugins.d"
}
~~~~~~~~~~~~~
#generate mappings documentation
add_custom_target(genmappings_libamb
- python ${CMAKE_SOURCE_DIR}/tools/genmapping --output ${CMAKE_CURRENT_BINARY_DIR}/ambdbusmappings.idl ${dbus_mapping_headers}
+ python ${CMAKE_BINARY_DIR}/tools/genmapping --output ${CMAKE_CURRENT_BINARY_DIR}/ambdbusmappings.idl ${dbus_mapping_headers}
COMMENT "running genmapping")
add_dependencies(docs genmappings_libamb)
%defattr(-,root,root,-)
%manifest packaging.in/amb.manifest.plugins
%{_libdir}/%{name}/opencvluxplugin.so
+%{_sysconfdir}/ambd/plugins.d/opencvlux
%files plugins-bluetooth
%defattr(-,root,root,-)
%manifest packaging.in/amb.manifest.plugins
%{_libdir}/%{name}/bluetoothplugin.so
%config %{_sysconfdir}/dbus-1/system.d/ambbt.conf
+%{_sysconfdir}/ambd/plugins.d/bluetooth
%{_bindir}/testAmbBt
%endif
%{_libdir}/%{name}/dbussinkplugin.so
%{_libdir}/%{name}/demosinkplugin.so
%config %{_sysconfdir}/dbus-1/system.d/amb.conf
+%{_sysconfdir}/ambd/plugins.d/dbus
+%{_sysconfdir}/ambd/plugins.d/examplesink
+%{_sysconfdir}/ambd/plugins.d/examplesource
%files plugins-common
%manifest packaging.in/amb.manifest.plugins
%defattr(-,root,root,-)
%manifest packaging.in/amb.manifest.plugins
%{_libdir}/%{name}/obd2sourceplugin.so
+%{_sysconfdir}/ambd/plugins.d/obd2
%files plugins-database
%defattr(-,root,root,-)
%manifest packaging.in/amb.manifest.plugins
%{_libdir}/%{name}/databasesinkplugin.so
+%{_sysconfdir}/ambd/plugins.d/database
%files plugins-murphy
%defattr(-,root,root,-)
%manifest packaging.in/amb.manifest.plugins
%{_libdir}/%{name}/bluemonkeyplugin.so
%config %{_sysconfdir}/ambd/bluemonkey
+%{_sysconfdir}/ambd/plugins.d/bluemonkey
%files -n bluemonkey-modules-db
%manifest packaging.in/amb.manifest.plugins
--- /dev/null
+debian/tmp/@PLUGIN_INSTALL_PATH@/qtmainloopplugin.so
+
+
#if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0))
con.registerObject(path, interface, object, QDBusConnection::ExportAllContents);
#else
- DebugOut(DebugOut::Warning) << ___FUNCTION___ << " interface is ignored in qt 5.4 and lower" << endl;
+ DebugOut(DebugOut::Warning) << "BMDBus::exportObject() interface is ignored in qt 5.4 and lower" << endl;
con.registerObject(path, object, QDBusConnection::ExportAllContents);
#endif
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/obd2.README.md DESTINATION ${DOC_INSTALL_DIR}/plugins)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/obd2.in.json ${CMAKE_CURRENT_BINARY_DIR}/obd2 @ONLY)
+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/obd2 DESTINATION ${PLUGIN_SEGMENT_INSTALL_PATH})
+
endif(obd2_plugin)
--- /dev/null
+{
+ "name" : "Obd2",
+ "path" : "@PLUGIN_INSTALL_PATH@/obd2sourceplugin.so",
+ "device" : "/dev/ttyUSB0",
+ "baud" : "115200",
+ "enabled" : false
+}
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/genmapping.py ${CMAKE_CURRENT_SOURCE_DIR}/genmapping @ONLY)
+configure_file (${CMAKE_CURRENT_SOURCE_DIR}/genmapping.py ${CMAKE_CURRENT_BINARY_DIR}/genmapping @ONLY)
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/ambctl.py ${CMAKE_CURRENT_BINARY_DIR}/ambctl @ONLY)
install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/ambctl DESTINATION bin)