Commit graph

15 commits

Author SHA1 Message Date
drochner
8c300c42de update to 4.2r4
changes:
-API additions
-hdp and hrepack utilities can now display more compression information
-build system updates
-bugfixes

pkgsrc notes:
-we build shared libraries now although it is officially unsupported
 if Fortran is enabled (works for me)
-The 24-bit-jpeg selftest fails. It also failed with the previous
 version. (perhaps jpeg-7 related?) The test contains too much magic
 to tell what happens.
2009-12-10 17:10:14 +00:00
joerg
022a2d6e5b Add DrgaonFly support. Link hdiff explicitly against -lm, it uses sqrt. 2006-01-09 19:27:19 +00:00
adam
0f2c6aa292 Changes 4.2r1:
Configuration
     * By default HDF4 libraries and utilities are installed under
       <source_dir>/NewHDF
     * Windows configuration, build and testing procedures have been changed.
       Please see INSTALL_WINDOWS.txt file for more information
    Library
    * New API SDidtype was added to the library (bug #766)
    * HCgetcompress renamed to HCPgetcompress
    * New API HCget_config_info added
    * The default chunk cache size was changed for 2D and higher
      chunks
    * Pablo instumentation was removed

    Utilities
     * hdiff and hrepack are supported on Windows.
     * Substantial performance improvements in hdiff and hrepack

Support for new platforms and compilers
     * Fortran IBM xlf v 8.1 and Absoft f95 version 8.2 compilers
       are supported on Mac OSX.
     * Absoft Fortran compiler f95 version 9.0 is supported on Linux 2.4
     * PGI C and Fortran compilers are supported on Linux 2.4
     * Intel C and Fortran compilers are supported on Linux 2.4
     * Cray TS IEEE is supported.

Bugs fixed since HDF4.2r0
 * VERY IMPORTANT:
   Data compressed with SZIP may be corrupted; fixed. For more
   information see "HDF4.2r1 SZIP Release Notes" available at
   http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/SZIP_HDF4_2r1.pdf
 * Fortran couldn't read names with spaces when NetCDF interfaces
   were used; fixed
 * Library failed to compile in presence of the NetCDF library; fixed
 * h4fc couldn't create object files; fixed
 * When rank of SDS is 0, some SD APIs give segmentation fault (bug 1045);
   fixed
 * Some GR images with special elements are read in as duplicate
   (bug 814); fixed
 * Many bugs fixed in hdiff and hrepack utilities
2005-02-24 16:25:38 +00:00
drochner
6277037b00 update to 4.2r0
changes:
-configuration changes
-support "szip" compression
-some utilities added
-fp2hdf replaced by hdfimport
-USE_BUILDLINK3
2004-04-20 18:14:37 +00:00
jtb
f8a0903fc5 Update to version 4.1r5.
New Features and Changes:
========================

o The following Vdata routines were added:

     VSsetblocksize/vsfsetblsz -- sets the block size of the
                                  linked-block element.
     VSsetnumblocks/vsfsetnmbl -- sets the number of blocks for
                                  a linked-block element.
     VSgetblockinfo/vsfgetblinfo -- retrieves the block size and the number
                                    of blocks of a linked-block element.

o  Two routines were added to get compression information for the SD and
   GR interfaces, including chunked elements: SDgetcompress/sfgcompress
   and GRgetcompress/mggcompress.

   Note:

   - For a JPEG image, GRgetcompress only returns the compression type, not
     the compression information (i.e, quantity and force_baseline).  This
     information is not currently retrievable.

   - Getting compression type for JPEG chunked images is not working yet.

o  "hdp dumpgr" has a new option, -pd, to print palette data only.  Also,
   whenever option -p or -pd is given, only palettes are printed, and no
   images or file attributes.

o  A new FORTRAN function, heprntf (HEprint), was added.  It takes two
   arguments: file name and level.  If the file name string has 0 length,
   then error messages will be printed to standard output.

o  A memory leak in the netCDF portion of the HDF/mfhdf distribution
   was fixed.

o  The "#define NULL" was removed since ANSI C compilers are required to
   define NULL.

o  When using "hdp dumpgr", data was being printed in the range of 0-250
   when it should have been between 0-168.  This problem is now fixed.
2002-05-03 23:14:52 +00:00
jtb
11d367eaa0 Add -DNETLONG=int to CPPFLAGS instead of using a patch. Only link
executables with libm when truly necessary.  Add sparc64 and powerpc support.
Determine endianness at compile time rather than at configuration.
2001-04-19 00:56:33 +00:00
jtb
d6921ad334 #ifdef __m68k__
#define DF_MT   DFMT_MOTOROLA
#endif
2001-03-25 23:37:06 +00:00
jtb
1dc543020a Add underscores around the machine arch names. 2001-03-25 22:10:13 +00:00
jtb
f540c98dff Use less convoluted preprocessor logic. 2001-03-25 01:32:09 +00:00
jtb
6338eb7674 Build only static libraries since part of the library is written in
Fortran, libf2c is static, etc.  Fixed "hdfi.h" to work with any
architecture supported by NetBSD.  Use "xdrposix.c" instead of
"xdrstdio.c" since the latter seems to be missing some functions.
Fixed "initialization from incompatible pointer type" warnings.
General improvements to Makefiles.  Should build/work on any NetBSD
system now.
2001-03-25 01:09:49 +00:00
jtb
d1b301a2f2 Added F2CBASE_DEFAULT=${LOCALBASE} so that EVAL_PREFIX will give a
sensible value if a dependency is not yet installed. Problem noted by
Matthias Drochner with fix by Alistair Crooks.

Fixed `ncgen' to generate files which #include "netcdf_hdf.h" and
"netcdf_hdf.inc" thus allowing the HDF and netCDF packages to coexist.

Added test target in package Makefile for compiling and running the tests
for the libraries and the `ncdump' program.
2001-03-22 23:19:16 +00:00
dmcmahill
decdd8fbf2 - add missing $ in front of ${JPEGBASE}
- sparc64 is also 64bit
2001-03-19 13:37:28 +00:00
jtb
1f35fec997 Define DEC_ALPHA and BIG_LONGS on Alpha platform. Added NOGCCERROR=1
to all of the Makefiles (for the moment).
2001-03-09 22:47:43 +00:00
jtb
cc51c5d172 Added MKPICINSTALL=no, MKPROFILE=no to the libmfhdf Makefile. 2001-03-08 21:15:45 +00:00
jtb
6db9e726b8 Initial import of hdf: NCSA Hierarchical Data Format
HDF is a multi-object file format that facilitates the transfer of
various types of scientific data between machines and operating
systems.  HDF allows self-definitions of data content and easy
extensibility for future enhancements or compatibility with other
standard formats.  HDF includes Fortran and C calling interfaces, and
utilities to prepare raw image of data files or for use with other
NCSA software.  The HDF library contains interfaces for storing and
retrieving compressed or uncompressed 8-bit and 24-bit raster images
with palettes, n-Dimensional scientific datasets and binary tables.
An interface is also included that allows arbitray grouping of other
HDF objects.
2001-02-28 22:18:38 +00:00