--- h5utils-1.12.1.orig/debian/README.Debian +++ h5utils-1.12.1/debian/README.Debian @@ -0,0 +1,6 @@ +h5utils for Debian +------------------ + +As libv5d is not in Debian, h5tov5d is not built in this package. + + -- Josselin Mouette , Tue, 23 Oct 2001 11:47:53 +0200 --- h5utils-1.12.1.orig/debian/changelog +++ h5utils-1.12.1/debian/changelog @@ -0,0 +1,273 @@ +h5utils (1.12.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Support hdf5 1.8.13 new packaging layout (closes: #756670). + + -- Gilles Filippini Wed, 06 Aug 2014 17:44:53 +0200 + +h5utils (1.12.1-2) unstable; urgency=low + + * Fixed a FTBS with libpng 1.5: patch png1.5. + (closes: #650488) + * Fixed b-d on new octave -dev package for octave transition. + (closes: #667063) + * Now depending on current hdf5 -dev package. + * Dropped versioned name dep for libmatheval -dev b-d. + (closes: #612754) + + -- Francesco Paolo Lovergine Tue, 15 May 2012 11:13:14 +0200 + +h5utils (1.12.1-1) unstable; urgency=low + + * New upstream release with better Octave autodetection. + * Dropped octave.diff patch. + * Ack of previous NMU with merge of moving to Octave 3.2 support. + (closes: #574020) + * Policy bumped to 3.8.4, no changes required. + * Fixed LFS support detection for HDF5 in debian/rules. + + -- Francesco Paolo Lovergine Sun, 04 Apr 2010 20:07:33 +0200 + +h5utils (1.12-2) unstable; urgency=low + + * Changed build-dep in libhdf4-dev instead of libhdf4g-dev. + (closes: #540400) + * Added a versioned build-dep on hdf5 >= 1.8.3 to force rebuilding + with a current version of the library. + * Now protects quilt pushing. + (closes: #538549) + + -- Francesco Paolo Lovergine Wed, 04 Nov 2009 22:04:55 +0100 + +h5utils (1.12-1) unstable; urgency=low + + * New upstream release. + (closes: #532934, #525176, #491579) + * Added quilt build-dep to provide patches to upstream stuff. + * Partially ack NMU 1.10-7.1 to fix obsolete octave dependency and depend + on octave-config instead of running octave at building time. Autotools + stuff is properly regenerated to updated in respect with the new + configure.ac. Resulting quilt patch is patches/octave.diff. + (closes: #516453) + * Added Homepage and Vcs-* fields in debian/control. + * Policy bumped to 3.8.2. + * [Lintian] debian-rules-ignores-make-clean-error fixed. + + -- Francesco Paolo Lovergine Wed, 24 Jun 2009 15:25:38 +0200 + +h5utils (1.10-7) unstable; urgency=low + + * New maintainership team. Added me as uploader. + (closes: #393101) + * Debhelper level set to 5. + + -- Francesco Paolo Lovergine Fri, 25 May 2007 09:53:01 +0200 + +h5utils (1.10-6) unstable; urgency=low + + * QA upload. + * Fixed package description (Closes: #363631). + + -- Nico Golde Mon, 23 Apr 2007 21:28:51 +0200 + +h5utils (1.10-5) unstable; urgency=low + + * Orphan package. + + -- Josselin Mouette Sun, 15 Oct 2006 03:10:31 +0200 + +h5utils (1.10-4) unstable; urgency=low + + * Rebuild against HDF5 1.6.5. + + Build-depend on this version at least. + + -- Josselin Mouette Sat, 4 Mar 2006 17:05:59 +0100 + +h5utils (1.10-3) unstable; urgency=low + + * Makefile.am: + + Really build the plugin with -fPIC (closes: #338088). + + Use mkoctfile's -s option. + * Re-run aclocal and automake. + + -- Josselin Mouette Thu, 10 Nov 2005 21:46:22 +0100 + +h5utils (1.10-2) unstable; urgency=low + + * control: + + Build-depend on octave2.1-headers. + + Mention the octave plugin in the description. + * rules: + + Build the octave h5read plugin. + + Use DESTDIR instead of hacking the prefix. + + Clean h5read.oct. + * Makefile.{am,in}: build the octave plugin with -fPIC. + * compat: switch to compatibility level 4 for debhelper. + + -- Josselin Mouette Mon, 7 Nov 2005 21:44:20 +0100 + +h5utils (1.10-1) unstable; urgency=low + + * New upstream release (closes: #326402). + * Standards-version is 3.6.2. + * Configure with --with-hdf4. + + -- Josselin Mouette Sat, 3 Sep 2005 16:55:40 +0200 + +h5utils (1.9.1-3) unstable; urgency=low + + * Rebuild against HDF5 1.6.4-0c2. + + -- Josselin Mouette Wed, 31 Aug 2005 16:29:01 +0200 + +h5utils (1.9.1-2) unstable; urgency=low + + * Rebuild against HDF5 1.6.4. + + Build-depend on version 1.6.4 at least. + * Build-depend on libpng-dev instead of libpng12-dev. + + -- Josselin Mouette Sun, 5 Jun 2005 17:44:56 +0200 + +h5utils (1.9.1-1) unstable; urgency=low + + * New upstream release (closes: #259095). + * control: build-depend on libmatheval1-dev. + + -- Josselin Mouette Fri, 22 Oct 2004 11:40:55 +0200 + +h5utils (1.8-1) unstable; urgency=low + + * New upstream release (closes: #250400). + + -- Josselin Mouette Mon, 24 May 2004 13:44:43 +0200 + +h5utils (1.7.2-9) unstable; urgency=low + + * Rebuild against hdf5 1.6.2. + + -- Josselin Mouette Mon, 22 Mar 2004 18:04:56 +0100 + +h5utils (1.7.2-8) unstable; urgency=low + + * Rebuild against hdf5 1.6.1. + * Standards-version is 3.6.1, no changes. + + -- Josselin Mouette Tue, 28 Oct 2003 16:47:43 +0100 + +h5utils (1.7.2-7) unstable; urgency=low + + * Rebuild against new hdf5 packages. + + -- Josselin Mouette Mon, 21 Jul 2003 23:56:14 +0200 + +h5utils (1.7.2-6) unstable; urgency=low + + * Rebuild against HDF5 1.6.0. + * Standards-version is 3.6.0. + * Update libpng stuff. + + -- Josselin Mouette Wed, 16 Jul 2003 00:37:01 +0200 + +h5utils (1.7.2-5) unstable; urgency=low + + * Rebuild against HDF5 1.4.5. + * Don't build h5read.oct anymore, as octave 2.1 now natively reads + HDF5 slices. + * Cleanup rules file a bit. + + -- Josselin Mouette Mon, 10 Mar 2003 17:57:27 +0100 + +h5utils (1.7.2-4) unstable; urgency=low + + * Build h5fromh4 (build-depend on libhdf4g-dev). + * Enable LFS when HDF5 is built with LFS support. + + -- Josselin Mouette Thu, 10 Oct 2002 21:09:18 +0200 + +h5utils (1.7.2-3) unstable; urgency=low + + * Build-depend on g++-3.0 on ia64 (which is a workaround for a bug in + mkoctfile), to solve the build regression. + * debian/rules: should now follow 3.5.7 standards-version. + + -- Josselin Mouette Wed, 2 Oct 2002 18:35:23 +0200 + +h5utils (1.7.2-2) unstable; urgency=high + + * Rebuild against HDF5 1.4.4, with a build-time dependency. + * Add upstream URL in package description. + * Remove debian/shlibs.local. + + -- Josselin Mouette Fri, 27 Sep 2002 12:17:48 +0200 + +h5utils (1.7.2-1) unstable; urgency=low + + * New upstream release (1.7.1-7 patch went upstream). + * Makefile.in: build h5read.oct with -fPIC (closes: #152987). + + -- Josselin Mouette Tue, 16 Jul 2002 14:58:26 +0200 + +h5utils (1.7.1-7) unstable; urgency=low + + * h5read.cc: corrected string typo for G++ 3.0 (closes: #152987). + * debian/copyright: detail typo. + + -- Josselin Mouette Mon, 15 Jul 2002 10:41:19 +0200 + +h5utils (1.7.1-6) unstable; urgency=low + + * debian/rules: added upstream changelog to documentation. + + -- Josselin Mouette Wed, 19 Jun 2002 12:14:56 +0200 + +h5utils (1.7.1-5) unstable; urgency=low + + * Makefile.in: clean for h5topng.1 + * debian/control: changed short description (closes: #148440). + + -- Josselin Mouette Wed, 19 Jun 2002 11:29:05 +0200 + +h5utils (1.7.1-4) unstable; urgency=low + + * debian/rules: changed command line to get octave architecture. + + -- Josselin Mouette Sat, 25 May 2002 01:50:27 +0200 + +h5utils (1.7.1-3) unstable; urgency=low + + * Makefile.in: added -s option to mkoctfile. + * debian/rules: stripping h5read.oct. + + -- Josselin Mouette Thu, 25 Apr 2002 13:09:29 +0200 + +h5utils (1.7.1-2) unstable; urgency=low + + * debian/control: changed maintainer email. + * First upload to Debian (closes: #143269). + + -- Josselin Mouette Wed, 17 Apr 2002 11:06:23 +0200 + +h5utils (1.7.1-1) unstable; urgency=low + + * New upstream release + + -- Josselin Mouette Sun, 17 Mar 2002 03:09:19 +0100 + +h5utils (1.7-1) unstable; urgency=low + + * New upstream release + + -- Josselin Mouette Tue, 12 Mar 2002 17:12:46 +0100 + +h5utils (1.6-1) unstable; urgency=low + + * Initial Release. + * Suppressed h5tov5d (requires too big software), + h5read (obsoleted by octave-2.1) and h5fromh4 + (obsoleted by libhdf5). + + -- Josselin Mouette Tue, 23 Oct 2001 11:47:53 +0200 + +Local variables: +mode: debian-changelog +End: --- h5utils-1.12.1.orig/debian/compat +++ h5utils-1.12.1/debian/compat @@ -0,0 +1 @@ +7 --- h5utils-1.12.1.orig/debian/control +++ h5utils-1.12.1/debian/control @@ -0,0 +1,31 @@ +Source: h5utils +Section: science +Priority: optional +Maintainer: Debian GIS Project +Uploaders: Francesco Paolo Lovergine +Build-Depends: debhelper (>= 7), libhdf5-dev, libz-dev, libpng-dev, hdf5-tools, + libhdf4-dev, libmatheval-dev, liboctave-dev, quilt +Standards-Version: 3.8.4 +Homepage: http://ab-initio.mit.edu/h5utils/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-grass/packages/h5utils/trunk/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-grass/packages/h5utils/trunk + +Package: h5utils +Architecture: any +Depends: ${shlibs:Depends} +Recommends: hdf5-tools +Suggests: octave +Description: HDF5 files visualization tools + HDF5 (Hierarchical Data Format 5) is a file format for storing + scientific data. These tools allow to convert other formats to + HDF5 and to visualize HDF5 files. They include: + - h5topng, which extracts a 2d slice of an HDF5 file and + outputs a corresponding image in PNG format; + - h5totxt, which extracts 2d slices and outputs comma-delimited + text (suitable for import into a spreadsheet); + - h5fromtxt, which converts simple text input into + multi-dimensional numeric HDF5 datasets; + - h5fromh4, which converts HDF4 data to HDF5; + - h5tovtk, which converts HDF5 files to VTK files for + visualization with VTK-aware programs; + - h5read, a plugin for the Octave numerical language. --- h5utils-1.12.1.orig/debian/copyright +++ h5utils-1.12.1/debian/copyright @@ -0,0 +1,47 @@ +This package was debianized by Josselin Mouette on +Tue, 23 Oct 2001 11:47:53 +0200. + +It was downloaded from http://ab-initio.mit.edu/h5utils/ + +Upstream Author: Steven G. Johnson + +Copyright: + + The h5utils package is + Copyright (c) 1999, 2000, 2001 by the Massachusetts Institute of Technology + +############################################################################# + The following license applies to all files in the + h5utils package, EXCEPT h5tov5d.c (see below). +############################################################################# + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +############################################################################# + The following license applies ONLY to h5tov5d.c. + (still not distributed) +############################################################################# + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. + + --- h5utils-1.12.1.orig/debian/docs +++ h5utils-1.12.1/debian/docs @@ -0,0 +1 @@ +NEWS --- h5utils-1.12.1.orig/debian/patches/png1.5 +++ h5utils-1.12.1/debian/patches/png1.5 @@ -0,0 +1,44 @@ +--- h5utils-1.12.1.orig/writepng.c ++++ h5utils-1.12.1/writepng.c +@@ -240,6 +240,7 @@ + double skewsin = sin(skew), skewcos = cos(skew); + REAL minoverlay = 0, maxoverlay = 0; + png_byte mask_byte; ++ png_colorp palette; + + /* we must use direct color for translucent overlays */ + if (overlay) +@@ -309,7 +310,12 @@ + } + /* Set error handling. REQUIRED if you aren't supplying your own * + * error hadnling functions in the png_create_write_struct() call. */ ++ ++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 ++ if (setjmp(png_jmpbuf(png_ptr))) { ++#else + if (setjmp(png_ptr->jmpbuf)) { ++#endif + /* If we get here, we had a problem reading the file */ + fclose(fp); + png_destroy_write_struct(&png_ptr, (png_infopp) NULL); +@@ -334,7 +340,6 @@ + PNG_INTERLACE_NONE, + PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); + else { +- png_colorp palette; + + png_set_IHDR(png_ptr, info_ptr, width, height, 8 /* bit_depth */ , + PNG_COLOR_TYPE_PALETTE, +@@ -434,7 +439,12 @@ + png_write_end(png_ptr, info_ptr); + + /* if you malloced the palette, free it here */ ++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 ++ png_free(png_ptr, palette); ++ palette = NULL; ++#else + free(info_ptr->palette); ++#endif + + /* if you allocated any text comments, free them here */ + --- h5utils-1.12.1.orig/debian/patches/series +++ h5utils-1.12.1/debian/patches/series @@ -0,0 +1,2 @@ +# no patch +png1.5 --- h5utils-1.12.1.orig/debian/rules +++ h5utils-1.12.1/debian/rules @@ -0,0 +1,90 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif + +# LFS support +ifeq ($(shell grep '^[[:space:]]*Linux Large File Support (LFS)' /usr/lib/libhdf5.settings | sed 's/^[[:space:]]*Linux Large File Support (LFS):[[:space:]]*//'),yes) + CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_SOURCE -D_BSD_SOURCE + export CPPFLAGS +endif + +ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),) + export CPPFLAGS += -I/usr/include/hdf5/serial + export LDFLAGS += -Wl,-L/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial +endif + +patch: patch-stamp +patch-stamp: + QUILT_PATCHES=debian/patches quilt push --color=auto -a || [ $$? = 2 ] + touch $@ + +unpatch: + QUILT_PATCHES=debian/patches quilt pop -a || true + rm -rf .pc patch-stamp + +configure: patch config.status +config.status: + dh_testdir + ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --with-octave --with-hdf4 + +build: configure build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean h5read.oct + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/h5utils + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install unpatch