Skip to contentSkip to conversation

navigation: bump proj to 9.1.0 library

PATCH Superseded Clément Péron 2 participants 4 messages Nov 15, 2022 – Nov 17, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 navigation: bump proj to 9.1.0 library

Proj has moved to CMake build system.

Update the recipe and make more PACKAGECONFIG available following the ./contrib/oe-stylize.py output.

---
 .../proj/{proj_8.2.1.bb => proj_9.1.0.bb}      | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
 rename meta-oe/recipes-navigation/proj/{proj_8.2.1.bb => proj_9.1.0.bb} (50%)
meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +8 -10
similarity index 50%
rename from meta-oe/recipes-navigation/proj/proj_8.2.1.bb
rename to meta-oe/recipes-navigation/proj/proj_9.1.0.bb
index 0c1104926..bc3523ec8 100644
@@ -1,22 +1,20 @@
 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"
 
-SRC_URI[sha256sum] = "76ed3d0c3a348a6693dfae535e5658bbfd47f71cb7ff7eb96d9f12f7e068b1cf"
-
-DEPENDS = "sqlite3 sqlite3-native tiff"
-
-inherit autotools pkgconfig lib_package
-
-PACKAGECONFIG ?= "curl"
-
-PACKAGECONFIG[curl] = ",--without-curl,curl"
+inherit cmake lib_package
 
 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"
Signature · 1 line
2.34.1
#1 lore raw

seeing build failures
https://errors.yoctoproject.org/Errors/Details/677151/
https://errors.yoctoproject.org/Errors/Details/677156/

i think the cmake downloading under the nose in do_configure needs to be addressed.

Quoted 53 lines · Clément Péron

Proj has moved to CMake build system.

Update the recipe and make more PACKAGECONFIG available following the ./contrib/oe-stylize.py output.

---
 .../proj/{proj_8.2.1.bb => proj_9.1.0.bb}      | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
 rename meta-oe/recipes-navigation/proj/{proj_8.2.1.bb => proj_9.1.0.bb} (50%)
meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +8 -11
similarity index 50%
rename from meta-oe/recipes-navigation/proj/proj_8.2.1.bb
rename to meta-oe/recipes-navigation/proj/proj_9.1.0.bb
index 0c1104926..bc3523ec8 100644
@@ -1,22 +1,20 @@
 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"
 
-SRC_URI[sha256sum] = "76ed3d0c3a348a6693dfae535e5658bbfd47f71cb7ff7eb96d9f12f7e068b1cf"
-
-DEPENDS = "sqlite3 sqlite3-native tiff"
-
-inherit autotools pkgconfig lib_package
-
-PACKAGECONFIG ?= "curl"
-
-PACKAGECONFIG[curl] = ",--without-curl,curl"
+inherit cmake lib_package
 
 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

#2 lore raw

Hi Khem,

Quoted 7 lines · Khem Raj

seeing build failures
https://errors.yoctoproject.org/Errors/Details/677151/
https://errors.yoctoproject.org/Errors/Details/677156/

i think the cmake downloading under the nose in do_configure needs to be addressed.

Does an
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"

Would be acceptable?

Thanks

Quoted 55 lines · Clément Péron
Quoted 53 lines

Proj has moved to CMake build system.

Update the recipe and make more PACKAGECONFIG available following the ./contrib/oe-stylize.py output.

---
 .../proj/{proj_8.2.1.bb => proj_9.1.0.bb}      | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
 rename meta-oe/recipes-navigation/proj/{proj_8.2.1.bb => proj_9.1.0.bb} (50%)
meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +8 -11
similarity index 50%
rename from meta-oe/recipes-navigation/proj/proj_8.2.1.bb
rename to meta-oe/recipes-navigation/proj/proj_9.1.0.bb
index 0c1104926..bc3523ec8 100644
@@ -1,22 +1,20 @@
 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"
 
