aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2011-08-19 02:24:37 +0200
committerAndrea Arteaga <andyspiros@gmail.com>2011-08-19 02:24:37 +0200
commitd541cbcdbe6cd31957dd32179487eb69822cde1b (patch)
tree77123b951a9f7ce882bd2ac7f316e1b85b89281c
parentmedia-gfx/librecad: ebuild cleanup for 9999 version (diff)
downloadsci-d541cbcdbe6cd31957dd32179487eb69822cde1b.tar.gz
sci-d541cbcdbe6cd31957dd32179487eb69822cde1b.tar.bz2
sci-d541cbcdbe6cd31957dd32179487eb69822cde1b.zip
Added eigen-9999.
-rw-r--r--dev-cpp/eigen/ChangeLog200
-rw-r--r--dev-cpp/eigen/Manifest3
-rw-r--r--dev-cpp/eigen/eigen-9999.ebuild77
-rw-r--r--dev-cpp/eigen/metadata.xml17
4 files changed, 297 insertions, 0 deletions
diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
new file mode 100644
index 000000000..fadff3642
--- /dev/null
+++ b/dev-cpp/eigen/ChangeLog
@@ -0,0 +1,200 @@
+# ChangeLog for dev-cpp/eigen
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.44 2011/03/25 16:01:28 jlec Exp $
+
+*eigen-9999 (18 Aug 2011)
+
+ 18 Aug 2011; Andrea Arteaga <andyspiros@gmail.com> +eigen-9999.ebuild,
+ +Manifest +metadata.xml:
+ Imported from bicatali overlay. Added unstable lapack implementation.
+
+*eigen-3.0.1-r1 (15 Jun 2011)
+
+ 15 Jun 2011; Sébastien Fabbro <bicatali@gentoo.org> -eigen-3.0.0-r1.ebuild,
+ +eigen-3.0.1-r1.ebuild:
+ Bump
+
+*eigen-3.0.0-r1 (31 Mar 2011)
+
+ 31 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> +eigen-3.0.0-r1.ebuild,
+ +metadata.xml:
+ Added a few extras flags to pull dependencies for unsupported eigen features.
+ Also now build a blas implementation
+
+*eigen-3.0.0 (25 Mar 2011)
+
+ 25 Mar 2011; Justin Lecher <jlec@gentoo.org> eigen-2.0.13.ebuild,
+ eigen-2.0.15.ebuild, +eigen-3.0.0.ebuild:
+ Version Bump, Adapted to new tarball, #358761
+
+ 13 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> -eigen-2.0.5.ebuild,
+ -eigen-2.0.14.ebuild:
+ old
+
+ 20 Oct 2010; Brent Baude <ranger@gentoo.org> eigen-2.0.13.ebuild:
+ Marking eigen-2.0.13 ppc for bug 327581
+
+*eigen-2.0.15 (03 Oct 2010)
+
+ 03 Oct 2010; Justin Lecher <jlec@gentoo.org> eigen-2.0.13.ebuild,
+ eigen-2.0.14.ebuild, +eigen-2.0.15.ebuild:
+ Version Bump, 339258
+
+ 27 Aug 2010; Raúl Porcel <armin76@gentoo.org> eigen-2.0.13.ebuild:
+ alpha/ia64/sparc stable wrt #327581
+
+ 23 Jul 2010; Markus Meier <maekke@gentoo.org> eigen-2.0.13.ebuild:
+ amd64 stable, bug #327581
+
+ 21 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> eigen-2.0.13.ebuild:
+ ppc64 stable wrt #327581
+
+ 17 Jul 2010; Christian Faulhammer <fauli@gentoo.org> eigen-2.0.13.ebuild:
+ stable x86, bug 327581
+
+ 14 Jul 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.13.ebuild:
+ Stable for HPPA (bug #327581).
+
+*eigen-2.0.14 (09 Jul 2010)
+
+ 09 Jul 2010; Dror Levin <spatz@gentoo.org> -eigen-2.0.10.ebuild,
+ +eigen-2.0.14.ebuild:
+ Version bump, bug 327583. Drop old.
+
+*eigen-2.0.13 (13 Jun 2010)
+
+ 13 Jun 2010; Dror Levin <spatz@gentoo.org> +eigen-2.0.13.ebuild:
+ Version bump, bug 323855.
+
+ 20 Jan 2010; Jonathan Callen <abcd@gentoo.org> eigen-2.0.10.ebuild:
+ Keyword ~amd64-linux/~x86-linux; move blocker out of DEPEND; utilize the
+ fact that cmake caches -D arguments
+
+ 14 Jan 2010; Jeroen Roovers <jer@gentoo.org> eigen-2.0.5.ebuild:
+ Stable for HPPA (bug #295884).
+
+ 28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.10.ebuild:
+ Reorder the deps to not rdepend on doxygen.
+
+ 28 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.10.ebuild:
+ Doc useflag require doxygen. Per bug #298074.
+
+ 27 Dec 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.5.ebuild:
+ alpha/ia64/sparc stable
+
+*eigen-2.0.10 (10 Dec 2009)
+
+ 10 Dec 2009; Dror Levin <spatz@gentoo.org> -eigen-2.0.9.ebuild,
+ +eigen-2.0.10.ebuild:
+ Version bump and remove old, bug 296461.
+
+ 10 Dec 2009; Jonathan Callen <abcd@gentoo.org> eigen-2.0.5.ebuild,
+ eigen-2.0.9.ebuild:
+ Convert mycmakeargs to an array (required due to usage in src_test)
+
+ 05 Dec 2009; Jonathan Callen <abcd@gentoo.org> -eigen-2.0.4.ebuild,
+ -eigen-2.0.4-r1.ebuild, -files/eigen-2.0.4-gcc-4-1.patch,
+ -files/eigen-2.0.4-qt-test.patch, -eigen-2.0.6.ebuild:
+ Drop old ebuilds, patches
+
+ 30 Nov 2009; Joseph Jezak <josejx@gentoo.org> Manifest:
+ Marked ppc/ppc64 stable.
+
+ 29 Nov 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.9.ebuild:
+ Add ~sparc
+
+*eigen-2.0.9 (01 Nov 2009)
+
+ 01 Nov 2009; Dror Levin <spatz@gentoo.org> +eigen-2.0.9.ebuild:
+ Version bump.
+
+ 17 Oct 2009; Markus Meier <maekke@gentoo.org> eigen-2.0.5.ebuild:
+ x86 stable, bug #287955
+
+ 09 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> eigen-2.0.5.ebuild:
+ amd64 stable wrt #287955
+
+*eigen-2.0.6 (26 Sep 2009)
+
+ 26 Sep 2009; Patrick Lauer <patrick@gentoo.org> +eigen-2.0.6.ebuild:
+ Bump to 2.0.6, fixes #286462
+
+ 22 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> -eigen-2.0.2.ebuild,
+ -eigen-2.0.3.ebuild:
+ Pruned old versions.
+
+*eigen-2.0.5 (22 Aug 2009)
+
+ 22 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.5.ebuild:
+ Version bump.
+
+ 21 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org>
+ files/eigen-2.0.4-qt-test.patch:
+ This should really fix bug 279824, all tests passed here.
+
+*eigen-2.0.4-r1 (21 Aug 2009)
+
+ 21 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.4-r1.ebuild,
+ +files/eigen-2.0.4-gcc-4-1.patch:
+ Patch applied by Benoit Jacob upstream, fixes compilation issue with GCC
+ 4.1. Closes bug 280588.
+
+*eigen-2.0.4 (01 Aug 2009)
+
+ 01 Aug 2009; Marcus D. Hanwell <cryos@gentoo.org> +eigen-2.0.4.ebuild,
+ +files/eigen-2.0.4-qt-test.patch:
+ Version bump, disabled fortran in testing for now - bug 279824.
+
+*eigen-2.0.3 (30 Jul 2009)
+
+ 30 Jul 2009; Tomáš Chvátal <scarabeus@gentoo.org> +eigen-2.0.3.ebuild,
+ +files/eigen-ppc-define.patch:
+ Version bump.
+
+ 04 Jun 2009; Tomas Chvatal <scarabeus@gentoo.org> -eigen-1.0.5.ebuild:
+ Drop old 1.0 series eigen. By rdep scans not needed anywhere.
+
+*eigen-2.0.2 (04 Jun 2009)
+
+ 04 Jun 2009; Tomas Chvatal <scarabeus@gentoo.org> eigen-1.0.5.ebuild,
+ -eigen-2.0.0.ebuild, -eigen-2.0.1.ebuild, +eigen-2.0.2.ebuild:
+ Version bump. Remove old. Fix repoman warning. Per bug #272491.
+
+ 18 Apr 2009; Jeroen Roovers <jer@gentoo.org> eigen-2.0.1:
+ Marked ~hppa (bug #260777).
+
+*eigen-2.0.1 (14 Apr 2009)
+
+ 14 Apr 2009; Tomas Chvatal <scarabeus@gentoo.org> +eigen-2.0.1.ebuild:
+ Version bump.
+
+ 11 Apr 2009; Raúl Porcel <armin76@gentoo.org> eigen-2.0.0.ebuild:
+ Add ~alpha/~ia64 wrt #260777
+
+ 09 Mar 2009; Brent Baude <ranger@gentoo.org> eigen-2.0.0.ebuild:
+ Marking eigen-2 ~ppc and ~ppc64 for bug 261754
+
+*eigen-2.0.0 (17 Feb 2009)
+
+ 17 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> metadata.xml,
+ +eigen-2.0.0.ebuild:
+ Version bump. Add kde to maintainers, since we will use it for koffice2
+ and other kde packages in future.
+
+ 02 Nov 2008; Mike Frysinger <vapier@gentoo.org> eigen-1.0.5.ebuild:
+ Add ppc/ppc64 love for KDE 4.
+
+ 27 Jun 2007; Christian Faulhammer <opfer@gentoo.org> eigen-1.0.5.ebuild:
+ keyworded ~x86, bug 182985
+
+ 23 Jun 2007; Marcus D. Hanwell <cryos@gentoo.org> eigen-1.0.5.ebuild:
+ Marked stable on amd64.
+
+*eigen-1.0.5 (15 May 2007)
+
+ 15 May 2007; Marcus D. Hanwell <cryos@gentoo.org> +metadata.xml,
+ +eigen-1.0.5.ebuild:
+ Initial import.
+
diff --git a/dev-cpp/eigen/Manifest b/dev-cpp/eigen/Manifest
new file mode 100644
index 000000000..4fc711f90
--- /dev/null
+++ b/dev-cpp/eigen/Manifest
@@ -0,0 +1,3 @@
+EBUILD eigen-9999.ebuild 1972 RMD160 3e7281079cb86c089f7f7a8ec041124da6e5870e SHA1 81e3d759332a76068ed45ef627562721b6758d5b SHA256 ae3279c96da02f7f64f3ca310e64eb21473c8fd452daf0e3ef211973f72fc679
+MISC ChangeLog 6440 RMD160 3d28729decc0194ac9aea7ade1ebd9641c2e6453 SHA1 fc1f50623179428545235b6631a04ddc4c7ef897 SHA256 cad5000b4b8f633edcd040cd9c24aacfe7e9649202b74f56dc643b56b195ea49
+MISC metadata.xml 862 RMD160 c350c291df4c6b432a8c4d3094d9bd9f23fcbf15 SHA1 e05bd963b1e7eee9889ce01bed367dfaba71bedd SHA256 77d97c43534f73b933fa724698acae16705bf86ad32d9faf47bf020f5d8277fb
diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
new file mode 100644
index 000000000..f56c555c6
--- /dev/null
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit cmake-utils alternatives-2 mercurial
+
+DESCRIPTION="C++ template library for linear algebra"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
+
+LICENSE="|| ( LGPL-3 GPL-2 )"
+KEYWORDS="~amd64 ~x86"
+SLOT="3"
+IUSE="adolc fortran fftw doc gmp sparse static-libs test"
+
+CDEPEND="adolc? ( sci-libs/adolc[sparse?] )
+ fftw? ( >=sci-libs/fftw-3 )
+ gmp? ( dev-libs/gmp dev-libs/mpfr )
+ sparse? ( dev-cpp/sparsehash
+ sci-libs/cholmod
+ sci-libs/superlu
+ sci-libs/umfpack )"
+
+DEPEND="doc? ( app-doc/doxygen )
+ test? ( ${CDEPEND} )"
+
+RDEPEND="!dev-cpp/eigen:0
+ ${CDEPEND}"
+
+src_configure() {
+ #TOFIX: static-libs for blas are always built with PIC
+ #TOFIX: BTL benchmarks
+ #TOFIX: is it worth fixing all the automagic given no library is built?
+ mycmakeargs=(
+ -DEIGEN_BUILD_BTL=OFF
+ )
+ CMAKE_BUILD_TYPE="release" cmake-utils_src_configure
+ use fortran && FORTRAN_LIBS="blas lapack" # lapack not ready yet
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ pushd "${S}_build" > /dev/null
+ use doc && emake doc
+ use fortran && emake ${FORTRAN_LIBS}
+ use test && emake buildtests
+ popd > /dev/null
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dohtml -r "${CMAKE_BUILD_DIR}"/html/*
+ local x
+ for x in ${FORTRAN_LIBS}; do
+ local libname="eigen_${x}"
+ cd "${CMAKE_BUILD_DIR}"/${x}
+ dolib.so lib${libname}.so
+ use static-libs && newlib.a lib${libname}_static.a lib${libname}.a
+ cat <<-EOF > ${libname}.pc
+ prefix=${EPREFIX}/usr
+ libdir=\${prefix}/$(get_libdir)
+ includedir=\${prefix}/include
+ Name: ${PN}
+ Description: ${DESCRIPTION}
+ Version: ${PV}
+ URL: ${HOMEPAGE}
+ Libs: -L\${libdir} -l${libname}
+ Libs.private: -lm
+ EOF
+ alternatives_for ${x} eigen 0 \
+ /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins ${libname}.pc
+ done
+}
diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
new file mode 100644
index 000000000..9437282ac
--- /dev/null
+++ b/dev-cpp/eigen/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<herd>kde</herd>
+<longdescription lang='en'>
+ Eigen is a lightweight C++ template library for vector and matrix math,
+ a.k.a. linear algebra. 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.
+</longdescription>
+<use>
+ <flag name='adolc'>Enable use for automatic differentiation using <pkg>sci-libs/adolc</pkg></flag>
+ <flag name='sparse'>Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg></flag>
+</use>
+</pkgmetadata>