From 18de273a84d4fd9df3c09f5f5cd6b020d72fcbca Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 12 Jul 2010 04:51:36 +0000 Subject: [PATCH] eigen, next version, totally different API from eigen. --- math/eigen2/Makefile | 28 +++++ math/eigen2/distinfo | 5 + math/eigen2/patches/patch-test_runtest_sh | 9 ++ math/eigen2/pkg/DESCR | 6 + math/eigen2/pkg/PLIST | 147 ++++++++++++++++++++++ 5 files changed, 195 insertions(+) create mode 100644 math/eigen2/Makefile create mode 100644 math/eigen2/distinfo create mode 100644 math/eigen2/patches/patch-test_runtest_sh create mode 100644 math/eigen2/pkg/DESCR create mode 100644 math/eigen2/pkg/PLIST diff --git a/math/eigen2/Makefile b/math/eigen2/Makefile new file mode 100644 index 00000000000..8617beeeab2 --- /dev/null +++ b/math/eigen2/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/07/12 04:51:36 espie Exp $ + +PKG_ARCH = * +COMMENT = lightweight C++ template library for linear algebra +CATEGORIES = math devel +HOMEPAGE = http://eigen.tuxfamily.org/ +MASTER_SITES = http://bitbucket.org/eigen/eigen/get/ +DIST_SUBDIR = eigen +VERSION = 2.0.14 +DISTNAME = ${VERSION} +PKGNAME = eigen2-${VERSION} +WRKDIST = ${WRKDIR}/eigen + +# relaxed GPL (LGPL for template libs) + +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + + +MODULES = devel/cmake +CONFIGURE_STYLE = cmake +NO_REGRESS= Yes +# CONFIGURE_ARGS = -DEIGEN_BUILD_TESTS:BOOL=ON \ +# -DEIGEN_BUILD_EXAMPLES:BOOL=ON + +.include diff --git a/math/eigen2/distinfo b/math/eigen2/distinfo new file mode 100644 index 00000000000..b223f4f759f --- /dev/null +++ b/math/eigen2/distinfo @@ -0,0 +1,5 @@ +MD5 (eigen/2.0.14.tar.gz) = xN1vhaCWGXV4KgesnNjNUw== +RMD160 (eigen/2.0.14.tar.gz) = 4NLs54MYq9THbNqdU43I3AXSRvI= +SHA1 (eigen/2.0.14.tar.gz) = G9IP2luIvqjr+631JhK1CQpHLbU= +SHA256 (eigen/2.0.14.tar.gz) = QBzO84hyXUELyPeufX95f4lapQQhW3tLq0hM0nUV7yk= +SIZE (eigen/2.0.14.tar.gz) = 442082 diff --git a/math/eigen2/patches/patch-test_runtest_sh b/math/eigen2/patches/patch-test_runtest_sh new file mode 100644 index 00000000000..07e0092349f --- /dev/null +++ b/math/eigen2/patches/patch-test_runtest_sh @@ -0,0 +1,9 @@ +$OpenBSD: patch-test_runtest_sh,v 1.1.1.1 2010/07/12 04:51:37 espie Exp $ +--- test/runtest.sh.orig Mon Jun 28 11:45:25 2010 ++++ test/runtest.sh Mon Jun 28 11:45:30 2010 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#! /bin/sh + + black='\E[30m' + red='\E[31m' diff --git a/math/eigen2/pkg/DESCR b/math/eigen2/pkg/DESCR new file mode 100644 index 00000000000..b8a34962c31 --- /dev/null +++ b/math/eigen2/pkg/DESCR @@ -0,0 +1,6 @@ +Eigen is a C++ template library for vector and matrix math. + +Unlike most other linear algebra libraries, Eigen focuses on the +simple mathematical needs of applications: games and other OpenGL +apps, spreadsheets and other office apps, etc. Eigen is dedicated +to providing optimal speed with GCC. diff --git a/math/eigen2/pkg/PLIST b/math/eigen2/pkg/PLIST new file mode 100644 index 00000000000..e1d1d437093 --- /dev/null +++ b/math/eigen2/pkg/PLIST @@ -0,0 +1,147 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/12 04:51:37 espie Exp $ +include/eigen2/ +include/eigen2/Eigen/ +include/eigen2/Eigen/Array +include/eigen2/Eigen/Cholesky +include/eigen2/Eigen/Core +include/eigen2/Eigen/Dense +include/eigen2/Eigen/Eigen +include/eigen2/Eigen/Geometry +include/eigen2/Eigen/LU +include/eigen2/Eigen/LeastSquares +include/eigen2/Eigen/NewStdVector +include/eigen2/Eigen/QR +include/eigen2/Eigen/QtAlignedMalloc +include/eigen2/Eigen/SVD +include/eigen2/Eigen/Sparse +include/eigen2/Eigen/StdVector +include/eigen2/Eigen/src/ +include/eigen2/Eigen/src/Array/ +include/eigen2/Eigen/src/Array/BooleanRedux.h +include/eigen2/Eigen/src/Array/CwiseOperators.h +include/eigen2/Eigen/src/Array/Functors.h +include/eigen2/Eigen/src/Array/Norms.h +include/eigen2/Eigen/src/Array/PartialRedux.h +include/eigen2/Eigen/src/Array/Random.h +include/eigen2/Eigen/src/Array/Select.h +include/eigen2/Eigen/src/Cholesky/ +include/eigen2/Eigen/src/Cholesky/LDLT.h +include/eigen2/Eigen/src/Cholesky/LLT.h +include/eigen2/Eigen/src/Core/ +include/eigen2/Eigen/src/Core/Assign.h +include/eigen2/Eigen/src/Core/Block.h +include/eigen2/Eigen/src/Core/CacheFriendlyProduct.h +include/eigen2/Eigen/src/Core/Coeffs.h +include/eigen2/Eigen/src/Core/CommaInitializer.h +include/eigen2/Eigen/src/Core/Cwise.h +include/eigen2/Eigen/src/Core/CwiseBinaryOp.h +include/eigen2/Eigen/src/Core/CwiseNullaryOp.h +include/eigen2/Eigen/src/Core/CwiseUnaryOp.h +include/eigen2/Eigen/src/Core/DiagonalCoeffs.h +include/eigen2/Eigen/src/Core/DiagonalMatrix.h +include/eigen2/Eigen/src/Core/DiagonalProduct.h +include/eigen2/Eigen/src/Core/Dot.h +include/eigen2/Eigen/src/Core/Flagged.h +include/eigen2/Eigen/src/Core/Functors.h +include/eigen2/Eigen/src/Core/Fuzzy.h +include/eigen2/Eigen/src/Core/GenericPacketMath.h +include/eigen2/Eigen/src/Core/IO.h +include/eigen2/Eigen/src/Core/Map.h +include/eigen2/Eigen/src/Core/MapBase.h +include/eigen2/Eigen/src/Core/MathFunctions.h +include/eigen2/Eigen/src/Core/Matrix.h +include/eigen2/Eigen/src/Core/MatrixBase.h +include/eigen2/Eigen/src/Core/MatrixStorage.h +include/eigen2/Eigen/src/Core/Minor.h +include/eigen2/Eigen/src/Core/NestByValue.h +include/eigen2/Eigen/src/Core/NumTraits.h +include/eigen2/Eigen/src/Core/Part.h +include/eigen2/Eigen/src/Core/Product.h +include/eigen2/Eigen/src/Core/Redux.h +include/eigen2/Eigen/src/Core/SolveTriangular.h +include/eigen2/Eigen/src/Core/Sum.h +include/eigen2/Eigen/src/Core/Swap.h +include/eigen2/Eigen/src/Core/Transpose.h +include/eigen2/Eigen/src/Core/Visitor.h +include/eigen2/Eigen/src/Core/arch/ +include/eigen2/Eigen/src/Core/arch/AltiVec/ +include/eigen2/Eigen/src/Core/arch/AltiVec/PacketMath.h +include/eigen2/Eigen/src/Core/arch/SSE/ +include/eigen2/Eigen/src/Core/arch/SSE/PacketMath.h +include/eigen2/Eigen/src/Core/util/ +include/eigen2/Eigen/src/Core/util/Constants.h +include/eigen2/Eigen/src/Core/util/DisableMSVCWarnings.h +include/eigen2/Eigen/src/Core/util/EnableMSVCWarnings.h +include/eigen2/Eigen/src/Core/util/ForwardDeclarations.h +include/eigen2/Eigen/src/Core/util/Macros.h +include/eigen2/Eigen/src/Core/util/Memory.h +include/eigen2/Eigen/src/Core/util/Meta.h +include/eigen2/Eigen/src/Core/util/StaticAssert.h +include/eigen2/Eigen/src/Core/util/XprHelper.h +include/eigen2/Eigen/src/Geometry/ +include/eigen2/Eigen/src/Geometry/AlignedBox.h +include/eigen2/Eigen/src/Geometry/AngleAxis.h +include/eigen2/Eigen/src/Geometry/EulerAngles.h +include/eigen2/Eigen/src/Geometry/Hyperplane.h +include/eigen2/Eigen/src/Geometry/OrthoMethods.h +include/eigen2/Eigen/src/Geometry/ParametrizedLine.h +include/eigen2/Eigen/src/Geometry/Quaternion.h +include/eigen2/Eigen/src/Geometry/Rotation2D.h +include/eigen2/Eigen/src/Geometry/RotationBase.h +include/eigen2/Eigen/src/Geometry/Scaling.h +include/eigen2/Eigen/src/Geometry/Transform.h +include/eigen2/Eigen/src/Geometry/Translation.h +include/eigen2/Eigen/src/LU/ +include/eigen2/Eigen/src/LU/Determinant.h +include/eigen2/Eigen/src/LU/Inverse.h +include/eigen2/Eigen/src/LU/LU.h +include/eigen2/Eigen/src/LeastSquares/ +include/eigen2/Eigen/src/LeastSquares/LeastSquares.h +include/eigen2/Eigen/src/QR/ +include/eigen2/Eigen/src/QR/EigenSolver.h +include/eigen2/Eigen/src/QR/HessenbergDecomposition.h +include/eigen2/Eigen/src/QR/QR.h +include/eigen2/Eigen/src/QR/SelfAdjointEigenSolver.h +include/eigen2/Eigen/src/QR/Tridiagonalization.h +include/eigen2/Eigen/src/SVD/ +include/eigen2/Eigen/src/SVD/SVD.h +include/eigen2/Eigen/src/Sparse/ +include/eigen2/Eigen/src/Sparse/AmbiVector.h +include/eigen2/Eigen/src/Sparse/CholmodSupport.h +include/eigen2/Eigen/src/Sparse/CompressedStorage.h +include/eigen2/Eigen/src/Sparse/CoreIterators.h +include/eigen2/Eigen/src/Sparse/DynamicSparseMatrix.h +include/eigen2/Eigen/src/Sparse/MappedSparseMatrix.h +include/eigen2/Eigen/src/Sparse/RandomSetter.h +include/eigen2/Eigen/src/Sparse/SparseAssign.h +include/eigen2/Eigen/src/Sparse/SparseBlock.h +include/eigen2/Eigen/src/Sparse/SparseCwise.h +include/eigen2/Eigen/src/Sparse/SparseCwiseBinaryOp.h +include/eigen2/Eigen/src/Sparse/SparseCwiseUnaryOp.h +include/eigen2/Eigen/src/Sparse/SparseDiagonalProduct.h +include/eigen2/Eigen/src/Sparse/SparseDot.h +include/eigen2/Eigen/src/Sparse/SparseFlagged.h +include/eigen2/Eigen/src/Sparse/SparseFuzzy.h +include/eigen2/Eigen/src/Sparse/SparseLDLT.h +include/eigen2/Eigen/src/Sparse/SparseLLT.h +include/eigen2/Eigen/src/Sparse/SparseLU.h +include/eigen2/Eigen/src/Sparse/SparseMatrix.h +include/eigen2/Eigen/src/Sparse/SparseMatrixBase.h +include/eigen2/Eigen/src/Sparse/SparseProduct.h +include/eigen2/Eigen/src/Sparse/SparseRedux.h +include/eigen2/Eigen/src/Sparse/SparseTranspose.h +include/eigen2/Eigen/src/Sparse/SparseUtil.h +include/eigen2/Eigen/src/Sparse/SparseVector.h +include/eigen2/Eigen/src/Sparse/SuperLUSupport.h +include/eigen2/Eigen/src/Sparse/TaucsSupport.h +include/eigen2/Eigen/src/Sparse/TriangularSolver.h +include/eigen2/Eigen/src/Sparse/UmfPackSupport.h +include/eigen2/unsupported/ +include/eigen2/unsupported/Eigen/ +include/eigen2/unsupported/Eigen/IterativeSolvers +include/eigen2/unsupported/Eigen/src/ +include/eigen2/unsupported/Eigen/src/IterativeSolvers/ +include/eigen2/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h +include/eigen2/unsupported/Eigen/src/IterativeSolvers/IterationController.h +share/pkgconfig/ +share/pkgconfig/eigen2.pc