commit:     17c6e26a55e209da0bc7d97191308f06d9a0c064
Author:     Thomas Bettler <thomas.bettler <AT> gmail <DOT> com>
AuthorDate: Thu Sep 11 04:29:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 11 08:07:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17c6e26a

sci-libs/pdal: remove legacy versions

Signed-off-by: Thomas Bettler <thomas.bettler <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43738
Closes: https://github.com/gentoo/gentoo/pull/43738
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/pdal/Manifest                             |  3 -
 .../files/pdal-2.9.0-fix-build-without-gtest.patch | 23 --------
 sci-libs/pdal/files/pdal-2.9.0-fix-includes.patch  | 23 --------
 sci-libs/pdal/pdal-2.8.2-r1.ebuild                 | 69 ----------------------
 sci-libs/pdal/pdal-2.9.0-r1.ebuild                 | 66 ---------------------
 sci-libs/pdal/pdal-2.9.1.ebuild                    | 61 -------------------
 6 files changed, 245 deletions(-)

diff --git a/sci-libs/pdal/Manifest b/sci-libs/pdal/Manifest
index cbe77214b7b1..6fb1b42152d9 100644
--- a/sci-libs/pdal/Manifest
+++ b/sci-libs/pdal/Manifest
@@ -1,5 +1,2 @@
-DIST PDAL-2.8.2-src.tar.bz2 87504277 BLAKE2B 
b2037a4fe5ac369380d2b2d83a2210a3c17757f9e6f749e819854d7356ba07d85b83fe3221ab9024f40f8a9f0ec6ee86573092914ac633af56b361a2f128cb00
 SHA512 
82dc84192e0cda809f4b12233e009c0c92328bf78001fc6394f56b28514a4b20de17dd354904d44cebc40c28a78828c47a1324b749143cc5b41b6c322902a442
 DIST PDAL-2.8.4-src.tar.bz2 86725389 BLAKE2B 
f1f1009be5d0655f33fe6c57f1efe0f878bb2a2de2075a3d18b2e64d4a07d5201857a78b13288365b9110e106022a473cf7793e1ac2c744499ba0752c67bd0c3
 SHA512 
5d754d6fa656615aa4a9dc31ca5d5c051194148d721ce217ca4b8a87af54889717b8470b789899e486e0ed3154906659b0c336ed7571abddda0a182febf37e6b
-DIST PDAL-2.9.0-src.tar.bz2 96938361 BLAKE2B 
f47780f7ccd840099844cadb90e38e8fe8007f35e135f96adccbbffce0647f9599c3c02494c3dd0457a2e82b22e5c38c472f36b5a3a8cca42e3ff6448440ed53
 SHA512 
1ff1dcfdca261968a5e20ce9072181a687430e9ef5601d7f15c12cbf1af1696cd84c991bcad67e4c7cdfe279b66d12a0bc06016cee5a4106331b12eb6aa8a7a4
-DIST PDAL-2.9.1-src.tar.bz2 97147474 BLAKE2B 
56bd688efec43076cbcbf58c44c5b35b283ba408280e1cee6cbff5eac36b5567363762569ac29260ab96be6bdcc07d1f66bfa8475c09d506983b62e65465a0cc
 SHA512 
138d85a866343cb48024e417e65d6bed05f7600419545c4fc8ccdc7dc28af94b9beda18a700d88b5fef012e220a92b029aa88562ac9e5c3aad0504e676e2fb36
 DIST PDAL-2.9.2-src.tar.bz2 96877895 BLAKE2B 
f8b163c4338051c477d045024214060506c8041fec99c1a921929774962878516cc205978d9cff92a85ebe2d56f4bb7578b913eda636158b98e49d8c8bc833c4
 SHA512 
eaf2e9b57880a561165850c059ff1d3abee90864bb3944a8c0a8af697687b4b195423ad95f4efc15a74b98e7397a60bed1a6d94ce84e9e4b3555729618f23942

