From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/
Date: Thu, 11 Apr 2024 10:02:45 +0000 (UTC) [thread overview]
Message-ID: <1712829690.cc5b1497ddd632a0f559e4cdf14d98dc2ae589f5.andrewammerlaan@gentoo> (raw)
commit: cc5b1497ddd632a0f559e4cdf14d98dc2ae589f5
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Feb 16 07:36:58 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 10:01:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5b1497
sci-libs/gdal: drop 3.7.1, 3.7.2
Closes: https://bugs.gentoo.org/916787
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/gdal/Manifest | 4 -
sci-libs/gdal/gdal-3.7.1.ebuild | 286 ----------------------------------------
sci-libs/gdal/gdal-3.7.2.ebuild | 286 ----------------------------------------
3 files changed, 576 deletions(-)
diff --git a/sci-libs/gdal/Manifest b/sci-libs/gdal/Manifest
index 1312fc2cb753..7892c41f828a 100644
--- a/sci-libs/gdal/Manifest
+++ b/sci-libs/gdal/Manifest
@@ -1,12 +1,8 @@
DIST gdal-3.6.4.tar.xz 8648032 BLAKE2B d6abdbcc87029bf230dae5586f06cbd329e5e43be37d8f5e9a72c67c93a6769458cc9c693b498e3f697b1ee1b68c9f9dbf7545ff9819fceb8fdde81b8d4ac882 SHA512 a8f69158d44ea456c44cfcb8937892697a28d2e4a43333c28db8fb9e81c51436a6edcb7a392b8c7ef63cd7453be6350a938bc4ba910720d9d5d9a1f32c57c558
DIST gdal-3.7.0.tar.xz 8604724 BLAKE2B 400cc17fc636c637f7c40e93aed8e2db7bfbbe73741da4135cfeec8dbcda24ce0c8035214edf038afc29a916012da86a78d789729540f870231dfa6aa27e424a SHA512 4a3262d75ffbb58ec0821cd266843e28ca64c34383fb2bfaf30c984bf01c6d012381892a31a2ebc7c27a58b058fb44389cd45b05b619579b6178feb192f37bc6
-DIST gdal-3.7.1.tar.xz 8614512 BLAKE2B c137ca19809170948b5b7bf852193d922d167fed554eef0cf43f326098b7b7faa40427fddbe14b051af31bbc53a91555ce562f88d04f37f81e0753265383c42a SHA512 c72483a28af8f5512757a9f319c70a12e5d5cd5e30cb2ace160e7cbad6099544526a7136875582b6e76ce10968ef1bd67a78e4df65d64bc4e8feeb7684146ca6
-DIST gdal-3.7.2.tar.xz 8619608 BLAKE2B 29a96e34f4ffe661fc2af786b9a229be779ed5e91e4c580834f6624f4173ede8adf22c27b2830c446736c0ff37501441ab2afea9f780dad4588636b03deb1f71 SHA512 6f2bd93520bd45e64b7613c8bcb0e0848d7ce10bcf716ff6ba5ef9ec9cad5798d65c79461fe0b83e99103ac12893893fea44b9b4c23f1e2f05b914f3e7f982f1
DIST gdal-3.7.3.tar.xz 8625812 BLAKE2B 743ce2d8027fb228630a2951af2de8ac7fb5fa0b32124d58fb545ac61fdf5240f17ae85cfdcab51ea5e1b4e2311b55af4c7bbdfe82c6ed5ea180a5c8b254ccfd SHA512 84b2cb2cb7b9b78dbdd151a9029102e224db4a0901069f41c1672cb02ca049efb4cc84ef7f65acb8e53dcfe1e02f52822efdaff2875654408fc133c68ec01238
DIST gdal-3.8.0.tar.xz 8853728 BLAKE2B 646aa91283e7228a054221d120bddb456c8b898f9155edd289f2b2e0bf8706fa3045a98d26e4cf5ba5dba6d8c1c7f0a7f4aaaded9457481a65910c2d313c8f9d SHA512 42b3a381190922e546ae83355f56532b92d519b1eac357a9c116ee19b67b67362f282e248e2d82c14ae04cae04dce175bb652f481879442ffa5b58f764a088dd
DIST gdalautotest-3.6.4.tar.gz 12614090 BLAKE2B d2c33b56790c1cb030a102ff48bec33c3d187c5be6e13d56da8d6cb8e9393734c2144274cbe08cf82b2a023ffb75df9fd01bcfd9f3d73076c95c4b213823f64e SHA512 2a7704e57f8bc0687c759d047b5a8fb290b2959eb058e02b08edf12e9cca17d6a9121213ef48e8b616c94c8cbe321531612700c6db52cb47fbcc5893c1c1c1c1
DIST gdalautotest-3.7.0.tar.gz 13785892 BLAKE2B cac18436ad2acb558e27e8ba3f1f2c22aa6c7ba258abe25118acf65fb2cb8a3d5f132ccb8315912a54d07f035b5ff331cf6a66bdf51a54c8275c5203e844eb82 SHA512 81e80c799a8a910a861182480e8306c8583cdffe7cb62f47fbaddf031e1c4d1d3fb341edf0daddbb8c934e5f2d547b380feb2f5a9f22cd50db14e43c2b02737b
-DIST gdalautotest-3.7.1.tar.gz 13830135 BLAKE2B 277574c603fe92758246577df3717363a45c7321378ea15766f4198100f3277e12028ee3b480bc1a7d803519664974c6a745f2968de50278c6e8e6d389a95b46 SHA512 d69de5daa9e1f49089b5465f93b09a2717065d119127150e65dbbfb23dc664c34b7e21e59edb17ce827b62d43d72f1d672ac70dca592ade90fe07359644e2c66
-DIST gdalautotest-3.7.2.tar.gz 13835621 BLAKE2B 38cf190bf5f81836da0b56c89cf3a4fa5461215d82df48a598420bc1bdde81cdcb2e56f9b987ec60c35646470297ade41b6ca5fd3dc7df131cdfeb3de33a7b87 SHA512 9c3ace4811805b6393fe4f06d95e155427da8bb18aa8ceec0f28966c92bdf6edd57c565889c4d8deb58f46a3cb88e39fc31aa33fe27804f228e91781bd9e91b3
DIST gdalautotest-3.7.3.tar.gz 13833069 BLAKE2B a4d7784b39480816ce530abf9f726312fa4553d6afefabb014a1deb8cba9367fc0aede03d181991e155ab3dee52ba17b9d92c8d04fb312b994a99044dda7fb89 SHA512 e19d5afa9e7280a6ac837b01c23cddc7ff3ca6578ab347b915ec84bdde091f1b54095a2eed0042538eb4eae38613816d79531aa541f6cc6f1cbeee41b2fa11fd
DIST gdalautotest-3.8.0.tar.gz 15615239 BLAKE2B fa524bb796a6f5b28bea79b51c4ce34e231b1d10a108a4590e30a48dc946df45880828a5a1ee0db07ed191e0f7dd5631fb294f3a73d1ce24244b6132f5cc3de1 SHA512 e72705571a337412d379cdf36debbe01aca61e789527c5e1f1c47904ba817c390a04032913fde75f899b96ec4f0b3a849ec3ead2539c31b59ca5006cd5e4e431
diff --git a/sci-libs/gdal/gdal-3.7.1.ebuild b/sci-libs/gdal/gdal-3.7.1.ebuild
deleted file mode 100644
index dce209e159b7..000000000000
--- a/sci-libs/gdal/gdal-3.7.1.ebuild
+++ /dev/null
@@ -1,286 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
-HOMEPAGE="https://gdal.org/"
-SRC_URI="https://download.osgeo.org/${PN}/${PV}/${P}.tar.xz"
-SRC_URI+=" test? ( https://download.osgeo.org/${PN}/${PV}/${PN}autotest-${PV}.tar.gz )"
-
-LICENSE="BSD Info-ZIP MIT"
-SLOT="0/33" # subslot is libgdal.so.<SONAME>
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="armadillo +curl cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc fits geos gif gml hdf5 heif java jpeg jpeg2k lzma mysql netcdf odbc ogdi opencl oracle pdf png postgres python spatialite sqlite test webp xls zstd"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- spatialite? ( sqlite )
- test? ( ${PYTHON_REQUIRED_USE} )
-"
-
-BDEPEND="
- virtual/pkgconfig
- doc? ( app-text/doxygen )
- java? (
- dev-java/ant-core
- dev-lang/swig
- )
- python? (
- dev-lang/swig
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_USEDEP}]
- ')
- )
- test? (
- ${PYTHON_DEPS}
- dev-cpp/gtest
- )
-"
-DEPEND="
- dev-libs/expat
- dev-libs/json-c:=
- dev-libs/libpcre2
- dev-libs/libxml2:2
- dev-libs/openssl:=
- media-libs/tiff
- >=sci-libs/libgeotiff-1.5.1-r1:=
- >=sci-libs/proj-6.0.0:=
- sys-libs/zlib[minizip(+)]
- armadillo? ( sci-libs/armadillo:=[lapack] )
- curl? ( net-misc/curl )
- fits? ( sci-libs/cfitsio:= )
- geos? ( >=sci-libs/geos-3.8.0 )
- gif? ( media-libs/giflib:= )
- gml? ( >=dev-libs/xerces-c-3.1 )
- heif? ( media-libs/libheif:= )
- hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] )
- java? (
- >=virtual/jdk-1.8:*[-headless-awt]
- )
- jpeg? ( media-libs/libjpeg-turbo:= )
- jpeg2k? ( media-libs/openjpeg:2= )
- lzma? ( || (
- app-arch/xz-utils
- app-arch/lzma
- ) )
- mysql? ( virtual/mysql )
- netcdf? ( sci-libs/netcdf:= )
- odbc? ( dev-db/unixODBC )
- ogdi? ( >=sci-libs/ogdi-4.1.0-r1 )
- opencl? ( virtual/opencl )
- oracle? ( dev-db/oracle-instantclient:= )
- pdf? ( app-text/poppler:= )
- png? ( media-libs/libpng:= )
- postgres? ( >=dev-db/postgresql-8.4:= )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
- spatialite? ( dev-db/spatialite )
- sqlite? ( dev-db/sqlite:3 )
- webp? ( media-libs/libwebp:= )
- xls? ( dev-libs/freexl )
- zstd? ( app-arch/zstd:= )
-"
-RDEPEND="
- ${DEPEND}
- java? ( >=virtual/jre-1.8:* )
-"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- _wstat64 # Windows LFS
-)
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.6.4-abseil-cpp-20230125.2-c++17.patch
- "${FILESDIR}"/${PN}-3.7.0-zlib-OF.patch
-)
-
-pkg_setup() {
- if use python || use test ; then
- python-single-r1_pkg_setup
- fi
-
- use java && java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- if use test ; then
- mv "${WORKDIR}"/gdalautotest-${PV} "${S}"/autotest || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_IPO=OFF
- -DGDAL_USE_EXTERNAL_LIBS=ON
- -DGDAL_USE_INTERNAL_LIBS=OFF
- -DBUILD_TESTING=$(usex test)
-
- # bug #844874 and bug #845150
- -DCMAKE_INSTALL_INCLUDEDIR="include/gdal"
-
- # Options here are generally off because of one of:
- # - Not yet packaged dependencies
- #
- # - Off for autotools build and didn't want more churn by
- # enabling during port to CMake. Feel free to request them
- # being turned on if useful for you.
- -DGDAL_USE_ARMADILLO=$(usex armadillo)
- -DGDAL_USE_ARROW=OFF
- -DGDAL_USE_BLOSC=OFF
- -DGDAL_USE_BRUNSLI=OFF
- -DGDAL_USE_CRNLIB=OFF
- -DGDAL_USE_CFITSIO=$(usex fits)
- -DGDAL_USE_CURL=$(usex curl)
- -DGDAL_USE_CRYPTOPP=OFF
- -DGDAL_USE_DEFLATE=OFF
- -DGDAL_USE_ECW=OFF
- -DGDAL_USE_EXPAT=ON
- -DGDAL_USE_FILEGDB=OFF
- -DGDAL_USE_FREEXL=$(usex xls)
- -DGDAL_USE_FYBA=OFF
- -DGDAL_USE_GEOTIFF=ON
- -DGDAL_USE_GEOS=$(usex geos)
- -DGDAL_USE_GIF=$(usex gif)
- -DGDAL_USE_GTA=OFF
- -DGDAL_USE_HEIF=$(usex heif)
- -DGDAL_USE_HDF4=OFF
- -DGDAL_USE_HDF5=$(usex hdf5)
- -DGDAL_USE_HDFS=OFF
- -DGDAL_USE_ICONV=ON # TODO dep
- -DGDAL_USE_IDB=OFF
- -DGDAL_USE_JPEG=$(usex jpeg)
-
- # https://gdal.org/build_hints.html#jpeg12
- # Independent of whether using system libjpeg
- -DGDAL_USE_JPEG12_INTERNAL=ON
-
- -DGDAL_USE_JSONC=ON
- -DGDAL_USE_JXL=OFF
- -DGDAL_USE_KDU=OFF
- -DGDAL_USE_KEA=OFF
- -DGDAL_USE_LERC=OFF
- -DGDAL_USE_LIBKML=OFF
- -DGDAL_USE_LIBLZMA=$(usex lzma)
- -DGDAL_USE_LIBXML2=ON
- -DGDAL_USE_LURATECH=OFF
- -DGDAL_USE_LZ4=OFF
- -DGDAL_USE_MONGOCXX=OFF
- -DGDAL_USE_MRSID=OFF
- -DGDAL_USE_MSSQL_NCLI=OFF
- -DGDAL_USE_MSSQL_ODBC=OFF
- -DGDAL_USE_MYSQL=$(usex mysql)
- -DGDAL_USE_NETCDF=$(usex netcdf)
- -DGDAL_USE_ODBC=$(usex odbc)
- -DGDAL_USE_ODBCCPP=OFF
- -DGDAL_USE_OGDI=$(usex ogdi)
- -DGDAL_USE_OPENCAD=OFF
- -DGDAL_USE_OPENCL=$(usex opencl)
- -DGDAL_USE_OPENEXR=OFF
- -DGDAL_USE_OPENJPEG=$(usex jpeg2k)
- -DGDAL_USE_OPENSSL=ON
- -DGDAL_USE_ORACLE=$(usex oracle)
- -DGDAL_USE_PARQUET=OFF
- -DGDAL_USE_PCRE2=ON
- -DGDAL_USE_PDFIUM=OFF
- -DGDAL_USE_PNG=$(usex png)
- -DGDAL_USE_PODOFO=OFF
- -DGDAL_USE_POPPLER=$(usex pdf)
- -DGDAL_USE_POSTGRESQL=$(usex postgres)
- -DGDAL_USE_QHULL=OFF
- -DGDAL_USE_RASTERLITE2=OFF
- -DGDAL_USE_RDB=OFF
- -DGDAL_USE_SPATIALITE=$(usex spatialite)
- -DGDAL_USE_SQLITE3=$(usex sqlite)
- -DGDAL_USE_SFCGAL=OFF
- -DGDAL_USE_TEIGHA=OFF
- -DGDAL_USE_TIFF=ON
- -DGDAL_USE_TILEDB=OFF
- -DGDAL_USE_WEBP=$(usex webp)
- -DGDAL_USE_XERCESC=$(usex gml)
- -DGDAL_USE_ZLIB=ON
- -DGDAL_USE_ZSTD=$(usex zstd)
-
- # Bindings
- -DBUILD_PYTHON_BINDINGS=$(usex python)
- -DBUILD_JAVA_BINDINGS=$(usex java)
- # bug #845369
- -DBUILD_CSHARP_BINDINGS=OFF
-
- # Check work/gdal-3.5.0_build/CMakeCache.txt after configure
- # and https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71
- # Commented out: not (yet?) implemented upstream.
- # Also, arm64 stuff is a TODO upstream, but not there (yet?)
- -Dtest_avx=$(usex cpu_flags_x86_avx)
- -Dtest_avx2=$(usex cpu_flags_x86_avx2)
- -Dtest_sse=$(usex cpu_flags_x86_sse)
- -Dtest_sse2=$(usex cpu_flags_x86_sse2)
- #-Dtest_sse3=$(usex cpu_flags_x86_sse3)
- -Dtest_sse4.1=$(usex cpu_flags_x86_sse4_1)
- #-Dtest_sse4.2=$(usex cpu_flags_x86_sse4_2)
- #-Dtest_sse4a=$(usex cpu_flags_x86_sse4a)
- -Dtest_ssse3=$(usex cpu_flags_x86_ssse3)
- #-Dtest_fma4=$(usex cpu_flags_x86_fma4)
- #-Dtest_xop=$(usex cpu_flags_x86_xop)
- )
-
- if use test ; then
- mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON )
- fi
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- use doc && cmake_src_compile doc
-}
-
-src_test() {
- export GDAL_RUN_SLOW_TESTS=0
- export GDAL_DOWNLOAD_TEST_DATA=0
-
- # Two test suites:
- # 1. autotests (much larger, uses pytest)
- # 2. Small set of fuzzing tests (no download needed)
-
- # Missing file for test-unit?
- cmake_src_test -E "(test-unit)"
-}
-
-src_install() {
- cmake_src_install
- use python && python_optimize
-
- if use java; then
- # Move the native library into the proper place for Gentoo. The
- # library in ${D} has already had its RPATH fixed, so we use it
- # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so.
- java-pkg_doso "${D}/usr/share/java/libgdalalljni.so"
- rm "${D}/usr/share/java/libgdalalljni.so" || die
- fi
-
- # TODO: install docs?
-}
-
-pkg_postinst() {
- elog "Check available image and data formats after building with"
- elog "gdalinfo and ogrinfo (using the --formats switch)."
-
- if use java; then
- elog
- elog "To use the Java bindings, you need to pass the following to java:"
- elog " -Djava.library.path=$(java-config -i gdal)"
- fi
-}
diff --git a/sci-libs/gdal/gdal-3.7.2.ebuild b/sci-libs/gdal/gdal-3.7.2.ebuild
deleted file mode 100644
index dce209e159b7..000000000000
--- a/sci-libs/gdal/gdal-3.7.2.ebuild
+++ /dev/null
@@ -1,286 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-inherit cmake java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Translator library for raster geospatial data formats (includes OGR support)"
-HOMEPAGE="https://gdal.org/"
-SRC_URI="https://download.osgeo.org/${PN}/${PV}/${P}.tar.xz"
-SRC_URI+=" test? ( https://download.osgeo.org/${PN}/${PV}/${PN}autotest-${PV}.tar.gz )"
-
-LICENSE="BSD Info-ZIP MIT"
-SLOT="0/33" # subslot is libgdal.so.<SONAME>
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="armadillo +curl cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 cpu_flags_x86_ssse3 doc fits geos gif gml hdf5 heif java jpeg jpeg2k lzma mysql netcdf odbc ogdi opencl oracle pdf png postgres python spatialite sqlite test webp xls zstd"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
- python? ( ${PYTHON_REQUIRED_USE} )
- spatialite? ( sqlite )
- test? ( ${PYTHON_REQUIRED_USE} )
-"
-
-BDEPEND="
- virtual/pkgconfig
- doc? ( app-text/doxygen )
- java? (
- dev-java/ant-core
- dev-lang/swig
- )
- python? (
- dev-lang/swig
- $(python_gen_cond_dep '
- dev-python/setuptools[${PYTHON_USEDEP}]
- ')
- )
- test? (
- ${PYTHON_DEPS}
- dev-cpp/gtest
- )
-"
-DEPEND="
- dev-libs/expat
- dev-libs/json-c:=
- dev-libs/libpcre2
- dev-libs/libxml2:2
- dev-libs/openssl:=
- media-libs/tiff
- >=sci-libs/libgeotiff-1.5.1-r1:=
- >=sci-libs/proj-6.0.0:=
- sys-libs/zlib[minizip(+)]
- armadillo? ( sci-libs/armadillo:=[lapack] )
- curl? ( net-misc/curl )
- fits? ( sci-libs/cfitsio:= )
- geos? ( >=sci-libs/geos-3.8.0 )
- gif? ( media-libs/giflib:= )
- gml? ( >=dev-libs/xerces-c-3.1 )
- heif? ( media-libs/libheif:= )
- hdf5? ( >=sci-libs/hdf5-1.6.4:=[cxx,szip] )
- java? (
- >=virtual/jdk-1.8:*[-headless-awt]
- )
- jpeg? ( media-libs/libjpeg-turbo:= )
- jpeg2k? ( media-libs/openjpeg:2= )
- lzma? ( || (
- app-arch/xz-utils
- app-arch/lzma
- ) )
- mysql? ( virtual/mysql )
- netcdf? ( sci-libs/netcdf:= )
- odbc? ( dev-db/unixODBC )
- ogdi? ( >=sci-libs/ogdi-4.1.0-r1 )
- opencl? ( virtual/opencl )
- oracle? ( dev-db/oracle-instantclient:= )
- pdf? ( app-text/poppler:= )
- png? ( media-libs/libpng:= )
- postgres? ( >=dev-db/postgresql-8.4:= )
- python? (
- ${PYTHON_DEPS}
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
- spatialite? ( dev-db/spatialite )
- sqlite? ( dev-db/sqlite:3 )
- webp? ( media-libs/libwebp:= )
- xls? ( dev-libs/freexl )
- zstd? ( app-arch/zstd:= )
-"
-RDEPEND="
- ${DEPEND}
- java? ( >=virtual/jre-1.8:* )
-"
-
-QA_CONFIG_IMPL_DECL_SKIP=(
- _wstat64 # Windows LFS
-)
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.6.4-abseil-cpp-20230125.2-c++17.patch
- "${FILESDIR}"/${PN}-3.7.0-zlib-OF.patch
-)
-
-pkg_setup() {
- if use python || use test ; then
- python-single-r1_pkg_setup
- fi
-
- use java && java-pkg-opt-2_pkg_setup
-}
-
-src_prepare() {
- cmake_src_prepare
-
- if use test ; then
- mv "${WORKDIR}"/gdalautotest-${PV} "${S}"/autotest || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_IPO=OFF
- -DGDAL_USE_EXTERNAL_LIBS=ON
- -DGDAL_USE_INTERNAL_LIBS=OFF
- -DBUILD_TESTING=$(usex test)
-
- # bug #844874 and bug #845150
- -DCMAKE_INSTALL_INCLUDEDIR="include/gdal"
-
- # Options here are generally off because of one of:
- # - Not yet packaged dependencies
- #
- # - Off for autotools build and didn't want more churn by
- # enabling during port to CMake. Feel free to request them
- # being turned on if useful for you.
- -DGDAL_USE_ARMADILLO=$(usex armadillo)
- -DGDAL_USE_ARROW=OFF
- -DGDAL_USE_BLOSC=OFF
- -DGDAL_USE_BRUNSLI=OFF
- -DGDAL_USE_CRNLIB=OFF
- -DGDAL_USE_CFITSIO=$(usex fits)
- -DGDAL_USE_CURL=$(usex curl)
- -DGDAL_USE_CRYPTOPP=OFF
- -DGDAL_USE_DEFLATE=OFF
- -DGDAL_USE_ECW=OFF
- -DGDAL_USE_EXPAT=ON
- -DGDAL_USE_FILEGDB=OFF
- -DGDAL_USE_FREEXL=$(usex xls)
- -DGDAL_USE_FYBA=OFF
- -DGDAL_USE_GEOTIFF=ON
- -DGDAL_USE_GEOS=$(usex geos)
- -DGDAL_USE_GIF=$(usex gif)
- -DGDAL_USE_GTA=OFF
- -DGDAL_USE_HEIF=$(usex heif)
- -DGDAL_USE_HDF4=OFF
- -DGDAL_USE_HDF5=$(usex hdf5)
- -DGDAL_USE_HDFS=OFF
- -DGDAL_USE_ICONV=ON # TODO dep
- -DGDAL_USE_IDB=OFF
- -DGDAL_USE_JPEG=$(usex jpeg)
-
- # https://gdal.org/build_hints.html#jpeg12
- # Independent of whether using system libjpeg
- -DGDAL_USE_JPEG12_INTERNAL=ON
-
- -DGDAL_USE_JSONC=ON
- -DGDAL_USE_JXL=OFF
- -DGDAL_USE_KDU=OFF
- -DGDAL_USE_KEA=OFF
- -DGDAL_USE_LERC=OFF
- -DGDAL_USE_LIBKML=OFF
- -DGDAL_USE_LIBLZMA=$(usex lzma)
- -DGDAL_USE_LIBXML2=ON
- -DGDAL_USE_LURATECH=OFF
- -DGDAL_USE_LZ4=OFF
- -DGDAL_USE_MONGOCXX=OFF
- -DGDAL_USE_MRSID=OFF
- -DGDAL_USE_MSSQL_NCLI=OFF
- -DGDAL_USE_MSSQL_ODBC=OFF
- -DGDAL_USE_MYSQL=$(usex mysql)
- -DGDAL_USE_NETCDF=$(usex netcdf)
- -DGDAL_USE_ODBC=$(usex odbc)
- -DGDAL_USE_ODBCCPP=OFF
- -DGDAL_USE_OGDI=$(usex ogdi)
- -DGDAL_USE_OPENCAD=OFF
- -DGDAL_USE_OPENCL=$(usex opencl)
- -DGDAL_USE_OPENEXR=OFF
- -DGDAL_USE_OPENJPEG=$(usex jpeg2k)
- -DGDAL_USE_OPENSSL=ON
- -DGDAL_USE_ORACLE=$(usex oracle)
- -DGDAL_USE_PARQUET=OFF
- -DGDAL_USE_PCRE2=ON
- -DGDAL_USE_PDFIUM=OFF
- -DGDAL_USE_PNG=$(usex png)
- -DGDAL_USE_PODOFO=OFF
- -DGDAL_USE_POPPLER=$(usex pdf)
- -DGDAL_USE_POSTGRESQL=$(usex postgres)
- -DGDAL_USE_QHULL=OFF
- -DGDAL_USE_RASTERLITE2=OFF
- -DGDAL_USE_RDB=OFF
- -DGDAL_USE_SPATIALITE=$(usex spatialite)
- -DGDAL_USE_SQLITE3=$(usex sqlite)
- -DGDAL_USE_SFCGAL=OFF
- -DGDAL_USE_TEIGHA=OFF
- -DGDAL_USE_TIFF=ON
- -DGDAL_USE_TILEDB=OFF
- -DGDAL_USE_WEBP=$(usex webp)
- -DGDAL_USE_XERCESC=$(usex gml)
- -DGDAL_USE_ZLIB=ON
- -DGDAL_USE_ZSTD=$(usex zstd)
-
- # Bindings
- -DBUILD_PYTHON_BINDINGS=$(usex python)
- -DBUILD_JAVA_BINDINGS=$(usex java)
- # bug #845369
- -DBUILD_CSHARP_BINDINGS=OFF
-
- # Check work/gdal-3.5.0_build/CMakeCache.txt after configure
- # and https://github.com/OSGeo/gdal/blob/master/cmake/helpers/CheckCompilerMachineOption.cmake#L71
- # Commented out: not (yet?) implemented upstream.
- # Also, arm64 stuff is a TODO upstream, but not there (yet?)
- -Dtest_avx=$(usex cpu_flags_x86_avx)
- -Dtest_avx2=$(usex cpu_flags_x86_avx2)
- -Dtest_sse=$(usex cpu_flags_x86_sse)
- -Dtest_sse2=$(usex cpu_flags_x86_sse2)
- #-Dtest_sse3=$(usex cpu_flags_x86_sse3)
- -Dtest_sse4.1=$(usex cpu_flags_x86_sse4_1)
- #-Dtest_sse4.2=$(usex cpu_flags_x86_sse4_2)
- #-Dtest_sse4a=$(usex cpu_flags_x86_sse4a)
- -Dtest_ssse3=$(usex cpu_flags_x86_ssse3)
- #-Dtest_fma4=$(usex cpu_flags_x86_fma4)
- #-Dtest_xop=$(usex cpu_flags_x86_xop)
- )
-
- if use test ; then
- mycmakeargs+=( -DUSE_EXTERNAL_GTEST=ON )
- fi
-
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- use doc && cmake_src_compile doc
-}
-
-src_test() {
- export GDAL_RUN_SLOW_TESTS=0
- export GDAL_DOWNLOAD_TEST_DATA=0
-
- # Two test suites:
- # 1. autotests (much larger, uses pytest)
- # 2. Small set of fuzzing tests (no download needed)
-
- # Missing file for test-unit?
- cmake_src_test -E "(test-unit)"
-}
-
-src_install() {
- cmake_src_install
- use python && python_optimize
-
- if use java; then
- # Move the native library into the proper place for Gentoo. The
- # library in ${D} has already had its RPATH fixed, so we use it
- # rather than ${BUILD_DIR}/swig/java/libgdalalljni.so.
- java-pkg_doso "${D}/usr/share/java/libgdalalljni.so"
- rm "${D}/usr/share/java/libgdalalljni.so" || die
- fi
-
- # TODO: install docs?
-}
-
-pkg_postinst() {
- elog "Check available image and data formats after building with"
- elog "gdalinfo and ogrinfo (using the --formats switch)."
-
- if use java; then
- elog
- elog "To use the Java bindings, you need to pass the following to java:"
- elog " -Djava.library.path=$(java-config -i gdal)"
- fi
-}
next reply other threads:[~2024-04-11 10:02 UTC|newest]
Thread overview: 218+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-11 10:02 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 20:15 [gentoo-commits] repo/gentoo:master commit in: sci-libs/gdal/ Arthur Zamarin
2024-11-23 15:57 Sam James
2024-11-11 22:39 Sam James
2024-11-11 22:39 Sam James
2024-08-16 2:28 Sam James
2024-06-07 15:05 Arthur Zamarin
2024-06-04 18:23 Arthur Zamarin
2024-06-03 7:36 Sam James
2024-04-11 10:02 Andrew Ammerlaan
2024-04-11 10:02 Andrew Ammerlaan
2024-04-11 10:02 Andrew Ammerlaan
2024-04-11 10:02 Andrew Ammerlaan
2024-02-14 16:29 Ionen Wolkens
2024-02-14 16:29 Ionen Wolkens
2024-01-30 8:26 Sam James
2024-01-28 15:35 Sam James
2024-01-18 1:42 Sam James
2023-11-22 11:16 Arthur Zamarin
2023-11-18 14:54 Sam James
2023-11-18 14:49 Sam James
2023-11-18 14:49 Sam James
2023-11-18 4:24 Sam James
2023-11-18 4:00 Sam James
2023-09-14 3:41 Sam James
2023-09-04 7:55 罗百科
2023-08-12 15:57 Arthur Zamarin
2023-08-01 3:49 Sam James
2023-08-01 3:49 Sam James
2023-07-31 22:38 Sam James
2023-07-31 19:55 Andreas Sturmlechner
2023-06-01 20:24 Andreas Sturmlechner
2023-06-01 17:20 Arthur Zamarin
2023-05-30 3:37 Sam James
2023-05-27 9:43 Sam James
2023-05-26 8:36 Sam James
2023-05-26 8:36 Sam James
2023-05-23 0:10 Sam James
2023-05-18 19:42 Sam James
2023-05-18 19:42 Sam James
2023-05-13 18:56 Andreas Sturmlechner
2023-05-10 20:19 Sam James
2023-05-10 19:27 Sam James
2023-03-13 22:11 Sam James
2023-02-11 5:37 Sam James
2023-02-11 5:25 Sam James
2023-02-11 5:25 Sam James
2023-02-11 5:25 Sam James
2023-01-05 8:16 Sam James
2022-12-29 10:04 Andrew Ammerlaan
2022-12-29 10:04 Andrew Ammerlaan
2022-12-18 8:32 Sam James
2022-12-16 1:57 Sam James
2022-12-16 1:40 Sam James
2022-12-09 15:00 Arthur Zamarin
2022-11-25 8:58 Arthur Zamarin
2022-11-25 8:29 Arthur Zamarin
2022-11-25 7:59 Arthur Zamarin
2022-11-25 7:51 Sam James
2022-10-31 18:24 Sam James
2022-10-21 15:05 Andrew Ammerlaan
2022-09-12 18:33 Sam James
2022-07-09 5:57 Sam James
2022-06-30 19:06 Sam James
2022-06-27 7:37 Agostino Sarubbo
2022-06-27 7:36 Agostino Sarubbo
2022-06-27 7:36 Agostino Sarubbo
2022-06-26 18:15 Arthur Zamarin
2022-06-26 8:49 Sam James
2022-05-23 21:51 Sam James
2022-05-19 22:37 Sam James
2022-05-17 7:36 Sam James
2022-05-17 7:36 Sam James
2022-05-17 1:51 Sam James
2022-05-14 21:24 Sam James
2022-05-05 7:07 Jakov Smolić
2022-05-04 23:28 Sam James
2022-05-04 23:17 Sam James
2022-05-04 15:11 Jakov Smolić
2022-05-04 15:11 Jakov Smolić
2022-05-04 14:51 Sam James
2022-05-04 14:40 Sam James
2022-05-04 14:40 Sam James
2022-04-23 1:55 Sam James
2022-04-12 21:04 Sam James
2022-04-11 19:24 Sam James
2022-03-14 12:21 Sam James
2022-02-05 20:46 Andreas Sturmlechner
2022-01-28 9:32 Agostino Sarubbo
2022-01-28 9:31 Agostino Sarubbo
2022-01-13 10:19 Sam James
2022-01-10 8:40 Agostino Sarubbo
2022-01-10 8:38 Agostino Sarubbo
2022-01-04 11:34 Sam James
2021-12-22 3:57 Sam James
2021-12-22 3:57 Sam James
2021-12-06 15:20 Sam James
2021-12-06 8:05 Agostino Sarubbo
2021-12-06 8:03 Agostino Sarubbo
2021-12-06 7:13 Agostino Sarubbo
2021-12-05 22:04 Sam James
2021-11-19 1:11 Georgy Yakovlev
2021-11-18 23:50 Georgy Yakovlev
2021-10-29 17:45 Sam James
2021-10-29 5:55 Agostino Sarubbo
2021-10-29 5:54 Agostino Sarubbo
2021-10-20 0:22 Sam James
2021-10-18 15:22 Agostino Sarubbo
2021-10-17 19:09 Sam James
2021-09-09 7:39 Agostino Sarubbo
2021-09-09 7:37 Agostino Sarubbo
2021-09-09 7:17 Agostino Sarubbo
2021-09-08 6:59 Sam James
2021-09-08 6:59 Sam James
2021-09-08 0:18 Sam James
2021-07-06 4:12 Sam James
2021-05-04 21:25 Sam James
2021-04-20 11:59 Sam James
2021-04-18 21:26 Sam James
2021-04-18 21:20 Sam James
2021-03-11 9:27 Sam James
2021-03-11 8:37 Sam James
2021-03-11 5:44 Sam James
2021-03-09 22:17 Sam James
2021-02-18 18:57 David Seifert
2021-02-17 3:57 Sam James
2021-02-16 12:26 Sam James
2021-02-14 2:10 Sam James
2021-02-13 20:33 Sam James
2021-02-13 17:58 Sam James
2021-02-06 22:34 Sam James
2021-02-06 22:34 Sam James
2021-01-12 11:50 Sam James
2021-01-06 15:17 Fabian Groffen
2020-12-15 3:40 Sam James
2020-12-10 11:33 罗百科
2020-08-05 8:26 Andreas Sturmlechner
2020-04-11 9:19 Mart Raudsepp
2020-03-26 12:38 Andreas Sturmlechner
2020-03-02 11:34 Sergei Trofimovich
2020-03-02 11:22 Sergei Trofimovich
2020-02-28 17:50 Agostino Sarubbo
2020-02-27 9:49 Agostino Sarubbo
2020-02-26 17:23 Andreas Sturmlechner
2020-02-26 17:23 Andreas Sturmlechner
2020-02-06 9:04 Sergei Trofimovich
2020-02-03 12:38 Agostino Sarubbo
2020-02-03 11:31 Agostino Sarubbo
2020-01-31 18:19 Andreas Sturmlechner
2020-01-30 22:50 Andreas Sturmlechner
2020-01-30 11:05 Agostino Sarubbo
2020-01-29 21:32 Andreas Sturmlechner
2020-01-29 21:32 Andreas Sturmlechner
2019-12-29 13:23 Andreas Sturmlechner
2019-12-28 17:53 Andreas Sturmlechner
2019-12-28 17:53 Andreas Sturmlechner
2019-12-28 17:42 Andreas Sturmlechner
2019-12-28 3:01 Aaron Bauman
2019-12-10 9:45 Agostino Sarubbo
2019-12-03 11:58 Agostino Sarubbo
2019-12-03 4:18 Aaron Bauman
2019-12-02 10:46 Agostino Sarubbo
2019-12-02 10:45 Agostino Sarubbo
2019-09-14 4:26 Matt Turner
2019-05-24 19:26 Andreas Sturmlechner
2019-05-24 19:26 Andreas Sturmlechner
2019-05-19 20:05 Mikle Kolyada
2019-05-18 17:15 Aaron Bauman
2019-05-16 19:30 Aaron Bauman
2019-05-06 16:23 Andrey Grozin
2019-03-16 22:56 Andreas Sturmlechner
2019-03-15 20:47 Amy Liffey
2019-01-29 17:10 Mikle Kolyada
2019-01-27 14:09 Sergei Trofimovich
2019-01-26 17:11 Andreas Sturmlechner
2018-10-16 18:28 Amy Liffey
2018-08-15 23:42 Andreas Sturmlechner
2018-08-15 8:15 Amy Liffey
2018-08-15 8:02 Mikle Kolyada
2018-08-12 19:40 Amy Liffey
2018-08-09 19:24 Andreas Sturmlechner
2018-08-09 19:24 Andreas Sturmlechner
2018-07-16 15:20 Amy Liffey
2018-06-28 20:02 Amy Liffey
2018-06-28 20:02 Amy Liffey
2018-03-22 14:24 Guilherme Amadio
2018-03-12 4:09 Matt Turner
2018-03-04 22:30 Sergei Trofimovich
2018-02-21 19:37 Sergei Trofimovich
2018-02-19 19:42 David Seifert
2018-02-02 13:33 Michael Palimaka
2018-01-17 5:11 Thomas Deutschmann
2018-01-05 22:07 David Seifert
2017-10-05 11:29 Michael Palimaka
2017-10-01 19:24 Matt Turner
2017-10-01 19:24 Matt Turner
2017-09-30 18:45 Andreas Sturmlechner
2017-08-20 19:09 Maciej Mrozowski
2017-07-20 20:57 Sergei Trofimovich
2017-07-19 18:54 Andreas Sturmlechner
2017-07-19 18:54 Andreas Sturmlechner
2017-07-11 8:41 Alexis Ballier
2017-01-03 10:38 Agostino Sarubbo
2017-01-01 12:43 Agostino Sarubbo
2016-12-29 10:45 Agostino Sarubbo
2016-12-29 10:05 Agostino Sarubbo
2016-12-20 12:50 Tobias Klausmann
2016-11-25 21:48 Patrice Clement
2016-10-31 22:02 David Seifert
2016-09-26 12:36 Agostino Sarubbo
2016-07-09 3:18 Göktürk Yüksek
2016-06-20 18:48 Amy Winston
2016-06-17 14:59 Amy Winston
2016-06-17 14:59 Amy Winston
2016-02-27 22:56 Patrick Lauer
2016-01-12 8:41 Justin Lecher
2015-12-26 21:22 Amy Winston
2015-09-18 13:27 Andrey Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1712829690.cc5b1497ddd632a0f559e4cdf14d98dc2ae589f5.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox