summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-16 12:22:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-16 12:22:56 +0100
commit2ca31eebd5b7496656193e0aa6ae39200d69a017 (patch)
tree6cf0c8f4ce90a3960c27acf45011134fb674dd62 /sci-libs
parent3ad1879f00b279af69d6b9cd3ef97a2a7496d734 (diff)
gentoo auto-resync : 16:08:2024 - 12:22:56
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin42980 -> 42966 bytes
-rw-r--r--sci-libs/gdal/Manifest3
-rw-r--r--sci-libs/gdal/gdal-3.9.1.ebuild286
-rw-r--r--sci-libs/pdal/Manifest2
-rw-r--r--sci-libs/pdal/pdal-2.7.2.ebuild69
-rw-r--r--sci-libs/proj/Manifest5
-rw-r--r--sci-libs/proj/files/proj-9.4.1-include-cstdint.patch37
-rw-r--r--sci-libs/proj/proj-9.4.1.ebuild101
-rw-r--r--sci-libs/proj/proj-9999.ebuild100
9 files changed, 603 insertions, 0 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index ba2549d1e45b..95dd913cd015 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/gdal/Manifest b/sci-libs/gdal/Manifest
index 904819fef51f..f1c6878355fe 100644
--- a/sci-libs/gdal/Manifest
+++ b/sci-libs/gdal/Manifest
@@ -7,10 +7,13 @@ AUX gdal-3.8.5-poppler-24.05.0.patch 1007 BLAKE2B b0bed1a9b145226581e9047c0d810e
DIST gdal-3.8.0.tar.xz 8853728 BLAKE2B 646aa91283e7228a054221d120bddb456c8b898f9155edd289f2b2e0bf8706fa3045a98d26e4cf5ba5dba6d8c1c7f0a7f4aaaded9457481a65910c2d313c8f9d SHA512 42b3a381190922e546ae83355f56532b92d519b1eac357a9c116ee19b67b67362f282e248e2d82c14ae04cae04dce175bb652f481879442ffa5b58f764a088dd
DIST gdal-3.8.5.tar.xz 8871404 BLAKE2B 2c5f9b3fa1c3d5d7879c2aa1c95f82c6360b35a259443a8ad68ff8f471f4efa8d2fd7935c57317ee5e94789244067706967f9c5df413bccd2556b5790d51d349 SHA512 4cdf1c45ea110cf6ba6ffe5b890ebd8f82654899ed6224ede6c59864f28626c758b5ea15f26c1840a4d3f70abaf9c1255754c565ef2fe5e5b39e0499ace63521
DIST gdal-3.9.0.tar.xz 9081116 BLAKE2B 5b1453b889768359d36c6da435b27f6d31bb1ba95cecfd05d525d63258100705778d2675219711d0c2ab0e2392dd0eabffa1af3ffd055ebfc14840aaa1e768c0 SHA512 05e50a3898b4c71351125c59b0058eb8213858ef14f213b251dee44638522e7e87ed660d028677803a74728543531b0f438e53a543e6529bb8cdc391e9a09b02
+DIST gdal-3.9.1.tar.xz 9098844 BLAKE2B a9c5c20b1bc704a331ea54f1575f655197075dde75fa6144cff43763d57d64b9bd6e3c7a40bedb919567b45185688b206a3cc13278d0605c5be0b895b403bbab SHA512 5f4edc65ffb1eb187fa83259a25f4a078fbc75e21b39d21b17660a8ccf3322ca13de263ff91531cdf7a2e2871d1dd4275b88af37c122080fc16bef2436e1edb6
DIST gdalautotest-3.8.0.tar.gz 15615239 BLAKE2B fa524bb796a6f5b28bea79b51c4ce34e231b1d10a108a4590e30a48dc946df45880828a5a1ee0db07ed191e0f7dd5631fb294f3a73d1ce24244b6132f5cc3de1 SHA512 e72705571a337412d379cdf36debbe01aca61e789527c5e1f1c47904ba817c390a04032913fde75f899b96ec4f0b3a849ec3ead2539c31b59ca5006cd5e4e431
DIST gdalautotest-3.8.5.tar.gz 15711701 BLAKE2B 3f0a5ba7f6a2072aaf46e2867739faaba9fae89f2679ad5cb4cb356112b197141e996fc10365bb6a95c3fce648a440bd746aa68f5c52a8743995cf696d230ef0 SHA512 18251e2fe5870bcbbde9c4278d7ce969feb6397a727679f56e6cf051cf5a3ded29217c034566cb9c5ebb02d51ad4d12933ab918eeadb0017c78859892bbf4f19
DIST gdalautotest-3.9.0.tar.gz 16280839 BLAKE2B e9d294dcbf98b052889b807992ec435837da37a8ecf6bf97ab3cac5c798feea4f69c930cfcecbe072f959c140788136f34525fed9086e14d9bf4fb1fe44e0113 SHA512 411037da7c8de6985dad7b5f3868527b8f59b280a2b7fd29addab81ae1ae58f8611843de355d9a39ea3fca09001b7931c669f379e88b407116784e597b2cda7f
+DIST gdalautotest-3.9.1.tar.gz 16681261 BLAKE2B c6eecb5bdd3d9b9730f49ba88dc9d5c1098990f1dfe34b9a181bf30a71570d382b36a7d22026e8ebb3c2e6e24ae4a4de321f70d6960784aed283d7e7511cb578 SHA512 e35c3dbd4239b1404b0fb774dae1d675bdfbc406d97ac909ec0e20b57d60fbc9236158871249fbdf9e3fb727b3d16a13a366803462afde9f2be4cb1efd91bf6e
EBUILD gdal-3.8.0-r1.ebuild 7643 BLAKE2B 38adb7951372403eff4aa19e013e8982ca3a06f3891572e4ec1316667a96bb1e864fb5be5c026dbafefeb42b6b72b7c320556a0a078fcb003fa8382cb2e3ebb8 SHA512 695c5ea85a7fc45cd2d7516ea430721a5c423b2b907d454f364d0a197a36b0120df7028c19d6b885d3bb19c64e0cd237af72a48a78d456a418fce27dee6e14d8
EBUILD gdal-3.8.5.ebuild 7598 BLAKE2B b4e9d315edd0e7831048f6175d2a81a19b57c8ab1f480329e7a53ac973ed85df4bbe74b61e7865df9457132cd4cc54d408acecdc6b598dbe10974a1ecd81b246 SHA512 82c54f34fcbbe591ebedbf13000193fd09424875157afae0d91a25f93c1561673810ffbce4d7a86e163052c85fbd6fe1577800ac81d63e838c71f593e730f002
EBUILD gdal-3.9.0.ebuild 7576 BLAKE2B 3290f0155a7b0a8cf2b9b4cccb977b33b89837fd40138be8e52157df13aaadb5844b3158f1de075ae71c8bd847e68b52df3a1f88f6eb55a8b8a891bf79b92499 SHA512 4aa12034ee6b5c59d896858688c7f37d6a756767902c2692c369c0702fde25970493894d26e73a846958ba8bb59d0c1c8a19203bff43b76ee326ae01e9485a20
+EBUILD gdal-3.9.1.ebuild 7584 BLAKE2B eaa8e4661c417b3dcb9f09755ecc7c3e95a40c1b567c28788838cd1c6ae8189fdc081de77f5c45511bfe09de3dcce2761d551635bc1f9f7e1071a2af87e44f61 SHA512 fe586db42ec13c33bbf77b67fd3383997cfb67e306bcf6e10fafa1e21c8513dac6280296042b436788fb3bc2e6fe6e69236e4d81c64b36c40807c2e3ddecf647
MISC metadata.xml 1401 BLAKE2B f76e292c72b879bf98dd9e009bdc3aabd5d1ca134d2f867a38faafa755db99b39d217b12105a184ca2ad4943704b8f1df6d129605f59485dc74114e88bfcbbed SHA512 54342a758b5d8c0b7dac325565cb7ace9ac32a6a27b621bea232ade813f9bc6b002049fb0293b7b838dd9f0ec10719ccf8f11197227acfbeddc77b4f87dc4a12
diff --git a/sci-libs/gdal/gdal-3.9.1.ebuild b/sci-libs/gdal/gdal-3.9.1.ebuild
new file mode 100644
index 000000000000..8f8e1e446ead
--- /dev/null
+++ b/sci-libs/gdal/gdal-3.9.1.ebuild
@@ -0,0 +1,286 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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/35" # 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 parquet 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-1.10.14-r3:0
+ 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:= )
+ parquet? ( dev-libs/apache-arrow:=[dataset,parquet] )
+ 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
+)
+
+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=$(usex parquet)
+ -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/$(get_libdir)/jni/libgdalalljni.so"
+ rm -rf "${ED}/usr/$(get_libdir)/jni" || 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/pdal/Manifest b/sci-libs/pdal/Manifest
index aa60693e1937..56461d5cff85 100644
--- a/sci-libs/pdal/Manifest
+++ b/sci-libs/pdal/Manifest
@@ -1,6 +1,8 @@
AUX pdal-2.4.3-fix-gdal37.patch 1499 BLAKE2B e9605af72f80f089aa25f3cba68c36e87a09ecd04152a66df0fa8b41720ece945fa09e53eb8db6d91330980a28edc5355e8cea45ee1304827e1276015cdb242f SHA512 804dbd95396988367a48b79675bc58414c1c819379149091239158c4270d581a58cc088137f80237bf793092adf32b02ee7b83645e101711fa638e3865228ae1
DIST PDAL-2.5.3-src.tar.bz2 102669314 BLAKE2B 1c6c8406f8de65a04364cc1141be809c00ea716fcfd5578833883357258855b3f7e70ea03c86f487dff0bc98072c29bed45a613c14ace05aef6ae49627b40374 SHA512 f67a303711b7d9e9dc14260afb96d299bcd5327ba0cc947143a583f55bd532a248b131e4602fd37d711ad0084e8601420828dacac40c414b95b8e9f9e8175e1b
DIST PDAL-2.6.2-src.tar.bz2 87274819 BLAKE2B 5855a268889064fdc72d15ec1dbe7ab3ed8eb6bee2fa4ec724e9f287f25d6b9f9f9171829a2121e156bec575c96a42f26e223c807c8aa9d3a88f77c245c3d01c SHA512 4a9c07deaca6fbe994808904a6b90e09beb418155c662369046b6ddea03c8aa57ca2e9b4c2057c8e409bb197b90adb36e334c9c2136034a021be84763fa93551
+DIST PDAL-2.7.2-src.tar.bz2 87431434 BLAKE2B f5093008a84c9e5250bb9e8124c694a919b2a31c0f55b750f8d186e954c51c6672b5e63824203dfeb4efa24e6b0a8c0d354229a655416d5ef56336dc2bcd3a80 SHA512 81e4d4b136e292f5a2e4145f730e00375a26a6a2aa52af679bea6d9d371b55c92641475ea332fc8301fe35d237415b70ea311da3fc1bc4ff69013a7448f66896
EBUILD pdal-2.5.3-r1.ebuild 1249 BLAKE2B b995c920174926e3a90dc026516471e61993ce3c69594ca30722e87e1caa212b9fc9bf1c768d6bd58ae311af98127dc63b1b9056da85f395318cdb5b3c855924 SHA512 3768f089397aa8707232be5036dab147a0a5e090a1aabd029a8aa078e618b8227043d928e6d53a6b7b0b5e9b5696f4eb4c200f17de469a96c075ffc43388a656
EBUILD pdal-2.6.2.ebuild 1492 BLAKE2B 24743260105565e213ae4b98c9e73c11f578bb5f484a908fbb25b41bf8888ccf72fa84faa8bc97d22d9dfa8e221769b796365abfd2204888e90a2fe79c0fab72 SHA512 4c9eab35b9f7a934a85e1a61f732daf738e24af01e86c50a8d713d4cd49ccc66a66ead5c76123dfbeecabc2f0a530fab25d18c6ced4f34e276830e4b42a43ceb
+EBUILD pdal-2.7.2.ebuild 1493 BLAKE2B 4e8d975492905b6f542cda05253c8f1d22c069ea833bce18c11c363ceb6e54b4b43b6c488b3cd6bd778648d941030906eaf5c04188c2fcff963c1c6dfc7ee930 SHA512 701e81e470f4386eb7d2da99cdb879d35d2c3991433711e8a85ca343837e9226793331eab72aa29addfbc24e9f4c837932c76882f52350f713e760b720afeead
MISC metadata.xml 799 BLAKE2B 44fff88edc36553687a49ecf5113b1f7f3c8d092e82ef4e45f0d96cf53cc619647f45b3d3439a5b98bf43a8965e1b80582e7b074489dcd69f6f3aad9e5c7f59a SHA512 da405bacd840b714fe274fa5ca658f7a51b0078054058dcce46f690b33e641579981739de9511f4a876ff0f88aec5c2dbaa59e4db035eb9a85bdd8e9725bc7c2
diff --git a/sci-libs/pdal/pdal-2.7.2.ebuild b/sci-libs/pdal/pdal-2.7.2.ebuild
new file mode 100644
index 000000000000..84959cdb0a36
--- /dev/null
+++ b/sci-libs/pdal/pdal-2.7.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="A C++ library for translating and manipulating point cloud data"
+HOMEPAGE="https://pdal.io/"
+SRC_URI="https://github.com/PDAL/PDAL/releases/download/${PV}/PDAL-${PV}-src.tar.bz2"
+S="${WORKDIR}/PDAL-${PV}-src"
+
+LICENSE="BSD"
+SLOT="0/17"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="debug postgres test"
+
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+RDEPEND="
+ net-misc/curl
+ app-arch/zstd:=
+ dev-libs/libxml2
+ dev-libs/openssl:=
+ sci-libs/gdal:=
+ sci-libs/libgeotiff:=
+ sys-libs/zlib
+ debug? ( sys-libs/libunwind:= )
+ postgres? ( dev-db/postgresql:*[xml] )
+"
+
+DEPEND="
+ test? ( sci-libs/gdal[geos,jpeg,png] )
+ ${RDEPEND}
+"
+
+RESTRICT="!test? ( test )"
+
+src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/862915
+ # https://github.com/PDAL/PDAL/issues/3836
+ #
+ # only occurs inside unwind support
+ if use debug; then
+ append-flags -fno-strict-aliasing
+ filter-lto
+ fi
+
+ local mycmakeargs=(
+ -DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)"
+ -DWITH_COMPLETION=ON
+ -DWITH_BACKTRACE="$(usex debug)"
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ local myctestargs=(
+ --exclude-regex '(pgpointcloudtest|pdal_info_test|pdal_io_bpf_base_test|pdal_io_bpf_zlib_test|pdal_filters_overlay_test|pdal_filters_stats_test|pdal_app_plugin_test|pdal_merge_test|pdal_io_stac_reader_test)'
+ --output-on-failure
+ -j1
+ )
+
+ cmake_src_test
+}
diff --git a/sci-libs/proj/Manifest b/sci-libs/proj/Manifest
index 84d7fe6f6c38..0ad7d131d319 100644
--- a/sci-libs/proj/Manifest
+++ b/sci-libs/proj/Manifest
@@ -1,8 +1,13 @@
+AUX proj-9.4.1-include-cstdint.patch 992 BLAKE2B a78dc0fb259a863e83fc1b4dc77591b1c1b110aeef055351324185b8af1aa2882cdfaf261f99a0e007497d7dcf53583dce8458aed75ed35d8fdf882bff851cd3 SHA512 4b9f44383e9fa6466df3bf81bfe34cd3f023961d5167d6467fe66eeafbf690463491c4eea70c7be6be0dc68fe1c84bfc0ba39728a97dfa2f83f2eebb1ac009ad
AUX proj-geotiff.patch 943 BLAKE2B e2d1df20f8b87239e2c1f748e92b4ab5a3fe567994e6ce0c136383d1d0fcd1efa99e6c5586924d675acc3539e006e401a8683e719ff8532790e727ef19af4b71 SHA512 8462ef4f231d41b1a947528afa36da9e4231fae1adfb9bba8465a3402be8e78ae95ed39424e3f6ed635b0e2a0d9f2cfb9bc36187303444d80abc41518817ed3a
DIST proj-9.2.1.tar.gz 5536575 BLAKE2B e08dc370cfac2c6358e1b28e44f3893c75e07fd64a4235041edf836885d31af33605673486edb122cec8aa13a2c564156c429a68e5045de52d8ea970d2e440f1 SHA512 5640e9bd4ea24a0e0b1521c90b8f709b64b9ee357190aaf08af0cff5df68ae93bdfb27211bde5c50340b067fc218b4f2aa8fb998ed2852ebeb2c2ad0ac4629ef
DIST proj-9.3.0.tar.gz 5559825 BLAKE2B 83916294411a35094a2dbc89b1f219eff9b9baa4df6322a51a1965979044a36b4f1b75a99ea96fed8f59937ac000337a3e2e8ad4d9e1ef2ae929ccb7e06654b0 SHA512 1a79a7eaab0859cf615141723b68d6dd7b88390c3e590df12ec0d4c58ba69574863e5892d8108818dbc7e8abbf0b6372496228c02411d506b7169f732ff5cd57
+DIST proj-9.4.1.tar.gz 5665272 BLAKE2B 9751ca658e77650236e5d8888d4d3a5e3da4c5761494d1a544baa565bd0aea967c08d871d7b67de0b0f7ffb07fc16212edbbd3a91532c70677e1702e050a7f7e SHA512 e9e4a80125a9481709fa7a16c8ceed7c5480c1d9152fe0c16ff69cd976081b9f41e23783459ee2a50771ec7f6210f46167de5af9ee943ff274bd27a1de4b6305
DIST proj-data-1.13.tar.gz 709788173 BLAKE2B 33a487f327d2b35acfd6c7c12286bcd6e338c3459540482f968ef7038d78cea9d1519d89ba979f493e007fa961e0eb955889bf2348a235705ec3b71abf1e31c1 SHA512 14eca1b47dad913de608babc73708a35da8bb614c5374e990564a32549998a16e90d4c548f2dac0cd555fc8a4a645eeaf649db929cc38906bee1050e378a662e
DIST proj-data-1.15.tar.gz 727387470 BLAKE2B 03d5b69214e23741ae214ff18f523542247fdca5c301891616be6b79c8a916bf762d0a7ee3983cee62236bc0d4d1b5fc93151164b134db220d4582b15a84e8d7 SHA512 4007c639d5c9f0422652315e8d69527eb39e3d045cef3537361e16c61c9aae76d69e3eb7efefead04793350b8502114eec740efe970f25fbbee2db449b2e3694
+DIST proj-data-1.18.tar.gz 735652646 BLAKE2B 62ca77e6f0a58992a914ebc6a7558b5ddb4529a5bf20a96eedbc62ef7c1bcc5c05582663846e43e132a1b8eaf821bbbc0be792335bad03028db085422d3ed269 SHA512 805eadd29665697398f568f5e4f45df8eadea6fc2841ce901c703613fab13f6f064e6f187621e76017b9b67bb1ca0c6dc1dd2be9848c5169d7e6ebaa2aeea950
EBUILD proj-9.2.1-r1.ebuild 1615 BLAKE2B 67182f158f8a60ee20eb18e66a452d425794cdbdadf1ee5e29c99f6557a6c94434d9734b0aebd7d79a9913e88f9d49ba0f5398da14bb49b8bf9ba01e43322ef5 SHA512 cc3f35f803878fa526789bb882f06782c83de0b40cdeaa3334e46db8600057b48be9606039c38fa9694ac112f09830f5b5c8a1271e35245adc81385ac53b41ea
EBUILD proj-9.3.0-r1.ebuild 1619 BLAKE2B 53ecd62a0b9ca95f3ef45940004342c3dc2c039c751af27da6827d813a017642efcc2c2328f875016cec907eb8a56f409b4b5cc7681b20326a01a1a9da3aeed6 SHA512 86a9107e4b00cf02315cc479062dc2754f792fe811ec770bdfdc36ce0d0d485bee93370f7add15c97a2d14166cc05dbb9ba38fcc8172d12e26f6fa13a3347748
+EBUILD proj-9.4.1.ebuild 2220 BLAKE2B f445cf35a273a38d7c3c7dbaab9466031f21434a0bc107c64b20c4443645c2f721aed99188356b5bfa7a5c2d59be9b734a41f73b4454e94fa7d445c1574022aa SHA512 e44b326f2259747d94fc1210b570fc140c2fd5b9f9d4eed55daaab9ee9146c321a2aa677b011904ac1aae222d9e014563ec7da1e4dfcc86d6bcbd445059b62aa
+EBUILD proj-9999.ebuild 2171 BLAKE2B 5afcffb9cf19aec6f2c3a7caa3f325940e61ecc6a41227e6d8ec2285ad74ecd1c70ab424a39dc9448db19edb30bad075a057d06452507e396cbbc79e5629cc04 SHA512 ff0968131ddd97a084d21891fff1d03fa0a277fffa3e0a21c26bd1be580cc779d9d63abc6a3aab0cdae6a64dcb4f8d6a7f1ed330c81c8d48481d47e913453cb8
MISC metadata.xml 345 BLAKE2B 356bd57a232baa5119842e6741d735afe44bf2c48fe144286743dd64716b3777f190980074d9013640cabb57306057e0abd42ea9fed80a44ee53366ea2413b23 SHA512 ec91a8fd73c7c798cfb0f23fc138e79bc642181265e4ee1fd94b9535dc3ae97e717f9115300ba648314e177f1dd3d0e3077e5746fbbc4c8eacd9b4692c721453
diff --git a/sci-libs/proj/files/proj-9.4.1-include-cstdint.patch b/sci-libs/proj/files/proj-9.4.1-include-cstdint.patch
new file mode 100644
index 000000000000..482e967805ac
--- /dev/null
+++ b/sci-libs/proj/files/proj-9.4.1-include-cstdint.patch
@@ -0,0 +1,37 @@
+https://github.com/rouault/PROJ/commit/35546a7eb1846b93bd035932562193b980c27520
+
+From 35546a7eb1846b93bd035932562193b980c27520 Mon Sep 17 00:00:00 2001
+From: Even Rouault <even.rouault@spatialys.com>
+Date: Wed, 7 Aug 2024 11:25:30 +0200
+Subject: [PATCH] Add missing include cstdint
+
+Fixes #4215
+---
+ src/apps/cct.cpp | 1 +
+ src/apps/cs2cs.cpp | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/apps/cct.cpp b/src/apps/cct.cpp
+index f7d46cd655..193fff6e47 100644
+--- a/src/apps/cct.cpp
++++ b/src/apps/cct.cpp
+@@ -79,6 +79,7 @@ Thomas Knudsen, thokn@sdfe.dk, 2016-05-25/2017-10-26
+ #include <string.h>
+
+ #include <algorithm>
++#include <cstdint>
+ #include <fstream> // std::ifstream
+ #include <iostream>
+
+diff --git a/src/apps/cs2cs.cpp b/src/apps/cs2cs.cpp
+index 27caa603cc..88353bf8f0 100644
+--- a/src/apps/cs2cs.cpp
++++ b/src/apps/cs2cs.cpp
+@@ -36,6 +36,7 @@
+ #include <string.h>
+
+ #include <cassert>
++#include <cstdint>
+ #include <iostream>
+ #include <string>
+ #include <vector>
diff --git a/sci-libs/proj/proj-9.4.1.ebuild b/sci-libs/proj/proj-9.4.1.ebuild
new file mode 100644
index 000000000000..2658f91d09c9
--- /dev/null
+++ b/sci-libs/proj/proj-9.4.1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="PROJ coordinate transformation software"
+HOMEPAGE="https://proj.org/"
+
+if [[ ${PV} = *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/OSGeo/PROJ.git"
+ EGIT_DATA_REPO_URI="https://github.com/OSGeo/PROJ-data.git"
+else
+ # Check https://proj.org/download.html for latest data tarball
+ # https://github.com/OSGeo/PROJ-data/releases
+ PROJ_DATA_PV="1.18"
+ SRC_URI="
+ https://github.com/OSGeo/PROJ/releases/download/${PV}/${P}.tar.gz
+ https://github.com/OSGeo/PROJ-data/releases/download/${PROJ_DATA_PV}.0/${PN}-data-${PROJ_DATA_PV}.tar.gz
+ https://download.osgeo.org/proj/${P}.tar.gz
+ https://download.osgeo.org/proj/${PN}-data-${PROJ_DATA_PV}.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+# Changes on every major release
+IUSE="curl test +tiff"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-db/sqlite:3
+ curl? ( net-misc/curl )
+ tiff? ( media-libs/tiff:= )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-9.4.1-include-cstdint.patch"
+)
+
+src_unpack() {
+ if [[ ${PV} = *9999* ]] ; then
+ git-r3_src_unpack
+
+ git-r3_fetch "${EGIT_DATA_REPO_URI}"
+ git-r3_checkout "${EGIT_DATA_REPO_URI}" "${S}/data"
+ else
+ unpack "${P}.tar.gz"
+
+ cd "${S}"/data || die
+ mv README README.DATA || die
+
+ unpack "${PN}-data-${PROJ_DATA_PV}.tar.gz"
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_PROJSYNC=$(usex curl)
+ -DENABLE_CURL=$(usex curl)
+ -DENABLE_TIFF=$(usex tiff)
+ )
+
+ if use test ; then
+ mycmakeargs+=(
+ -DUSE_EXTERNAL_GTEST=ON
+ -DBUILD_BENCHMARKS=OFF
+ -DRUN_NETWORK_DEPENDENT_TESTS=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ CMAKE_SKIP_TESTS=(
+ # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html
+ # testprojinfo: Also related to map data?
+ "proj_test_cpp_api"
+ "testprojinfo"
+ )
+
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+
+ cd data || die
+ dodoc README.DATA
+
+ find "${ED}" -name '*.la' -type f -delete || die
+}
diff --git a/sci-libs/proj/proj-9999.ebuild b/sci-libs/proj/proj-9999.ebuild
new file mode 100644
index 000000000000..c269939f1a73
--- /dev/null
+++ b/sci-libs/proj/proj-9999.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="PROJ coordinate transformation software"
+HOMEPAGE="https://proj.org/"
+
+if [[ ${PV} = *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/OSGeo/PROJ.git"
+ EGIT_DATA_REPO_URI="https://github.com/OSGeo/PROJ-data.git"
+else
+ # Check https://proj.org/download.html for latest data tarball
+ # https://github.com/OSGeo/PROJ-data/releases
+ PROJ_DATA_PV="1.18"
+ SRC_URI="
+ https://github.com/OSGeo/PROJ/releases/download/${PV}/${P}.tar.gz
+ https://github.com/OSGeo/PROJ-data/releases/download/${PROJ_DATA_PV}.0/${PN}-data-${PROJ_DATA_PV}.tar.gz
+ https://download.osgeo.org/proj/${P}.tar.gz
+ https://download.osgeo.org/proj/${PN}-data-${PROJ_DATA_PV}.tar.gz
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+fi
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1)"
+# Changes on every major release
+IUSE="curl test +tiff"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-db/sqlite:3
+ curl? ( net-misc/curl )
+ tiff? ( media-libs/tiff:= )
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+)
+
+src_unpack() {
+ if [[ ${PV} = *9999* ]] ; then
+ git-r3_src_unpack
+
+ git-r3_fetch "${EGIT_DATA_REPO_URI}"
+ git-r3_checkout "${EGIT_DATA_REPO_URI}" "${S}/data"
+ else
+ unpack "${P}.tar.gz"
+
+ cd "${S}"/data || die
+ mv README README.DATA || die
+
+ unpack "${PN}-data-${PROJ_DATA_PV}.tar.gz"
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_PROJSYNC=$(usex curl)
+ -DENABLE_CURL=$(usex curl)
+ -DENABLE_TIFF=$(usex tiff)
+ )
+
+ if use test ; then
+ mycmakeargs+=(
+ -DUSE_EXTERNAL_GTEST=ON
+ -DBUILD_BENCHMARKS=OFF
+ -DRUN_NETWORK_DEPENDENT_TESTS=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_test() {
+ CMAKE_SKIP_TESTS=(
+ # proj_test_cpp_api: https://lists.osgeo.org/pipermail/proj/2019-September/008836.html
+ # testprojinfo: Also related to map data?
+ "proj_test_cpp_api"
+ "testprojinfo"
+ )
+
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+
+ cd data || die
+ dodoc README.DATA
+
+ find "${ED}" -name '*.la' -type f -delete || die
+}