* [gentoo-commits] proj/sci:master commit in: sci-libs/hdf5/files/, sci-libs/hdf5/
@ 2011-11-17 13:47 Kacper Kowalik
0 siblings, 0 replies; 3+ messages in thread
From: Kacper Kowalik @ 2011-11-17 13:47 UTC (permalink / raw
To: gentoo-commits
commit: 4b593053b1e496b4a4b29235285db701ac8bdead
Author: Kacper Kowalik (Xarthisius) <xarthisius.kk <AT> gmail <DOT> com>
AuthorDate: Thu Nov 17 13:47:02 2011 +0000
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 13:47:02 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4b593053
[sci-libs/hdf5] drop old
---
sci-libs/hdf5/ChangeLog | 16 ---
sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch | 41 --------
sci-libs/hdf5/files/hdf5-1.8.3-includes.patch | 11 --
sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch | 92 -----------------
sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch | 65 ------------
sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch | 18 ----
sci-libs/hdf5/hdf5-1.8.4-r2.ebuild | 117 ----------------------
sci-libs/hdf5/metadata.xml | 11 --
8 files changed, 0 insertions(+), 371 deletions(-)
diff --git a/sci-libs/hdf5/ChangeLog b/sci-libs/hdf5/ChangeLog
deleted file mode 100644
index 0c0ffd4..0000000
--- a/sci-libs/hdf5/ChangeLog
+++ /dev/null
@@ -1,16 +0,0 @@
-# ChangeLog for sci-libs/hdf5
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 24 Jun 2011; Justin Lecher <jlec@gentoo.org> hdf5-1.8.4-r2.ebuild:
- Streamlined fortran-2 eclass usage
-
- 21 Jun 2011; Justin Lecher <jlec@gentoo.org> hdf5-1.8.4-r2.ebuild:
- Added fortran-2.eclass support
-
-*hdf5-1.8.4-r2 (19 Jan 2010)
-
- 19 Jan 2010; Justin Bronder <jsbronder@gentoo.org> -hdf5-1.8.4-r1.ebuild,
- +hdf5-1.8.4-r2.ebuild:
- revbump to avoid conflicts with portage tree.
-
diff --git a/sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch b/sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch
deleted file mode 100644
index 677264b..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.3-as-needed.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- hdf5-1.8.3.orig/fortran/src/Makefile.am 2009-04-15 19:10:01.053733251 +0100
-+++ hdf5-1.8.3/fortran/src/Makefile.am 2009-04-15 19:12:49.874557795 +0100
-@@ -66,6 +66,8 @@
- H5If.c H5Lf.c H5Of.c H5Pf.c H5Rf.c H5Sf.c H5Tf.c H5Zf.c \
- $(PARALLEL_COND_SRC)
-
-+libhdf5_fortran_la_LIBADD = $(top_builddir)/src/libhdf5.la
-+
- # h5fc is generated during configure.
- # Remove it only when distclean.
- DISTCLEANFILES=h5fc
---- hdf5-1.8.3.orig/hl/fortran/src/Makefile.am 2009-04-15 19:10:01.245748616 +0100
-+++ hdf5-1.8.3/hl/fortran/src/Makefile.am 2009-04-15 19:30:56.042226227 +0100
-@@ -43,6 +43,7 @@
-
- libhdf5hl_fortran_la_SOURCES=H5LTfc.c H5IMfc.c H5IMcc.c H5TBfc.c H5LTff.f90 \
- H5IMff.f90 H5TBff.f90
-+libhdf5hl_fortran_la_LIBADD=$(top_builddir)/hl/src/libhdf5_hl.la
-
- # Fortran module files can have different extensions and different names
- # (e.g., different capitalizations) on different platforms. Write rules
---- hdf5-1.8.3.orig/hl/c++/src/Makefile.am 2009-04-15 19:10:01.249750013 +0100
-+++ hdf5-1.8.3/hl/c++/src/Makefile.am 2009-04-15 20:16:08.812068687 +0100
-@@ -35,6 +35,7 @@
- # Source files for the library
- # At the moment, only the H5PT Packet Table has a C++ API.
- libhdf5_hl_cpp_la_SOURCES=H5PacketTable.cpp
-+libhdf5_hl_cpp_la_LIBADD=$(top_builddir)/hl/src/libhdf5_hl.la
-
- # Public headers
- include_HEADERS=H5PacketTable.h
---- hdf5-1.8.3.orig/hl/src/Makefile.am 2009-05-13 17:03:11.000000000 +0200
-+++ hdf5-1.8.3/hl/src/Makefile.am 2009-09-10 19:22:57.489698969 +0200
-@@ -31,6 +31,7 @@
- libhdf5_hl_la_LDFLAGS= -version-info $(LT_VERS_INTERFACE):$(LT_VERS_REVISION):$(LT_VERS_AGE)
-
- libhdf5_hl_la_SOURCES=H5DS.c H5IM.c H5LT.c H5LTanalyze.c H5LTparse.c H5PT.c H5TB.c
-+libhdf5_hl_la_LIBADD=$(top_builddir)/src/libhdf5.la
-
- # Public header files (to be installed)
- include_HEADERS=hdf5_hl.h H5IMpublic.h H5LTpublic.h H5TBpublic.h H5DSpublic.h H5PTpublic.h
diff --git a/sci-libs/hdf5/files/hdf5-1.8.3-includes.patch b/sci-libs/hdf5/files/hdf5-1.8.3-includes.patch
deleted file mode 100644
index 5e87f6c..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.3-includes.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- hdf5-1.8.3.orig/src/H5E.c 2009-04-15 19:10:01.081735486 +0100
-+++ hdf5-1.8.3/src/H5E.c 2009-04-15 20:02:06.708712912 +0100
-@@ -54,6 +54,8 @@
- /***********/
- /* Headers */
- /***********/
-+#define _GNU_SOURCE
-+#include <stdio.h>
- #include "H5private.h" /* Generic Functions */
- #include "H5Iprivate.h" /* IDs */
- #include "H5Epkg.h" /* Error handling */
diff --git a/sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch b/sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch
deleted file mode 100644
index 27b6f9b..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.3-noreturn.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-diff -Nur hdf5-1.8.3.orig/c++/src/H5AbstractDs.cpp hdf5-1.8.3/c++/src/H5AbstractDs.cpp
---- hdf5-1.8.3.orig/c++/src/H5AbstractDs.cpp 2009-04-15 19:10:01.061734089 +0100
-+++ hdf5-1.8.3/c++/src/H5AbstractDs.cpp 2009-04-16 10:10:56.263885963 +0100
-@@ -85,6 +85,8 @@
- else if (fromClass() == "Attribute")
- throw DataTypeIException("Attribute::getTypeClass", "H5Tget_class returns H5T_NO_CLASS");
- }
-+
-+ return (type_class);
- }
-
- //--------------------------------------------------------------------------
-diff -Nur hdf5-1.8.3.orig/hl/src/H5LTanalyze.c hdf5-1.8.3/hl/src/H5LTanalyze.c
---- hdf5-1.8.3.orig/hl/src/H5LTanalyze.c 2009-04-15 19:10:01.221747499 +0100
-+++ hdf5-1.8.3/hl/src/H5LTanalyze.c 2009-04-16 10:10:56.267887639 +0100
-@@ -2329,7 +2329,7 @@
- return ret;
- }
-
--int H5LTyyerror(char *msg)
-+void H5LTyyerror(char *msg)
- {
- printf("ERROR: %s before \"%s\".\n", msg, yytext);
- }
-diff -Nur hdf5-1.8.3.orig/hl/src/H5LTanalyze.l hdf5-1.8.3/hl/src/H5LTanalyze.l
---- hdf5-1.8.3.orig/hl/src/H5LTanalyze.l 2009-04-15 19:10:01.221747499 +0100
-+++ hdf5-1.8.3/hl/src/H5LTanalyze.l 2009-04-16 10:10:56.267887639 +0100
-@@ -181,7 +181,7 @@
- return ret;
- }
-
--int H5LTyyerror(char *msg)
-+void H5LTyyerror(char *msg)
- {
- printf("ERROR: %s before \"%s\".\n", msg, yytext);
- }
-diff -Nur hdf5-1.8.3.orig/hl/src/H5LTparse.c hdf5-1.8.3/hl/src/H5LTparse.c
---- hdf5-1.8.3.orig/hl/src/H5LTparse.c 2009-04-15 19:10:01.221747499 +0100
-+++ hdf5-1.8.3/hl/src/H5LTparse.c 2009-04-16 10:10:56.267887639 +0100
-@@ -64,7 +64,7 @@
- #include<hdf5.h>
-
- extern int yylex();
--extern int yyerror(char *);
-+extern void yyerror(char *);
-
- #define STACK_SIZE 16
-
-diff -Nur hdf5-1.8.3.orig/test/dt_arith.c hdf5-1.8.3/test/dt_arith.c
---- hdf5-1.8.3.orig/test/dt_arith.c 2009-04-15 19:10:01.121739118 +0100
-+++ hdf5-1.8.3/test/dt_arith.c 2009-04-16 10:10:56.271887918 +0100
-@@ -3408,6 +3408,7 @@
- else if(run_test==TEST_DENORM || run_test==TEST_SPECIAL)
- return 1;
- #endif
-+ return 1;
- }
-
- \f
-diff -Nur hdf5-1.8.3.orig/tools/h5dump/h5dump.c hdf5-1.8.3/tools/h5dump/h5dump.c
---- hdf5-1.8.3.orig/tools/h5dump/h5dump.c 2009-04-15 19:10:01.141740794 +0100
-+++ hdf5-1.8.3/tools/h5dump/h5dump.c 2009-04-16 10:10:56.275888757 +0100
-@@ -602,6 +602,7 @@
- *
- *-------------------------------------------------------------------------
- */
-+static void leave(int ret) __attribute__ ((__noreturn__));
- static void
- leave(int ret)
- {
-diff -Nur hdf5-1.8.3.orig/tools/h5ls/h5ls.c hdf5-1.8.3/tools/h5ls/h5ls.c
---- hdf5-1.8.3.orig/tools/h5ls/h5ls.c 2009-04-15 19:10:01.165741353 +0100
-+++ hdf5-1.8.3/tools/h5ls/h5ls.c 2009-04-16 10:10:56.279888477 +0100
-@@ -2147,6 +2147,7 @@
- *
- *-------------------------------------------------------------------------
- */
-+static void leave(int ret) __attribute__ ((__noreturn__));
- static void
- leave(int ret)
- {
-diff -Nur hdf5-1.8.3.orig/tools/h5stat/h5stat.c hdf5-1.8.3/tools/h5stat/h5stat.c
---- hdf5-1.8.3.orig/tools/h5stat/h5stat.c 2009-04-15 19:10:01.181742750 +0100
-+++ hdf5-1.8.3/tools/h5stat/h5stat.c 2009-04-16 10:10:56.279888477 +0100
-@@ -181,6 +181,7 @@
- { NULL, 0, '\0' }
- };
-
-+static void leave(int ret) __attribute__ ((__noreturn__));
- static void
- leave(int ret)
- {
diff --git a/sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch b/sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch
deleted file mode 100644
index 2843afb..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.4-gnutools.patch
+++ /dev/null
@@ -1,65 +0,0 @@
---- hdf5-1.8.4.orig/src/Makefile.am 2009-11-10 22:12:02.000000000 +0100
-+++ hdf5-1.8.4/src/Makefile.am 2009-12-03 13:13:36.902083292 +0100
-@@ -26,14 +26,52 @@
- # Use -g to force no optimization since many compilers (e.g., Intel) takes
- # a long time to compile it with any optimization on. H5detect is used
- # to generate H5Tinit.c once. So, optimization is not critical.
-+# -O0 is required for >= gcc4.3
- noinst_PROGRAMS = H5detect
--H5detect_CFLAGS = -g $(AM_CFLAGS)
-+H5detect_CFLAGS = -g -O0
-+
-+# Automake doesn't have a way to build with no optimization
-+# See http://sources.redhat.com/ml/automake/2002-08/msg00082.html
-+# This is the automake-produced rule with $(CFLAGS) removed
-+H5detect_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
-+ --mode=link $(CCLD) $(H5detect_CFLAGS) $(AM_LDFLAGS) \
-+ $(LDFLAGS) -o $@
-+
-+H5detect-H5detect.o: H5detect.c
-+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -MT H5detect-H5detect.o -MD -MP -MF $(DEPDIR)/H5detect-H5detect.Tpo -c -o H5detect-H5detect.o `test -f 'H5detect.c' || echo '$(srcdir)/'`H5detect.c
-+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/H5detect-H5detect.Tpo $(DEPDIR)/H5detect-H5detect.Po
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='H5detect.c' object='H5detect-H5detect.o' libtool=no @AMDEPBACKSLASH@
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -c -o H5detect-H5detect.o `test -f 'H5detect.c' || echo '$(srcdir)/'`H5detect.c
-+
-+H5detect-H5detect.obj: H5detect.c
-+@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -MT H5detect-H5detect.obj -MD -MP -MF $(DEPDIR)/H5detect-H5detect.Tpo -c -o H5detect-H5detect.obj `if test -f 'H5detect.c'; then $(CYGPATH_W) 'H5detect.c'; else $(CYGPATH_W) '$(srcdir)/H5detect.c'; fi`
-+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/H5detect-H5detect.Tpo $(DEPDIR)/H5detect-H5detect.Po
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='H5detect.c' object='H5detect-H5detect.obj' libtool=no @AMDEPBACKSLASH@
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(H5detect_CFLAGS) -c -o H5detect-H5detect.obj `if test -f 'H5detect.c'; then $(CYGPATH_W) 'H5detect.c'; else $(CYGPATH_W) '$(srcdir)/H5detect.c'; fi`
-+
-+noinst_LTLIBRARIES = libH5Tconv.la
-+libH5Tconv_la_SOURCES = H5Tconv.c
-+libH5Tconv_la_CFLAGS = -g -O0
-+libH5Tconv_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
-+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libH5Tconv_la_CFLAGS) \
-+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+
-+libH5Tconv_la-H5Tconv.lo: H5Tconv.c
-+@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libH5Tconv_la_CFLAGS) -MT libH5Tconv_la-H5Tconv.lo -MD -MP -MF $(DEPDIR)/libH5Tconv_la-H5Tconv.Tpo -c -o libH5Tconv_la-H5Tconv.lo `test -f 'H5Tconv.c' || echo '$(srcdir)/'`H5Tconv.c
-+@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libH5Tconv_la-H5Tconv.Tpo $(DEPDIR)/libH5Tconv_la-H5Tconv.Plo
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='H5Tconv.c' object='libH5Tconv_la-H5Tconv.lo' libtool=yes @AMDEPBACKSLASH@
-+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-+@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libH5Tconv_la_CFLAGS) -c -o libH5Tconv_la-H5Tconv.lo `test -f 'H5Tconv.c' || echo '$(srcdir)/'`H5Tconv.c
-+
-
- # Our main target, the HDF5 library
- lib_LTLIBRARIES=libhdf5.la
-
- # Add libtool numbers to the HDF5 library (from config/lt_vers.am)
- libhdf5_la_LDFLAGS= -version-info $(LT_VERS_INTERFACE):$(LT_VERS_REVISION):$(LT_VERS_AGE) $(AM_LDFLAGS)
-+libhdf5_la_LIBADD = libH5Tconv.la
-
- # H5Tinit.c is a generated file, and should be cleaned.
- MOSTLYCLEANFILES=H5Tinit.c
-@@ -89,7 +127,7 @@
- H5S.c H5Sall.c H5Sdbg.c H5Shyper.c H5Smpio.c H5Snone.c H5Spoint.c \
- H5Sselect.c H5Stest.c H5SL.c H5SM.c H5SMbtree2.c \
- H5SMcache.c H5SMtest.c H5ST.c \
-- H5T.c H5Tarray.c H5Tbit.c H5Tcommit.c H5Tcompound.c H5Tconv.c \
-+ H5T.c H5Tarray.c H5Tbit.c H5Tcommit.c H5Tcompound.c \
- H5Tcset.c H5Tdbg.c H5Tdeprec.c H5Tenum.c H5Tfields.c \
- H5Tfixed.c \
- H5Tfloat.c H5Tinit.c H5Tnative.c H5Toffset.c H5Toh.c \
diff --git a/sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch b/sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch
deleted file mode 100644
index be52280..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.4-scaleoffset.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- hdf5-1.8.4.orig/test/dsets.c 2009-11-10 22:11:59.000000000 +0100
-+++ hdf5-1.8.4/test/dsets.c 2009-12-03 13:13:42.239327244 +0100
-@@ -7402,10 +7402,14 @@
- nerrors += (test_nbit_compound_3(file) < 0 ? 1 : 0);
- nerrors += (test_scaleoffset_int(file) < 0 ? 1 : 0);
- nerrors += (test_scaleoffset_int_2(file) < 0 ? 1 : 0);
-+ /* These tests fail even if dsets is compiled with -O0,
-+ * which is recommended solution by HDFGROUP.
-+ * Problem exists at least since version 1.4.x and occurs
-+ * on different compilers and architectures.
- nerrors += (test_scaleoffset_float(file) < 0 ? 1 : 0);
- nerrors += (test_scaleoffset_float_2(file) < 0 ? 1 : 0);
- nerrors += (test_scaleoffset_double(file) < 0 ? 1 : 0);
-- nerrors += (test_scaleoffset_double_2(file) < 0 ? 1 : 0);
-+ nerrors += (test_scaleoffset_double_2(file) < 0 ? 1 : 0); */
- nerrors += (test_multiopen (file) < 0 ? 1 : 0);
- nerrors += (test_types(file) < 0 ? 1 : 0);
- nerrors += (test_userblock_offset(envval, my_fapl) < 0 ? 1 : 0);
diff --git a/sci-libs/hdf5/hdf5-1.8.4-r2.ebuild b/sci-libs/hdf5/hdf5-1.8.4-r2.ebuild
deleted file mode 100644
index 71fc58e..0000000
--- a/sci-libs/hdf5/hdf5-1.8.4-r2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-MPI_PKG_USE_ROMIO=1
-
-inherit autotools eutils fortran-2 mpi
-
-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/current/src/${P}.tar.gz"
-
-LICENSE="NCSA-HDF"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-IUSE="cxx examples fortran mpi szip threads zlib"
-
-RDEPEND="
- fortran? ( virtual/fortran )
- mpi? ( $(mpi_pkg_deplist) )
- szip? ( >=sci-libs/szip-2.1 )
- zlib? ( sys-libs/zlib )"
-
-DEPEND="${RDEPEND}
- sys-devel/libtool:2
- sys-process/time"
-
-pkg_setup() {
- fortran && fortran-2_pkg_setup
- if use mpi; then
- if use cxx; then
- ewarn "Simultaneous mpi and cxx is not supported by ${PN}"
- ewarn "Will disable cxx interface"
- fi
- export CC=$(mpi_pkg_cc)
- if use fortran; then
- export FC=$(mpi_pkg_fc)
- fi
- fi
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-1.8.3-as-needed.patch \
- "${FILESDIR}"/${PN}-1.8.3-includes.patch \
- "${FILESDIR}"/${PN}-1.8.3-noreturn.patch \
- "${FILESDIR}"/${P}-gnutools.patch \
- "${FILESDIR}"/${P}-scaleoffset.patch
-
- # respect gentoo examples directory
- sed \
- -e 's:$(docdir)/hdf5:$(DESTDIR)/$(docdir):' \
- -i $(find . -name Makefile.am) || die
- sed \
- -e '/docdir/d' \
- -i config/commence.am || die
- eautoreconf
- # enable shared libs by default for h5cc config utility
- sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/misc/h5cc.in \
- || die "sed h5cc.in failed"
-}
-
-src_configure() {
- # threadsafe incompatible with many options
- local myconf="--disable-threadsafe"
- use threads && ! use fortran && ! use cxx && ! use mpi \
- && myconf="--enable-threadsafe"
-
- if use mpi; then
- myconf="${myconf} --disable-cxx"
- else
- # workaround for bug 285148
- if use cxx; then
- myconf="${myconf} $(use_enable cxx) CXX=$(tc-getCXX)"
- fi
- if use fortran; then
- myconf="${myconf} FC=$(tc-getFC)"
- fi
- fi
-
- mpi_pkg_set_ld_library_path
- econf $(mpi_econf_args) \
- --disable-sharedlib-rpath \
- --enable-production \
- --enable-strict-format-checks \
- --docdir=/usr/share/doc/${PF} \
- --enable-deprecated-symbols \
- --enable-shared \
- $(use_enable fortran) \
- $(use_enable mpi parallel) \
- $(use_with szip szlib) \
- $(use_with threads pthread) \
- $(use_with zlib) \
- ${myconf}
-}
-
-src_compile() {
- mpi_pkg_set_ld_library_path
- emake || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- mpi_dodoc README.txt
- if use examples; then
- emake DESTDIR="${D}" install-examples \
- || die "emake install examples failed"
- fi
-}
-
-src_test() {
- mpi_pkg_set_ld_library_path
- emake check || die
-}
diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml
deleted file mode 100644
index dbff4da..0000000
--- a/sci-libs/hdf5/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-<longdescription>
- HDF5 is a file format and library for storing scientific data. HDF5
- was designed and implemented to address the deficiencies of HDF4.x. It
- has a more powerful and flexible data model, supports files larger
- than 2 GB, and supports parallel I/O.
-</longdescription>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/hdf5/files/, sci-libs/hdf5/
@ 2012-03-23 13:40 Kacper Kowalik
0 siblings, 0 replies; 3+ messages in thread
From: Kacper Kowalik @ 2012-03-23 13:40 UTC (permalink / raw
To: gentoo-commits
commit: 7328e37580c48c365af256bf36c03b643856d55d
Author: Kacper Kowalik (Xarthisius) <xarthisius.kk <AT> gmail <DOT> com>
AuthorDate: Fri Mar 23 13:40:41 2012 +0000
Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Fri Mar 23 13:40:41 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7328e375
[sci-libs/hdf5] add developement snapshot
---
sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch | 22 +++++
sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch | 33 +++++++
sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch | 55 +++++++++++
sci-libs/hdf5/hdf5-1.8.9_pre13.ebuild | 101 +++++++++++++++++++++
sci-libs/hdf5/metadata.xml | 19 ++++
5 files changed, 230 insertions(+), 0 deletions(-)
diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch b/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch
new file mode 100644
index 0000000..042d012
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch
@@ -0,0 +1,22 @@
+--- a/perform/pio_engine.c
++++ b/perform/pio_engine.c
+@@ -454,7 +454,7 @@
+ subdir = (user ? user : login);
+
+ if (subdir) {
+- for (i = 0; i < size && prefix[i]; i++)
++ for (i = 0; i < size-1 && prefix[i]; i++)
+ fullname[i] = prefix[i];
+
+ fullname[i++] = '/';
+--- a/perform/sio_engine.c
++++ b/perform/sio_engine.c
+@@ -353,7 +353,7 @@
+ subdir = (user ? user : login);
+
+ if (subdir) {
+- for (i = 0; i < size && prefix[i]; i++)
++ for (i = 0; i < size-1 && prefix[i]; i++)
+ fullname[i] = prefix[i];
+
+ fullname[i++] = '/';
diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch b/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch
new file mode 100644
index 0000000..0f85cf5
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch
@@ -0,0 +1,33 @@
+Prevent build system with messing up LD_LIBRARY_PATH
+
+--- a/configure.in
++++ b/configure.in
+@@ -2328,8 +2328,6 @@
+ dnl
+ AC_MSG_CHECKING([how to print long long])
+ AC_CACHE_VAL([hdf5_cv_printf_ll],
+-LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo $AM_LDFLAGS $LDFLAGS | sed -e 's/-L/:/g' -e 's/ //g'`"
+-export LD_LIBRARY_PATH
+
+ for hdf5_cv_printf_ll in l ll L q unknown; do
+ AC_TRY_RUN([
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -125,8 +125,6 @@
+ # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
+ # is set to ignore the error.
+ H5Tinit.c: H5detect$(EXEEXT)
+- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
+- sed -e 's/-L/:/g' -e 's/ //g'`" \
+ $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \
+ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
+ ($(RM) $@ ; exit 1)
+@@ -137,8 +135,6 @@
+ # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
+ # is set to ignore the error.
+ H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings
+- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
+- sed -e 's/-L/:/g' -e 's/ //g'`" \
+ $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \
+ (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
+ ($(RM) $@ ; exit 1)
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 0000000..43e4f07
--- /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_pre13.ebuild b/sci-libs/hdf5/hdf5-1.8.9_pre13.ebuild
new file mode 100644
index 0000000..698acd5
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.8.9_pre13.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/hdf5/hdf5-1.8.8.ebuild,v 1.4 2011/12/05 16:56:26 xarthisius Exp $
+
+EAPI=4
+
+inherit autotools eutils fortran-2 toolchain-funcs versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+MY_PV=${MY_PV/pre/snap}
+MYP=${PN}-${MY_PV}
+VER=$(get_version_component_range 1-2)
+VER=v${VER/./}
+
+DESCRIPTION="General purpose library and file format for storing scientific data"
+HOMEPAGE="http://www.hdfgroup.org/HDF5/"
+SRC_URI="http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/${PN}/snapshots/${VER}/${MYP}.tar.bz2"
+
+LICENSE="NCSA-HDF"
+SLOT="0"
+KEYWORDS=""
+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"
+
+S=${WORKDIR}/${MYP}
+
+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}"/${PN}-1.8.9-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
+ 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 {} +
+
+ if use examples; then
+ emake DESTDIR="${D}" install-examples
+ fi
+}
diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml
new file mode 100644
index 0000000..6b6f687
--- /dev/null
+++ b/sci-libs/hdf5/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>xarthisius@gentoo.org</email>
+ <name>Kacper Kowalik</name>
+ </maintainer>
+ <longdescription>
+ HDF5 is a file format and library for storing scientific data. HDF5
+ was designed and implemented to address the deficiencies of HDF4.x. It
+ has a more powerful and flexible data model, supports files larger
+ than 2 GB, and supports parallel I/O.
+ </longdescription>
+ <use>
+ <flag name="fortran2003">enable new features that require Fortran 2003
+ (http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf)</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-libs/hdf5/files/, sci-libs/hdf5/
@ 2012-07-07 0:48 Sebastien Fabbro
0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2012-07-07 0:48 UTC (permalink / raw
To: gentoo-commits
commit: aa8d1629a74fa1d78d505fee76946c82d828e111
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Fri Jul 6 17:50:07 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jul 6 17:50:07 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=aa8d1629
sci-libs/hdf5: in main tree
---
sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch | 22 -----
sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch | 33 -------
sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch | 55 -----------
sci-libs/hdf5/hdf5-1.8.9_pre14.ebuild | 101 ---------------------
sci-libs/hdf5/metadata.xml | 19 ----
5 files changed, 0 insertions(+), 230 deletions(-)
diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch b/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch
deleted file mode 100644
index 042d012..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/perform/pio_engine.c
-+++ b/perform/pio_engine.c
-@@ -454,7 +454,7 @@
- subdir = (user ? user : login);
-
- if (subdir) {
-- for (i = 0; i < size && prefix[i]; i++)
-+ for (i = 0; i < size-1 && prefix[i]; i++)
- fullname[i] = prefix[i];
-
- fullname[i++] = '/';
---- a/perform/sio_engine.c
-+++ b/perform/sio_engine.c
-@@ -353,7 +353,7 @@
- subdir = (user ? user : login);
-
- if (subdir) {
-- for (i = 0; i < size && prefix[i]; i++)
-+ for (i = 0; i < size-1 && prefix[i]; i++)
- fullname[i] = prefix[i];
-
- fullname[i++] = '/';
diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch b/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch
deleted file mode 100644
index 0f85cf5..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Prevent build system with messing up LD_LIBRARY_PATH
-
---- a/configure.in
-+++ b/configure.in
-@@ -2328,8 +2328,6 @@
- dnl
- AC_MSG_CHECKING([how to print long long])
- AC_CACHE_VAL([hdf5_cv_printf_ll],
--LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo $AM_LDFLAGS $LDFLAGS | sed -e 's/-L/:/g' -e 's/ //g'`"
--export LD_LIBRARY_PATH
-
- for hdf5_cv_printf_ll in l ll L q unknown; do
- AC_TRY_RUN([
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -125,8 +125,6 @@
- # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
- # is set to ignore the error.
- H5Tinit.c: H5detect$(EXEEXT)
-- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
-- sed -e 's/-L/:/g' -e 's/ //g'`" \
- $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \
- (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
- ($(RM) $@ ; exit 1)
-@@ -137,8 +135,6 @@
- # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
- # is set to ignore the error.
- H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings
-- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \
-- sed -e 's/-L/:/g' -e 's/ //g'`" \
- $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \
- (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
- ($(RM) $@ ; exit 1)
diff --git a/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch
deleted file mode 100644
index 43e4f07..0000000
--- a/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- 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_pre14.ebuild b/sci-libs/hdf5/hdf5-1.8.9_pre14.ebuild
deleted file mode 100644
index 702301a..0000000
--- a/sci-libs/hdf5/hdf5-1.8.9_pre14.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# 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.8.ebuild,v 1.4 2011/12/05 16:56:26 xarthisius Exp $
-
-EAPI=4
-
-inherit autotools eutils fortran-2 toolchain-funcs versionator
-
-MY_PV=$(replace_version_separator 3 '-')
-MY_PV=${MY_PV/pre/snap}
-MYP=${PN}-${MY_PV}
-VER=$(get_version_component_range 1-2)
-VER=v${VER/./}
-
-DESCRIPTION="General purpose library and file format for storing scientific data"
-HOMEPAGE="http://www.hdfgroup.org/HDF5/"
-SRC_URI="http://www.hdfgroup.uiuc.edu/ftp/pub/outgoing/${PN}/snapshots/${VER}/${MYP}.tar.bz2"
-
-LICENSE="NCSA-HDF"
-SLOT="0"
-KEYWORDS=""
-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"
-
-S=${WORKDIR}/${MYP}
-
-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}"/${PN}-1.8.9-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
- 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 {} +
-
- if use examples; then
- emake DESTDIR="${D}" install-examples
- fi
-}
diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml
deleted file mode 100644
index 6b6f687..0000000
--- a/sci-libs/hdf5/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>sci</herd>
- <maintainer>
- <email>xarthisius@gentoo.org</email>
- <name>Kacper Kowalik</name>
- </maintainer>
- <longdescription>
- HDF5 is a file format and library for storing scientific data. HDF5
- was designed and implemented to address the deficiencies of HDF4.x. It
- has a more powerful and flexible data model, supports files larger
- than 2 GB, and supports parallel I/O.
- </longdescription>
- <use>
- <flag name="fortran2003">enable new features that require Fortran 2003
- (http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf)</flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-07 0:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17 13:47 [gentoo-commits] proj/sci:master commit in: sci-libs/hdf5/files/, sci-libs/hdf5/ Kacper Kowalik
-- strict thread matches above, loose matches on Subject: below --
2012-03-23 13:40 Kacper Kowalik
2012-07-07 0:48 Sebastien Fabbro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox