summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-30 16:44:17 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-30 16:44:17 +0000
commitbc8ae86b4c31748e2ae1c85bbfd8f935bdea666a (patch)
tree1b02a72728ab6b857f0567ad91dbb0a3352dd38f /sci-libs
parentAdd new snapshot wrt bug #417747. (diff)
downloadhistorical-bc8ae86b4c31748e2ae1c85bbfd8f935bdea666a.tar.gz
historical-bc8ae86b4c31748e2ae1c85bbfd8f935bdea666a.tar.bz2
historical-bc8ae86b4c31748e2ae1c85bbfd8f935bdea666a.zip
Version bump
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/hdf5/ChangeLog8
-rw-r--r--sci-libs/hdf5/Manifest25
-rw-r--r--sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch55
-rw-r--r--sci-libs/hdf5/hdf5-1.8.9.ebuild94
4 files changed, 180 insertions, 2 deletions
diff --git a/sci-libs/hdf5/ChangeLog b/sci-libs/hdf5/ChangeLog
index c590cbbc8a88..3d55034285a4 100644
--- a/sci-libs/hdf5/ChangeLog
+++ b/sci-libs/hdf5/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/hdf5
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.84 2012/05/30 06:48:48 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/ChangeLog,v 1.85 2012/05/30 16:44:17 xarthisius Exp $
+
+*hdf5-1.8.9 (30 May 2012)
+
+ 30 May 2012; Kacper Kowalik <xarthisius@gentoo.org>
+ +files/hdf5-1.8.9-implicits.patch, +hdf5-1.8.9.ebuild:
+ Version bump
30 May 2012; Jeff Horelick <jdhore@gentoo.org> hdf5-1.8.8-r1.ebuild:
marked x86 per bug 417607
diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index 4f578c63021a..00c362e39287 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX hdf5-1.8.3-as-needed.patch 1821 RMD160 a20e65447625134132cb3e8e19917eb499a463e8 SHA1 b295f26b8d39fae21201449441a8ac3c0c699048 SHA256 6f03f955186e2e2870517580bd14a637e2cf0206e7547184948653e04c464bb3
AUX hdf5-1.8.3-includes.patch 398 RMD160 5112dd05bebbc702f24fa22aeebc67209a4e6611 SHA1 339137d04a803e25a0cafaa4f4d167a4cbc9a7ae SHA256 cd82d8b3817d83d59054a2a32ce44aca060157095875f6e91c560ab830b32561
AUX hdf5-1.8.3-noreturn.patch 3222 RMD160 39285ba18447b0f8db22a5f8e9d51a3cd8a8e91e SHA1 c5d8f7528fbe5c0bde0cb0ac5c1dd189559ac140 SHA256 d902cfbda0382b8998506ea765d0795937485c44d8824051275ad668bcbd6565
@@ -9,10 +12,30 @@ AUX hdf5-1.8.5-noreturn.patch 1477 RMD160 52c0e72b78b00effe3337f6016f716b425d29f
AUX hdf5-1.8.8-array_bounds.patch 624 RMD160 cdbda024424e3eb6a08fd6bc226a28a1da5b9c8e SHA1 0b818c8aa78b54a82e9089ed22b77cec1653d628 SHA256 849df1a9fed1d6225b0032507294fbd4eec13f7514e1175907f2c9c00aafb48c
AUX hdf5-1.8.8-buildsystem.patch 1410 RMD160 a88c63145bf088b018d4dcf327415938d467914e SHA1 f8a48e3602967ef15ceabab9ad499a8f6b3aa009 SHA256 a97a7a82197eb4f3c9d43836f24c2c2ae14962970a0b680e5305a977b8c611a5
AUX hdf5-1.8.8-implicits.patch 2005 RMD160 3eb7faffe476dec3f3cf49be0d285fef3c43fd2f SHA1 842fa0e605ba6ba5fa6c3134902c192c64584b13 SHA256 1fec9a12f20f28484a9047e39b4bb56694af394d9e591abf442046aed96d4b5c
+AUX hdf5-1.8.9-implicits.patch 1387 RMD160 fb0cbf622fd744242b80b9dc933f6d1aac60ec49 SHA1 c26ec25238bad7bf01dce485a4b3cf0def0083c3 SHA256 7d62dc53f2769aef1025fb128d4e2d11a5a172ca447747d81ffae0fa7a3d81e1
AUX mpd.conf 48 RMD160 289de9bb40759e3f71229cf47e4d2af83703a85f SHA1 244eee76dbf4ff269e4489d5cc7c3577c6c1fa6b SHA256 ae740cacaf2cb798921cb2092f5af98de67445e27af3f88858f3e6d2bbb127f4
DIST hdf5-1.8.4.tar.gz 7181176 RMD160 e448e2326b55aa89ff0bd7488cd4291d6c5485ee SHA1 37877e29c49a6af3e23aa9ad798ef12b8ba1c05c SHA256 a992fce9387a17f175b3b188dc2a42f545a3057aeb141beb3fc3361c7521f465
DIST hdf5-1.8.8.tar.bz2 5827394 RMD160 077580c9828747473836cc39f8cb3fd4e5e045d9 SHA1 1bc16883ecd631840b70857bea637a06eb0155da SHA256 b0ebb0b5478c6c0427631d4ad08f96e39f1b09fde615aa98d2a1b8fb7f6dced3
+DIST hdf5-1.8.9.tar.bz2 6006715 RMD160 4c1a4160fbac6befa15b2dc039f20858c31db37d SHA1 7d5e5e8caa5970c65e70a5b4ad6787efe0bf70bb SHA256 fafe54856b00f0d6531629f66e2c476ab6ee03458803088f270bbfc4a60966c7
EBUILD hdf5-1.8.4-r1.ebuild 3134 RMD160 6dfc52e18b8d0005560f6c543b9641daeb20a11e SHA1 9f01a942144e3a1cdf8d9eea9b3e3620cd180892 SHA256 89aa8ed18e2d68e4c55d8f24c0db221f6e3f13d056f4f14eb29016dffddcdda7
EBUILD hdf5-1.8.8-r1.ebuild 2845 RMD160 beb1ffa530ef3c372ac009d19290104775e1cdb0 SHA1 4b9671820a8c8efc6dd054dceb09842c72939b9c SHA256 910dfe988d2e90bceda89b20f7efe543f88b35eacddf0306c1eab6a0384311c6
-MISC ChangeLog 16597 RMD160 e2b70523246b26b288b0ff9d737703fed90b384a SHA1 a588c285f00bf5051485a569ce1d94edb7f55901 SHA256 0331926079123d412a7efcb42ac3e9a6055a49aba578b796f2aa21e78db44110
+EBUILD hdf5-1.8.9.ebuild 2864 RMD160 1e333562bd3573b65413f9471b87018e0a016fe0 SHA1 8bfdaa42a556ddde6eb6d77d65c4c6c95abf2cbf SHA256 fa40d5057849b5ee5f64bc608a1979ff7b0ed9f784f480b529429a33a3af60e7
+MISC ChangeLog 16755 RMD160 7c10b064c01c3239264ba9ac866bc57656104c5d SHA1 37fe3a040c939da13456792bc570e0580b23f811 SHA256 93889812dff8a694d95051e05279cac09090382f20867c56c38119d1afd27601
MISC metadata.xml 728 RMD160 3863f8962e54ddbd28c78256e03feedc571148a7 SHA1 f4ac101d9b30cca655a89a87185364dd4a24816b SHA256 1a503997c6e2248b43a36eccd2c09337a0e02b498926b4430b9d8df059e638ba
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJPxk5qAAoJEF0huFKJUZL5jkUP/1jNhs5fibYauQsOyi7/l33R
+YzuRCSogK8lt1aoecmyRWHdSYGWh1RUKcnP/tEhP9oahOiC9+aOxZoX6P40zqoqm
+EvWDWjuZA+VJ7Aw7xel6QIZF70aVUolvg0cIP114iz2qdtrBjI43vZmysgoCtBDu
+rSiaSJGYMANiHik4ZOKhA4PUH05fMT8UuH9BRYALZCj09sdn3WHXIDCUPzfFAqhU
+iMIoSuO6e3v+i2twOQRCwHURRkttmjBhk8Fr6JZNgwZtPTthwK/Y+Fedkr9I5GY8
+MM4C3GZXXxDZG023v9vx/Kv4hiPkxPzksLRu31NvI7mn+t03P7qeSU01dEenhPY3
+C/pk8EJYXkZsOMrkWNog7YWiR60Xxd7j+MpqHI26SdsjkAZ0UC5M/voGOc1aU3Ur
+DAHvYhQQ3zfVHjgo9xALuwp9/UP84Yo1y7TzWm2MDhxyi5ZQXyOPOVkhDqMJWk8O
+7w+wm0Na/Wn8CKjeJsJkx8dZ1ftT6tbDSGEuv9zWgkPyi/dMuF+AMrdenT+CIjyH
+oQ3QQ2BZjXGtz7aAmV/fKYHcXcVTuXKaonbwZdAbGulDMLbItYM9SkX/R95dBrEA
+gbOPma/bxJHKiiiw5sR/mPPxQPv+4gSK3dRy7rRgWpNVx1OdcIZXrjyFOexM/keU
+ayOdIOGjktzR3CZbu4xO
+=KHIX
+-----END PGP SIGNATURE-----
diff --git a/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch
new file mode 100644
index 000000000000..43e4f0774a29
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch
@@ -0,0 +1,55 @@
+--- b/configure.in
++++ a/configure.in
+@@ -1499,6 +1499,9 @@
+ dnl though we do not do this as it breaks the big test on older versions
+ dnl of linux (CentOS 4.6) using newer versions of gcc (4.6.2).
+ AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
++
++ dnl _GNU_SOURCE is needed for vasprintf
++ AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS"
+ ;;
+ esac
+
+--- a/test/cache_common.h
++++ b/test/cache_common.h
+@@ -702,5 +702,9 @@
+ hbool_t compare_init,
+ int test_num);
+
++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a,
++ const H5C_auto_size_ctl_t *b,
++ hbool_t compare_init);
++
+ #endif /* _CACHE_COMMON_H */
+
+--- a/tools/misc/talign.c
++++ b/tools/misc/talign.c
+@@ -23,6 +23,7 @@
+
+ #include "hdf5.h"
+ #include "H5private.h"
++#include "h5tools.h"
+
+ const char *fname = "talign.h5";
+ const char *setname = "align";
+--- a/tools/h5repack/testh5repack_detect_szip.c
++++ b/tools/h5repack/testh5repack_detect_szip.c
+@@ -17,6 +17,7 @@
+ #include "h5repack.h"
+ #include "h5tools.h"
+ #include "h5test.h"
++#include "h5tools_utils.h"
+
+
+ /* Name of tool */
+--- a/hl/src/H5LTanalyze.c
++++ b/hl/src/H5LTanalyze.c
+@@ -49,7 +49,8 @@
+ #define YY_FLEX_MINOR_VERSION 5
+
+ #include <stdio.h>
++#include "H5pubconf.h"
+ #ifdef H5_HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
+
diff --git a/sci-libs/hdf5/hdf5-1.8.9.ebuild b/sci-libs/hdf5/hdf5-1.8.9.ebuild
new file mode 100644
index 000000000000..97a496e6a4c3
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.8.9.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.9.ebuild,v 1.1 2012/05/30 16:44:17 xarthisius Exp $
+
+EAPI=4
+
+inherit autotools eutils fortran-2 toolchain-funcs
+
+DESCRIPTION="General purpose library and file format for storing scientific data"
+HOMEPAGE="http://www.hdfgroup.org/HDF5/"
+SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${P}/src/${P}.tar.bz2"
+
+LICENSE="NCSA-HDF"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib"
+REQUIRED_USE="cxx? ( !mpi ) mpi? ( !cxx )
+ threads? ( !cxx !mpi !fortran )
+ fortran2003? ( fortran )"
+
+RDEPEND="
+ fortran? ( virtual/fortran )
+ mpi? ( virtual/mpi[romio] )
+ szip? ( >=sci-libs/szip-2.1 )
+ zlib? ( sys-libs/zlib )"
+
+DEPEND="${RDEPEND}
+ sys-devel/libtool:2"
+
+pkg_setup() {
+ tc-export CXX CC FC # workaround for bug 285148
+ if use fortran; then
+ use fortran2003 && FORTRAN_STANDARD=2003
+ fortran-2_pkg_setup
+ fi
+ if use mpi; then
+ if has_version 'sci-libs/hdf5[-mpi]'; then
+ ewarn "Installing hdf5 with mpi enabled with a previous hdf5 with mpi disabled may fail."
+ ewarn "Try to uninstall the current hdf5 prior to enabling mpi support."
+ fi
+ export CC=mpicc
+ use fortran && export FC=mpif90
+ elif has_version 'sci-libs/hdf5[mpi]'; then
+ ewarn "Installing hdf5 with mpi disabled while having hdf5 installed with mpi enabled may fail."
+ ewarn "Try to uninstall the current hdf5 prior to disabling mpi support."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.8.8-buildsystem.patch \
+ "${FILESDIR}"/${PN}-1.8.8-array_bounds.patch \
+ "${FILESDIR}"/${P}-implicits.patch
+ # respect gentoo examples directory
+ sed \
+ -e "s:hdf5_examples:doc/${PF}/examples:g" \
+ -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || die
+ sed \
+ -e '/docdir/d' \
+ -i config/commence.am || die
+ if ! use examples; then
+ sed -e '/^install:/ s/install-examples//' \
+ -i Makefile.am || die #409091
+ fi
+ eautoreconf
+ # enable shared libs by default for h5cc config utility
+ sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in || die
+}
+
+src_configure() {
+ econf \
+ --disable-sharedlib-rpath \
+ --enable-production \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --enable-deprecated-symbols \
+ --enable-shared \
+ --disable-silent-rules \
+ $(use_enable static-libs static) \
+ $(use_enable debug debug all) \
+ $(use_enable debug codestack) \
+ $(use_enable cxx) \
+ $(use_enable fortran) \
+ $(use_enable fortran2003) \
+ $(use_enable mpi parallel) \
+ $(use_enable threads threadsafe) \
+ $(use_with szip szlib) \
+ $(use_with threads pthread) \
+ $(use_with zlib) \
+ ${myconf}
+}
+
+src_install() {
+ default
+ use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
+}