head 1.9; access; symbols pkgsrc-2022Q1:1.8.0.100 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.98 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.96 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.94 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.92 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.90 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.88 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.84 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.64 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.86 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.82 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.80 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.78 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.76 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.74 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.72 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.70 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.68 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.66 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.62 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.60 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.58 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.56 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.54 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.52 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.50 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.48 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.46 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.44 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.42 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.40 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.38 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.36 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.34 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.32 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.30 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.28 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.26 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.24 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.22 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.20 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.18 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.16 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.14 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.12 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.10 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.8 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.6 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.4 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.2 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.7.0.48 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.46 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.44 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.42 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.40 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.38 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.36 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.34 pkgsrc-2008Q1:1.7.0.32 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.30 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.28 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.26 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.24 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.22 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.20 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.18 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.16 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.14 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.12 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.10 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.8 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.6 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.4 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.2 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.6.0.12 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.10 pkgsrc-2003Q4-base:1.6 netbsd-1-6-1:1.6.0.6 netbsd-1-6-1-base:1.6 netbsd-1-6:1.6.0.8 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.4 pkgviews-base:1.6 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.5 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2022.04.24.21.50.48; author tnn; state dead; branches; next 1.8; commitid 9Yaf0aGfWGRg7vBD; 1.8 date 2009.12.10.17.10.14; author drochner; state Exp; branches; next 1.7; 1.7 date 2004.04.20.18.14.37; author drochner; state Exp; branches; next 1.6; 1.6 date 2002.05.03.23.14.52; author jtb; state Exp; branches; next 1.5; 1.5 date 2001.04.19.00.56.34; author jtb; state Exp; branches; next 1.4; 1.4 date 2001.03.25.01.09.51; author jtb; state Exp; branches; next 1.3; 1.3 date 2001.03.22.23.19.17; author jtb; state Exp; branches; next 1.2; 1.2 date 2001.03.09.22.47.44; author jtb; state Exp; branches; next 1.1; 1.1 date 2001.02.28.22.18.41; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.02.28.22.18.41; author jtb; state Exp; branches; next ; desc @@ 1.9 log @hdf: update to 4.2.15 Fix MASTER_SITES and HOMEPAGE. Fix the build with gfortran 10. Remove some obsolete patches. Other changes unknown. @ text @$NetBSD: patch-ai,v 1.8 2009/12/10 17:10:14 drochner Exp $ --- mfhdf/ncdump/Makefile.in.orig 2008-10-13 21:39:11.000000000 +0200 +++ mfhdf/ncdump/Makefile.in @@@@ -37,7 +37,7 @@@@ build_triplet = @@build@@ host_triplet = @@host@@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/config/commence.am -bin_PROGRAMS = ncdump$(EXEEXT) +bin_PROGRAMS = hdfncdump$(EXEEXT) subdir = mfhdf/ncdump ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac @@@@ -216,7 +216,7 @@@@ INCLUDES = -I$(top_srcdir)/hdf/src DEFINES = -DNDEBUG -DHDF AM_CPPFLAGS = $(INCLUDES) $(DEFINES) -man1_MANS = ncdump.1 +man1_MANS = hdfncdump.1 ncdump_SOURCES = dumplib.c ncdump.c vardata.c ncdump_LDADD = ../libsrc/libmfhdf.la $(top_builddir)/hdf/src/libdf.la ncdump_DEPENDENCIES = $(top_builddir)/hdf/src/libdf.la ../libsrc/libmfhdf.la @@@@ -285,7 +285,7 @@@@ clean-binPROGRAMS: echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done -ncdump$(EXEEXT): $(ncdump_OBJECTS) $(ncdump_DEPENDENCIES) +hdfncdump$(EXEEXT): $(ncdump_OBJECTS) $(ncdump_DEPENDENCIES) @@rm -f ncdump$(EXEEXT) $(LINK) $(ncdump_OBJECTS) $(ncdump_LDADD) $(LIBS) @@@@ -554,11 +554,11 @@@@ uninstall-man: uninstall-man1 uninstall-man1 -check: ncdump $(srcdir)/test0.cdl - $(TESTS_ENVIRONMENT) ../ncgen/ncgen -o test0.nc -n $(srcdir)/test0.cdl - $(TESTS_ENVIRONMENT) ./ncdump test0.nc > test1.cdl - $(TESTS_ENVIRONMENT) ../ncgen/ncgen -o test1.nc -n test1.cdl - $(TESTS_ENVIRONMENT) ./ncdump -n test0 test1.nc > test2.cdl +check: hdfncdump $(srcdir)/test0.cdl + $(TESTS_ENVIRONMENT) ../ncgen/hdfncgen -o test0.nc -n $(srcdir)/test0.cdl + $(TESTS_ENVIRONMENT) ./hdfncdump test0.nc > test1.cdl + $(TESTS_ENVIRONMENT) ../ncgen/hdfncgen -o test1.nc -n test1.cdl + $(TESTS_ENVIRONMENT) ./hdfncdump -n test0 test1.nc > test2.cdl @@cmp test1.cdl test2.cdl && echo "*** ncdump test successful ***" ; \ rm -f test1.nc test1.cdl test2.cdl # Tell versions [3.59,3.63) of GNU make to not export all variables. @ 1.8 log @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. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @update to 4.2r0 changes: -configuration changes -support "szip" compression -some utilities added -fp2hdf replaced by hdfimport -USE_BUILDLINK3 @ text @d3 15 a17 6 --- mfhdf/ncdump/Makefile.in.orig 2003-11-07 19:39:00.000000000 +0100 +++ mfhdf/ncdump/Makefile.in 2004-04-20 16:38:54.000000000 +0200 @@@@ -156,7 +156,7 @@@@ ############################################################################# ############################################################################# bin_PROGRAMS = ncdump a19 1 d21 6 a26 14 ncdump_LDADD = ../libsrc/libmfhdf.a $(top_builddir)/hdf/src/libdf.a @@@@ -171,7 +171,7 @@@@ mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs CONFIG_HEADER = $(top_builddir)/hdf/src/h4config.h CONFIG_CLEAN_FILES = -bin_PROGRAMS = ncdump$(EXEEXT) +bin_PROGRAMS = hdfncdump$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) am_ncdump_OBJECTS = dumplib.$(OBJEXT) ncdump.$(OBJEXT) vardata.$(OBJEXT) @@@@ -227,7 +227,7 @@@@ clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) d30 1 a30 1 $(LINK) $(ncdump_LDFLAGS) $(ncdump_OBJECTS) $(ncdump_LDADD) $(LIBS) d32 2 a33 2 @@@@ -491,11 +491,11 @@@@ uninstall-man uninstall-man1 d37 4 a40 4 - ../ncgen/ncgen -o test0.nc -n $(srcdir)/test0.cdl - ./ncdump test0.nc > test1.cdl - ../ncgen/ncgen -o test1.nc -n test1.cdl - ./ncdump -n test0 test1.nc > test2.cdl d42 4 a45 4 + ../ncgen/hdfncgen -o test0.nc -n $(srcdir)/test0.cdl + ./hdfncdump test0.nc > test1.cdl + ../ncgen/hdfncgen -o test1.nc -n test1.cdl + ./hdfncdump -n test0 test1.nc > test2.cdl @ 1.6 log @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. @ text @d3 46 a48 37 --- /dev/null Wed May 1 14:20:26 2002 +++ mfhdf/ncdump/Makefile Wed May 1 14:24:12 2002 @@@@ -0,0 +1,34 @@@@ +PROG= ncdump +PROGNAME= hdfncdump + +MAN= hdfncdump.1 + +SRCS= ncdump.c vardata.c dumplib.c + +BINDIR= ${PREFIX}/bin +LIBDIR= ${PREFIX}/lib +MANDIR= ${PREFIX}/man +CFLAGS= -g +CPPFLAGS+= -I${.CURDIR}/../libsrc + +LDFLAGS+= -L${.CURDIR}/../libsrc +LDFLAGS+= -L${.CURDIR}/../../hdf/src +LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib +LDFLAGS+= -Wl,-R${BUILDLINK_PREFIX.zlib}/lib + +LDADD+= -lmfhdf -ldf -ljpeg -lz + +NOGCCERROR= 1 + +NCGEN= ${.CURDIR}/../ncgen/ncgen + +test: ${PROG} test0.cdl + ${NCGEN} -o test0.nc -n test0.cdl + ./${PROG} test0.nc > test1.cdl + ${NCGEN} -o test1.nc -n test1.cdl + ./${PROG} -n test0 test1.nc > test2.cdl + @@cmp test1.cdl test2.cdl && \ + echo "*** ${PROG} test successful ***" ; \ + rm test1.cdl test1.nc test2.cdl + +.include @ 1.5 log @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. @ text @d3 3 a5 3 --- /dev/null Thu Apr 19 00:41:39 2001 +++ mfhdf/ncdump/Makefile @@@@ -0,0 +1,33 @@@@ d16 1 a16 1 + d21 2 a22 1 +LDFLAGS+= -Wl,-R${JPEGBASE} -L${JPEGBASE} @ 1.4 log @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. @ text @d3 1 a3 1 --- /dev/null Sun Mar 25 00:38:45 2001 d5 1 a5 1 @@@@ -0,0 +1,34 @@@@ a17 1 +CPPFLAGS+= @@SWAP@@ d23 1 a23 1 +LDADD+= -lmfhdf -ldf -ljpeg -lz -lm @ 1.3 log @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. @ text @d3 1 a3 1 --- /dev/null Thu Mar 22 20:12:43 2001 d17 2 a18 4 +JPEGLIB= -Wl,-R${JPEGBASE} -L${JPEGBASE} -ljpeg +HDFLIB= -L${.CURDIR}/../../hdf/src -ldf +MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf +MFHDFINC= -I${.CURDIR}/../libsrc d20 3 a22 1 +LDFLAGS+= -Wl,-R${LIBDIR} ${MFHDFLIB} ${HDFLIB} ${JPEGLIB} d24 1 a24 1 +CPPFLAGS+= ${MFHDFINC} @@SWAP@@ @ 1.2 log @Define DEC_ALPHA and BIG_LONGS on Alpha platform. Added NOGCCERROR=1 to all of the Makefiles (for the moment). @ text @d3 1 a3 1 --- /dev/null Fri Mar 9 22:24:45 2001 d5 1 a5 1 @@@@ -0,0 +1,23 @@@@ d27 11 @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- /dev/null Wed Feb 28 02:22:10 2001 d5 1 a5 1 @@@@ -0,0 +1,21 @@@@ d25 2 @ 1.1.1.1 log @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. @ text @@