Sat Oct 27 08:54:48 2012 UTC ()
Update to HDF5 1.8.9
This doesn't pass self-tests, but it isn't regression,
previous package didn't pass them as well.
(While here, make both packages share the same distinfo.)
Changes in HDF5 1.8.9
HDF5 1.8.9 is a minor release, but contains several important
new features and bug fixes. Changes in this release include the
following:
* Committed datatypes can now be merged when copying objects,
using the new flag H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG.
Several new API routines have been included in support of
this feature.
* A file in memory can now be accessed in the same way as a
file on disk. New APIs were added to support this feature.
* Many changes to the tools have been made, including the following:
+ The h5repack performance has been improved dramatically
for large chunked datasets.
+ The -S (or --summary) option was added to h5stat to
display a summary of the file space usage for a file.
+ A wildcard can now be used with h5dump to specify multiple files.
* H5LTpath_valid was added to determine if a path is correct
and a link resolves to a valid object.
* The Fortran counterpart to H5Ocopy, h5ocopy_f, was added.
This release contains many other changes and bug fixes not listed here.
Please be sure to read the Release Notes for a comprehensive
list of new features and bug fixes.
Changes in HDF5 1.8.8
HDF5 1.8.8 is a minor release, but contains a few important new
features and bug fixes. Changes in this release include the
following:
* Changes to the Fortran interface:
+ Fortran wrappers for the Dimension Scales APIs were added.
For the new subroutine signatures, see:
http://www.hdfgroup.org/HDF5/doc/HL/RM_H5DS.html
+ The Fortran interface now uses the Fortran 2003 standard,
enabling a wider set of Fortran and HDF5 datatypes to be
supported, including:
o Any kind of INTEGER or REAL
o Fortran derived types
o Fortran and HDF5 enumeration
o HDF5 variable-length datatypes
o HDF5 compound datatypes of any complexity
It also contains new subroutines corresponding to those
C APIs which have callback functions as parameters.
For a general overview and information on how to enable
these new Fortran features, please see the following paper:
http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf
HDF5 examples that use Fortran 2003 (with the suffix "F03") can be found here:
http://www.hdfgroup.org/ftp/HDF5/examples/examples-by-api/api18-fortran.html
The --enable-fortran2003 configure flag was added to
enable Fortran 2003 support in the HDF5 Fortran library.
This flag should be used along with the --enable-fortran
flag and takes affect only when a Fortran compiler is
Fortran 2003 compliant.
* H5Tcreate now supports a string type (fixed-length and variable-length).
* New APIs, H5Pget_mpio_actual_chunk_opt_mode and H5Pget_mpio_actual_io_mode,
were added for querying whether/how a collective I/O operation completed.
* Numerous changes were made to the tools (h5diff, h5repack, h5jam, h5dump).
(asau)
diff -r1.2 -r1.3 pkgsrc/devel/hdf5/Makefile.common
diff -r1.20 -r1.21 pkgsrc/devel/hdf5/PLIST
diff -r1.27 -r1.28 pkgsrc/devel/hdf5/distinfo
diff -r1.1.1.1 -r0 pkgsrc/devel/hdf5-c++/distinfo
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5copy_testh5copy.sh
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5diff_testh5diff.sh
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5dump_testh5dump.sh.in
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5import_h5importtestutil.sh
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5jam_testh5jam.sh.in
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5ls_testh5ls.sh.in
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5repack_h5repack.sh.in
diff -r0 -r1.1 pkgsrc/devel/hdf5/patches/patch-tools_h5stat_testh5stat.sh.in
--- pkgsrc/devel/hdf5/Makefile.common 2012/02/16 18:45:59 1.2
+++ pkgsrc/devel/hdf5/Makefile.common 2012/10/27 08:54:48 1.3
| @@ -1,32 +1,33 @@ | | | @@ -1,32 +1,33 @@ |
1 | # $NetBSD: Makefile.common,v 1.2 2012/02/16 18:45:59 hans Exp $ | | 1 | # $NetBSD: Makefile.common,v 1.3 2012/10/27 08:54:48 asau Exp $ |
2 | # used by devel/hdf5-c++/Makefile | | 2 | # used by devel/hdf5-c++/Makefile |
3 | | | 3 | |
4 | HDF5_VER= 1.8.7 | | 4 | HDF5_VER= 1.8.9 |
5 | DISTNAME= hdf5-${HDF5_VER} | | 5 | DISTNAME= hdf5-${HDF5_VER} |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current/src/ | | 7 | MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current/src/ |
8 | | | 8 | |
9 | MAINTAINER= alnsn@NetBSD.org | | 9 | MAINTAINER= alnsn@NetBSD.org |
10 | HOMEPAGE= http://www.hdfgroup.org/HDF5/ | | 10 | HOMEPAGE= http://www.hdfgroup.org/HDF5/ |
11 | | | 11 | |
12 | LICENSE= original-bsd | | 12 | LICENSE= original-bsd |
13 | | | 13 | |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
15 | USE_TOOLS+= pax tr | | 15 | USE_TOOLS+= pax tr |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | TEST_TARGET= check | | 17 | TEST_TARGET= check |
18 | PKG_DESTDIR_SUPPORT= user-destdir | | 18 | PKG_DESTDIR_SUPPORT= user-destdir |
19 | | | 19 | |
20 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ | | 20 | CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ |
21 | | | 21 | |
| | | 22 | DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo |
22 | PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches | | 23 | PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches |
23 | | | 24 | |
24 | # it appears that this file is informative only and is not actually | | 25 | # it appears that this file is informative only and is not actually |
25 | # used by any installed tools | | 26 | # used by any installed tools |
26 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings | | 27 | CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings |
27 | | | 28 | |
28 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} | | 29 | INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} |
29 | | | 30 | |
30 | post-extract: | | 31 | post-extract: |
31 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd | | 32 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd |
32 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf | | 33 | ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf |
--- pkgsrc/devel/hdf5/PLIST 2011/10/07 10:38:50 1.20
+++ pkgsrc/devel/hdf5/PLIST 2012/10/27 08:54:48 1.21
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | @comment $NetBSD: PLIST,v 1.20 2011/10/07 10:38:50 alnsn Exp $ | | 1 | @comment $NetBSD: PLIST,v 1.21 2012/10/27 08:54:48 asau Exp $ |
2 | bin/gif2h5 | | 2 | bin/gif2h5 |
3 | bin/h52gif | | 3 | bin/h52gif |
4 | bin/h5cc | | 4 | bin/h5cc |
5 | bin/h5copy | | 5 | bin/h5copy |
6 | bin/h5debug | | 6 | bin/h5debug |
7 | bin/h5diff | | 7 | bin/h5diff |
8 | bin/h5dump | | 8 | bin/h5dump |
9 | bin/h5import | | 9 | bin/h5import |
10 | bin/h5jam | | 10 | bin/h5jam |
11 | bin/h5ls | | 11 | bin/h5ls |
12 | bin/h5mkgrp | | 12 | bin/h5mkgrp |
13 | bin/h5perf_serial | | 13 | bin/h5perf_serial |
14 | bin/h5redeploy | | 14 | bin/h5redeploy |
| @@ -53,26 +53,27 @@ include/H5api_adpt.h | | | @@ -53,26 +53,27 @@ include/H5api_adpt.h |
53 | include/H5overflow.h | | 53 | include/H5overflow.h |
54 | include/H5pubconf.h | | 54 | include/H5pubconf.h |
55 | include/H5public.h | | 55 | include/H5public.h |
56 | include/H5version.h | | 56 | include/H5version.h |
57 | include/hdf5.h | | 57 | include/hdf5.h |
58 | include/hdf5_hl.h | | 58 | include/hdf5_hl.h |
59 | lib/libhdf5.la | | 59 | lib/libhdf5.la |
60 | lib/libhdf5.settings | | 60 | lib/libhdf5.settings |
61 | lib/libhdf5_hl.la | | 61 | lib/libhdf5_hl.la |
62 | share/doc/hdf5/COPYING | | 62 | share/doc/hdf5/COPYING |
63 | share/doc/hdf5/HISTORY-1_0-1_8_0_rc3.txt | | 63 | share/doc/hdf5/HISTORY-1_0-1_8_0_rc3.txt |
64 | share/doc/hdf5/HISTORY-1_8.txt | | 64 | share/doc/hdf5/HISTORY-1_8.txt |
65 | share/doc/hdf5/RELEASE.txt | | 65 | share/doc/hdf5/RELEASE.txt |
| | | 66 | share/examples/hdf5/README |
66 | share/examples/hdf5/c/h5_attribute.c | | 67 | share/examples/hdf5/c/h5_attribute.c |
67 | share/examples/hdf5/c/h5_chunk_read.c | | 68 | share/examples/hdf5/c/h5_chunk_read.c |
68 | share/examples/hdf5/c/h5_compound.c | | 69 | share/examples/hdf5/c/h5_compound.c |
69 | share/examples/hdf5/c/h5_drivers.c | | 70 | share/examples/hdf5/c/h5_drivers.c |
70 | share/examples/hdf5/c/h5_elink_unix2win.c | | 71 | share/examples/hdf5/c/h5_elink_unix2win.c |
71 | share/examples/hdf5/c/h5_extend_write.c | | 72 | share/examples/hdf5/c/h5_extend_write.c |
72 | share/examples/hdf5/c/h5_extlink.c | | 73 | share/examples/hdf5/c/h5_extlink.c |
73 | share/examples/hdf5/c/h5_group.c | | 74 | share/examples/hdf5/c/h5_group.c |
74 | share/examples/hdf5/c/h5_mount.c | | 75 | share/examples/hdf5/c/h5_mount.c |
75 | share/examples/hdf5/c/h5_read.c | | 76 | share/examples/hdf5/c/h5_read.c |
76 | share/examples/hdf5/c/h5_ref2reg.c | | 77 | share/examples/hdf5/c/h5_ref2reg.c |
77 | share/examples/hdf5/c/h5_reference.c | | 78 | share/examples/hdf5/c/h5_reference.c |
78 | share/examples/hdf5/c/h5_select.c | | 79 | share/examples/hdf5/c/h5_select.c |
--- pkgsrc/devel/hdf5/distinfo 2011/10/07 10:38:50 1.27
+++ pkgsrc/devel/hdf5/distinfo 2012/10/27 08:54:48 1.28
| @@ -1,14 +1,22 @@ | | | @@ -1,14 +1,22 @@ |
1 | $NetBSD: distinfo,v 1.27 2011/10/07 10:38:50 alnsn Exp $ | | 1 | $NetBSD: distinfo,v 1.28 2012/10/27 08:54:48 asau Exp $ |
2 | | | 2 | |
3 | SHA1 (hdf5-1.8.7.tar.gz) = cb8a2a353a7aabbae923029ebfb66426ddc28ff0 | | 3 | SHA1 (hdf5-1.8.9.tar.gz) = 4ba3ede947b1571e9586fdeb8351d6585a56133c |
4 | RMD160 (hdf5-1.8.7.tar.gz) = 6629b3300e4bc86ced62085f4036550ce5cb9cd9 | | 4 | RMD160 (hdf5-1.8.9.tar.gz) = a971f0f666786d93f33f8cc59d67e29fab77a351 |
5 | Size (hdf5-1.8.7.tar.gz) = 7827944 bytes | | 5 | Size (hdf5-1.8.9.tar.gz) = 8258774 bytes |
6 | SHA1 (patch-c++_examples_Makefile.in) = 4c063e3138507a5dbf99f4c7785611a45ffcf753 | | 6 | SHA1 (patch-c++_examples_Makefile.in) = 4c063e3138507a5dbf99f4c7785611a45ffcf753 |
7 | SHA1 (patch-c++_examples_run-c++-ex.sh.in) = 58c38b2ba5557cdae2c4fe1e72c6fa55e5606f1e | | 7 | SHA1 (patch-c++_examples_run-c++-ex.sh.in) = 58c38b2ba5557cdae2c4fe1e72c6fa55e5606f1e |
8 | SHA1 (patch-configure.in) = c08f39c3aba0ff34022d4afc26cdfd8785f504b7 | | 8 | SHA1 (patch-configure.in) = c08f39c3aba0ff34022d4afc26cdfd8785f504b7 |
9 | SHA1 (patch-examples_Makefile.in) = 3049b17a6656e7b9818ec69607b278b6e7dc937d | | 9 | SHA1 (patch-examples_Makefile.in) = 3049b17a6656e7b9818ec69607b278b6e7dc937d |
10 | SHA1 (patch-examples_run-c-ex.sh.in) = 744d3e6bbae1a9b496e3657db6a62fac78fcd7ed | | 10 | SHA1 (patch-examples_run-c-ex.sh.in) = 744d3e6bbae1a9b496e3657db6a62fac78fcd7ed |
11 | SHA1 (patch-hl_c++_examples_Makefile.in) = 6e651fae42365e67c281d8bc80e2c60faeddec01 | | 11 | SHA1 (patch-hl_c++_examples_Makefile.in) = 6e651fae42365e67c281d8bc80e2c60faeddec01 |
12 | SHA1 (patch-hl_c++_examples_run-hlc++-ex.sh.in) = fba3d976adb02d80682ddc42a8ef64f6dddffa41 | | 12 | SHA1 (patch-hl_c++_examples_run-hlc++-ex.sh.in) = fba3d976adb02d80682ddc42a8ef64f6dddffa41 |
13 | SHA1 (patch-hl_examples_Makefile.in) = 2fe09e8a88eeca49db58908a6b4a3a70f01cb0b4 | | 13 | SHA1 (patch-hl_examples_Makefile.in) = 2fe09e8a88eeca49db58908a6b4a3a70f01cb0b4 |
14 | SHA1 (patch-hl_examples_run-hlc-ex.sh.in) = 38c2c112439d6febb023d638d965f04bbaa45d5f | | 14 | SHA1 (patch-hl_examples_run-hlc-ex.sh.in) = 38c2c112439d6febb023d638d965f04bbaa45d5f |
| | | 15 | SHA1 (patch-tools_h5copy_testh5copy.sh) = 745f951117bbc1a05fbfb6df8cdff3d58771c635 |
| | | 16 | SHA1 (patch-tools_h5diff_testh5diff.sh) = 62e02ee65a4b9284f548f872aad9bcf7884fb477 |
| | | 17 | SHA1 (patch-tools_h5dump_testh5dump.sh.in) = d373f9a0618499bbb71827df6ffe6bed2b5dab17 |
| | | 18 | SHA1 (patch-tools_h5import_h5importtestutil.sh) = 7bd31ce6ca50c0a8d4040b7d2518dc4658b51c5c |
| | | 19 | SHA1 (patch-tools_h5jam_testh5jam.sh.in) = 1d8d618ee90adfe6735a22eecd1a6c60c1437da6 |
| | | 20 | SHA1 (patch-tools_h5ls_testh5ls.sh.in) = 71bfe26ce98d3579bf8decaf7ef10a5f5f27e255 |
| | | 21 | SHA1 (patch-tools_h5repack_h5repack.sh.in) = c235aef4f6c781ef0028685b505fd77aa7b5722d |
| | | 22 | SHA1 (patch-tools_h5stat_testh5stat.sh.in) = 962ff9cdf8c7c459e47147cf85826e190aee4179 |
$NetBSD: patch-tools_h5copy_testh5copy.sh,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5copy/testh5copy.sh.orig 2012-05-09 15:06:14.000000000 +0000
+++ tools/h5copy/testh5copy.sh
@@ -105,7 +105,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile."
$NetBSD: patch-tools_h5diff_testh5diff.sh,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5diff/testh5diff.sh.orig 2012-05-09 15:06:12.000000000 +0000
+++ tools/h5diff/testh5diff.sh
@@ -313,7 +313,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile ."
$NetBSD: patch-tools_h5dump_testh5dump.sh.in,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5dump/testh5dump.sh.in.orig 2012-05-09 15:06:02.000000000 +0000
+++ tools/h5dump/testh5dump.sh.in
@@ -448,7 +448,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile"
$NetBSD: patch-tools_h5import_h5importtestutil.sh,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5import/h5importtestutil.sh.orig 2012-05-09 15:06:14.000000000 +0000
+++ tools/h5import/h5importtestutil.sh
@@ -115,7 +115,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile"
$NetBSD: patch-tools_h5jam_testh5jam.sh.in,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
Use portable "=" to test string equality.
--- tools/h5jam/testh5jam.sh.in.orig 2012-05-09 15:06:08.000000000 +0000
+++ tools/h5jam/testh5jam.sh.in
@@ -103,7 +103,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile"
@@ -456,9 +456,9 @@ UNJAMTEST () {
#
TOOLTEST_OUTPUT() {
- if [ "$1" == "JAM" ]; then
+ if [ "$1" = "JAM" ]; then
TOOLCMD=$JAM_BIN/$JAM
- elif [ "$1" == "UNJAM" ]; then
+ elif [ "$1" = "UNJAM" ]; then
TOOLCMD=$JAM_BIN/$UNJAM
fi
shift
$NetBSD: patch-tools_h5ls_testh5ls.sh.in,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5ls/testh5ls.sh.in.orig 2012-05-09 15:06:15.000000000 +0000
+++ tools/h5ls/testh5ls.sh.in
@@ -167,7 +167,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile"
$NetBSD: patch-tools_h5repack_h5repack.sh.in,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5repack/h5repack.sh.in.orig 2012-05-09 15:06:03.000000000 +0000
+++ tools/h5repack/h5repack.sh.in
@@ -137,7 +137,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile"
$NetBSD: patch-tools_h5stat_testh5stat.sh.in,v 1.1 2012/10/27 08:54:48 asau Exp $
Use portable construct to check file existence.
--- tools/h5stat/testh5stat.sh.in.orig 2012-05-09 15:06:15.000000000 +0000
+++ tools/h5stat/testh5stat.sh.in
@@ -105,7 +105,7 @@ COPY_TESTFILES_TO_TESTDIR()
echo $tstfile | tr -d ' ' | grep '^#' > /dev/null
RET=$?
if [ $RET -eq 1 ]; then
- if [ -a $tstfile ]; then
+ if [ -e $tstfile ]; then
$CP -f $tstfile $TESTDIR
else
echo "Error: FAILED to copy $tstfile"