name: genivi-demo-platform-hmi kind: chunk pre-configure-commands: - | sed -i 's/sd_journal_print(LOG_DEBUG,/printf("DEBUG: "/' $(find . -name '*.cpp' -o -name '*.h') - | sed -i 's/sd_journal_print(LOG_INFO,/printf("INFO: "/' $(find . -name '*.cpp' -o -name '*.h') - | sed -i 's/sd_journal_print(LOG_ERR,/printf("ERR: "/' $(find . -name '*.cpp' -o -name '*.h') - | git apply - << "EOF" diff --git a/configure.ac b/configure.ac index f0c7ba2..4ff1462 100644 --- a/configure.ac +++ b/configure.ac @@ -61,10 +61,10 @@ PKG_CHECK_MODULES([CLIENT], [ AC_CHECK_HEADERS([ilm/ilm_types.h]) AC_CHECK_LIB(ilmClient, ilm_UpdateInputEventAcceptanceOn, [ILM_LIBS="-lilmCommon -lilmClient"], - [AC_MSG_ERROR([Can't find correct ilmClient library.])]) + [AC_MSG_ERROR([Can't find correct ilmClient library.])], -lilmControl) AC_CHECK_LIB(ilmControl, ilm_SetKeyboardFocusOn, [ILM_LIBS="$ILM_LIBS -lilmControl"], - [AC_MSG_ERROR([Can't find correct ilmControl library.])]) + [AC_MSG_ERROR([Can't find correct ilmControl library.])], -lilmClient) AC_SUBST(ILM_LIBS) WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client` EOF configure-commands: - autoreconf -vfi && ./configure --prefix=$PREFIX - cd app/gdp-hmi-background && qmake - cd app/gdp-hmi-launcher2 && qmake - cd app/gdp-hmi-panel && qmake - cd app/qml-example && qmake build-commands: - make - cd app/gdp-hmi-background && make - cd app/gdp-hmi-launcher2 && make - cd app/gdp-hmi-panel && make - cd app/qml-example && make install-commands: - make DESTDIR=$DESTDIR install - cd app/gdp-hmi-background && make INSTALL_ROOT=$DESTDIR install - cd app/gdp-hmi-launcher2 && make INSTALL_ROOT=$DESTDIR install - cd app/gdp-hmi-panel && make INSTALL_ROOT=$DESTDIR install - cd app/qml-example && make INSTALL_ROOT=$DESTDIR install - mkdir -p $DESTDIR/usr/share/gdp - cp -a app/gdp-hmi-background/assets/* $DESTDIR/usr/share/gdp/ - cp -a app/gdp-hmi-launcher2/content/images/* $DESTDIR/usr/share/gdp/ - cp -a app/gdp-hmi-panel/assets/* $DESTDIR/usr/share/gdp/ - mkdir -p "$DESTDIR/usr/lib/systemd/user" - mkdir -p "$DESTDIR/usr/lib/systemd/user/default.target.wants" - | cat >"$DESTDIR/usr/lib/systemd/user/gdp-hmi-launcher2.service" <"$DESTDIR/usr/lib/systemd/user/gdp-hmi-background.service" <"$DESTDIR/usr/lib/systemd/user/gdp-hmi-controller.service" <"$DESTDIR/usr/lib/systemd/user/gdp-hmi-panel.service" <"$DESTDIR/usr/lib/systemd/user/EGLWLMockNavigation.service" < "$DESTDIR/usr/lib/systemd/user/EGLWLInputEventExample.service" < "$DESTDIR/usr/lib/systemd/user/qml-example.service" < "$DESTDIR/usr/lib/systemd/user/PowerOff.service" <