--- pfstools-1.8.1.orig/debian/pfstools.install +++ pfstools-1.8.1/debian/pfstools.install @@ -0,0 +1,4 @@ +usr/bin/* +usr/share/man/man1/* +usr/share/pfstools/hdrhtml_* + --- pfstools-1.8.1.orig/debian/libpfs-1.2-0.install +++ pfstools-1.8.1/debian/libpfs-1.2-0.install @@ -0,0 +1,2 @@ +usr/lib/libpfs*.so.* + --- pfstools-1.8.1.orig/debian/compat +++ pfstools-1.8.1/debian/compat @@ -0,0 +1 @@ +5 --- pfstools-1.8.1.orig/debian/copyright +++ pfstools-1.8.1/debian/copyright @@ -0,0 +1,85 @@ +This package was debianized by Sebastian Harl on +Mon, 11 Jun 2007 17:28:22 +0200. + +It was downloaded from . + +Upstream Authors: + Grzegorz Krawczyk + Rafal Mantiuk + + For contributions, see AUTHORS. + +Copyright Holders: + Grzegorz Krawczyk + Martin Lambers + Rafal Mantiuk + +License: + + File src/fileformat/pfsingdal.cpp + Copyright © 2008 Martin Lambers + + All other files (except doc/data_model.png, doc/pfs_format_spec.tex and + src/pfs/*) + Copyright © 2003-2009 Rafal Mantiuk + Copyright © 2003-2005 Grzegorz Krawczyk + + This package 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 package 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. + + You should have received a copy of the GNU General Public License + along with this package; if not, 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'. + + Files src/pfs/* + Copyright © 2003-2004 Rafal Mantiuk + Copyright © 2003-2004 Grzegorz Krawczyk + + This library is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at + your option) any later version. + + This library 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 Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, 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 Lesser General Public License +can be found in `/usr/share/common-licenses/LGPL'. + + Files doc/data_model.png + doc/pfs_format_spec.tex + + Copyright © 2003 Rafal Mantiuk + Copyright © 2003 Grzegorz Krawczyk + + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 or + any later version published by the Free Software Foundation; with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A + copy of the license is included in the section entitled "GNU Free + Documentation License". + +On Debian systems, the complete text of the GNU Free Documentation License +can be found in `/usr/share/common-licenses/GFDL'. + +The Debian packaging is © 2007-2009, Sebastian Harl and +is licensed under the GPL, see above. + --- pfstools-1.8.1.orig/debian/pfsglview.install +++ pfstools-1.8.1/debian/pfsglview.install @@ -0,0 +1,3 @@ +usr/bin/pfsglview +usr/share/man/man1/pfsglview.1 + --- pfstools-1.8.1.orig/debian/octave-pfstools.install +++ pfstools-1.8.1/debian/octave-pfstools.install @@ -0,0 +1,3 @@ +usr/lib/octave/* +usr/share/octave/* + --- pfstools-1.8.1.orig/debian/rules +++ pfstools-1.8.1/debian/rules @@ -0,0 +1,124 @@ +#!/usr/bin/make -f +# debian/rules for pfstools +# +# Written by Sebastian Harl + +# 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) + +CXXFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CXXFLAGS += -O0 +else + CXXFLAGS += -O2 +endif + +include /usr/share/octave/debian/defs.make +include /usr/share/dpatch/dpatch.make + +confflags = --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --with-moc=moc-qt3 \ + --with-octave-m-dir=$(MDIR)/pfstools \ + --with-octave-oct-dir=$(OCTDIR)/pfstools + +# Matlab is not available in Debian. +confflags += --disable-matlab + +# These libraries are not available / unusable in Debian. +confflags += --disable-jpeghdr --disable-gdal + +config.status: configure $(DPATCH_STAMPFN) + dh_testdir + + for file in config.guess config.sub; do \ + if [ ! -e $$file.upstream ]; then \ + mv $$file $$file.upstream; \ + ln -s /usr/share/misc/$$file .; \ + fi \ + done + + ./configure $(confflags) CXXFLAGS="$(CXXFLAGS)" + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || $(MAKE) distclean + + for file in config.guess config.sub; do \ + if [ -e $$file.upstream ]; then \ + rm -f $$file; \ + mv $$file.upstream $$file; \ + fi \ + done + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + chmod 644 debian/tmp/$(MDIR)/pfstools/* + + # these binaries are not available + rm debian/tmp/usr/share/man/man1/pfs*jpeghdr.1 + rm debian/tmp/usr/share/man/man1/pfsingdal.1 + +binary-indep: build install + # nothing to do here + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs README TODO doc/faq.txt doc/pfs_format_spec.pdf + dh_installdocs -A AUTHORS + dh_installexamples + dh_install --sourcedir=debian/tmp --fail-missing + # these files have been installed twice by dh_install + rm -f debian/pfstools/usr/bin/pfs*view debian/pfstools/usr/bin/pfsv \ + debian/pfstools/usr/share/man/man1/pfsv.1 \ + debian/pfstools/usr/share/man/man1/pfs*view.1 + dh_installman + dh_link + dh_strip --dbg-package=pfstools-dbg + # mkoctfile removes any symbol table and relocation information from the + # .oct files making them unusable for the -dbg package + rm -rf debian/pfstools-dbg/usr/lib/debug/usr/lib/octave/ + dh_compress -X.pdf + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -Llibpfs-1.2-0 -ldebian/libpfs-1.2-0/usr/lib/ + octave3.2-depends -poctave-pfstools + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + --- pfstools-1.8.1.orig/debian/changelog +++ pfstools-1.8.1/debian/changelog @@ -0,0 +1,124 @@ +pfstools (1.8.1-2ubuntu3) precise; urgency=low + + * No change rebuild for imagemagick4 transition + + -- Michael Terry Fri, 18 Nov 2011 10:42:53 -0500 + +pfstools (1.8.1-2ubuntu2) oneiric; urgency=low + + * gfortran-4.6 rebuild. + + -- Matthias Klose Sun, 11 Sep 2011 11:22:00 +0000 + +pfstools (1.8.1-2ubuntu1) natty; urgency=low + + * debian/patches/fix-args-quoting.dpatch: patch from Joshua Hopp to fix + quoting of passed arguments. (LP: #751517) + + -- Daniel Holbach Thu, 07 Apr 2011 14:38:55 +0200 + +pfstools (1.8.1-2build1) maverick; urgency=low + + * No changes upload for libmagick2 -> libmagick3 transition + + -- Fabrice Coutadeur Tue, 20 Jul 2010 04:48:06 +0000 + +pfstools (1.8.1-2) unstable; urgency=low + + [ Thomas Weber ] + * Switch to octave3.2 (Closes: #567875). + + [ Sebastian Harl ] + * debian/control: + - Updated standards-version to 3.8.4 -- no changes. + - Let libpfs-dev depend on libpfs (= ${binary:Version}) (rather than a + weak dependency on >= ${source:Version}). + - Let all packages depend on ${misc:Depends}. + * Added debian/README.source: + - The file includes a pointer to /usr/share/doc/dpatch/README.source.gz. + + -- Sebastian Harl Mon, 15 Mar 2010 22:50:05 +0100 + +pfstools (1.8.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Add patch gcc-4.4.dpatch, to fix FTBFS w/ gcc 4.4, rationale; patch + from Ubuntu (with some extra comments/rationale by me). + (Closes: #554494) + + -- Stefano Zacchiroli Sun, 20 Dec 2009 15:12:00 +0100 + +pfstools (1.8.1-1) unstable; urgency=low + + * New upstream release. + * debian/patches: + - Removed dcraw-m.dpatch - merged upstream. + - Removed octave3.0.dpatch - merged upstream. + - Added octave-nargin.dpatch - this patch lets octave scripts use the + variable nargin instead of length(argv); the latter does not work + reliably when no command line arguments have been specified. + - Added octave-signal.dpatch - this patch lets pfsstat bail out with an + error message if gausswin() is not available, telling the user to + install octave-signal. + * Removed debian/pfsglview.1 - included upstream. + * debian/control: + - Added libmagick++-dev as an option to the libmagick++9-dev build + dependency. + - Updated Standards-Version to 3.8.1 - no changes. + - Changed section of package 'pfstools-dbg' to the newly added section + 'debug'. + - Build-depend on texlive-latex-base rather than the obsolete tetex-bin. + - Updated homepage. + - Let pfstools recommend octave-signal which is required by pfsstat. + * debian/pfsglview.install: + - Install the pfsglview.1 manpage. + * debian/pfstools.install: + - Install usr/share/pfstools/hdrhtml_*. + * debian/rules: + - Use dh_install's --fail-missing instead of --list-missing. + - Explicitly disable all features that are not available to ensure + consistent builds - currently this is matlab, jpeghdr and gdal. + - Pass CXXFLAGS as arguments to configure instead of setting them in the + environment - this is the recommended way. + * debian/control, debian/rules: + - Use ${octave:Depends} and octave3.0-depends instead of explicitly + depending on octave3.0. + + -- Sebastian Harl Mon, 08 Jun 2009 20:41:22 +0200 + +pfstools (1.6.4-2) unstable; urgency=low + + * Switched to octave3.0, thanks to Thomas Weber for the patches + (Closes: #458131). + - Added octave3.0.dpatch including required changes for octave 3.0. + * Added dcraw-m.dpatch which fixes the usage of dcraw's "-m" command line + option (Closes: #464724). + + -- Sebastian Harl Mon, 31 Mar 2008 16:38:54 +0200 + +pfstools (1.6.4-1) unstable; urgency=low + + * New upstream release. + - Added missing includes required by gcc-4.3 (Closes: #455648). + * Downgraded pfstool's requirement on octave{,pfstools} to a recommendation + (Closes: #445909). + * Added new binary packages for pfsglview and pfsview to prevent users from + having to install OpenGL/GLUT and Qt. + * Removed a bashism from debian/rules (Closes: #456508). + * Renamed "XS-Vcs-*" fields to Vcs-* and moved "Homepage" field from the + package description to the source stanza: + - Added versioned build dependency on dpkg-dev (>= 1.14.6). + * Updated to standards version 3.7.3 (no changes). + * Changed maintainer to pkg-phototools team: + - Moved myself to uploaders. + * Added a watch file, thanks to Cyril Brulebois. + + -- Sebastian Harl Sun, 27 Jan 2008 17:33:12 +0100 + +pfstools (1.6.2-1) unstable; urgency=low + + * Initial release (Closes: #399503, #410669). + * Added pfsglview.1 from upstream CVS. + + -- Sebastian Harl Fri, 10 Aug 2007 15:00:06 +0200 + --- pfstools-1.8.1.orig/debian/libpfs-1.2-0.shlibs +++ pfstools-1.8.1/debian/libpfs-1.2-0.shlibs @@ -0,0 +1 @@ +libpfs-1.2 0 libpfs-1.2-0 (>= 1.6) --- pfstools-1.8.1.orig/debian/pfsview.install +++ pfstools-1.8.1/debian/pfsview.install @@ -0,0 +1,5 @@ +usr/bin/pfsv +usr/bin/pfsview +usr/share/man/man1/pfsv.1 +usr/share/man/man1/pfsview.1 + --- pfstools-1.8.1.orig/debian/libpfs-dev.install +++ pfstools-1.8.1/debian/libpfs-dev.install @@ -0,0 +1,6 @@ +usr/include/* +usr/lib/libpfs*.a +usr/lib/libpfs*.la +usr/lib/libpfs*.so +usr/lib/pkgconfig/* + --- pfstools-1.8.1.orig/debian/README.source +++ pfstools-1.8.1/debian/README.source @@ -0,0 +1,4 @@ +This package uses dpatch to manage all modifications to the upstream source. +See /usr/share/doc/dpatch/README.source.gz for instructions how to generate +the patched source, add a new modification, and remove an existing one. + --- pfstools-1.8.1.orig/debian/control +++ pfstools-1.8.1/debian/control @@ -0,0 +1,100 @@ +Source: pfstools +Section: graphics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian PhotoTools Maintainers +Uploaders: Sebastian Harl +Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.14.6), dpatch, gfortran, autotools-dev, libqt3-mt-dev, libmagick++-dev | libmagick++9-dev, libtiff4-dev, libopenexr-dev, libnetpbm10-dev, octave3.2-headers, texlive-latex-base, freeglut3-dev +Standards-Version: 3.8.4 +Homepage: http://pfstools.sourceforge.net/ +Vcs-Git: git://git.debian.org/git/pkg-phototools/pfstools.git +Vcs-Browser: http://git.debian.org/?p=pkg-phototools/pfstools.git + +Package: pfstools +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: pfsglview | pfsview, pfstmo, octave3.2, octave-signal, octave-pfstools +Suggests: dcraw, exrtools, imagemagick +Description: command line HDR manipulation programs + pfstools is a set of command line (and two GUI) programs for reading, + writing, manipulating and viewing high-dynamic range (HDR) images and video + frames. All programs in this package exchange data using a simple generic + file format (pfs) for HDR data. It is an attempt to integrate existing file + formats by providing a simple data format that can be used to exchange data + between applications. + . + The concept of pfstools is similar to netpbm for low-dynamic range images. + +Package: pfsglview +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: pfstools +Replaces: pfstools (<< 1.6.2-2) +Description: command line HDR manipulation programs (OpenGL/GLUT viewer) + PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate + existing file formats by providing a simple data format that can be used to + exchange data between applications. + . + This package contains a viewer implemented in OpenGL/GLUT. + +Package: pfsview +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: pfstools +Replaces: pfstools (<< 1.6.2-2) +Description: command line HDR manipulation programs (Qt viewer) + PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate + existing file formats by providing a simple data format that can be used to + exchange data between applications. + . + This package contains a viewer implemented in Qt. + +Package: pfstools-dbg +Section: debug +Architecture: any +Priority: extra +Depends: pfstools (= ${binary:Version}), pfsglview (= ${binary:Version}), + pfsview (= ${binary:Version}), libpfs-1.2-0 (= ${binary:Version}), + ${misc:Depends} +Description: command line HDR manipulation programs (debugging symbols) + PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate + existing file formats by providing a simple data format that can be used to + exchange data between applications. + . + This package contains the debugging symbols for the pfstools binaries and the + shared library. + +Package: libpfs-dev +Section: libdevel +Architecture: any +Depends: libpfs-1.2-0 (= ${binary:Version}), ${misc:Depends} +Description: C++ library to read and write pfs files (development files) + PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate + existing file formats by providing a simple data format that can be used to + exchange data between applications. This library can be used to write custom + applications that can integrate with the existing pfstools programs. + . + This package contains the header files and the static library. + +Package: libpfs-1.2-0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: C++ library to read and write pfs files + PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate + existing file formats by providing a simple data format that can be used to + exchange data between applications. This library can be used to write custom + applications that can integrate with the existing pfstools programs. + . + This package contains the shared library. + +Package: octave-pfstools +Section: math +Architecture: any +Depends: ${octave:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: octave bindings for pfstools + PFS is a high-dynamic range (HDR) image format. It is an attempt to integrate + existing file formats by providing a simple data format that can be used to + exchange data between applications. + . + This package contains octave bindings to read and write PFS files. --- pfstools-1.8.1.orig/debian/watch +++ pfstools-1.8.1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://sf.net/pfstools/pfstools-([0-9.]+)\.tar\.gz --- pfstools-1.8.1.orig/debian/patches/octave-nargin.dpatch +++ pfstools-1.8.1/debian/patches/octave-nargin.dpatch @@ -0,0 +1,43 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## octave-nargin.dpatch by Sebastian Harl +## +## DP: Use nargin instead of length(argv). +## DP: +## DP: length(argv) does not work reliably when no arguments are passed to +## DP: some octave script. + +@DPATCH@ + +--- a/src/octave/pfsoctavelum ++++ b/src/octave/pfsoctavelum +@@ -29,7 +29,7 @@ + + #fprintf( stderr, "l = %d\n", length( argv ) ); + +-if( length( argv ) != 1 ) ++if( nargin != 1 ) + error( "Expecting exactly one parameter with octave code to be execuded" ); + endif + +--- a/src/octave/pfsoctavergb ++++ b/src/octave/pfsoctavergb +@@ -29,7 +29,7 @@ + + #fprintf( stderr, "l = %d\n", length( argv ) ); + +-if( length( argv ) != 1 ) ++if( nargin != 1 ) + error( "Expecting exactly one parameter with octave code to be execuded" ); + endif + +--- a/src/octave/pfsstat ++++ b/src/octave/pfsstat +@@ -29,7 +29,7 @@ + + #fprintf( stderr, "l = %d\n", length( argv ) ); + +-if( length( argv ) != 0 ) ++if( nargin != 0 ) + error( "Expecting no parameters" ); + endif + --- pfstools-1.8.1.orig/debian/patches/00list +++ pfstools-1.8.1/debian/patches/00list @@ -0,0 +1,4 @@ +octave-nargin.dpatch +octave-signal.dpatch +gcc-4.4.dpatch +fix-args-quoting.dpatch --- pfstools-1.8.1.orig/debian/patches/gcc-4.4.dpatch +++ pfstools-1.8.1/debian/patches/gcc-4.4.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## gcc-4.4.dpatch by Fabrice Coutadeur +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix compilation error with GCC 4.4. Fix get from http://sourceforge.net/tracker/index.php?func=detail&aid=2848391&group_id=129921&atid=716245 +## DP: Rationale (by zack@debian.org): the "name" argument is in fact *not* used as "const" +## DP: Closes: #554494 + +@DPATCH@ +diff -urNad pfstools-1.8.1~/src/filter/pfspanoramic.cpp pfstools-1.8.1/src/filter/pfspanoramic.cpp +--- pfstools-1.8.1~/src/filter/pfspanoramic.cpp 2008-07-29 16:14:30.000000000 +0000 ++++ pfstools-1.8.1/src/filter/pfspanoramic.cpp 2009-09-10 20:11:29.000000000 +0000 +@@ -191,7 +191,7 @@ + singleton.projections[ string( name ) ] = ptr; + } + +- static Projection *getProjection(const char *name) ++ static Projection *getProjection(char *name) + { + char *opts; + --- pfstools-1.8.1.orig/debian/patches/fix-args-quoting.dpatch +++ pfstools-1.8.1/debian/patches/fix-args-quoting.dpatch @@ -0,0 +1,117 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## Description: fix quoting of arguments +## Origin/Author: Joshua Hopp +## Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/pfstools/+bug/751517 +## Forwarded: http://sourceforge.net/tracker/?func=detail&aid=3279342&group_id=129921&atid=716245 +## fix-args-quoting.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix quoting of arguments. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pfstools-1.8.1~/src/fileformat/pfsin pfstools-1.8.1/src/fileformat/pfsin +--- pfstools-1.8.1~/src/fileformat/pfsin 2009-06-01 20:01:29.000000000 +0200 ++++ pfstools-1.8.1/src/fileformat/pfsin 2011-04-07 14:38:37.611927357 +0200 +@@ -3,7 +3,7 @@ + # Read any image and write pfs stream to the standard output + ############################################################ + +-if test -z $1 || test "$1" = "--help"; then ++if test -z "$1" || test "$1" = "--help"; then + cat </dev/null; then +- pfsinimgmagick $file_pattern $global_arguments $extra_arguments ++ pfsinimgmagick "$file_pattern" $global_arguments $extra_arguments + else +- jpegtopnm $file_pattern | pfsinppm - $global_arguments $extra_arguments ++ jpegtopnm "$file_pattern" | pfsinppm - $global_arguments $extra_arguments + fi + ;; + ("png"|"PNG") + ## Use ImageMagick if possible, if not - netpbm + if which pfsinimgmagick >/dev/null; then +- pfsinimgmagick $file_pattern $global_arguments $extra_arguments ++ pfsinimgmagick "$file_pattern" $global_arguments $extra_arguments + else +- pngtopnm $file_pattern | pfsinppm - $global_arguments $extra_arguments ++ pngtopnm "$file_pattern" | pfsinppm - $global_arguments $extra_arguments + fi + ;; + ("dpx"|"DPX"|"gif"|"GIF"|"bmp"|"BMP"|"eps"|"EPS") +- pfsinimgmagick $file_pattern $global_arguments $extra_arguments ++ pfsinimgmagick "$file_pattern" $global_arguments $extra_arguments + ;; + ("pfs"|"PFS") +- cat $file_pattern | pfstag --set "FILE_NAME=${file_pattern}" ++ cat "$file_pattern" | pfstag --set "FILE_NAME=${file_pattern}" + ;; + ("hdrgen"|"HDRGEN") +- pfsinhdrgen $file_pattern $global_arguments $extra_arguments ++ pfsinhdrgen "$file_pattern" $global_arguments $extra_arguments + ;; + (*) +- if dcraw -i $file_pattern > /dev/null 2>&1; then +- pfsindcraw $file_pattern $global_arguments $extra_arguments ++ if dcraw -i "$file_pattern" > /dev/null 2>&1; then ++ pfsindcraw "$file_pattern" $global_arguments $extra_arguments + else + echo 1>&2 "Unknown extension: $extension" + exit 1 +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' pfstools-1.8.1~/src/pfsview/pfsv pfstools-1.8.1/src/pfsview/pfsv +--- pfstools-1.8.1~/src/pfsview/pfsv 2009-06-01 20:01:29.000000000 +0200 ++++ pfstools-1.8.1/src/pfsview/pfsv 2011-04-07 14:38:50.307990322 +0200 +@@ -3,10 +3,10 @@ + # View HDR images + ############################################################ + +-if [ -z $1 ]; then ++if [ -z "$1" ]; then + echo "View HDR images"; + echo "Usage: pfsv [...]" + exit 0; + fi + +-pfsin $@ | pfsview ++pfsin "$@" | pfsview --- pfstools-1.8.1.orig/debian/patches/octave-signal.dpatch +++ pfstools-1.8.1/debian/patches/octave-signal.dpatch @@ -0,0 +1,21 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## octave-signal.dpatch by Sebastian Harl +## +## DP: pfsstat: Bail out with an error if octave-signal is not available. + +@DPATCH@ + +--- a/src/octave/pfsstat ++++ b/src/octave/pfsstat +@@ -33,6 +33,11 @@ + error( "Expecting no parameters" ); + endif + ++if( 2 != exist( 'gausswin' ) ) ++ error( "%s requires the 'signal' package - please install octave-signal\n", \ ++ program_name () ); ++endif ++ + firstFrame = true; + while( true ) + pin = pfsget( pin );