diff --git a/.gitignore b/.gitignore index 4235553..bb82d8c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /eigen-3.0.5.tar.bz2 /eigen-3.0.6.tar.bz2 /eigen-3.1.2.tar.bz2 +/eigen-3.1.3.tar.bz2 diff --git a/eigen3.spec b/eigen3.spec index 124eee5..a19fa38 100644 --- a/eigen3.spec +++ b/eigen3.spec @@ -1,14 +1,15 @@ Name: eigen3 -Version: 3.1.2 +Version: 3.1.3 Release: 1%{?dist} Summary: A lightweight C++ template library for vector and matrix math Group: Development/Libraries License: MPLv2.0 and LGPLv2+ and BSD URL: http://eigen.tuxfamily.org/index.php?title=Main_Page -# Source file is at: http://bitbucket.org/eigen/eigen/get/3.1.2.tar.bz2 +# Source file is at: http://bitbucket.org/eigen/eigen/get/3.1.3.tar.bz2 # Renamed source file so it's not just a version number Source0: eigen-%{version}.tar.bz2 +Patch0: eigen3_unused-typedefs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -40,7 +41,8 @@ Provides: %{name}-static = %{version}-%{release} %{summary} %prep -%setup -q -n eigen-eigen-5097c01bcdc4 +%setup -q -n eigen-eigen-2249f9c22fe8 +%patch0 -p1 %build mkdir %{_target_platform} @@ -68,6 +70,10 @@ rm -rf %{buildroot} %{_datadir}/pkgconfig/* %changelog +* Fri Apr 19 2013 Sandro Mani - 3.1.3-1 +- Update to release 3.1.3 +- Add patch for unused typedefs warning with gcc4.8 + * Tue Mar 05 2013 Rich Mattes - 3.1.2-1 - Update to release 3.1.2 diff --git a/eigen3_unused-typedefs.patch b/eigen3_unused-typedefs.patch new file mode 100644 index 0000000..48ec28f --- /dev/null +++ b/eigen3_unused-typedefs.patch @@ -0,0 +1,60 @@ +diff -rupN eigen-eigen-2249f9c22fe8/Eigen/src/Core/products/SelfadjointMatrixVector.h eigen-eigen-2249f9c22fe8-new/Eigen/src/Core/products/SelfadjointMatrixVector.h +--- eigen-eigen-2249f9c22fe8/Eigen/src/Core/products/SelfadjointMatrixVector.h 2013-04-16 09:38:40.000000000 +0200 ++++ eigen-eigen-2249f9c22fe8-new/Eigen/src/Core/products/SelfadjointMatrixVector.h 2013-04-19 14:31:27.620526893 +0200 +@@ -35,7 +35,7 @@ static EIGEN_DONT_INLINE void run( + Scalar alpha) + { + typedef typename packet_traits::type Packet; +- typedef typename NumTraits::Real RealScalar; ++ // typedef typename NumTraits::Real RealScalar; + const Index PacketSize = sizeof(Packet)/sizeof(Scalar); + + enum { +diff -rupN eigen-eigen-2249f9c22fe8/Eigen/src/Core/util/Memory.h eigen-eigen-2249f9c22fe8-new/Eigen/src/Core/util/Memory.h +--- eigen-eigen-2249f9c22fe8/Eigen/src/Core/util/Memory.h 2013-04-16 09:38:40.000000000 +0200 ++++ eigen-eigen-2249f9c22fe8-new/Eigen/src/Core/util/Memory.h 2013-04-19 14:32:07.188032232 +0200 +@@ -451,7 +451,7 @@ template inline + template + static inline Index first_aligned(const Scalar* array, Index size) + { +- typedef typename packet_traits::type Packet; ++ // typedef typename packet_traits::type Packet; + enum { PacketSize = packet_traits::size, + PacketAlignedMask = PacketSize-1 + }; +diff -rupN eigen-eigen-2249f9c22fe8/Eigen/src/Eigenvalues/ComplexSchur.h eigen-eigen-2249f9c22fe8-new/Eigen/src/Eigenvalues/ComplexSchur.h +--- eigen-eigen-2249f9c22fe8/Eigen/src/Eigenvalues/ComplexSchur.h 2013-04-16 09:38:40.000000000 +0200 ++++ eigen-eigen-2249f9c22fe8-new/Eigen/src/Eigenvalues/ComplexSchur.h 2013-04-19 14:33:01.652351334 +0200 +@@ -309,7 +309,7 @@ struct complex_schur_reduce_to_hessenber + static void run(ComplexSchur& _this, const MatrixType& matrix, bool computeU) + { + typedef typename ComplexSchur::ComplexScalar ComplexScalar; +- typedef typename ComplexSchur::ComplexMatrixType ComplexMatrixType; ++ // typedef typename ComplexSchur::ComplexMatrixType ComplexMatrixType; + + // Note: m_hess is over RealScalar; m_matT and m_matU is over ComplexScalar + _this.m_hess.compute(matrix); +diff -rupN eigen-eigen-2249f9c22fe8/Eigen/src/Eigenvalues/Tridiagonalization.h eigen-eigen-2249f9c22fe8-new/Eigen/src/Eigenvalues/Tridiagonalization.h +--- eigen-eigen-2249f9c22fe8/Eigen/src/Eigenvalues/Tridiagonalization.h 2013-04-16 09:38:40.000000000 +0200 ++++ eigen-eigen-2249f9c22fe8-new/Eigen/src/Eigenvalues/Tridiagonalization.h 2013-04-19 14:33:30.100995677 +0200 +@@ -425,7 +425,7 @@ struct tridiagonalization_inplace_select + template + void tridiagonalization_inplace(MatrixType& mat, DiagonalType& diag, SubDiagonalType& subdiag, bool extractQ) + { +- typedef typename MatrixType::Index Index; ++ // typedef typename MatrixType::Index Index; + //Index n = mat.rows(); + eigen_assert(mat.cols()==mat.rows() && diag.size()==mat.rows() && subdiag.size()==mat.rows()-1); + tridiagonalization_inplace_selector::run(mat, diag, subdiag, extractQ); +diff -rupN eigen-eigen-2249f9c22fe8/Eigen/src/QR/HouseholderQR.h eigen-eigen-2249f9c22fe8-new/Eigen/src/QR/HouseholderQR.h +--- eigen-eigen-2249f9c22fe8/Eigen/src/QR/HouseholderQR.h 2013-04-16 09:38:40.000000000 +0200 ++++ eigen-eigen-2249f9c22fe8-new/Eigen/src/QR/HouseholderQR.h 2013-04-19 14:33:56.147670049 +0200 +@@ -232,7 +232,7 @@ void householder_qr_inplace_blocked(Matr + { + typedef typename MatrixQR::Index Index; + typedef typename MatrixQR::Scalar Scalar; +- typedef typename MatrixQR::RealScalar RealScalar; ++ // typedef typename MatrixQR::RealScalar RealScalar; + typedef Block BlockType; + + Index rows = mat.rows(); diff --git a/sources b/sources index fc9c2a6..1428d33 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e9c081360dde5e7dcb8eba3c8430fde2 eigen-3.1.2.tar.bz2 +43eee0e9252a77149d6b65e93e73b79d eigen-3.1.3.tar.bz2