diff --git a/sci-libs/pdal/files/pdal-2.9.0-fix-build-without-gtest.patch 
b/sci-libs/pdal/files/pdal-2.9.0-fix-build-without-gtest.patch
deleted file mode 100644
index 29e7e17a466a..000000000000
--- a/sci-libs/pdal/files/pdal-2.9.0-fix-build-without-gtest.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 
https://github.com/PDAL/PDAL/commit/6e3d5ed48205dcef884243db6585f7da4631604c 
Mon Sep 17 00:00:00 2001
-From: Aleix Pol <[email protected]>
-Date: Thu, 26 Jun 2025 13:28:17 +0200
-Subject: [PATCH] Fix build without googletest when WITH_TESTS=OFF (#4753)
-
-Don't pull the library if we are not going to use it.
----
- cmake/macros.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cmake/macros.cmake b/cmake/macros.cmake
-index 25fe690930..645c77e1c2 100644
---- a/cmake/macros.cmake
-+++ b/cmake/macros.cmake
-@@ -185,7 +185,7 @@ endmacro(PDAL_ADD_PLUGIN)
- #    INCLUDES header file directories
- #
- # If we don't have GTest go activate it first
--if(NOT TARGET GTest::gtest)
-+if(WITH_TESTS AND NOT TARGET GTest::gtest)
-     include (${PDAL_CMAKE_DIR}/gtest.cmake)
- endif()
- 

diff --git a/sci-libs/pdal/files/pdal-2.9.0-fix-includes.patch 
b/sci-libs/pdal/files/pdal-2.9.0-fix-includes.patch
deleted file mode 100644
index 348d7a545288..000000000000
--- a/sci-libs/pdal/files/pdal-2.9.0-fix-includes.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From ebd5f4e94b6ed54f080519cc4dc86d090d1def4d Mon Sep 17 00:00:00 2001
-From: t0b3 <[email protected]>
-Date: Sun, 22 Jun 2025 20:01:07 +0200
-Subject: [PATCH] fix build issue on gentoo
-
-this fixes the build on gentoo :tada:
----
- test/unit/CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
-index 12f1f9ea9a..b7a62d7086 100644
---- a/test/unit/CMakeLists.txt
-+++ b/test/unit/CMakeLists.txt
-@@ -47,6 +47,8 @@ PDAL_ADD_TEST(pdal_io_vsi_test
-     FILES
-         VSITest.cpp
-         ${PDAL_SRC_DIR}/util/VSIIO.cpp
-+    INCLUDES
-+        ${GDAL_INCLUDE_DIR}
-     LINK_WITH
-         ${GDAL_LIBRARY}
- )

diff --git a/sci-libs/pdal/pdal-2.8.2-r1.ebuild 
b/sci-libs/pdal/pdal-2.8.2-r1.ebuild
deleted file mode 100644
index 2021e6c94b73..000000000000
--- a/sci-libs/pdal/pdal-2.8.2-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 2021-2025 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/18"
-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,sqlite] )
-       ${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/pdal/pdal-2.9.0-r1.ebuild 
b/sci-libs/pdal/pdal-2.9.0-r1.ebuild
deleted file mode 100644
index cc81ffde391b..000000000000
--- a/sci-libs/pdal/pdal-2.9.0-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 2021-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-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/19"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="debug postgres test"
-
-BDEPEND="
-       sys-devel/gettext
-       virtual/pkgconfig
-       test? ( >=dev-cpp/gtest-1.15.0 )
-"
-RDEPEND="
-       net-misc/curl
-       app-arch/zstd:=
-       dev-libs/libxml2
-       dev-libs/openssl:=
-       sci-libs/gdal:=
-       >=sci-libs/libgeotiff-1.7.0:=
-       sys-libs/zlib
-       debug? ( sys-libs/libunwind:= )
-       postgres? ( dev-db/postgresql:*[xml] )
-"
-
-DEPEND="
-       test? ( sci-libs/gdal[geos,jpeg,png,sqlite] )
-       ${RDEPEND}
-"
-
-RESTRICT="!test? ( test )"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-fix-includes.patch
-       "${FILESDIR}"/${P}-fix-build-without-gtest.patch
-)
-
-src_configure() {
-       local mycmakeargs=(
-               -DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)"
-               -DWITH_COMPLETION=ON
-               -DWITH_BACKTRACE="$(usex debug)"
-               -DWITH_TESTS="$(usex test)"
-       )
-
-       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/pdal/pdal-2.9.1.ebuild b/sci-libs/pdal/pdal-2.9.1.ebuild
deleted file mode 100644
index a8d4110f04bb..000000000000
--- a/sci-libs/pdal/pdal-2.9.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2021-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-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/19"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="debug postgres test"
-
-BDEPEND="
-       sys-devel/gettext
-       virtual/pkgconfig
-       test? ( >=dev-cpp/gtest-1.15.0 )
-"
-RDEPEND="
-       net-misc/curl
-       app-arch/zstd:=
-       dev-libs/libxml2
-       dev-libs/openssl:=
-       sci-libs/gdal:=
-       >=sci-libs/libgeotiff-1.7.0:=
-       sys-libs/zlib
-       debug? ( sys-libs/libunwind:= )
-       postgres? ( dev-db/postgresql:*[xml] )
-"
-
-DEPEND="
-       test? ( sci-libs/gdal[geos,jpeg,png,sqlite] )
-       ${RDEPEND}
-"
-
-RESTRICT="!test? ( test )"
-
-src_configure() {
-       local mycmakeargs=(
-               -DBUILD_PLUGIN_PGPOINTCLOUD="$(usex postgres)"
-               -DWITH_COMPLETION=ON
-               -DWITH_BACKTRACE="$(usex debug)"
-               -DWITH_TESTS="$(usex test)"
-       )
-
-       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
-}

Reply via email to