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

cvs diff -r1.2 -r1.3 pkgsrc/devel/hdf5/Makefile.common (expand / switch to unified diff)

--- 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
4HDF5_VER= 1.8.7 4HDF5_VER= 1.8.9
5DISTNAME= hdf5-${HDF5_VER} 5DISTNAME= hdf5-${HDF5_VER}
6CATEGORIES= devel 6CATEGORIES= devel
7MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current/src/ 7MASTER_SITES= ftp://ftp.hdfgroup.org/HDF5/current/src/
8 8
9MAINTAINER= alnsn@NetBSD.org 9MAINTAINER= alnsn@NetBSD.org
10HOMEPAGE= http://www.hdfgroup.org/HDF5/ 10HOMEPAGE= http://www.hdfgroup.org/HDF5/
11 11
12LICENSE= original-bsd 12LICENSE= original-bsd
13 13
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_TOOLS+= pax tr 15USE_TOOLS+= pax tr
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17TEST_TARGET= check 17TEST_TARGET= check
18PKG_DESTDIR_SUPPORT= user-destdir 18PKG_DESTDIR_SUPPORT= user-destdir
19 19
20CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ 20CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
21 21
 22DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo
22PATCHDIR= ${.CURDIR}/../../devel/hdf5/patches 23PATCHDIR= ${.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
26CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings 27CHECK_WRKREF_SKIP= ${PREFIX}/lib/libhdf5.settings
27 28
28INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} 29INSTALL_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
29 30
30post-extract: 31post-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

cvs diff -r1.20 -r1.21 pkgsrc/devel/hdf5/PLIST (expand / switch to unified diff)

--- 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 $
2bin/gif2h5 2bin/gif2h5
3bin/h52gif 3bin/h52gif
4bin/h5cc 4bin/h5cc
5bin/h5copy 5bin/h5copy
6bin/h5debug 6bin/h5debug
7bin/h5diff 7bin/h5diff
8bin/h5dump 8bin/h5dump
9bin/h5import 9bin/h5import
10bin/h5jam 10bin/h5jam
11bin/h5ls 11bin/h5ls
12bin/h5mkgrp 12bin/h5mkgrp
13bin/h5perf_serial 13bin/h5perf_serial
14bin/h5redeploy 14bin/h5redeploy
@@ -53,26 +53,27 @@ include/H5api_adpt.h @@ -53,26 +53,27 @@ include/H5api_adpt.h
53include/H5overflow.h 53include/H5overflow.h
54include/H5pubconf.h 54include/H5pubconf.h
55include/H5public.h 55include/H5public.h
56include/H5version.h 56include/H5version.h
57include/hdf5.h 57include/hdf5.h
58include/hdf5_hl.h 58include/hdf5_hl.h
59lib/libhdf5.la 59lib/libhdf5.la
60lib/libhdf5.settings 60lib/libhdf5.settings
61lib/libhdf5_hl.la 61lib/libhdf5_hl.la
62share/doc/hdf5/COPYING 62share/doc/hdf5/COPYING
63share/doc/hdf5/HISTORY-1_0-1_8_0_rc3.txt 63share/doc/hdf5/HISTORY-1_0-1_8_0_rc3.txt
64share/doc/hdf5/HISTORY-1_8.txt 64share/doc/hdf5/HISTORY-1_8.txt
65share/doc/hdf5/RELEASE.txt 65share/doc/hdf5/RELEASE.txt
 66share/examples/hdf5/README
66share/examples/hdf5/c/h5_attribute.c 67share/examples/hdf5/c/h5_attribute.c
67share/examples/hdf5/c/h5_chunk_read.c 68share/examples/hdf5/c/h5_chunk_read.c
68share/examples/hdf5/c/h5_compound.c 69share/examples/hdf5/c/h5_compound.c
69share/examples/hdf5/c/h5_drivers.c 70share/examples/hdf5/c/h5_drivers.c
70share/examples/hdf5/c/h5_elink_unix2win.c 71share/examples/hdf5/c/h5_elink_unix2win.c
71share/examples/hdf5/c/h5_extend_write.c 72share/examples/hdf5/c/h5_extend_write.c
72share/examples/hdf5/c/h5_extlink.c 73share/examples/hdf5/c/h5_extlink.c
73share/examples/hdf5/c/h5_group.c 74share/examples/hdf5/c/h5_group.c
74share/examples/hdf5/c/h5_mount.c 75share/examples/hdf5/c/h5_mount.c
75share/examples/hdf5/c/h5_read.c 76share/examples/hdf5/c/h5_read.c
76share/examples/hdf5/c/h5_ref2reg.c 77share/examples/hdf5/c/h5_ref2reg.c
77share/examples/hdf5/c/h5_reference.c 78share/examples/hdf5/c/h5_reference.c
78share/examples/hdf5/c/h5_select.c 79share/examples/hdf5/c/h5_select.c

cvs diff -r1.27 -r1.28 pkgsrc/devel/hdf5/distinfo (expand / switch to unified diff)

