package/proj: bump version to 9.2.1
PATCH 1/1 package/proj: bump version to 9.2.1
Release notes: https://github.com/OSGeo/PROJ/blob/master/NEWS
Switch package to cmake, add json-for-modern-cpp dependency.
--- package/proj/Config.in | 7 ++++--- package/proj/proj.hash | 6 +++--- package/proj/proj.mk | 14 +++++++------- 3 files changed, 14 insertions(+), 13 deletions(-)
package/proj/Config.in +4 -3
@@ -1,9 +1,10 @@ config BR2_PACKAGE_PROJ bool "proj" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # json-for-modern-cpp depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_WCHAR + select BR2_PACKAGE_JSON_FOR_MODERN_CPP select BR2_PACKAGE_SQLITE help proj.4 is a standard UNIX filter function which converts
@@ -14,7 +15,7 @@ config BR2_PACKAGE_PROJ http://proj4.org/ -comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar" +comment "proj needs a toolchain w/ C++, gcc >= 4.9, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
package/proj/proj.hash +3 -3
@@ -1,5 +1,5 @@ -# Fetched from http://download.osgeo.org/proj/proj-8.1.1.tar.gz.md5 -md5 f017fd7d35311b0d65b2cf0503844690 proj-8.1.1.tar.gz +# From http://download.osgeo.org/proj/proj-9.2.1.tar.gz.md5 +md5 c8e878049ef27330ac94624e1a75b0db proj-9.2.1.tar.gz # Locally calculated -sha256 82f1345e5fa530c407cb1fc0752e83f8d08d2b98772941bbdc7820241f7fada2 proj-8.1.1.tar.gz +sha256 15ebf4afa8744b9e6fccb5d571fc9f338dc3adcf99907d9e62d1af815d4971a1 proj-9.2.1.tar.gz sha256 6a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319 COPYING
package/proj/proj.mk +7 -7
@@ -4,12 +4,12 @@ # ################################################################################ -PROJ_VERSION = 8.1.1 +PROJ_VERSION = 9.2.1 PROJ_SITE = http://download.osgeo.org/proj PROJ_LICENSE = MIT PROJ_LICENSE_FILES = COPYING PROJ_INSTALL_STAGING = YES -PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite +PROJ_DEPENDENCIES = host-pkgconf host-sqlite json-for-modern-cpp sqlite PROJ_CFLAGS = $(TARGET_CFLAGS) PROJ_CXXFLAGS = $(TARGET_CXXFLAGS)
@@ -25,16 +25,16 @@ PROJ_CONF_ENV = \ ifeq ($(BR2_PACKAGE_LIBCURL),y) PROJ_DEPENDENCIES += libcurl -PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config +PROJ_CONF_OPTS += -DENABLE_CURL=ON else -PROJ_CONF_OPTS += --without-curl +PROJ_CONF_OPTS += -DENABLE_CURL=OFF endif ifeq ($(BR2_PACKAGE_TIFF),y) PROJ_DEPENDENCIES += tiff -PROJ_CONF_OPTS += --enable-tiff +PROJ_CONF_OPTS += -DENABLE_TIFF=ON else -PROJ_CONF_OPTS += --disable-tiff +PROJ_CONF_OPTS += -DENABLE_TIFF=OFF endif -$(eval $(autotools-package)) +$(eval $(cmake-package))
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Dear Bernd,
thanks for working on this!
Test-compiled the package, and if BR2_PACKAGE_LIBCURL is not enabled, the the configuration fails with:
Quoted 4 lines
--
PROJ_LIBRARIES= proj
CMake Error atsrc/apps/CMakeLists.txt:80(message):
projsync requires Curl
It seems unfortunately we need sth like:
Quoted 13 lines
package/proj/proj.mk +1
-0@@ -28,6 +28,7 @@ PROJ_DEPENDENCIES += libcurl PROJ_CONF_OPTS += -DENABLE_CURL=ON else PROJ_CONF_OPTS += -DENABLE_CURL=OFF +PROJ_CONF_OPTS += -DBUILD_PROJSYNC=OFF endif
Quoted 1 line
ifeq ($(BR2_PACKAGE_TIFF),y)
Regards,
Quoted 94 lines · On 2023. augusztus 2., szerda 19:54:07 CEST Bernd Kuhls wrote:
Release notes: https://github.com/OSGeo/PROJ/blob/master/NEWS
Switch package to cmake, add json-for-modern-cpp dependency.
Signed-off-by Bernd Kuhls <[email protected]>--- package/proj/Config.in | 7 ++++--- package/proj/proj.hash | 6 +++--- package/proj/proj.mk | 14 +++++++------- 3 files changed, 14 insertions(+), 13 deletions(-)package/proj/Config.in +4
-3@@ -1,9 +1,10 @@ config BR2_PACKAGE_PROJ bool "proj" depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # json-for-modern-cpp depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_WCHAR + select BR2_PACKAGE_JSON_FOR_MODERN_CPP select BR2_PACKAGE_SQLITE help proj.4 is a standard UNIX filter function which converts@@ -14,7 +15,7 @@ config BR2_PACKAGE_PROJ http://proj4.org/ -comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar" +comment "proj needs a toolchain w/ C++, gcc >= 4.9, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHARpackage/proj/proj.hash +2
-3@@ -1,5 +1,5 @@ -# Fetched from http://download.osgeo.org/proj/proj-8.1.1.tar.gz.md5 -md5 f017fd7d35311b0d65b2cf0503844690 proj-8.1.1.tar.gz +# From http://download.osgeo.org/proj/proj-9.2.1.tar.gz.md5 +md5 c8e878049ef27330ac94624e1a75b0db proj-9.2.1.tar.gz # Locally calculated -sha256 82f1345e5fa530c407cb1fc0752e83f8d08d2b98772941bbdc7820241f7fada2proj-8.1.1.tar.gz +sha256
15ebf4afa8744b9e6fccb5d571fc9f338dc3adcf99907d9e62d1af815d4971a1proj-9.2.1.tar.gz sha2566a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319COPYINGpackage/proj/proj.mk +2
-2@@ -4,12 +4,12 @@ # ########################################################################### ##### -PROJ_VERSION = 8.1.1 +PROJ_VERSION = 9.2.1 PROJ_SITE = http://download.osgeo.org/proj PROJ_LICENSE = MIT PROJ_LICENSE_FILES = COPYING PROJ_INSTALL_STAGING = YES -PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite +PROJ_DEPENDENCIES = host-pkgconf host-sqlite json-for-modern-cpp sqlite PROJ_CFLAGS = $(TARGET_CFLAGS)
PROJ_CXXFLAGS= $(TARGET_CXXFLAGS)package/proj/proj.mk +5
-5@@ -25,16 +25,16 @@ PROJ_CONF_ENV = \ ifeq ($(BR2_PACKAGE_LIBCURL),y) PROJ_DEPENDENCIES += libcurl -PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config +PROJ_CONF_OPTS += -DENABLE_CURL=ON else -PROJ_CONF_OPTS += --without-curl +PROJ_CONF_OPTS += -DENABLE_CURL=OFF endif ifeq ($(BR2_PACKAGE_TIFF),y) PROJ_DEPENDENCIES += tiff -PROJ_CONF_OPTS += --enable-tiff +PROJ_CONF_OPTS += -DENABLE_TIFF=ON else -PROJ_CONF_OPTS += --disable-tiff +PROJ_CONF_OPTS += -DENABLE_TIFF=OFF endif -$(eval $(autotools-package)) +$(eval $(cmake-package))
Signature · 8 lines
Zoltan Gyarmati https://zgyarmati.de _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · On Wed, 2 Aug 2023 19:54:07 +0200 Bernd Kuhls <[email protected]> wrote:
Release notes: https://github.com/OSGeo/PROJ/blob/master/NEWS
Switch package to cmake, add json-for-modern-cpp dependency.
Signed-off-by Bernd Kuhls <[email protected]>--- package/proj/Config.in | 7 ++++--- package/proj/proj.hash | 6 +++--- package/proj/proj.mk | 14 +++++++------- 3 files changed, 14 insertions(+), 13 deletions(-)
Marked as Changes Requested following the feedback from Zoltan.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot