debian/0000755000000000000000000000000011773075646007206 5ustar debian/yorick-hdf5.packinfo0000644000000000000000000000033311772422621013031 0ustar :newsubsection hdf5: Hierarchical Data Format 5 interface :hdf5 interface plugin to the NCSA Hierarchical Data Format version 5. It includes function for reading, writing, updating, getting information on HDF5 files debian/yorick-hdf5.keywords0000644000000000000000000000001011772422621013076 0ustar hdf5 h5 debian/rules0000755000000000000000000000045011773075131010252 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: $(MAKE) COPT_DEFAULT="" \ Y_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ Y_LDFLAGS="$(LDFLAGS)" override_dh_auto_install-arch: dh_installyorick override_dh_auto_clean: $(MAKE) Y_MAKEDIR=/usr/lib/yorick Y_EXE=/usr/bin/yorick clean debian/changelog0000644000000000000000000000417511773075252011060 0ustar yorick-hdf5 (0.8.0-4) unstable; urgency=low * Fortify (don't rely on yorick to provide right flags) -- Thibaut Paumard Thu, 28 Jun 2012 17:39:22 +0200 yorick-hdf5 (0.8.0-3) unstable; urgency=low * Amend debian/control to abide by Debian Science Policy * Patch Makefile instead of running yorick -batch make.i * Simplfiy debian/rules with short dh notation * Deactivate pre-0.6.2 bug warning, its really old. -- Thibaut Paumard Wed, 27 Jun 2012 11:26:58 +0200 yorick-hdf5 (0.8.0-2) unstable; urgency=low * Change HDF5 build dep. * Use "3.0 (quilt)" format. * Bump standards version. -- Thibaut Paumard Mon, 23 Jan 2012 22:33:21 +0100 yorick-hdf5 (0.8.0-1) unstable; urgency=low * New upstream release (Closes: #556923) * Use quilt for patch management * Checked against policy 3.8.3 -- Thibaut Paumard Wed, 18 Nov 2009 13:02:06 +0100 yorick-hdf5 (0.6.1-2) unstable; urgency=low * Bug fix: "yorick-hdf5: FTBFS: /usr/bin/make: invalid option -- 2", thanks to Lucas Nussbaum (Closes: #476034). CFLAGS was passed as argument to make in debian/rules in a way that just breaks. -- Thibaut Paumard Tue, 15 Apr 2008 17:23:59 +0200 yorick-hdf5 (0.6.1-1) unstable; urgency=low * New upstream release * debian/watch: file added * debian/rules: converted to dh_installyorick * added debian/ynstall * added debian/yorick-hdf5.packinfo * added debian/yorick-hdf5.keywords * debian/control: * DM-Upload-Allowed field added * upgraded to Standards-Version: 3.7.3.0 * upgrade build dependency on yorick-dev (>= 2.1.05+dfsg-2~bpo40+1) * debian/copyright: updated and converted to the machine-readable format proposed at http://wiki.debian.org/Proposals/CopyrightFormat -- Thibaut Paumard Tue, 15 Jan 2008 11:05:31 +0100 yorick-hdf5 (0.6-1) unstable; urgency=low * Initial Release. Closes: #366705 -- Thibaut Paumard Fri, 12 May 2006 19:10:20 +0200 debian/watch0000644000000000000000000000010711772422621010221 0ustar version=3 http://www.maumae.net/yorick/packages/src/hdf5-(.*)-src\.tgz debian/README.source0000644000000000000000000000047011772422621011352 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for usage. -- Thibaut Paumard , Sun, 15 Nov 2009 15:37:34 +0100 debian/docs0000644000000000000000000000003011772422621010036 0ustar hdf5doc.txt h5convert.1 debian/control0000644000000000000000000000155211773075072010605 0ustar Source: yorick-hdf5 Section: science Priority: extra Maintainer: Debian Science Maintainers Uploaders: Thibaut Paumard Build-Depends: debhelper (>= 9), yorick-dev (>= 2.1.05+dfsg-2~bpo40+1), libhdf5-dev (>= 1.8.8~) | libhdf5-serial-dev Standards-Version: 3.9.3 DM-Upload-Allowed: yes Vcs-Git: git://git.debian.org/git/debian-science/packages/yorick-hdf5.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/yorick-hdf5.git Package: yorick-hdf5 Architecture: any Depends: yorick (>= 1.6.02), ${shlibs:Depends}, ${misc:Depends} Description: Hierarchical Data Format 5 interface for the Yorick language HDF5 is the yorick interface plugin to the NCSA Hierarchical Data Format version 5. It includes function for reading, writing, updating, getting information on HDF5 files. debian/compat0000644000000000000000000000000211773075100010365 0ustar 9 debian/copyright0000644000000000000000000000222011772544744011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: François Rigaut Source: http://www.maumae.net/yorick/packages/src/hdf5-0.6.1-src.tgz Files: * Copyright: © 2003-2007, François Rigaut © 2006-2012, Thibaut Paumard License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (to receive a copy of the GNU General Public License, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA). . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/README.Debian0000644000000000000000000000131711772422621011235 0ustar Yorick HDF5 plugin for Debian ----------------------------- This is the `hdf5' plugin by François Rigaut for the Yorick interpreted language, prepackaged for Debian GNU/Linux. A sample/test file is provided in /usr/share/doc/yorick-hdf5/examples/. You can run it with "yorick -batch check.i" after decompressing the file somewhere. Pre-0.6.2 versions of this plug-in had a bug which would reverse the ordering of array dimensions. A tool is provided to convert such buggy files to work as axpected with the newer versions of the plug-in: /usr/lib/yorick/bin/h5convert documented in man /usr/share/doc/yorick-hdf5/h5convert.1 -- Thibaut Paumard , Wed, 18 Nov 2009 11:54:18 +0100 debian/source/0000755000000000000000000000000011772422621010472 5ustar debian/source/format0000644000000000000000000000001411772422621011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011772550563010630 5ustar debian/patches/pre062bug_debian_doc0000644000000000000000000000226111772550563014417 0ustar # TP 20091118 # Adapt the message concerning the wrong-dimension-order bug, which is # displayed the first time a user uses HDF5 v. > 0.6.2, to Debian # systems. --- a/hdf5.i +++ b/hdf5.i @@ -204,9 +204,9 @@ "not convert files automatically. Thus you, the user, has to convert your", "own files. I apologize for this. To facilitate the conversion, I have", "written (and debugged) a small function: h5old2new (see help page).", - "In the hdf5 tarball, you should also find a small shell script, h5convert", + "On a Debian system, /usr/lib/yorick/bin/h5convert is a small shell script", "that wraps h5old2new and provide a convenient way to rename bunch of ", - "files. See the man file (man ./h5convert.1 in the hdf5 directory, or", + "files. See the man file (man /usr/share/doc/yorick-hdf5/h5convert.1), or", "help,h5convert within yorick.", "","Note that this only concerns multi-dimensional arrays. Other data types", "are not affected.", @@ -218,7 +218,8 @@ f=open(Y_USER+".hdf5_convert_warning_done","w"); close,f; } -h5v062bug_warning; +// deactivate this old warning +//if (!batch()) h5v062bug_warning; local h5convert; debian/patches/configure0000644000000000000000000000176111772534577012550 0ustar Description: configure this package Yorick packages are usually configured by running yorick -batch make.i which modifies Makefile. Modifying source files at build time is not very well supported in the quilt / git workflow, so let's just patch Makefile and not run yorick -batch make.i at build time. Author: Thibaut Paumard Origin: Vendor Forwarded: not-needed Last-Update: 2012-06-27 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ # $Id: Makefile,v 1.3 2008/11/21 16:19:17 frigaut Exp $ -Y_MAKEDIR=/home/frigaut/yorick-2.1.05x-arch -Y_EXE=/home/frigaut/yorick-2.1.05x-arch/bin/yorick +Y_MAKEDIR=/usr/lib/yorick +Y_EXE=/usr/lib/yorick/bin/yorick Y_EXE_PKGS= -Y_EXE_HOME=/home/frigaut/yorick-2.1.05x-arch -Y_EXE_SITE=/home/frigaut/yorick-2.1.05x-arch +Y_EXE_HOME=/usr/lib/yorick +Y_EXE_SITE=/usr/lib/yorick +Y_HOME_PKG= # ----------------------------------------------------- optimization flags debian/patches/wrong_place_for_fromshell_i0000644000000000000000000000137311772550445016307 0ustar # TP 20091118 # The two *_fromshell.i files should end up in Y_SIT/i/, not in i0/. --- a/Makefile +++ b/Makefile @@ -14,7 +14,8 @@ # ------------------------------------------------ macros for this package PKG_NAME=hdf5 -PKG_I=hdf5.i h5scan_fromshell.i h5convert_fromshell.i +PKG_I=hdf5.i +PKG_I_EXTRA=h5scan_fromshell.i h5convert_fromshell.i OBJS=hdf5.o @@ -97,6 +98,7 @@ mkdir -p binaries/$(PKG_NAME)/dist/y_site/i0 mkdir -p binaries/$(PKG_NAME)/dist/y_home/bin cp -p $(PKG_I) binaries/$(PKG_NAME)/dist/y_site/i0/ + cp -p $(PKG_I_EXTRA) binaries/$(PKG_NAME)/dist/y_site/i/ cp -p $(PKG_NAME).so binaries/$(PKG_NAME)/dist/y_home/lib/ cp -p h5info binaries/$(PKG_NAME)/dist/y_home/bin/. cp -p h5convert binaries/$(PKG_NAME)/dist/y_home/bin/. debian/patches/series0000644000000000000000000000012311772546460012042 0ustar configure wrong_place_for_fromshell_i pre062bug_debian_doc check_from_built_source debian/patches/check_from_built_source0000644000000000000000000000072111772547132015430 0ustar Description: Run check.i from built source adapt yorick's plug-ins path Author: Thibaut Paumard Origin: vendor Forwarded: not-needed Last-Update: 2012-06-27 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/check.i +++ b/check.i @@ -1,5 +1,7 @@ // $Id: check.i,v 1.2 2008/11/21 16:19:17 frigaut Exp $ +if (open("hdf5.so", "r", 1)) plug_dir, _(".", plug_dir()); + require,"hdf5.i"; require,"fits.i"; debian/examples0000644000000000000000000000001111772422621010723 0ustar check*.i debian/ynstall0000644000000000000000000000013311772422621010600 0ustar hdf5.info debian/yorick-hdf5.packinfo debian/yorick-hdf5.keywords h5info bin h5convert bin