--- 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
3SHA1 (hdf5-1.8.7.tar.gz) = cb8a2a353a7aabbae923029ebfb66426ddc28ff0 3SHA1 (hdf5-1.8.9.tar.gz) = 4ba3ede947b1571e9586fdeb8351d6585a56133c
4RMD160 (hdf5-1.8.7.tar.gz) = 6629b3300e4bc86ced62085f4036550ce5cb9cd9 4RMD160 (hdf5-1.8.9.tar.gz) = a971f0f666786d93f33f8cc59d67e29fab77a351
5Size (hdf5-1.8.7.tar.gz) = 7827944 bytes 5Size (hdf5-1.8.9.tar.gz) = 8258774 bytes
6SHA1 (patch-c++_examples_Makefile.in) = 4c063e3138507a5dbf99f4c7785611a45ffcf753 6SHA1 (patch-c++_examples_Makefile.in) = 4c063e3138507a5dbf99f4c7785611a45ffcf753
7SHA1 (patch-c++_examples_run-c++-ex.sh.in) = 58c38b2ba5557cdae2c4fe1e72c6fa55e5606f1e 7SHA1 (patch-c++_examples_run-c++-ex.sh.in) = 58c38b2ba5557cdae2c4fe1e72c6fa55e5606f1e
8SHA1 (patch-configure.in) = c08f39c3aba0ff34022d4afc26cdfd8785f504b7 8SHA1 (patch-configure.in) = c08f39c3aba0ff34022d4afc26cdfd8785f504b7
9SHA1 (patch-examples_Makefile.in) = 3049b17a6656e7b9818ec69607b278b6e7dc937d 9SHA1 (patch-examples_Makefile.in) = 3049b17a6656e7b9818ec69607b278b6e7dc937d
10SHA1 (patch-examples_run-c-ex.sh.in) = 744d3e6bbae1a9b496e3657db6a62fac78fcd7ed 10SHA1 (patch-examples_run-c-ex.sh.in) = 744d3e6bbae1a9b496e3657db6a62fac78fcd7ed
11SHA1 (patch-hl_c++_examples_Makefile.in) = 6e651fae42365e67c281d8bc80e2c60faeddec01 11SHA1 (patch-hl_c++_examples_Makefile.in) = 6e651fae42365e67c281d8bc80e2c60faeddec01
12SHA1 (patch-hl_c++_examples_run-hlc++-ex.sh.in) = fba3d976adb02d80682ddc42a8ef64f6dddffa41 12SHA1 (patch-hl_c++_examples_run-hlc++-ex.sh.in) = fba3d976adb02d80682ddc42a8ef64f6dddffa41
13SHA1 (patch-hl_examples_Makefile.in) = 2fe09e8a88eeca49db58908a6b4a3a70f01cb0b4 13SHA1 (patch-hl_examples_Makefile.in) = 2fe09e8a88eeca49db58908a6b4a3a70f01cb0b4
14SHA1 (patch-hl_examples_run-hlc-ex.sh.in) = 38c2c112439d6febb023d638d965f04bbaa45d5f 14SHA1 (patch-hl_examples_run-hlc-ex.sh.in) = 38c2c112439d6febb023d638d965f04bbaa45d5f
 15SHA1 (patch-tools_h5copy_testh5copy.sh) = 745f951117bbc1a05fbfb6df8cdff3d58771c635
 16SHA1 (patch-tools_h5diff_testh5diff.sh) = 62e02ee65a4b9284f548f872aad9bcf7884fb477
 17SHA1 (patch-tools_h5dump_testh5dump.sh.in) = d373f9a0618499bbb71827df6ffe6bed2b5dab17
 18SHA1 (patch-tools_h5import_h5importtestutil.sh) = 7bd31ce6ca50c0a8d4040b7d2518dc4658b51c5c
 19SHA1 (patch-tools_h5jam_testh5jam.sh.in) = 1d8d618ee90adfe6735a22eecd1a6c60c1437da6
 20SHA1 (patch-tools_h5ls_testh5ls.sh.in) = 71bfe26ce98d3579bf8decaf7ef10a5f5f27e255
 21SHA1 (patch-tools_h5repack_h5repack.sh.in) = c235aef4f6c781ef0028685b505fd77aa7b5722d
 22SHA1 (patch-tools_h5stat_testh5stat.sh.in) = 962ff9cdf8c7c459e47147cf85826e190aee4179

File Deleted: pkgsrc/devel/hdf5-c++/Attic/distinfo

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5copy_testh5copy.sh
$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."

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5diff_testh5diff.sh
$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 ."

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5dump_testh5dump.sh.in
$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"

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5import_h5importtestutil.sh
$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"

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5jam_testh5jam.sh.in
$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

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5ls_testh5ls.sh.in
$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"

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5repack_h5repack.sh.in
$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"

File Added: pkgsrc/devel/hdf5/patches/Attic/patch-tools_h5stat_testh5stat.sh.in
$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"