Integration/Packaging of navigation, poi and mapviewer app needs to be redone
Description
Environment
blocks
is blocked by
relates to
Activity
Jose Bollo September 12, 2017 at 1:16 PM
considered as closed but moved to https://lf-automotivelinux.atlassian.net/browse/SPEC-859#icft=SPEC-859
Naoto YAMAGUCHI August 22, 2017 at 12:31 AM
10537 was rewritten as 10617.
It's marged.
Walt Miner August 21, 2017 at 3:45 PM
@Jose Bollo 10537 abandoned. Now what?
Jose Bollo August 10, 2017 at 8:18 AM
in wait of review 10537
Jan-Simon Moeller August 8, 2017 at 8:02 AM
Hi @Naoto YAMAGUCHI and @Former user !
Thank for the explanation @@Former user . Yes, we need to work-out what needs to end-up in the platform or not. This is will always be a 'WIP' item. We should facilitate a way to include libraries in the wgt. Worst-case this would be multiple.
The recipe should not have to specify any RDEPENDS. Either the wgt ships all necessary files for the app or the image / the packagegroup needs to pull-in the library as a platform library. This will break in the SDK if we do not enforce this.
The profiles will determine what libraries are in the mix. Everything on-top needs to be shipped with the app. Otherwise we must start a process to embed the library in question in the platform.
The recipe should in the end look like:
SUMMARY = "AGL Reference Navigation application."
DESCRIPTION = "This application provides the function of Navigation to AGL. "
HOMEPAGE = "http://agl.wismobi.com/"
SECTION = "apps"
LICENSE="GPLv2"
LIC_FILES_CHKSUM="file://LICENSE;md5=3595e9c703a847d990664d2b396a9df0 \
file://COPYING;md5=947b2d60ca3872e172034438e9801200"
DEPENDS = " \
glib-2.0 freetype sqlite3 wayland zlib expat openssl \
virtual/libgles2 virtual/libgl virtual/egl \
wayland libdbus-c++ af-main \
"
SRCREV = "c6403c1147fa53cd6a638f738d270c5d3bb214cf"
SRC_URI = "git://github.com/AGLExport/gpsnavi.git;branch=agl "
S = "${WORKDIR}/git"
# To avoid C++ library link failure
SECURITY_CFLAGS = ""
inherit autotools pkgconfig
inherit aglwgt
# normally the recipe would end here ...
##########################################################
# only exception as these are export scripts
# but even these can be shipped with the wgt
##########################################################
SRC_URI + = " file://download_mapdata_jp.sh \
file://download_mapdata_uk.sh \
"
do_install_append() {
install -d ${D}/var/mapdata
install -d ${D}/usr/AGL/apps
install -m 0755 ${WORKDIR}/download_mapdata_jp.sh ${D}/usr/AGL/apps/
install -m 0755 ${WORKDIR}/download_mapdata_uk.sh ${D}/usr/AGL/apps/
}
FILES_${PN} += " /usr/AGL/apps/*.sh /var/mapdata "
The current setup of
navigation,
poi,
mapviewer
is a mix of native library, native binary and application wgt
built using a single recipe.
This does not work with the SDK and needs to be redone.
@Stephane Desneux, @Former user : please give us some hints how to untangle these
@Naoto YAMAGUCHI : please rework the package based on these suggestions