summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2009-10-23 03:48:29 +0000
committerMarkus Dittrich <markusle@gentoo.org>2009-10-23 03:48:29 +0000
commitc49703cbaa82f5b43d9a056523755fe6f6234880 (patch)
tree10c9d3344e6b4ada7e01315b829581c9e4c5fd8f
parentRemove old ebuilds. (diff)
downloadhistorical-c49703cbaa82f5b43d9a056523755fe6f6234880.tar.gz
historical-c49703cbaa82f5b43d9a056523755fe6f6234880.tar.bz2
historical-c49703cbaa82f5b43d9a056523755fe6f6234880.zip
Fixed as-needed issues and added dependencies on cholmod and friends (bug #278198).
Package-Manager: portage-2.1.7.1/cvs/Linux x86_64
-rw-r--r--sci-libs/spqr/ChangeLog7
-rw-r--r--sci-libs/spqr/Manifest16
-rw-r--r--sci-libs/spqr/files/spqr-1.1.0-autotools.patch145
-rw-r--r--sci-libs/spqr/spqr-1.1.0.ebuild5
4 files changed, 85 insertions, 88 deletions
diff --git a/sci-libs/spqr/ChangeLog b/sci-libs/spqr/ChangeLog
index 16f667b4e0b3..5d107a6dcf53 100644
--- a/sci-libs/spqr/ChangeLog
+++ b/sci-libs/spqr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/spqr
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/ChangeLog,v 1.1 2009/03/14 12:19:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/ChangeLog,v 1.2 2009/10/23 03:48:29 markusle Exp $
+
+ 23 Oct 2009; Markus Dittrich <markusle@gentoo.org> spqr-1.1.0.ebuild,
+ files/spqr-1.1.0-autotools.patch:
+ Fixed as-needed issues and added dependencies on cholmod and friends
+ (bug #278198). Thanks much to Kacper Kowalik for his patches.
*spqr-1.1.0 (14 Mar 2009)
diff --git a/sci-libs/spqr/Manifest b/sci-libs/spqr/Manifest
index 655ec3038c0c..0ad81bbb855e 100644
--- a/sci-libs/spqr/Manifest
+++ b/sci-libs/spqr/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX spqr-1.1.0-autotools.patch 6868 RMD160 6becfecbd31e539fa4e3ae80d6d4afad126ff224 SHA1 e0c744c4d8d850f32af68982791913f33e8b73ce SHA256 1ffe36e7095ef4ae79e28fa5e4f8114cc34007941b88389ea661fd011c9cebeb
+AUX spqr-1.1.0-autotools.patch 6935 RMD160 e6f092ab13ad15f1670a04b7ee6caa747e091648 SHA1 d98f8e26804cb97065a5135f691b82652ba6382f SHA256 0684a4f959af4710b8206acd989e20214e9b2b5460bd4e61804d544eb6c30b19
AUX spqr-1.1.0-gcc43.patch 452 RMD160 625049d879ac622f44624052a7deb2a69b340d23 SHA1 d2567224b1dfaf7181c88ecbffc4b55ee5588861 SHA256 05cecd9617d43f06cd474ed303e2a3f48b968987db314e66de2601ca82bfbacc
DIST SPQR-1.1.0.tar.gz 1164724 RMD160 a8338be7893b0321f0ecd664dee6031503acefea SHA1 06dc48108033cb60a3402855ad9824daa103b4b3 SHA256 c71777d5f4c83d0cb91f908f82992362cf489115203f5903710896461f850cdc
-EBUILD spqr-1.1.0.ebuild 1106 RMD160 34807e17d9c435a123d54f00e6436419499f87a8 SHA1 cd1c22eab689a51545f05b84335184e693f60970 SHA256 dabdb7d2e8da7d12a97b6c918016633182c6e9e1def1e4de8c2de90c7d226e2a
-MISC ChangeLog 406 RMD160 83dfa5d016bdd7a9ef7426b846b200b2036a8347 SHA1 d74d1861f3929ce8f0d60580339531f631dfb48d SHA256 24236a2675504158c84b3a3def35c2fecb61f12f711739bc8358b9376ff779b0
+EBUILD spqr-1.1.0.ebuild 1136 RMD160 4d7b654deabcae4c4af118846d59a05bb9651728 SHA1 70fea734462c5e1587f28871a54463565aee9e6c SHA256 8bee08e20d8f065c240e3c804371cd1dc8c628880d21be4b5ddf5a30adf1c565
+MISC ChangeLog 650 RMD160 514e16c0663bdb4654a2aa1dcd5a82d147f0986a SHA1 39999a58973e667f62dd7701a320be2deaddd23f SHA256 97086c7a5b303b4eb9086d37ea68bbd115468d225b55548b7b9688554b17203d
MISC metadata.xml 772 RMD160 951e96087919abb533336e45e0090d581282b5b4 SHA1 36c67de7fb8ea368069fb5330a6b46ea1900760e SHA256 f64bb3581dc2653045493b3c2f46a99ab4f3fab301572a430ca95db2e0e69422
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.10 (GNU/Linux)
-
-iEYEARECAAYFAkm7oNUACgkQ1ycZbhPLE2DRJACggriGg0wH70wgAicXb0uSkI7e
-64kAnRCdq6QPJOE2PFg2D4gc4qravlPD
-=K6KZ
------END PGP SIGNATURE-----
diff --git a/sci-libs/spqr/files/spqr-1.1.0-autotools.patch b/sci-libs/spqr/files/spqr-1.1.0-autotools.patch
index 599fa64a36a4..02e7f89f7395 100644
--- a/sci-libs/spqr/files/spqr-1.1.0-autotools.patch
+++ b/sci-libs/spqr/files/spqr-1.1.0-autotools.patch
@@ -1,64 +1,6 @@
-diff -Nur SPQR.orig/configure.ac SPQR/configure.ac
---- SPQR.orig/configure.ac 1970-01-01 01:00:00.000000000 +0100
-+++ SPQR/configure.ac 2009-03-14 11:20:10.319915444 +0000
-@@ -0,0 +1,54 @@
-+AC_PREREQ(2.59)
-+AC_INIT(spqr, 1.1.0, davis@cise.ufl.edu)
-+AM_INIT_AUTOMAKE([foreign])
-+AC_CONFIG_SRCDIR([Source/spqr_kernel.cpp])
-+AM_INIT_AUTOMAKE([foreign])
-+
-+AC_PROG_LIBTOOL
-+AC_PROG_CXX
-+AC_LANG(C++)
-+
-+AC_CHECK_LIB(m, sqrt)
-+AC_CHECK_HEADERS(UFconfig.h)
-+AC_CHECK_HEADERS(cholmod.h)
-+AC_CHECK_LIB(cholmod, cholmod_solve, [], \
-+ [AC_MSG_ERROR([Cannot find libcholmod])])
-+
-+AC_ARG_WITH(metis,
-+ [AC_HELP_STRING([--with-metis],
-+ [Use METIS for partitioning])],
-+ [with_metis=$withval],
-+ [with_metis="yes"])
-+if test x$with_metis = xyes; then
-+ PKG_PROG_PKG_CONFIG
-+ if test -n "$PKG_CONFIG"; then
-+ PKG_CHECK_MODULES([metis], [metis])
-+ else
-+ AC_CHECK_HEADERS(metis.h)
-+ AC_CHECK_LIB(metis, METIS_NodeND, [METIS_LIBS=-lmetis], \
-+ [AC_MSG_ERROR([Cannot find libmetis])])
-+ fi
-+ AC_DEFINE(NPARTITION)
-+fi
-+AM_CONDITIONAL([METIS], [test x$with_metis = xyes])
-+
-+AC_ARG_WITH(tbb,
-+ [AC_HELP_STRING([--with-tbb],
-+ [Use Intel Threading Building Block for multithreading])],
-+ [with_tbb=$withval],
-+ [with_tbb="yes"])
-+if test x$with_tbb = xyes; then
-+ AC_CHECK_HEADERS(tbb/task.h)
-+ TBB_CFLAGS=""
-+ TBB_LIBS="-ltbb"
-+ AC_SUBST(TBB_CFLAGS)
-+ AC_SUBST(TBB_LIBS)
-+ AC_DEFINE(HAVE_TBB)
-+fi
-+AM_CONDITIONAL([WITH_TBB], [test x$with_tbb = xyes])
-+
-+AC_CONFIG_FILES([Makefile
-+ Source/Makefile
-+ Include/Makefile
-+ Demo/Makefile])
-+AC_OUTPUT
-diff -Nur SPQR.orig/Demo/Makefile.am SPQR/Demo/Makefile.am
---- SPQR.orig/Demo/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ SPQR/Demo/Makefile.am 2009-03-14 11:03:44.580364074 +0000
+diff -Naur SPQR.orig/Demo/Makefile.am SPQR/Demo/Makefile.am
+--- SPQR.orig/Demo/Makefile.am 1969-12-31 19:00:00.000000000 -0500
++++ SPQR/Demo/Makefile.am 2009-10-22 23:42:08.000000000 -0400
@@ -0,0 +1,78 @@
+AM_CPPFLAGS = -I$(top_srcdir)/Include
+
@@ -138,24 +80,24 @@ diff -Nur SPQR.orig/Demo/Makefile.am SPQR/Demo/Makefile.am
+ ./qrdemoc < ../Matrix/GD98_a.mtx || exit 1
+ ./qrdemoc < ../Matrix/Ragusa16.mtx || exit 1
+ ./qrdemoc < ../Matrix/young1c.mtx || exit 1
-diff -Nur SPQR.orig/Include/Makefile.am SPQR/Include/Makefile.am
---- SPQR.orig/Include/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ SPQR/Include/Makefile.am 2009-03-14 10:56:08.933594972 +0000
+diff -Naur SPQR.orig/Include/Makefile.am SPQR/Include/Makefile.am
+--- SPQR.orig/Include/Makefile.am 1969-12-31 19:00:00.000000000 -0500
++++ SPQR/Include/Makefile.am 2009-10-22 23:42:08.000000000 -0400
@@ -0,0 +1,5 @@
+include_HEADERS = \
+ spqr.hpp \
+ SuiteSparseQR_C.h \
+ SuiteSparseQR_definitions.h \
+ SuiteSparseQR.hpp
-diff -Nur SPQR.orig/Makefile.am SPQR/Makefile.am
---- SPQR.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ SPQR/Makefile.am 2009-03-14 10:27:25.415020632 +0000
+diff -Naur SPQR.orig/Makefile.am SPQR/Makefile.am
+--- SPQR.orig/Makefile.am 1969-12-31 19:00:00.000000000 -0500
++++ SPQR/Makefile.am 2009-10-22 23:42:08.000000000 -0400
@@ -0,0 +1,2 @@
+SUBDIRS = Include Source Demo
+EXTRA_DIST = README.txt
-diff -Nur SPQR.orig/Source/Makefile.am SPQR/Source/Makefile.am
---- SPQR.orig/Source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ SPQR/Source/Makefile.am 2009-03-14 10:10:07.617029851 +0000
+diff -Naur SPQR.orig/Source/Makefile.am SPQR/Source/Makefile.am
+--- SPQR.orig/Source/Makefile.am 1969-12-31 19:00:00.000000000 -0500
++++ SPQR/Source/Makefile.am 2009-10-22 23:43:03.000000000 -0400
@@ -0,0 +1,48 @@
+AM_CPPFLAGS=-I$(top_srcdir)/Include
+
@@ -203,5 +145,64 @@ diff -Nur SPQR.orig/Source/Makefile.am SPQR/Source/Makefile.am
+ spqr_type.cpp \
+ spqr_tol.cpp
+
-+libspqr_la_CPPFLAGS = $(AM_CPPFLAGS) $(METIS_CFLAGS) $(TBB_CFLAGS)
-+libspqr_la_LIBADD = $(METIS_LIBS) $(TBB_LIBS)
++libspqr_la_CPPFLAGS = $(AM_CPPFLAGS) $(METIS_CFLAGS) $(TBB_CFLAGS) $(LAPACK_CFLAGS)
++libspqr_la_LIBADD = $(METIS_LIBS) $(TBB_LIBS) $(LAPACK_LIBS)
+diff -Naur SPQR.orig/configure.ac SPQR/configure.ac
+--- SPQR.orig/configure.ac 1969-12-31 19:00:00.000000000 -0500
++++ SPQR/configure.ac 2009-10-22 23:42:32.000000000 -0400
+@@ -0,0 +1,55 @@
++AC_PREREQ(2.59)
++AC_INIT(spqr, 1.1.0, davis@cise.ufl.edu)
++AM_INIT_AUTOMAKE([foreign])
++AC_CONFIG_SRCDIR([Source/spqr_kernel.cpp])
++AM_INIT_AUTOMAKE([foreign])
++
++AC_PROG_LIBTOOL
++AC_PROG_CXX
++AC_LANG(C++)
++
++AC_CHECK_LIB(m, sqrt)
++AC_CHECK_LIB(lapack,zlarft_)
++AC_CHECK_HEADERS(UFconfig.h)
++AC_CHECK_HEADERS(cholmod.h)
++AC_CHECK_LIB(cholmod, cholmod_solve, [], \
++ [AC_MSG_ERROR([Cannot find libcholmod])])
++
++AC_ARG_WITH(metis,
++ [AC_HELP_STRING([--with-metis],
++ [Use METIS for partitioning])],
++ [with_metis=$withval],
++ [with_metis="yes"])
++if test x$with_metis = xyes; then
++ PKG_PROG_PKG_CONFIG
++ if test -n "$PKG_CONFIG"; then
++ PKG_CHECK_MODULES([metis], [metis])
++ else
++ AC_CHECK_HEADERS(metis.h)
++ AC_CHECK_LIB(metis, METIS_NodeND, [METIS_LIBS=-lmetis], \
++ [AC_MSG_ERROR([Cannot find libmetis])])
++ fi
++ AC_DEFINE(NPARTITION)
++fi
++AM_CONDITIONAL([METIS], [test x$with_metis = xyes])
++
++AC_ARG_WITH(tbb,
++ [AC_HELP_STRING([--with-tbb],
++ [Use Intel Threading Building Block for multithreading])],
++ [with_tbb=$withval],
++ [with_tbb="yes"])
++if test x$with_tbb = xyes; then
++ AC_CHECK_HEADERS(tbb/task.h)
++ TBB_CFLAGS=""
++ TBB_LIBS="-ltbb"
++ AC_SUBST(TBB_CFLAGS)
++ AC_SUBST(TBB_LIBS)
++ AC_DEFINE(HAVE_TBB)
++fi
++AM_CONDITIONAL([WITH_TBB], [test x$with_tbb = xyes])
++
++AC_CONFIG_FILES([Makefile
++ Source/Makefile
++ Include/Makefile
++ Demo/Makefile])
++AC_OUTPUT
diff --git a/sci-libs/spqr/spqr-1.1.0.ebuild b/sci-libs/spqr/spqr-1.1.0.ebuild
index ce9d12acc037..e34745952ee1 100644
--- a/sci-libs/spqr/spqr-1.1.0.ebuild
+++ b/sci-libs/spqr/spqr-1.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/spqr-1.1.0.ebuild,v 1.1 2009/03/14 12:19:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/spqr/spqr-1.1.0.ebuild,v 1.2 2009/10/23 03:48:29 markusle Exp $
EAPI=2
inherit eutils autotools
@@ -14,7 +14,8 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc metis tbb"
-RDEPEND="tbb? ( dev-cpp/tbb )
+RDEPEND="sci-libs/cholmod[supernodal]
+ tbb? ( dev-cpp/tbb )
metis? ( >=sci-libs/cholmod-1.7.0-r1[metis] )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"