navigation: bump proj to 9.1.0 library
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Khem and OE Users,
Quoted 34 lines · Clément Péron via lists.openembedded.org
Proj has moved to CMake build system.
Update the recipe and make more PACKAGECONFIG available following the
./contrib/oe-stylize.pyoutput.Signed-off-by Clément Péron <[email protected]>---
Changes in v2:
- DisableBUILD_TESTINGmeta-oe/recipes-navigation/proj/proj_8.2.1.bb | 22 ------------------- meta-oe/recipes-navigation/proj/proj_9.1.0.bb | 22 +++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta-oe/recipes-navigation/proj/proj_8.2.1.bb create mode 100644 meta-oe/recipes-navigation/proj/proj_9.1.0.bbmeta-oe/recipes-navigation/proj/proj_8.2.1.bb deleted +0
-10@@ -1,22 +0,0 @@ -SUMMARY = "PROJ.4 - Cartographic Projections library" -HOMEPAGE = "http://trac.osgeo.org/proj/" -SECTION = "libs" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff" - -SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.gz" - -SRC_URI[sha256sum] = "76ed3d0c3a348a6693dfae535e5658bbfd47f71cb7ff7eb96d9f12f7e068b1cf"
meta-oe/recipes-navigation/proj/proj_8.2.1.bb line 20
Quoted 10 lines
meta-oe/recipes-navigation/proj/proj_8.2.1.bb deleted +0
-10- -DEPENDS = "sqlite3 sqlite3-native tiff" - -inherit autotools pkgconfig lib_package - -PACKAGECONFIG ?= "curl" - -PACKAGECONFIG[curl] = ",--without-curl,curl" - -FILES:${PN} += "${datadir}/proj"
When marking the proj as a DEPENDS of another recipe only the lib.so is installed.
Running my executable will failed saying that:
"Cannot find proj.db"
I can fix this by marking the proj as a RDEPENDS of my recipe. But is it the correct fix?
Can I tell bitbake that the proj.db is a dependency of the library?
Regards,
Clement
Quoted 42 lines
meta-oe/recipes-navigation/proj/proj_8.2.1.bb deleted +0
-2- -BBCLASSEXTEND = "native"meta-oe/recipes-navigation/proj/proj_9.1.0.bb new file +22
-1@@ -0,0 +1,22 @@ +SUMMARY = "PROJ.4 - Cartographic Projections library" +HOMEPAGE = "http://trac.osgeo.org/proj/" +SECTION = "libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff" +DEPENDS = "sqlite3 sqlite3-native" + +SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.gz" +SRC_URI[sha256sum] = "81b2239b94cad0886222cde4f53cb49d34905aad2a1317244a0c30a553db2315" + +inherit cmake lib_package + +EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" + +FILES:${PN} += "${datadir}/proj" + +BBCLASSEXTEND = "native" + +PACKAGECONFIG ?= "curl" +PACKAGECONFIG[apps] = "-DBUILD_APPS=ON, -DBUILD_APPS=OFF" +PACKAGECONFIG[curl] = "-DENABLE_CURL=ON,-DENABLE_CURL=OFF,curl" +PACKAGECONFIG[tiff] = "-DENABLE_TIFF=ON,-DENABLE_TIFF=OFF,tiff" --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#99686): https://lists.openembedded.org/g/openembedded-devel/message/99686
Mute This Topic: https://lists.openembedded.org/mt/95194626/4240582
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-