diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-24 09:48:10 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-03-24 09:48:10 +0000 |
commit | 8da05380404178dab81b86069bf737461cc81d7a (patch) | |
tree | 752ecef9f0f7ab94e49814d294c3f3a3b691eee9 /sci-mathematics/freemat | |
parent | version bump (diff) | |
download | historical-8da05380404178dab81b86069bf737461cc81d7a.tar.gz historical-8da05380404178dab81b86069bf737461cc81d7a.tar.bz2 historical-8da05380404178dab81b86069bf737461cc81d7a.zip |
Version bump. Added patch to allow more robust optional dependencies, fixed blas/lapack hangling
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-mathematics/freemat')
-rw-r--r-- | sci-mathematics/freemat/ChangeLog | 9 | ||||
-rw-r--r-- | sci-mathematics/freemat/Manifest | 17 | ||||
-rw-r--r-- | sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch | 91 | ||||
-rw-r--r-- | sci-mathematics/freemat/freemat-3.6.ebuild | 67 | ||||
-rw-r--r-- | sci-mathematics/freemat/metadata.xml | 12 |
5 files changed, 187 insertions, 9 deletions
diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog index a0dd74a42322..b2741353b77d 100644 --- a/sci-mathematics/freemat/ChangeLog +++ b/sci-mathematics/freemat/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-mathematics/freemat # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.8 2008/01/13 14:52:50 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.9 2008/03/24 09:48:10 bicatali Exp $ + +*freemat-3.6 (24 Mar 2008) + + 24 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/freemat-3.6-optional-deps.patch, metadata.xml, +freemat-3.6.ebuild: + Version bump. Added patch to allow more robust optional dependencies, + fixed blas/lapack hangling 13 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> -freemat-3.4.ebuild, freemat-3.5.ebuild: diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest index 079b865f7ca4..e654bb6b5472 100644 --- a/sci-mathematics/freemat/Manifest +++ b/sci-mathematics/freemat/Manifest @@ -1,4 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX freemat-3.6-optional-deps.patch 2768 RMD160 53da537a8bb00e64ff887884217a7a46ccb28c05 SHA1 6b83d60570277a610f22a0e143e8afd88c44abdb SHA256 ff30ab1a5897234e91251b31bc3ef5e8acc97f8adb5b9443aebddecd83d5259c DIST FreeMat-3.5.tar.gz 5616432 RMD160 bf1fe57208d8ec8de283c6bbf20ceb454d182b57 SHA1 73db83936c973c0819ddbcd8bf56f774ae367b68 SHA256 cd19e6734ca091cd6f32f945c3a249be377c1874a0347870c879c807ceb46e3a +DIST FreeMat-3.6.tar.gz 7843736 RMD160 5af31332f42aafe952c6495b16ceee5ce4ab5d1c SHA1 2ffaac015f870409ceb07eae035efb94ab1d95cb SHA256 2cbc8b4435add159df11b734fd2736029b80f6c9712e53e5aa156eac1aac5951 EBUILD freemat-3.5.ebuild 1423 RMD160 546a3b3042d04a0f2d130dfb7d0d6a6eed837ee1 SHA1 431d35ddb48f627f8df46e9e24f157c45ceebdec SHA256 17b65de3ff2256dad99c9f9a8d5e0f80df719360a52fe7bd4d7f365abaabf6c2 -MISC ChangeLog 1641 RMD160 d17fdf5c69f57777a1b9a57777032583bfc6ba72 SHA1 92499d999acf80e3d29283e7856945a45c7c3d5c SHA256 a7479c917d9d7d143bcb8cd8504a477952552a32b63af68855931156dd5a8164 -MISC metadata.xml 633 RMD160 85beda9c9c5e814b2496e58d130395eea57c95c6 SHA1 056f84c52f0127037301cd1c9eeb2e6cb4f78e0b SHA256 849579f8debbef517f3b1c8f8de502d08c062d8011ef99231459d8cf2388bcb4 +EBUILD freemat-3.6.ebuild 1704 RMD160 2e62d7cf94b5c3276bd19f42d2153a5d68c4d440 SHA1 175c3131e9501a88595cc836a9f6204f538115b3 SHA256 810be0ab9aac5d92791ad2ba4526f45211f7e28f3bf2f15e85fd7fa563d2fc39 +MISC ChangeLog 1903 RMD160 0bf979a8af69b218f878479188b163b5eec2c878 SHA1 f115e012b637ad09ec76a8d392a0335537f9fe88 SHA256 d3eb671357d85c3094e00ef8b60789b72b790ecfb994ff15306051a8fd4a8fa2 +MISC metadata.xml 572 RMD160 fde97cbd53281ed1aab6c786a6916388228ba8e2 SHA1 1888afa817b7a89c0785069368037187a6a555a9 SHA256 2791aebc3f4f7fc9266b5b0d5c52bd45cdb50c779e44d6eb4d9b01b4358e0ef2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFH53jj1ycZbhPLE2ARAv33AJ4u8LWn51hFgxUphjkvcr654BCm4wCgneYT +LG2J9HBDXDgtKy9lSrp3hDY= +=uj37 +-----END PGP SIGNATURE----- diff --git a/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch b/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch new file mode 100644 index 000000000000..b7b0020a46b3 --- /dev/null +++ b/sci-mathematics/freemat/files/freemat-3.6-optional-deps.patch @@ -0,0 +1,91 @@ +--- acinclude.m4.orig 2008-03-24 00:40:28.000000000 +0000 ++++ acinclude.m4 2008-03-24 01:40:37.000000000 +0000 +@@ -304,6 +304,11 @@ + need_extern="no" + LIBS="$LIBS $FLIBS" + ++AC_ARG_ENABLE(portaudio, ++ [--enable-portaudio], ++ [enable_portaudio=$enableval]) ++if test x"$enable_portaudio" = x"yes"; then ++ + AC_CHECK_LIB(portaudio,Pa_GetDefaultInputDevice,found_portaudio19="yes",found_portaudio19="no") + AC_CHECK_HEADER(portaudio.h,[],found_portaudio19="no") + +@@ -330,6 +335,7 @@ + else + found_portaudio="no"; + fi ++fi + + AC_CHECK_LIB(pcre,pcre_compile,found_pcre="yes",found_pcre="no") + AC_CHECK_HEADER(pcre.h,[],found_pcre="no") +@@ -339,6 +345,11 @@ + AC_DEFINE(HAVE_PCRE, 1, [Set to 1 if you have libpcre]) + fi + ++ ++AC_ARG_ENABLE(ffcall, ++ [--enable-ffcall], ++ [enable_ffcall=$enableval]) ++if test x"$enable_ffcall" = x"yes"; then + AC_CHECK_LIB(avcall,__structcpy,found_avcall="yes",found_avcall="no") + AC_CHECK_HEADER(avcall.h,[],found_avcall="no") + +@@ -346,7 +357,7 @@ + LIBS="-lavcall $LIBS" + AC_DEFINE(HAVE_AVCALL, 1, [Set to 1 if you have libavcall]) + fi +- ++fi + if test x"$is_osx" == xyes; then + LIBS="$LIBS -framework vecLib" + found_blas="yes" +@@ -362,6 +373,10 @@ + fi + fi + ++AC_ARG_ENABLE(umfpack, ++ [--enable-umfpack], ++ [enable_umfpack=$enableval]) ++if test x"$enable_umfpack" = x"yes"; then + AC_CHECK_LIB(amd,amd_postorder,found_amd="yes",found_amd="no") + AC_CHECK_HEADER(amd.h,found_amdh="yes",found_amdh="no") + if test x"$found_amdh" == xno; then +@@ -405,10 +420,15 @@ + if (test x"$found_amdh" == xyes) && (test x"$found_amd" == xyes) && (test x"$found_umfpackh" == xyes) && (test x"$found_umfpack" == xyes); then + AC_DEFINE(HAVE_UMFPACK, 1, [Set to 1 if you have UMFPACK]) + fi ++fi + + dnl PKG_CHECK_MODULES(fftw3, fftw3 >= 3.1.0, found_fftw3="yes", found_fftw3="no") + dnl PKG_CHECK_MODULES(fftw3f, fftw3f >= 3.1.0, found_fftw3f="yes", found_fftw3f="no") + ++AC_ARG_ENABLE(fftw, ++ [--enable-fftw], ++ [enable_fftw=$enableval]) ++if test x"$enable_fftw" = x"yes"; then + AC_CHECK_LIB(fftw3f,fftwf_malloc,found_fftw3f="yes",found_fftw3f="no") + AC_CHECK_LIB(fftw3,fftw_malloc,found_fftw3="yes",found_fftw3="no") + AC_CHECK_HEADER(fftw3.h,[],[found_fftw3="no";found_fftw3f="no"]) +@@ -422,6 +442,12 @@ + LIBS="-lfftw3 $LIBS" + AC_DEFINE(HAVE_FFTW, 1, [Set to 1 if you have the double precision version of FFTW installed]) + fi ++fi ++ ++AC_ARG_ENABLE(arpack, ++ [--enable-arpack], ++ [enable_arpack=$enableval]) ++if test x"$enable_arpack" = x"yes"; then + + AC_F77_FUNC(znaupd) + if test x"$znaupd" == x"unknown"; then +@@ -441,6 +467,7 @@ + AC_DEFINE(HAVE_ARPACK, 1, [Set to 1 if you have ARPACK installed]) + fi + fi ++fi + + AC_CHECK_LIB(z,inflate,found_z="yes",found_z="no") + if test x"$found_z" == xyes; then diff --git a/sci-mathematics/freemat/freemat-3.6.ebuild b/sci-mathematics/freemat/freemat-3.6.ebuild new file mode 100644 index 000000000000..44c8178328b1 --- /dev/null +++ b/sci-mathematics/freemat/freemat-3.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-3.6.ebuild,v 1.1 2008/03/24 09:48:10 bicatali Exp $ + +inherit eutils qt4 autotools + +MY_PN=FreeMat +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Environment for rapid engineering and scientific processing" +HOMEPAGE="http://freemat.sourceforge.net/" +SRC_URI="mirror://sourceforge/freemat/${MY_P}.tar.gz" + +IUSE="arpack ffcall fftw ncurses portaudio umfpack" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="$(qt4_min_version 4.2) + dev-libs/libpcre + virtual/lapack + ncurses? ( >=sys-libs/ncurses-5.4 ) + umfpack? ( sci-libs/umfpack ) + arpack? ( sci-libs/arpack ) + fftw? ( >=sci-libs/fftw-3 ) + portaudio? ( media-libs/portaudio ) + ffcall? ( dev-libs/ffcall )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +QT4_BUILT_WITH_USE_CHECK="opengl" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + # allow enable/disable for configure + epatch "${FILESDIR}"/${P}-optional-deps.patch + eautoreconf +} + +src_compile() { + econf \ + --with-blas="$(pkg-config --libs blas)" \ + --with-lapack="$(pkg-config --libs lapack)" \ + $(use_with ncurses) \ + $(use_enable umfpack) \ + $(use_enable arpack) \ + $(use_enable fftw) \ + $(use_enable portaudio) \ + $(use_enable ffcall) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog || die "dodoc failed" + newicon images/freemat_small_mod_64.png ${PN}.png + make_desktop_entry FreeMat FreeMat +} + +pkg_postint() { + einfo "Initializing freemat data directory" + FreeMat -i "${ROOT}"/usr/share/${MY_P} +} diff --git a/sci-mathematics/freemat/metadata.xml b/sci-mathematics/freemat/metadata.xml index 3360526e46db..699def2f9bae 100644 --- a/sci-mathematics/freemat/metadata.xml +++ b/sci-mathematics/freemat/metadata.xml @@ -3,11 +3,11 @@ <pkgmetadata> <herd>sci-mathematics</herd> <longdescription lang="en"> -FreeMat is a free environment for rapid engineering and scientific prototyping -and data processing. It is similar to commercial systems such as MATLAB from Mathworks, -and IDL from Research Systems, but is Open Source. FreeMat includes several -novel features such as a codeless interface to external C/C++/FORTRAN code, -parallel/distributed algorithm development (via MPI), and plotting -and visualization capabilities. + FreeMat is an open sources environment for rapid engineering and + scientific prototyping and data processing. It is similar to + commercial systems such as MATLAB from Mathworks. FreeMat includes a + codeless interface to external C/C++/FORTRAN code, + parallel/distributed algorithm development (via MPI), and plotting + and visualization capabilities. </longdescription> </pkgmetadata> |