From 736066f8978127c6ea22d2d25e1a22c25045709d Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 3 Jul 2019 13:56:47 +0000 Subject: [PATCH] geographiclib: fix unpackaged files * fixes: ERROR: geographiclib-1.48-r0 do_package: QA Issue: geographiclib: Files/directories were installed but not shipped in any package: /usr/share/matlab /usr/share/matlab/geographiclib-legacy /usr/share/matlab/geographiclib /usr/share/matlab/geographiclib-legacy/mgrsforward.m /usr/share/matlab/geographiclib-legacy/polygonarea.m /usr/share/matlab/geographiclib-legacy/utmupsreverse.m /usr/share/matlab/geographiclib-legacy/geodesicdirect.m /usr/share/matlab/geographiclib-legacy/geocentricreverse.m /usr/share/matlab/geographiclib-legacy/geodesicline.m /usr/share/matlab/geographiclib-legacy/mgrsreverse.m /usr/share/matlab/geographiclib-legacy/localcartesianreverse.m /usr/share/matlab/geographiclib-legacy/localcartesianforward.m /usr/share/matlab/geographiclib-legacy/utmupsforward.m /usr/share/matlab/geographiclib-legacy/geodesicinverse.m /usr/share/matlab/geographiclib-legacy/geocentricforward.m /usr/share/matlab/geographiclib-legacy/Contents.m /usr/share/matlab/geographiclib-legacy/geoidheight.m /usr/share/matlab/geographiclib/mgrs_inv.m /usr/share/matlab/geographiclib/eqdazim_fwd.m /usr/share/matlab/geographiclib/ecc2flat.m /usr/share/matlab/geographiclib/gnomonic_fwd.m /usr/share/matlab/geographiclib/geocent_fwd.m /usr/share/matlab/geographiclib/geodreckon.m /usr/share/matlab/geographiclib/gereckon.m /usr/share/matlab/geographiclib/geoddoc.m /usr/share/matlab/geographiclib/geocent_inv.m /usr/share/matlab/geographiclib/utmups_inv.m /usr/share/matlab/geographiclib/gedistance.m /usr/share/matlab/geographiclib/gnomonic_inv.m /usr/share/matlab/geographiclib/tranmerc_inv.m /usr/share/matlab/geographiclib/defaultellipsoid.m /usr/share/matlab/geographiclib/loccart_fwd.m /usr/share/matlab/geographiclib/eqdazim_inv.m /usr/share/matlab/geographiclib/polarst_inv.m /usr/share/matlab/geographiclib/cassini_fwd.m /usr/share/matlab/geographiclib/geoid_height.m /usr/share/matlab/geographiclib/flat2ecc.m /usr/share/matlab/geographiclib/utmups_fwd.m /usr/share/matlab/geographiclib/mgrs_fwd.m /usr/share/matlab/geographiclib/projdoc.m /usr/share/matlab/geographiclib/Contents.m /usr/share/matlab/geographiclib/geodarea.m /usr/share/matlab/geographiclib/geographiclib_test.m /usr/share/matlab/geographiclib/cassini_inv.m /usr/share/matlab/geographiclib/loccart_inv.m /usr/share/matlab/geographiclib/tranmerc_fwd.m /usr/share/matlab/geographiclib/polarst_fwd.m /usr/share/matlab/geographiclib/gedoc.m /usr/share/matlab/geographiclib/geoddistance.m /usr/share/matlab/geographiclib/geoid_load.m /usr/share/matlab/geographiclib/private /usr/share/matlab/geographiclib/private/C1pf.m /usr/share/matlab/geographiclib/private/C3coeff.m /usr/share/matlab/geographiclib/private/C4f.m /usr/share/matlab/geographiclib/private/AngRound.m /usr/share/matlab/geographiclib/private/geoid_load_file.m /usr/share/matlab/geographiclib/private/SinCosSeries.m /usr/share/matlab/geographiclib/private/copysignx.m /usr/share/matlab/geographiclib/private/geoid_file.m /usr/share/matlab/geographiclib/private/LatFix.m /usr/share/matlab/geographiclib/private/C3f.m /usr/share/matlab/geographiclib/private/atan2dx.m /usr/share/matlab/geographiclib/private/taupf.m /usr/share/matlab/geographiclib/private/swap.m /usr/share/matlab/geographiclib/private/norm2.m /usr/share/matlab/geographiclib/private/A1m1f.m /usr/share/matlab/geographiclib/private/sumx.m /usr/share/matlab/geographiclib/private/C1f.m /usr/share/matlab/geographiclib/private/AngNormalize.m /usr/share/matlab/geographiclib/private/A3f.m /usr/share/matlab/geographiclib/private/eatanhe.m /usr/share/matlab/geographiclib/private/C2f.m /usr/share/matlab/geographiclib/private/G4coeff.m /usr/share/matlab/geographiclib/private/sincosdx.m /usr/share/matlab/geographiclib/private/AngDiff.m /usr/share/matlab/geographiclib/private/C4coeff.m /usr/share/matlab/geographiclib/private/cvmgt.m /usr/share/matlab/geographiclib/private/A3coeff.m /usr/share/matlab/geographiclib/private/GeoRotation.m /usr/share/matlab/geographiclib/private/cbrtx.m /usr/share/matlab/geographiclib/private/tauf.m /usr/share/matlab/geographiclib/private/A2m1f.m /usr/lib/python /usr/lib/node_modules /usr/lib/python/site-packages /usr/lib/python/site-packages/geographiclib /usr/lib/python/site-packages/geographiclib/accumulator.py /usr/lib/python/site-packages/geographiclib/__init__.py /usr/lib/python/site-packages/geographiclib/polygonarea.py /usr/lib/python/site-packages/geographiclib/geodesic.py /usr/lib/python/site-packages/geographiclib/geomath.py /usr/lib/python/site-packages/geographiclib/geodesiccapability.py /usr/lib/python/site-packages/geographiclib/geodesicline.py /usr/lib/python/site-packages/geographiclib/constants.py /usr/lib/python/site-packages/geographiclib/test /usr/lib/python/site-packages/geographiclib/test/__init__.py /usr/lib/python/site-packages/geographiclib/test/test_geodesic.py /usr/lib/node_modules/geographiclib /usr/lib/node_modules/geographiclib/geographiclib.min.js /usr/lib/node_modules/geographiclib/package.json /usr/lib/node_modules/geographiclib/LICENSE.txt /usr/lib/node_modules/geographiclib/README.md /usr/lib/node_modules/geographiclib/geographiclib.js /usr/lib/node_modules/geographiclib/test /usr/lib/node_modules/geographiclib/src /usr/lib/node_modules/geographiclib/test/geodesictest.js /usr/lib/node_modules/geographiclib/src/DMS.js /usr/lib/node_modules/geographiclib/src/Math.js /usr/lib/node_modules/geographiclib/src/Geodesic.js /usr/lib/node_modules/geographiclib/src/GeodesicLine.js /usr/lib/node_modules/geographiclib/src/PolygonArea.js Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. geographiclib: 111 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa --- recipes-extended/geographiclib/geographiclib_1.48.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-extended/geographiclib/geographiclib_1.48.bb b/recipes-extended/geographiclib/geographiclib_1.48.bb index d1df08a..ebc8f8f 100644 --- a/recipes-extended/geographiclib/geographiclib_1.48.bb +++ b/recipes-extended/geographiclib/geographiclib_1.48.bb @@ -12,3 +12,8 @@ SRC_URI[sha256sum] = "7203d56123b6f6fb31842295d57b2418f79fb0db9a06f2f65ee9e415c6 S = "${WORKDIR}/GeographicLib-${PV}" inherit cmake + +PACKAGES =+ "${PN}-python ${PN}-node ${PN}-matlab" +FILES_${PN}-python += "${libdir}/python/" +FILES_${PN}-node += "${libdir}/node_modules/" +FILES_${PN}-matlab += "${datadir}/matlab/"