-SRC_URI[sha256sum] = "76ed3d0c3a348a6693dfae535e5658bbfd47f71cb7ff7eb96d9f12f7e068b1cf"
-
-DEPENDS = "sqlite3 sqlite3-native tiff"
-
-inherit autotools pkgconfig lib_package
-
-PACKAGECONFIG ?= "curl"
-
-PACKAGECONFIG[curl] = ",--without-curl,curl"
+inherit cmake lib_package
 
 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

#3 lore raw
Quoted 8 lines · Clément Péron

Hi Khem,

Quoted 5 lines · Khem Raj

seeing build failures
https://errors.yoctoproject.org/Errors/Details/677151/
https://errors.yoctoproject.org/Errors/Details/677156/

Quoted 8 lines
Quoted 2 lines

i think the cmake downloading under the nose in do_configure needs to be addressed.

Does an
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"

Would be acceptable?

Since we do not have tests enabled it should be ok

Quoted 76 lines

Thanks

Quoted 2 lines

On Tue, Nov 15, 2022 at 1:44 AM Clément Péron <[email protected]>

Quoted 9 lines · wrote:
Quoted 9 lines

Proj has moved to CMake build system.

Update the recipe and make more PACKAGECONFIG available following the ./contrib/oe-stylize.py output.

---
 .../proj/{proj_8.2.1.bb => proj_9.1.0.bb}      | 18

++++++++----------

Quoted 2 lines
Quoted 2 lines
 1 file changed, 8 insertions(+), 10 deletions(-)
 rename meta-oe/recipes-navigation/proj/{proj_8.2.1.bb =>

proj_9.1.0.bb} (50%)

Quoted 2 lines

Review

Quoted 2 lines
(quoted diff) +0 -0

b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb

Quoted 5 lines
Quoted 5 lines

similarity index 50%
rename from meta-oe/recipes-navigation/proj/proj_8.2.1.bb rename to meta-oe/recipes-navigation/proj/proj_9.1.0.bb index 0c1104926..bc3523ec8 100644
--- a/meta-oe/recipes-navigation/proj/proj_8.2.1.bb

Quoted 8 lines

meta-oe/recipes-navigation/proj/proj_9.1.0.bb line 5

Quoted 8 lines

+++ b/meta-oe/recipes-navigation/proj/proj_9.1.0.bb

meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +0 -1
@@ -1,22 +1,20 @@
 SUMMARY = "PROJ.4 - Cartographic Projections library"
 HOMEPAGE = "http://trac.osgeo.org/proj/"
 SECTION = "libs"
-
 LICENSE = "MIT"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=f27445198ba1500f508fce2b183ce0ff"

Quoted 4 lines

meta-oe/recipes-navigation/proj/proj_9.1.0.bb

Quoted 4 lines
meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +2 -0
+DEPENDS = "sqlite3 sqlite3-native"
 
 SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.gz"
+SRC_URI[sha256sum] =

"81b2239b94cad0886222cde4f53cb49d34905aad2a1317244a0c30a553db2315"

Quoted 2 lines

Review line 9

Quoted 2 lines
(quoted diff) +0 -1
-SRC_URI[sha256sum] =

"76ed3d0c3a348a6693dfae535e5658bbfd47f71cb7ff7eb96d9f12f7e068b1cf"

Quoted 12 lines
Quoted 12 lines
meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +1 -8
-
-DEPENDS = "sqlite3 sqlite3-native tiff"
-
-inherit autotools pkgconfig lib_package
-
-PACKAGECONFIG ?= "curl"
-
-PACKAGECONFIG[curl] = ",--without-curl,curl"
+inherit cmake lib_package
 
 FILES:${PN} += "${datadir}/proj"
 
Quoted 9 lines
Quoted 9 lines
meta-oe/recipes-navigation/proj/proj_9.1.0.bb renamed from meta-oe/recipes-navigation/proj/proj_8.2.1.bb +5 -1
 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 (#99607):
https://lists.openembedded.org/g/openembedded-devel/message/99607
Mute This Topic: https://lists.openembedded.org/mt/95039613/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-