commit: 0d161d2afd7a2c438ab1f9b8d449332cb79c7722 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Sep 17 19:26:17 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Sep 25 19:51:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d161d2a
sci-libs/*: treeclean cmake.eclass EAPI-7 stragglers w/o revdeps Closes: https://bugs.gentoo.org/689288 (pkgremoved) Closes: https://bugs.gentoo.org/944866 (pkgremoved) Closes: https://bugs.gentoo.org/725456 (pkgremoved) Closes: https://bugs.gentoo.org/837014 (pkgremoved) Closes: https://bugs.gentoo.org/927584 (pkgremoved) Closes: https://bugs.gentoo.org/960909 (pkgremoved) Closes: https://bugs.gentoo.org/738560 (pkgremoved) Closes: https://bugs.gentoo.org/873313 (pkgremoved) Closes: https://bugs.gentoo.org/635910 (pkgremoved) Closes: https://bugs.gentoo.org/642850 (pkgremoved) Closes: https://bugs.gentoo.org/886281 (pkgremoved) Closes: https://bugs.gentoo.org/926316 (pkgremoved) Closes: https://bugs.gentoo.org/615672 (pkgremoved) Closes: https://bugs.gentoo.org/682176 (pkgremoved) Closes: https://bugs.gentoo.org/890501 (pkgremoved) Closes: https://bugs.gentoo.org/806869 (pkgremoved) Closes: https://bugs.gentoo.org/821613 (pkgremoved) Closes: https://bugs.gentoo.org/837029 (pkgremoved) Closes: https://bugs.gentoo.org/930523 (pkgremoved) Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> profiles/package.mask | 15 -- sci-libs/clapack/Manifest | 1 - sci-libs/clapack/clapack-3.2.1-r8.ebuild | 47 ----- .../clapack/files/clapack-3.2.1-findblas-r7.patch | 84 --------- .../files/clapack-3.2.1-fix_include_file.patch | 25 --- sci-libs/clapack/files/clapack-3.2.1-hang.patch | 13 -- .../clapack/files/clapack-3.2.1-noblasf2c.patch | 189 --------------------- sci-libs/clapack/metadata.xml | 17 -- sci-libs/cminpack/Manifest | 1 - sci-libs/cminpack/cminpack-1.3.8.ebuild | 35 ---- sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch | 10 -- sci-libs/cminpack/metadata.xml | 23 --- sci-libs/coinor-cppad/Manifest | 1 - .../coinor-cppad/coinor-cppad-20210000.5-r1.ebuild | 73 -------- .../files/coinor-cppad-20210000.5-pkgconfig.patch | 26 --- sci-libs/coinor-cppad/metadata.xml | 25 --- sci-libs/exodusii/Manifest | 1 - sci-libs/exodusii/exodusii-6.09-r1.ebuild | 56 ------ .../exodusii/files/exodusii-6.09-multilib.patch | 87 ---------- sci-libs/exodusii/metadata.xml | 16 -- sci-libs/fcl/Manifest | 1 - sci-libs/fcl/fcl-0.6.1-r1.ebuild | 72 -------- sci-libs/fcl/fcl-9999.ebuild | 66 ------- sci-libs/fcl/metadata.xml | 22 --- sci-libs/kim-api/Manifest | 1 - sci-libs/kim-api/kim-api-2.2.1.ebuild | 17 -- sci-libs/kim-api/metadata.xml | 8 - sci-libs/libccd/Manifest | 1 - sci-libs/libccd/libccd-2.1.ebuild | 53 ------ sci-libs/libccd/libccd-9999.ebuild | 44 ----- sci-libs/libccd/metadata.xml | 20 --- sci-libs/neartree/Manifest | 1 - sci-libs/neartree/files/CMakeLists.txt | 23 --- sci-libs/neartree/metadata.xml | 11 -- sci-libs/neartree/neartree-5.1.1.ebuild | 26 --- sci-libs/nemesis/Manifest | 1 - sci-libs/nemesis/files/nemesis-6.09-multilib.patch | 53 ------ sci-libs/nemesis/metadata.xml | 23 --- sci-libs/nemesis/nemesis-6.09.ebuild | 43 ----- sci-libs/orocos_kdl/Manifest | 1 - sci-libs/orocos_kdl/metadata.xml | 23 --- sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild | 73 -------- sci-libs/orocos_kdl/orocos_kdl-9999.ebuild | 73 -------- 43 files changed, 1401 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index c639264cbac8..e042e6cbd342 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -203,21 +203,6 @@ dev-cpp/metslib # Removal on 2025-09-27. Bug #962064. app-misc/glastree -# Andreas Sturmlechner <[email protected]> (2025-08-27) -# EAPI-7 cmake.eclass straggler sci-libs/ libraries without revdeps. -# If you need them, raise your hand by doing the necessary EAPI-8 porting. -# Removal on 2025-09-26. -sci-libs/clapack -sci-libs/cminpack -sci-libs/coinor-cppad -sci-libs/exodusii -sci-libs/fcl -sci-libs/kim-api -sci-libs/libccd -sci-libs/neartree -sci-libs/nemesis -sci-libs/orocos_kdl - # Andreas Sturmlechner <[email protected]> (2025-08-27) # Qt5 based and still EAPI-7, last release from 2016, broken Qt6 "support" # in upstream repo. Needs someone to pick up the pieces of upstream's diff --git a/sci-libs/clapack/Manifest b/sci-libs/clapack/Manifest deleted file mode 100644 index 4762b4b19684..000000000000 --- a/sci-libs/clapack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST clapack-3.2.1-CMAKE.tgz 6017667 BLAKE2B 9c4648697ac757bf93a2529f9a2af545d6e34a95b37a14a15bb2bea25b1ffa213a6f17a4ca8ec8119ac2f8bfd883feb5399181fc50ffa73be39ceeae5492e9d2 SHA512 cf19c710291ddff3f6ead7d86bdfdeaebca21291d9df094bf0a8ef599546b007757fb2dbb19b56511bb53ef7456eac0c73973b9627bf4d02982c856124428b49 diff --git a/sci-libs/clapack/clapack-3.2.1-r8.ebuild b/sci-libs/clapack/clapack-3.2.1-r8.ebuild deleted file mode 100644 index 0d070b205532..000000000000 --- a/sci-libs/clapack/clapack-3.2.1-r8.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic cmake - -DESCRIPTION="f2c'ed version of LAPACK" -HOMEPAGE="https://www.netlib.org/clapack/" -SRC_URI="https://www.netlib.org/${PN}/${P}-CMAKE.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="test" - -# bug 433806 -RESTRICT="test" - -RDEPEND=" - >=dev-libs/libf2c-20090407-r1 - virtual/blas" -DEPEND="${RDEPEND}" - -S="${WORKDIR}"/${P}-CMAKE - -PATCHES=( - "${FILESDIR}/${P}-fix_include_file.patch" - "${FILESDIR}/${P}-noblasf2c.patch" - "${FILESDIR}/${P}-hang.patch" - "${FILESDIR}/${P}-findblas-r7.patch" -) - -src_prepare() { - cmake_src_prepare - rm INCLUDE/f2c.h F2CLIBS/libf2c/f2c.h || die -} - -src_configure() { - filter-flags -ftree-vectorize - # causes an internal compiler error with gcc-4.6.2 - - local mycmakeargs=( - -DENABLE_TESTS=$(usex test) - ) - cmake_src_configure -} diff --git a/sci-libs/clapack/files/clapack-3.2.1-findblas-r7.patch b/sci-libs/clapack/files/clapack-3.2.1-findblas-r7.patch deleted file mode 100644 index c82cd50a2c5b..000000000000 --- a/sci-libs/clapack/files/clapack-3.2.1-findblas-r7.patch +++ /dev/null @@ -1,84 +0,0 @@ - CMakeLists.txt | 29 +++++++++++++++++++++++++++-- - SRC/CMakeLists.txt | 7 ++++++- - TESTING/CMakeLists.txt | 5 +++++ - 3 files changed, 38 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 37fb433..fe29d4c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -28,7 +28,33 @@ set(CPACK_PACKAGE_VERSION_MAJOR 3) - set(CPACK_PACKAGE_VERSION_MINOR 2) - set(CPACK_PACKAGE_VERSION_PATCH 1) - --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") -+if(BLAS_LIBRARIES) -+ include(CheckFortranFunctionExists) -+ set(CMAKE_REQUIRED_LIBRARIES ${BLAS_LIBRARIES}) -+ CHECK_FORTRAN_FUNCTION_EXISTS("dgemm" BLAS_FOUND) -+ unset( CMAKE_REQUIRED_LIBRARIES ) -+ if(BLAS_FOUND) -+ message(STATUS "--> BLAS supplied by user is WORKING, will use ${BLAS_LIBRARIES}.") -+ else(BLAS_FOUND) -+ message(ERROR "--> BLAS supplied by user is not WORKING, CANNOT USE ${BLAS_LIBRARIES}.") -+ message(ERROR "--> Will use REFERENCE BLAS (by default)") -+ message(ERROR "--> Or Correct your BLAS_LIBRARIES entry ") -+ message(ERROR "--> Or Consider checking USE_OPTIMIZED_BLAS") -+ endif(BLAS_FOUND) -+else(BLAS_LIBRARIES) -+ # User did not provide a BLAS Library -+ find_package(PkgConfig) -+ pkg_check_modules(BLAS blas) -+endif (BLAS_LIBRARIES) -+ -+if(NOT BLAS_FOUND) -+ message(FATAL_ERROR "--> BLAS libraries needed but not found.") -+endif(NOT BLAS_FOUND) -+ -+if(BLAS_LIBRARY_DIRS) -+# SET_TARGET_PROPERTIES(clapack PROPERTIES LINK_FLAGS ${LINK_FLAGS} -L"${BLAS_LIBRARY_DIRS}") -+ SET (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L\"${BLAS_LIBRARY_DIRS}\"") -+endif() - - add_subdirectory(SRC) - -@@ -44,4 +70,3 @@ configure_file(${CLAPACK_SOURCE_DIR}/clapack-config-version.cmake.in - ${CLAPACK_BINARY_DIR}/clapack-config-version.cmake @ONLY) - configure_file(${CLAPACK_SOURCE_DIR}/clapack-config.cmake.in - ${CLAPACK_BINARY_DIR}/clapack-config.cmake @ONLY) -- -diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt -index 7b75ee9..39380ed 100644 ---- a/SRC/CMakeLists.txt -+++ b/SRC/CMakeLists.txt -@@ -376,8 +376,13 @@ if(BUILD_COMPLEX16) - set(ALLOBJ ${ZLASRC} ${ALLAUX} ${DZLAUX}) - endif() - -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") -+ - add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ}) --target_link_libraries(clapack blas f2c m) -+target_link_libraries(clapack ${BLAS_LIBRARIES} f2c m) -+if(BLAS_LIBRARY_DIRS) -+ SET_TARGET_PROPERTIES(clapack PROPERTIES LINK_FLAGS ${LINK_FLAGS} -L"${BLAS_LIBRARY_DIRS}") -+endif() - set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}") - - install( -diff --git a/TESTING/CMakeLists.txt b/TESTING/CMakeLists.txt -index d59359d..174672e 100644 ---- a/TESTING/CMakeLists.txt -+++ b/TESTING/CMakeLists.txt -@@ -4,6 +4,11 @@ if(MSVC_VERSION) - string(REGEX REPLACE "(.*)/STACK:(.*) (.*)" "\\1/STACK:900000000000000000 \\3" - CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") - endif() -+if(BLAS_LIBRARY_DIRS) -+# SET_TARGET_PROPERTIES(clapack PROPERTIES LINK_FLAGS ${LINK_FLAGS} -L"${BLAS_LIBRARY_DIRS}") -+ SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L\"${BLAS_LIBRARY_DIRS}\"") -+endif() -+ - add_subdirectory(MATGEN) - add_subdirectory(LIN) - add_subdirectory(EIG) diff --git a/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch b/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch deleted file mode 100644 index 002336f2d124..000000000000 --- a/sci-libs/clapack/files/clapack-3.2.1-fix_include_file.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -urN clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h clapack-3.2.1-CMAKE/INCLUDE/clapack.h ---- clapack-3.2.1-CMAKE.old/INCLUDE/clapack.h 2011-04-30 11:39:51.000000000 +0200 -+++ clapack-3.2.1-CMAKE/INCLUDE/clapack.h 2011-04-30 11:40:39.000000000 +0200 -@@ -3,6 +3,12 @@ - #ifndef __CLAPACK_H - #define __CLAPACK_H - -+#include <f2c.h> -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ - /* Subroutine */ int caxpy_(integer *n, complex *ca, complex *cx, integer * - incx, complex *cy, integer *incy); - -@@ -7250,5 +7256,8 @@ - integer ilaenv_(integer *ispec, char *name__, char *opts, integer *n1, - integer *n2, integer *n3, integer *n4); - -+#ifdef __cplusplus -+} -+#endif - - #endif /* __CLAPACK_H */ diff --git a/sci-libs/clapack/files/clapack-3.2.1-hang.patch b/sci-libs/clapack/files/clapack-3.2.1-hang.patch deleted file mode 100644 index f9ec2e0ec18c..000000000000 --- a/sci-libs/clapack/files/clapack-3.2.1-hang.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ruN clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2011-06-21 00:29:16.275749375 +0200 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2011-06-21 00:31:06.133749448 +0200 -@@ -355,6 +355,9 @@ - zla_heamv.c zla_hercond_c.c zla_hercond_x.c zla_herpvgrw.c - zla_lin_berr.c zlarscl2.c zlascl2.c zla_wwaddw.c) - -+if(CMAKE_COMPILER_IS_GNUCC) -+ set_source_files_properties(../INSTALL/dlamch.c ../INSTALL/slamch.c PROPERTIES COMPILE_FLAGS "-ffloat-store -O0") -+endif() - - if( USEXBLAS) - set(ALLXOBJ ${SXLASRC} ${DXLASRC} ${CXLASRC} ${ZXLASRC} ${ALLXAUX}) diff --git a/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch b/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch deleted file mode 100644 index 5ae9e63977c6..000000000000 --- a/sci-libs/clapack/files/clapack-3.2.1-noblasf2c.patch +++ /dev/null @@ -1,189 +0,0 @@ -diff -u -r -N clapack-3.2.1-CMAKE.orig/CMakeLists.txt clapack-3.2.1-CMAKE/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/CMakeLists.txt 2009-08-10 20:46:33.000000000 +0200 -+++ clapack-3.2.1-CMAKE/CMakeLists.txt 2010-08-28 14:04:30.000000000 +0200 -@@ -1,7 +1,10 @@ - cmake_minimum_required(VERSION 2.6) - project(CLAPACK C) --enable_testing() --include(CTest) -+ -+if(ENABLE_TESTS) -+ enable_testing() -+ include(CTest) -+endif(ENABLE_TESTS) - - if(WIN32 AND NOT CYGWIN) - set(SECOND_SRC ${CLAPACK_SOURCE_DIR}/INSTALL/winsecond.c) -@@ -11,24 +14,34 @@ - set(SECOND_SRC ${CLAPACK_SOURCE_DIR}/INSTALL/second.c) - set(DSECOND_SRC ${CLAPACK_SOURCE_DIR}/INSTALL/dsecnd.c) - endif() --enable_testing() -+ - option(USE_BLAS_WRAP "pre-pend f2c_ to each function in blas" OFF) - if(NOT USE_BLAS_WRAP) - # _zrotg_ seems to be missing in the wrap header - add_definitions(-DNO_BLAS_WRAP) - endif() -+ - include_directories(${CLAPACK_SOURCE_DIR}/INCLUDE) --add_subdirectory(F2CLIBS) --add_subdirectory(BLAS) --add_subdirectory(SRC) --add_subdirectory(TESTING) -+ - set(CLAPACK_VERSION 3.2.1) - set(CPACK_PACKAGE_VERSION_MAJOR 3) - set(CPACK_PACKAGE_VERSION_MINOR 2) - set(CPACK_PACKAGE_VERSION_PATCH 1) -+ -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") -+ -+add_subdirectory(SRC) -+ -+if(ENABLE_TESTS) -+ add_subdirectory(TESTING) -+endif(ENABLE_TESTS) -+ - include(CPack) --export(TARGETS f2c blas lapack FILE clapack-targets.cmake) -+ -+export(TARGETS clapack FILE clapack-targets.cmake) -+ - configure_file(${CLAPACK_SOURCE_DIR}/clapack-config-version.cmake.in - ${CLAPACK_BINARY_DIR}/clapack-config-version.cmake @ONLY) - configure_file(${CLAPACK_SOURCE_DIR}/clapack-config.cmake.in - ${CLAPACK_BINARY_DIR}/clapack-config.cmake @ONLY) -+ -diff -u -r -N clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt clapack-3.2.1-CMAKE/SRC/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/SRC/CMakeLists.txt 2009-08-10 19:47:54.000000000 +0200 -+++ clapack-3.2.1-CMAKE/SRC/CMakeLists.txt 2010-08-28 14:32:17.000000000 +0200 -@@ -375,6 +375,20 @@ - if(BUILD_COMPLEX16) - set(ALLOBJ ${ZLASRC} ${ALLAUX} ${DZLAUX}) - endif() --add_library(lapack ${ALLOBJ} ${ALLXOBJ}) --target_link_libraries(lapack blas) - -+add_library(clapack SHARED ${ALLOBJ} ${ALLXOBJ}) -+target_link_libraries(clapack blas f2c m) -+set_target_properties(clapack PROPERTIES SOVERSION "${CLAPACK_VERSION}") -+ -+install( -+ TARGETS clapack EXPORT clapack -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+) -+ -+install( -+ FILES ../INCLUDE/clapack.h DESTINATION include/clapack -+) -+ -+install( -+ EXPORT clapack DESTINATION "share/cmake/Modules" FILE clapack-config.cmake -+) -diff -u -r -N clapack-3.2.1-CMAKE.orig/TESTING/EIG/CMakeLists.txt clapack-3.2.1-CMAKE/TESTING/EIG/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/TESTING/EIG/CMakeLists.txt 2009-08-10 19:47:54.000000000 +0200 -+++ clapack-3.2.1-CMAKE/TESTING/EIG/CMakeLists.txt 2010-08-28 13:46:40.000000000 +0200 -@@ -119,7 +119,7 @@ - - macro(add_eig_executable name ) - add_executable(${name} ${ARGN}) -- target_link_libraries(${name} tmglib lapack ) -+ target_link_libraries(${name} tmglib clapack ) - endmacro(add_eig_executable) - - add_eig_executable(xeigtsts ${SEIGTST} ${SCIGTST} ${AEIGTST} -diff -u -r -N clapack-3.2.1-CMAKE.orig/TESTING/LIN/CMakeLists.txt clapack-3.2.1-CMAKE/TESTING/LIN/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/TESTING/LIN/CMakeLists.txt 2009-08-10 20:06:06.000000000 +0200 -+++ clapack-3.2.1-CMAKE/TESTING/LIN/CMakeLists.txt 2010-08-28 13:46:40.000000000 +0200 -@@ -189,7 +189,7 @@ - - macro(add_lin_executable name ) - add_executable(${name} ${ARGN}) -- target_link_libraries(${name} tmglib lapack) -+ target_link_libraries(${name} tmglib clapack) - endmacro(add_lin_executable) - - add_lin_executable(xlintsts ${ALINTST} ${SCLNTST} ${SLINTST} -diff -u -r -N clapack-3.2.1-CMAKE.orig/TESTING/MATGEN/CMakeLists.txt clapack-3.2.1-CMAKE/TESTING/MATGEN/CMakeLists.txt ---- clapack-3.2.1-CMAKE.orig/TESTING/MATGEN/CMakeLists.txt 2009-08-10 19:47:54.000000000 +0200 -+++ clapack-3.2.1-CMAKE/TESTING/MATGEN/CMakeLists.txt 2010-08-28 13:46:40.000000000 +0200 -@@ -65,5 +65,6 @@ - if(BUILD_COMPLEX16) - set(ALLOBJ $(ZMATGEN) $(DZATGEN)) - endif() --add_library(tmglib ${ALLOBJ} ) -+ -+add_library(tmglib ${ALLOBJ} i_len_trim.c i_ceiling.c ) - -diff -u -r -N clapack-3.2.1-CMAKE.orig/TESTING/MATGEN/i_ceiling.c clapack-3.2.1-CMAKE/TESTING/MATGEN/i_ceiling.c ---- clapack-3.2.1-CMAKE.orig/TESTING/MATGEN/i_ceiling.c 1970-01-01 01:00:00.000000000 +0100 -+++ clapack-3.2.1-CMAKE/TESTING/MATGEN/i_ceiling.c 2010-08-28 13:46:40.000000000 +0200 -@@ -0,0 +1,38 @@ -+/* file has been copied from the included f2c library - dilfridge */ -+ -+#include <f2c.h> -+ -+#ifdef KR_headers -+integer i_sceiling(x) real *x; -+#else -+#ifdef __cplusplus -+extern "C" { -+#endif -+integer i_sceiling(real *x) -+#endif -+{ -+#define CEIL(x) ((int)(x) + ((x) > 0 && (x) != (int)(x))) -+ -+ return (integer) CEIL(*x); -+} -+#ifdef __cplusplus -+} -+#endif -+ -+ -+#ifdef KR_headers -+integer i_dceiling(x) doublereal *x; -+#else -+#ifdef __cplusplus -+extern "C" { -+#endif -+integer i_dceiling(doublereal *x) -+#endif -+{ -+#define CEIL(x) ((int)(x) + ((x) > 0 && (x) != (int)(x))) -+ -+ return (integer) CEIL(*x); -+} -+#ifdef __cplusplus -+} -+#endif -diff -u -r -N clapack-3.2.1-CMAKE.orig/TESTING/MATGEN/i_len_trim.c clapack-3.2.1-CMAKE/TESTING/MATGEN/i_len_trim.c ---- clapack-3.2.1-CMAKE.orig/TESTING/MATGEN/i_len_trim.c 1970-01-01 01:00:00.000000000 +0100 -+++ clapack-3.2.1-CMAKE/TESTING/MATGEN/i_len_trim.c 2010-08-28 13:46:40.000000000 +0200 -@@ -0,0 +1,25 @@ -+/* file has been copied from the included f2c library - dilfridge */ -+ -+#include <f2c.h> -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+#ifdef KR_headers -+integer i_len_trim(s, n) char *s; ftnlen n; -+#else -+integer i_len_trim(char *s, ftnlen n) -+#endif -+{ -+ int i; -+ -+ for(i=n-1;i>=0;i--) -+ if(s[i] != ' ') -+ return i + 1; -+ -+ return(0); -+} -+#ifdef __cplusplus -+} -+#endif diff --git a/sci-libs/clapack/metadata.xml b/sci-libs/clapack/metadata.xml deleted file mode 100644 index 4daae4a0ab2d..000000000000 --- a/sci-libs/clapack/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - LAPACK is a comprehensive library that does linear algebra - operations including matrix inversions, least squared solutions to - linear sets of equations, eigenvector analysis, singular value - decomposition, etc. It is a very comprehensive and reputable package - that has found extensive use in the scientific community. - This package installs the reference C implementation from Netlib, - generated from f2c. - </longdescription> -</pkgmetadata> diff --git a/sci-libs/cminpack/Manifest b/sci-libs/cminpack/Manifest deleted file mode 100644 index f678b6a60253..000000000000 --- a/sci-libs/cminpack/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cminpack-1.3.8.tar.gz 341494 BLAKE2B 5aebb220f9d5d1b314331a621d3717e4568eea6c37d0a70b935eda1fc0bec11d81b07c8951c8a8bfe5edd81e7878e138f8921d96a96c40230bfc423991e766be SHA512 0cab275074a31af69dbaf3ef6d41b20184c7cf9f33c78014a69ae7a022246fa79e7b4851341c6934ca1e749955b7e1096a40b4300a109ad64ebb1b2ea5d1d8ae diff --git a/sci-libs/cminpack/cminpack-1.3.8.ebuild b/sci-libs/cminpack/cminpack-1.3.8.ebuild deleted file mode 100644 index a32daf6c9510..000000000000 --- a/sci-libs/cminpack/cminpack-1.3.8.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="C implementation of the MINPACK nonlinear optimization library" -HOMEPAGE="http://devernay.free.fr/hacks/cminpack/" -SRC_URI="https://github.com/devernay/cminpack/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="minpack" -SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc test" - -RESTRICT="!test? ( test )" - -DOCS=( README.md readme.txt ) - -PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) - -src_configure() { - local mycmakeargs=( - -DUSE_BLAS=OFF # TODO: pick it up if you want to - -DCMINPACK_LIB_INSTALL_DIR=$(get_libdir) - -DBUILD_EXAMPLES=$(usex test) - ) - cmake_src_configure -} - -src_install() { - use doc && local HTML_DOCS=( docs/. ) - cmake_src_install -} diff --git a/sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch b/sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch deleted file mode 100644 index 92a9e777bbe5..000000000000 --- a/sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/CMakeLists.txt 2021-02-10 06:05:42.000000000 +0100 -+++ b/CMakeLists.txt 2021-03-06 11:51:15.594882519 +0100 -@@ -175,6 +175,6 @@ - - endforeach () - --install (EXPORT CMinpackConfig DESTINATION share/cminpack NAMESPACE cminpack::) -+install (EXPORT CMinpackConfig DESTINATION ${CMINPACK_LIB_INSTALL_DIR}/cmake/cminpack NAMESPACE cminpack::) - - add_subdirectory (examples) diff --git a/sci-libs/cminpack/metadata.xml b/sci-libs/cminpack/metadata.xml deleted file mode 100644 index 00b08788bedc..000000000000 --- a/sci-libs/cminpack/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - Minpack includes software for solving nonlinear equations and - nonlinear least squares problems. Five algorithmic paths each - include a core subroutine and an easy-to-use driver. The algorithms - proceed either from an analytic specification of the Jacobian matrix - or directly from the problem functions. The paths include facilities - for systems of equations with a banded Jacobian matrix, for least - squares problems with a large amount of data, and for checking the - consistency of the Jacobian matrix with the functions. - This is the C re-write of the original fortran minpack - implementation. - </longdescription> - <upstream> - <remote-id type="github">devernay/cminpack</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/coinor-cppad/Manifest b/sci-libs/coinor-cppad/Manifest deleted file mode 100644 index 51f68ba13643..000000000000 --- a/sci-libs/coinor-cppad/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coinor-cppad-20210000.5.tar.gz 1663397 BLAKE2B 3ce4f5733641fac16ac00b6e49cb74e2237502eac32f592190491ddd5dcb8a41f340c1eed8529dbdecb343f7a791d4fc5ddc1e21ce9f9706f28608ac3a5e965a SHA512 40cbe8dc32af9bb3b92cdd4c81e6f75424ece701df9251d4c63652998ca4cb8d50057e190a16e51333d168299f33ff2353074fa7f24f2cec29f68db53f6ae17c diff --git a/sci-libs/coinor-cppad/coinor-cppad-20210000.5-r1.ebuild b/sci-libs/coinor-cppad/coinor-cppad-20210000.5-r1.ebuild deleted file mode 100644 index 31e95d9b417b..000000000000 --- a/sci-libs/coinor-cppad/coinor-cppad-20210000.5-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_MAKEFILE_GENERATOR="emake" # needed for tests -inherit cmake - -DESCRIPTION="COIN-OR C++ Algorithmic Differentiation" -HOMEPAGE="https://projects.coin-or.org/CppAD/" -SRC_URI="https://github.com/coin-or/CppAD/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/CppAD-${PV}" - -LICENSE="EPL-2.0" -SLOT="0/${PV}" # soname is bumped every versions -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="adolc doc eigen ipopt" - -# adolc currently can't build tests and ipopt fails them. -RESTRICT="adolc? ( test ) ipopt? ( test )" - -# No need for RDEPEND. -DEPEND=" - dev-libs/boost - adolc? ( sci-libs/adolc ) - eigen? ( dev-cpp/eigen ) - ipopt? ( sci-libs/ipopt )" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-text/doxygen[dot] - virtual/latex-base - )" - -PATCHES=( "${FILESDIR}"/${P}-pkgconfig.patch ) - -src_prepare() { - cmake_src_prepare - # Gentoo uses coin/ rather than coin-or/ for includes. - sed -i 's/<coin-or/<coin/' \ - cppad_ipopt/src/cppad_ipopt_nlp.hpp \ - include/cppad/ipopt/solve_callback.hpp || die -} - -src_configure() { - local mycmakeargs=( - -Dcmake_install_libdirs=$(get_libdir) - -Dinclude_adolc=$(usex adolc) - -Dinclude_cppadcg=no - -Dinclude_eigen=$(usex eigen) - -Dinclude_ipopt=$(usex ipopt) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - bin/doxyfile.sh ${PV} dox.log doc && doxygen doxyfile || die - fi -} - -src_test() { - cmake_build check -} - -src_install() { - cmake_src_install - use doc && dodoc -r doc/html - - # Remove superfluous .pc file. - rm -r "${ED}"/usr/share/pkgconfig || die -} diff --git a/sci-libs/coinor-cppad/files/coinor-cppad-20210000.5-pkgconfig.patch b/sci-libs/coinor-cppad/files/coinor-cppad-20210000.5-pkgconfig.patch deleted file mode 100644 index 0483eea52ec4..000000000000 --- a/sci-libs/coinor-cppad/files/coinor-cppad-20210000.5-pkgconfig.patch +++ /dev/null @@ -1,26 +0,0 @@ -Fix pkg-config file generation, backported from upstream commit: -https://github.com/coin-or/CppAD/commit/6d10b8d -with an additional fix to not have -l-lcppad_lib ---- a/pkgconfig/CMakeLists.txt -+++ b/pkgconfig/CMakeLists.txt -@@ -124,3 +124,3 @@ - # cppad_includedir --LIST(GET cmake_install_libdirs 0 cppad_includedir) -+LIST(GET cmake_install_includedirs 0 cppad_includedir) - # -@@ -161,2 +161,3 @@ - ${CMAKE_CURRENT_BINARY_DIR}/cppad.pc -+ @ONLY - ) ---- a/pkgconfig/cppad.pc.in -+++ b/pkgconfig/cppad.pc.in -@@ -17,3 +17,3 @@ - prefix=@cppad_prefix@ --exec_prefix=$(prefix) -+exec_prefix=${prefix} - includedir=${prefix}/@cppad_includedir@ -@@ -30,3 +30,3 @@ - Cflags: -I${includedir} --Libs: -L{libdir} -l@cppad_lib_list@ -+Libs: -L${libdir} @cppad_lib_list@ - Requires: diff --git a/sci-libs/coinor-cppad/metadata.xml b/sci-libs/coinor-cppad/metadata.xml deleted file mode 100644 index 9e373643ab83..000000000000 --- a/sci-libs/coinor-cppad/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - We refer to the step by step conversion from an algorithm that - computes function values to an algorithm that computes derivative - values as Algorithmic Differentiation (AD); often referred to as - automatic differentiation. Given a C++ algorithm that computes - function values, CppAD generates an algorithm that computes - corresponding derivative values (of arbitrary order using either - forward or reverse mode). - </longdescription> - <use> - <flag name="adolc">Add support for ADOL-C (<pkg>sci-libs/adolc</pkg>)</flag> - <flag name="eigen">Add support for Eigen (<pkg>dev-cpp/eigen</pkg>)</flag> - <flag name="ipopt">Add support for IPOPT (<pkg>sci-libs/ipopt</pkg>)</flag> - </use> - <upstream> - <remote-id type="github">coin-or/CppAD</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/exodusii/Manifest b/sci-libs/exodusii/Manifest deleted file mode 100644 index 994c13bd1aef..000000000000 --- a/sci-libs/exodusii/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST exodus-6.09.tar.gz 4757028 BLAKE2B 3ea6ccf3faa04e14a6268429bab0968e0b09a1de7907ae50e293abede1f9362df7ca97f8f351bcb807c49965eb845b161ea5ca9d1786e66bb74875fec5ae20f6 SHA512 a48c02952b0edfae416e9b3f77471558dd2d60177471eca3de32890d11afabe3cfb64396de83e728327d43bbea83969ebcdd8ea516a3b9a6ed7353d4cc940516 diff --git a/sci-libs/exodusii/exodusii-6.09-r1.ebuild b/sci-libs/exodusii/exodusii-6.09-r1.ebuild deleted file mode 100644 index c3f4f0f4edf6..000000000000 --- a/sci-libs/exodusii/exodusii-6.09-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_MAKEFILE_GENERATOR="emake" -FORTRAN_NEEDED="test" -MY_PN="${PN%ii}" -MY_P="${MY_PN}-${PV}" -inherit cmake fortran-2 - -DESCRIPTION="Model developed to store and retrieve transient data for finite element analyses" -HOMEPAGE="https://github.com/certik/exodus" -SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P}/${MY_PN} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" -IUSE="static-libs test" - -RESTRICT="!test? ( test )" - -RDEPEND="sci-libs/netcdf:=[hdf5]" -DEPEND="${RDEPEND}" -BDEPEND="test? ( app-shells/tcsh )" - -PATCHES=( "${FILESDIR}"/${P}-multilib.patch ) - -src_prepare() { - cmake_src_prepare - - if ! use test; then - sed -e 's:Fortran::g' -i CMakeLists.txt || die - fi -} - -src_configure() { - local libdir="$(get_libdir)" - - local mycmakeargs=( - -DLIB_SUFFIX=${libdir#lib} - -DPYTHON_INSTALL="${EPREFIX}/usr/share/${PN}" - -DBUILD_SHARED=$(usex !static-libs) - -DBUILD_TESTING=$(usex test) - ) - export NETCDF_DIR="${EPREFIX}/usr/" - cmake_src_configure -} - -src_test() { - cd "${BUILD_DIR}"/cbind/test || die - ctest || die - cd "${BUILD_DIR}"/forbind/test || die - emake f_check -} diff --git a/sci-libs/exodusii/files/exodusii-6.09-multilib.patch b/sci-libs/exodusii/files/exodusii-6.09-multilib.patch deleted file mode 100644 index 5463fba50019..000000000000 --- a/sci-libs/exodusii/files/exodusii-6.09-multilib.patch +++ /dev/null @@ -1,87 +0,0 @@ -diff -Naur a/cbind/CMakeLists.txt b/cbind/CMakeLists.txt ---- a/cbind/CMakeLists.txt 2016-05-10 13:20:06.408385120 -0600 -+++ b/cbind/CMakeLists.txt 2016-05-10 13:22:35.378385120 -0600 -@@ -293,9 +293,9 @@ - - IF(NOT EXODUS_INSTALL_NO_LIBRARIES) - INSTALL(TARGETS exodus -- RUNTIME DESTINATION lib COMPONENT Runtime -- LIBRARY DESTINATION lib COMPONENT Runtime -- ARCHIVE DESTINATION lib COMPONENT Development) -+ RUNTIME DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime -+ LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime -+ ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT Development) - INSTALL(FILES ${cbind_HEADERS} DESTINATION include COMPONENT Development) - ENDIF(NOT EXODUS_INSTALL_NO_LIBRARIES) - -diff -Naur a/CMakeLists.txt b/CMakeLists.txt ---- a/CMakeLists.txt 2016-05-10 13:20:06.418385120 -0600 -+++ b/CMakeLists.txt 2016-05-10 13:21:25.928385120 -0600 -@@ -27,7 +27,7 @@ - find_library( NETCDF_LIBRARY - NAMES netcdf - PATHS "$ENV{ACCESS}/lib" -- "$ENV{NETCDF_DIR}/lib" -+ "$ENV{NETCDF_DIR}/lib${LIB_SUFFIX}" - "$ENV{NETCDF_DIR}/libsrc/.libs" - ) - -@@ -41,14 +41,14 @@ - find_library( HDF5_LIBRARY hdf5 - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/lib${LIB_SUFFIX} - $ENV{NETCDF_DIR}/libsrc/.libs - /usr/local/hdf5/lib - ) - find_library( HDF5HL_LIBRARY hdf5_hl - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/lib${LIB_SUFFIX} - $ENV{NETCDF_DIR}/libsrc/.libs - /usr/local/hdf5/lib - ) -diff -Naur a/forbind/CMakeLists.txt b/forbind/CMakeLists.txt ---- a/forbind/CMakeLists.txt 2016-05-10 13:20:06.418385120 -0600 -+++ b/forbind/CMakeLists.txt 2016-05-10 13:21:25.928385120 -0600 -@@ -14,7 +14,7 @@ - find_library( NETCDF_LIBRARY - NAMES netcdf - PATHS "$ENV{ACCESS}/lib" -- "$ENV{NETCDF_DIR}/lib" -+ "$ENV{NETCDF_DIR}/lib${LIB_SUFFIX}" - "$ENV{NETCDF_DIR}/libsrc/.libs" - ) - -@@ -28,14 +28,14 @@ - find_library( HDF5_LIBRARY hdf5 - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/lib${LIB_SUFFIX} - $ENV{NETCDF_DIR}/libsrc/.libs - /usr/local/hdf5/lib - ) - find_library( HDF5HL_LIBRARY hdf5_hl - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/lib${LIB_SUFFIX} - $ENV{NETCDF_DIR}/libsrc/.libs - /usr/local/hdf5/lib - ) -@@ -61,9 +61,9 @@ - - IF(NOT EXODUS_INSTALL_NO_LIBRARIES) - INSTALL(TARGETS exoIIv2for -- RUNTIME DESTINATION lib COMPONENT Runtime -- LIBRARY DESTINATION lib COMPONENT Runtime -- ARCHIVE DESTINATION lib COMPONENT Development) -+ RUNTIME DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime -+ LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT Runtime -+ ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT Development) - INSTALL(FILES ${forbind_HEADERS} DESTINATION include COMPONENT Development) - ENDIF(NOT EXODUS_INSTALL_NO_LIBRARIES) - diff --git a/sci-libs/exodusii/metadata.xml b/sci-libs/exodusii/metadata.xml deleted file mode 100644 index bc618cf6b086..000000000000 --- a/sci-libs/exodusii/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - EXODUS II is a model developed to store and retrieve transient data for - finite element analyses. It is used for preprocessing, postprocessing, - as well as code to code data transfer. ExodusII is based on netcdf. - </longdescription> - <upstream> - <remote-id type="github">certik/exodus</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/fcl/Manifest b/sci-libs/fcl/Manifest deleted file mode 100644 index 0cc2d261b2a3..000000000000 --- a/sci-libs/fcl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST fcl-0.6.1.tar.gz 6208928 BLAKE2B 174176b3844b18ada60884f641c49475357b1c25cb58cdfc1c4545d595add58713020ffaf148676dae14eca87397495cc971423f06fd19af5cffac1bde584603 SHA512 9d5382c1f2701f2cc6988b3e3969f44c401ea0eb4fdfc5ae69c27dd5bb59a0f17de82ef49e7dce0e1fd91a133db6f10aef9581ca2e32b919046f72921593ebf4 diff --git a/sci-libs/fcl/fcl-0.6.1-r1.ebuild b/sci-libs/fcl/fcl-0.6.1-r1.ebuild deleted file mode 100644 index 99aad26ef2be..000000000000 --- a/sci-libs/fcl/fcl-0.6.1-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="https://github.com/flexible-collision-library/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/flexible-collision-library/fcl/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm" -fi - -DESCRIPTION="The Flexible Collision Library" -HOMEPAGE="http://gamma.cs.unc.edu/FCL/" - -LICENSE="BSD" -SLOT="0/6" -IUSE="cpu_flags_x86_sse doc +octomap profiling test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/eigen:3 - dev-libs/boost:= - sci-libs/flann - sci-libs/libccd[double-precision] - octomap? ( sci-libs/octomap:= ) -" - -DEPEND="${RDEPEND} - doc? ( app-text/doxygen ) - test? ( dev-cpp/gtest )" - -BDEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - # Upstream issue: - # https://github.com/flexible-collision-library/fcl/issues/485 - rm "${S}"/test/narrowphase/detail/convexity_based_algorithm/test_gjk_libccd-inl_gjk_doSimplex2.cpp - sed -i -e 's/test_gjk_libccd-inl_gjk_doSimplex2.cpp//' "${S}"/test/narrowphase/detail/convexity_based_algorithm/CMakeLists.txt || die could not disable failing test - - sed -i -e "s/include(CompilerSettings)//" "${S}"/CMakeLists.txt || die "failed to remove compiler flags override" - - local mycmakeargs=( - -DBUILD_TESTING=$(usex test ON OFF) - -DFCL_COVERALLS=OFF - -DFCL_COVERALLS_UPLOAD=OFF - -DFCL_ENABLE_PROFILING=$(usex profiling ON OFF) - -DFCL_TREAT_WARNINGS_AS_ERRORS=OFF - -DFCL_USE_HOST_NATIVE_ARCH=OFF - -DFCL_USE_X64_SSE=$(usex cpu_flags_x86_sse ON OFF) - -DFCL_WITH_OCTOMAP=$(usex octomap ON OFF) - ) - local CMAKE_BUILD_TYPE="Release" - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - use doc && HTML_DOCS=( "${S}"/doc/doxygen/html ) - einstalldocs -} diff --git a/sci-libs/fcl/fcl-9999.ebuild b/sci-libs/fcl/fcl-9999.ebuild deleted file mode 100644 index edd97c84d7f2..000000000000 --- a/sci-libs/fcl/fcl-9999.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -if [ "${PV}" = "9999" ]; then - EGIT_REPO_URI="https://github.com/flexible-collision-library/${PN}.git" - inherit git-r3 -else - SRC_URI="https://github.com/flexible-collision-library/fcl/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm" -fi - -DESCRIPTION="The Flexible Collision Library" -HOMEPAGE="http://gamma.cs.unc.edu/FCL/" - -LICENSE="BSD" -SLOT="0/6" -IUSE="cpu_flags_x86_sse doc +octomap profiling test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-cpp/eigen:3 - dev-libs/boost:= - sci-libs/flann - sci-libs/libccd[double-precision] - octomap? ( sci-libs/octomap:= )" - -DEPEND="${RDEPEND} - doc? ( app-text/doxygen ) - test? ( dev-cpp/gtest )" - -BDEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - sed -i -e "s/include(CompilerSettings)//" "${S}"/CMakeLists.txt || die "failed to remove compiler flags override" - - local mycmakeargs=( - -DBUILD_TESTING=$(usex test ON OFF) - -DFCL_COVERALLS=OFF - -DFCL_COVERALLS_UPLOAD=OFF - -DFCL_ENABLE_PROFILING=$(usex profiling ON OFF) - -DFCL_TREAT_WARNINGS_AS_ERRORS=OFF - -DFCL_USE_HOST_NATIVE_ARCH=OFF - -DFCL_USE_X64_SSE=$(usex cpu_flags_x86_sse ON OFF) - -DFCL_WITH_OCTOMAP=$(usex octomap ON OFF) - ) - local CMAKE_BUILD_TYPE="Release" - cmake_src_configure -} - -src_compile() { - cmake_src_compile - - use doc && cmake_src_compile docs -} - -src_install() { - cmake_src_install - - use doc && HTML_DOCS=( "${S}"/doc/doxygen/html ) - einstalldocs -} diff --git a/sci-libs/fcl/metadata.xml b/sci-libs/fcl/metadata.xml deleted file mode 100644 index 5aa75fb27999..000000000000 --- a/sci-libs/fcl/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Alexis Ballier</name> - </maintainer> - <longdescription> - FCL is a library for performing three types of proximity queries on a pair of geometric models composed of triangles. - </longdescription> - <use> - <flag name="octomap">OctoMap library support</flag> - <flag name="profiling">Enable profiling</flag> - </use> - <slots> - <subslots>Soname version number of fcl</subslots> - </slots> - <upstream> - <bugs-to>https://github.com/lexible-collision-library/fcl/issues</bugs-to> - <remote-id type="github">flexible-collision-library/fcl</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/kim-api/Manifest b/sci-libs/kim-api/Manifest deleted file mode 100644 index 059806d4dcc0..000000000000 --- a/sci-libs/kim-api/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST kim-api-2.2.1.txz 351144 BLAKE2B d8086904051633549e9fa5e3fd774cad625048a55864aa52840c4a03f8fca4c3e91746fac78a85449c31254a2ffd39bbb521bd119b2f0a79a9ce809aa4eb8bf5 SHA512 b2625dc41474849f281f266a1fa8a2b1738d2433031d2181bde36ac5ec050fcdec3925cb588b287a46c80c01c730be04352ca88a9ba71fc3b37c2da1c84ae650 diff --git a/sci-libs/kim-api/kim-api-2.2.1.ebuild b/sci-libs/kim-api/kim-api-2.2.1.ebuild deleted file mode 100644 index 94107339ee17..000000000000 --- a/sci-libs/kim-api/kim-api-2.2.1.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake fortran-2 - -DESCRIPTION="Application Programming Interface for atomistic simulations" -HOMEPAGE="https://openkim.org" -SRC_URI="https://s3.openkim.org/${PN}/${P}.txz" - -LICENSE="CDDL" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="app-editors/vim-core" -RDEPEND="${DEPEND}" diff --git a/sci-libs/kim-api/metadata.xml b/sci-libs/kim-api/metadata.xml deleted file mode 100644 index c0cd18916a93..000000000000 --- a/sci-libs/kim-api/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-libs/libccd/Manifest b/sci-libs/libccd/Manifest deleted file mode 100644 index 6c8f3bc992e9..000000000000 --- a/sci-libs/libccd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libccd-2.1.tar.gz 73971 BLAKE2B 77feeb42426e72cfc1392351acf84f4c4670ea7f6a555a2b15dd8927e49b855423c4262e319b06774a8d887423238b8d018021ebeba5ee188e52accf5aeb48a1 SHA512 ff037d9c4df50f09600cf9b3514b259b2850ff43f74817853f5665d22812891168f70bd3cc3969b2c9e3c706f6254991a65421476349607fbd04d894b217456d diff --git a/sci-libs/libccd/libccd-2.1.ebuild b/sci-libs/libccd/libccd-2.1.ebuild deleted file mode 100644 index cdc23db29212..000000000000 --- a/sci-libs/libccd/libccd-2.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/danfis/libccd.git" -else - SRC_URI="https://github.com/danfis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm" -fi - -DESCRIPTION="Library for collision detection between two convex shapes" -HOMEPAGE="http://libccd.danfis.cz/ - https://github.com/danfis/libccd" - -LICENSE="BSD" -SLOT="0" -IUSE="+double-precision doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( dev-python/sphinx )" - -src_prepare() { - # upstream issue 72 - # https://github.com/danfis/libccd/issues/72 - sed -i -e "s \${CMAKE_INSTALL_DATAROOTDIR}/doc/ccd \${CMAKE_INSTALL_DATAROOTDIR}/doc/${PF} g" \ - CMakeLists.txt doc/CMakeLists.txt || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc ON OFF) - -DENABLE_DOUBLE_PRECISION=$(usex double-precision ON OFF) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use doc; then - local DOCS=( "${BUILD_DIR}"/doc/man ) - local HTML_DOCS=( "${BUILD_DIR}"/doc/html ) - einstalldocs - fi -} diff --git a/sci-libs/libccd/libccd-9999.ebuild b/sci-libs/libccd/libccd-9999.ebuild deleted file mode 100644 index 8c95229c7747..000000000000 --- a/sci-libs/libccd/libccd-9999.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -if [[ ${PV} == *9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/danfis/libccd.git" -else - SRC_URI="https://github.com/danfis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm" -fi - -DESCRIPTION="Library for collision detection between two convex shapes" -HOMEPAGE="http://libccd.danfis.cz/ - https://github.com/danfis/libccd" - -LICENSE="BSD" -SLOT="0" -IUSE="+double-precision doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( dev-python/sphinx )" - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCUMENTATION=$(usex doc ON OFF) - -DENABLE_DOUBLE_PRECISION=$(usex double-precision ON OFF) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - if use doc; then - local DOCS=( "${BUILD_DIR}"/doc/man ) - local HTML_DOCS=( "${BUILD_DIR}"/doc/html ) - einstalldocs - fi -} diff --git a/sci-libs/libccd/metadata.xml b/sci-libs/libccd/metadata.xml deleted file mode 100644 index 33316116723d..000000000000 --- a/sci-libs/libccd/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Alexis Ballier</name> - </maintainer> - <longdescription> - libccd is library for a collision detection between two convex shapes. - libccd implements variation on Gilbert–Johnson–Keerthi algorithm plus Expand Polytope Algorithm (EPA) and also - implements algorithm Minkowski Portal Refinement (MPR, a.k.a. XenoCollide) as described in Game Programming Gems 7. - </longdescription> - <use> - <flag name="double-precision">More precise calculations at the expense of speed</flag> - </use> - <upstream> - <bugs-to>https://github.com/danfis/libccd/issues</bugs-to> - <remote-id type="github">danfis/libccd</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/neartree/Manifest b/sci-libs/neartree/Manifest deleted file mode 100644 index 0f64d2daee3d..000000000000 --- a/sci-libs/neartree/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST neartree-5.1.1.tar.gz 167695 BLAKE2B 238f9d4f6c900938b53d692b9694044685cd2d906776c95c33f4f3619a35ed33ef2b85ddc7c2876219c7faa3930c234a3854266f539cd0a4b48d15b4a5e96040 SHA512 36f2ab878319153440914325bed67d111dafcac724cbef73d439285f4ad82979b05d2987fa3802c440aa4a037499bf7961ef9b09fa3658364731b5a405854b00 diff --git a/sci-libs/neartree/files/CMakeLists.txt b/sci-libs/neartree/files/CMakeLists.txt deleted file mode 100644 index 59b64f8c2f8d..000000000000 --- a/sci-libs/neartree/files/CMakeLists.txt +++ /dev/null @@ -1,23 +0,0 @@ -cmake_minimum_required(VERSION 2.8.12) -project (Neartree C) - -SET (LIB_MAJOR 5) -SET (LIB_MINOR 1) -SET (LIB_RELEASE 0) - -SET (_soversion ${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE}) - -include(GNUInstallDirs) - -include_directories ("${PROJECT_SOURCE_DIR}") - -add_library(CNearTree SHARED CNearTree.c) -target_link_libraries(CNearTree CVector m) - -set_target_properties(CNearTree PROPERTIES SOVERSION ${LIB_MAJOR} VERSION ${_soversion}) - -INSTALL(TARGETS CNearTree DESTINATION ${CMAKE_INSTALL_LIBDIR}) -install(FILES CNearTree.h rhrand.h TNear.h triple.h - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -install(FILES README_NearTree.txt DESTINATION ${CMAKE_INSTALL_DOCDIR}) -install(FILES README_NearTree.html index.html DESTINATION ${CMAKE_INSTALL_DOCDIR}/html) diff --git a/sci-libs/neartree/metadata.xml b/sci-libs/neartree/metadata.xml deleted file mode 100644 index 409122f2c199..000000000000 --- a/sci-libs/neartree/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">neartree</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/neartree/neartree-5.1.1.ebuild b/sci-libs/neartree/neartree-5.1.1.ebuild deleted file mode 100644 index eec314fd86ad..000000000000 --- a/sci-libs/neartree/neartree-5.1.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="NearTree-${PV}" -inherit cmake - -DESCRIPTION="Function library efficiently solving the Nearest Neighbor Problem" -HOMEPAGE="http://neartree.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" - -RDEPEND="dev-libs/cvector" -DEPEND="${RDEPEND}" - -DOCS=( README_NearTree.txt ) - -src_prepare() { - cp "${FILESDIR}"/CMakeLists.txt . || die - cmake_src_prepare -} diff --git a/sci-libs/nemesis/Manifest b/sci-libs/nemesis/Manifest deleted file mode 100644 index 994c13bd1aef..000000000000 --- a/sci-libs/nemesis/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST exodus-6.09.tar.gz 4757028 BLAKE2B 3ea6ccf3faa04e14a6268429bab0968e0b09a1de7907ae50e293abede1f9362df7ca97f8f351bcb807c49965eb845b161ea5ca9d1786e66bb74875fec5ae20f6 SHA512 a48c02952b0edfae416e9b3f77471558dd2d60177471eca3de32890d11afabe3cfb64396de83e728327d43bbea83969ebcdd8ea516a3b9a6ed7353d4cc940516 diff --git a/sci-libs/nemesis/files/nemesis-6.09-multilib.patch b/sci-libs/nemesis/files/nemesis-6.09-multilib.patch deleted file mode 100644 index 09b5c9a60377..000000000000 --- a/sci-libs/nemesis/files/nemesis-6.09-multilib.patch +++ /dev/null @@ -1,53 +0,0 @@ - nemesis/CMakeLists.txt | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 64aff5d..bed5ede 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -19,7 +19,7 @@ - find_library( NETCDF_LIBRARY netcdf - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR} - $ENV{NETCDF_DIR}/libsrc/.libs - ) - -@@ -33,13 +33,14 @@ - ../exodusii/cbind/ - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -+ $ENV{EXODUS_DIR}/${CMAKE_INSTALL_LIBDIR} - ) - - # Hack for HDF5 - find_library( HDF5_LIBRARY hdf5 - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR} - $ENV{NETCDF_DIR}/libsrc/.libs - /usr/local/hdf5/lib - ) -@@ -47,7 +48,7 @@ - find_library( HDF5HL_LIBRARY hdf5_hl - $ENV{ACCESS}/lib/shared - $ENV{ACCESS}/lib -- $ENV{NETCDF_DIR}/lib -+ $ENV{NETCDF_DIR}/${CMAKE_INSTALL_LIBDIR} - $ENV{NETCDF_DIR}/libsrc/.libs - /usr/local/hdf5/lib - ) -@@ -80,8 +81,8 @@ - TARGET_LINK_LIBRARIES( ne_test nemesis ${EXODUS_LIBRARY} ${NETCDF_LIBRARY} ${HDF5HL_LIBRARY} ${HDF5_LIBRARY} ${Z_LIBRARY} ${MATH_LIBRARY}) - - INSTALL(TARGETS nemesis -- RUNTIME DESTINATION lib COMPONENT Runtime -- LIBRARY DESTINATION lib COMPONENT Runtime -- ARCHIVE DESTINATION lib COMPONENT Development) -+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development) - INSTALL(FILES ${HEADERS} DESTINATION include COMPONENT Development) - diff --git a/sci-libs/nemesis/metadata.xml b/sci-libs/nemesis/metadata.xml deleted file mode 100644 index 6114f376e86d..000000000000 --- a/sci-libs/nemesis/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription lang="en"> - NEMESIS is an enhancement to the EXODUSII finite element database - model used to store and retrieve data for unstructured parallel finite - element analyses. NEMESIS adds data structures which facilitate the - partitioning of a scalar (standard serial) EXODUSII file onto parallel - disk systems found on many parallel computers. Since the NEMESIS - application programming interface (API) can be used to append - information to an existing EXODUSII database, any existing software - that reads EXODUSII files can be used on files which contain NEMESIS - information. The NEMESIS information is written and read via C or C++ - callable functions which compromise the NEMESIS I API. - </longdescription> - <upstream> - <remote-id type="github">certik/exodus</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/nemesis/nemesis-6.09.ebuild b/sci-libs/nemesis/nemesis-6.09.ebuild deleted file mode 100644 index b975520655ce..000000000000 --- a/sci-libs/nemesis/nemesis-6.09.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="exodus-${PV}" -inherit cmake - -DESCRIPTION="Enhancement to the EXODUSII finite element database model" -HOMEPAGE="https://github.com/certik/exodus" -SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P}/${PN} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="static-libs" - -DEPEND=" - sci-libs/exodusii - sci-libs/netcdf -" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${P}-multilib.patch ) - -src_prepare() { - rm -r ../exodus || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=$(usex !static-libs) - ) - export NETCDF_DIR="${EPREFIX}/usr/" - export EXODUS_DIR="${EPREFIX}/usr/" - cmake_src_configure -} - -src_test() { - "${BUILD_DIR}"/ne_test || die -} diff --git a/sci-libs/orocos_kdl/Manifest b/sci-libs/orocos_kdl/Manifest deleted file mode 100644 index 6da107deeaef..000000000000 --- a/sci-libs/orocos_kdl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST orocos_kinematics_dynamics-1.5.1.tar.gz 251074 BLAKE2B 6be8171c3ce3bc6613fc342b8d3c772de766bfab78c5530364339ce2f9c4a37e6bc5519482f30939b210d9cb9e7899b3da66784a5c301653493212bc690917a8 SHA512 9774b76b755ea81168390643813789783f60d0b1cdb46cd250e3e0d27f75a6cf2fd3bfd2081c04e30a14ff4fc70d0080c9b43b82ee181c2dda82f23f052b338d diff --git a/sci-libs/orocos_kdl/metadata.xml b/sci-libs/orocos_kdl/metadata.xml deleted file mode 100644 index 1977fd3cda9e..000000000000 --- a/sci-libs/orocos_kdl/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Alexis Ballier</name> - </maintainer> - <longdescription lang="en"> - The Kinematics and Dynamics Library (KDL) develops an application - independent framework for modelling and computation of kinematic chains, - such as robots, biomechanical human models, computer-animated figures, - machine tools, etc. It provides class libraries for geometrical objects - (point, frame, line,... ), kinematic chains of various families (serial, - humanoid, parallel, mobile,... ), and their motion specification and - interpolation. - </longdescription> - <use> - <flag name="models">Build models for some well known robots.</flag> - </use> - <upstream> - <remote-id type="github">orocos/orocos_kinematics_dynamics</remote-id> - </upstream> -</pkgmetadata> diff --git a/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild b/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild deleted file mode 100644 index 496d229c6a7c..000000000000 --- a/sci-libs/orocos_kdl/orocos_kdl-1.5.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Kinematics and Dynamics Library (KDL)" -HOMEPAGE="https://www.orocos.org/kdl" - -if [[ ${PV} = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics" - S="${WORKDIR}/${P}/${PN}" -else - SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" - KEYWORDS="amd64 ~arm ~x86" - S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" -fi - -LICENSE="LGPL-2.1" -SLOT="0/15" -IUSE="doc examples models test" -REQUIRED_USE="examples? ( models )" -RESTRICT="!test? ( test )" - -RDEPEND="dev-cpp/eigen:3" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-text/doxygen[dot] ) - test? ( dev-util/cppunit ) -" - -src_configure() { - # disable catkin support - sed -e 's/find_package(catkin/find_package(NoTcatkin/' -i CMakeLists.txt || die - local mycmakeargs=( - -DBUILD_MODELS=$(usex models ON OFF) - -DENABLE_EXAMPLES=$(usex examples) - -DENABLE_TESTS=$(usex test) - ) - if use examples; then - mycmakeargs+=( - -DBUILD_MODELS_DEMO=ON - ) - fi - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_build docs - rm "${BUILD_DIR}/doc/kdl.tag" || die - fi -} - -src_test() { - pushd "${BUILD_DIR}" > /dev/null || die - eninja check - popd > /dev/null || die -} - -src_install() { - use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/api/html/." ) - cmake_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - docinto examples - dodoc -r "${S}"/examples/. - fi -} diff --git a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild b/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild deleted file mode 100644 index 30eebff8b84d..000000000000 --- a/sci-libs/orocos_kdl/orocos_kdl-9999.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Kinematics and Dynamics Library (KDL)" -HOMEPAGE="https://www.orocos.org/kdl" - -if [[ ${PV} = *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics" - S="${WORKDIR}/${P}/${PN}" -else - SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" - S="${WORKDIR}/orocos_kinematics_dynamics-${PV}/${PN}" -fi - -LICENSE="LGPL-2.1" -SLOT="0/15" -IUSE="doc examples models test" -REQUIRED_USE="examples? ( models )" -RESTRICT="!test? ( test )" - -RDEPEND="dev-cpp/eigen:3" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-text/doxygen[dot] ) - test? ( dev-util/cppunit ) -" - -src_configure() { - # disable catkin support - sed -e 's/find_package(catkin/find_package(NoTcatkin/' -i CMakeLists.txt || die - local mycmakeargs=( - -DBUILD_MODELS=$(usex models ON OFF) - -DENABLE_EXAMPLES=$(usex examples) - -DENABLE_TESTS=$(usex test) - ) - if use examples; then - mycmakeargs+=( - -DBUILD_MODELS_DEMO=ON - ) - fi - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_build docs - rm "${BUILD_DIR}/doc/kdl.tag" || die - fi -} - -src_test() { - pushd "${BUILD_DIR}" > /dev/null || die - eninja check - popd > /dev/null || die -} - -src_install() { - use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/api/html/." ) - cmake_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - docinto examples - dodoc -r "${S}"/examples/. - fi -}
