head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.50 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.48 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.46 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.44 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.42 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.40 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.38 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.36 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.34 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.32 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.30 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.28 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.26 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.24 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.22 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.20 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.18 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.16 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.14 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.12 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.10 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.8 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.6 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.2; locks; strict; comment @# @; 1.4 date 2004.04.20.18.14.37; author drochner; state dead; branches; next 1.3; 1.3 date 2002.05.03.23.14.53; author jtb; state Exp; branches; next 1.2; 1.2 date 2001.03.25.01.09.51; author jtb; state Exp; branches; next 1.1; 1.1 date 2001.03.22.23.19.17; author jtb; state Exp; branches; next ; desc @@ 1.4 log @update to 4.2r0 changes: -configuration changes -support "szip" compression -some utilities added -fp2hdf replaced by hdfimport -USE_BUILDLINK3 @ text @$NetBSD: patch-an,v 1.3 2002/05/03 23:14:53 jtb Exp $ --- /dev/null Wed May 1 14:04:01 2002 +++ mfhdf/nctest/Makefile Wed May 1 14:14:41 2002 @@@@ -0,0 +1,26 @@@@ +PROG= nctest + +SRCS = varget.c vargetg.c varput.c varputg.c vardef.c vartests.c \ + vputget.c vputgetg.c driver.c cdftests.c dimtests.c rec.c \ + atttests.c misctest.c add.c error.c emalloc.c val.c slabs.c + +CPPFLAGS+= -Dunix -DNDEBUG +CPPFLAGS+= -I${.CURDIR}/../../hdf/src +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 -lm + +NOMAN= 1 + +test: $(PROG) + @@ echo "===========================" + @@ echo "netCDF C interface tests" + @@ echo "===========================" + ./$(PROG) + +.include @ 1.3 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 @d1 1 a1 1 $NetBSD$ @ 1.2 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 3 a5 3 --- /dev/null Sun Mar 25 00:39:12 2001 +++ mfhdf/nctest/Makefile @@@@ -0,0 +1,25 @@@@ d18 2 a19 1 +LDFLAGS+= -Wl,-R${JPEGBASE}/lib -L${JPEGBASE}/lib @ 1.1 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 22:34:52 2001 d5 1 a5 1 @@@@ -0,0 +1,27 @@@@ d12 7 a18 2 +MFHDFLIB= -L${.CURDIR}/../libsrc -lmfhdf +MFHDFINC= -I${.CURDIR}/../libsrc d20 1 a20 8 +HDFLIB= -L${.CURDIR}/../../hdf/src -ldf +HDFINC= -I${.CURDIR}/../../hdf/src + +JPEGLIB= -R${JPEGBASE}/lib -L${JPEGBASE}/lib -ljpeg + +LDFLAGS+= -Wl,-R{LIBDIR} ${MFHDFLIB} ${HDFLIB} ${JPEGLIB} + +CPPFLAGS+= -Dunix -DNDEBUG ${MFHDFINC} ${HDFINC} @