debian/0000755000000000000000000000000012302755320007165 5ustar debian/copyright0000644000000000000000000001207111765075655011143 0ustar 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: Free Software Foundation, Inc. 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, m4/*, src/pfs/* and some files in src/hdrhtml/) Copyright © 2003-2009 Rafal Mantiuk Copyright © 2003-2005 Grzegorz Krawczyk Parts of the files src/hdrhtml/hdrhtml_hdrlabs_templ/hdrhtml_assets/hdr_viewer.js src/hdrhtml/hdrhtml_hdrlabs_templ/hdrhtml_page_templ.html Copyright © Christian Bloch 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'. Files m4/*.m4 Copyright © 1996-2008 Free Software Foundation, Inc. This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. File src/hdrhtml/hdrhtml_hdrlabs_templ/hdrhtml_assets/mootools-1.2.4.js Copyright © 2006-2009 Valerio Proietti File src/hdrhtml/hdrhtml_hdrlabs_templ/hdrhtml_assets/mouse2touch.js Copyright © Chi Wai Lau Copyright © Scott Kyle 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 Debian packaging is © 2007-2010, Sebastian Harl and is licensed under the GPL, version 2 or later, see above. debian/octave-pfstools.install0000644000000000000000000000004711765074606013723 0ustar usr/lib/*/octave/* usr/share/octave/* debian/changelog0000644000000000000000000001406512302755320011045 0ustar pfstools (1.8.5-1ubuntu3) trusty; urgency=medium * Rebuild for octave 3.8. -- Matthias Klose Mon, 24 Feb 2014 23:50:40 +0000 pfstools (1.8.5-1ubuntu2) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). -- Logan Rosen Fri, 31 Jan 2014 13:34:51 -0500 pfstools (1.8.5-1ubuntu1) quantal; urgency=low * Rebuild for imagemagick5 * debian/control: - Build-Depend on an unversioned libtiff-dev instead of libtiff4-dev -- Michael Terry Mon, 16 Jul 2012 16:28:20 -0400 pfstools (1.8.5-1) unstable; urgency=low * debian/rules: - Split 'build' target into 'build-arch' and 'build-indep'. - Use dpkg-buildflags to get build flags. * debian/control: - Updated standards-version to 3.9.3. * debian/copyright: - Updated for upstream version 1.8.5. * debian/patches/: - Added Wformat-security.dpatch, fixing some issues identified by -Wformat-security. -- Sebastian Harl Sat, 30 Jun 2012 14:48:49 +0200 pfstools (1.8.5-0.1) unstable; urgency=low * Non-maintainer upload. [ Sébastien Villemot ] * New upstream release, build-depend on Qt4 instead of Qt3 (Closes: #604368) * gcc-4.4.dpatch: remove patch, applied upstream * Convert to format 3.0 (quilt) and drop dpatch, because otherwise Lintian produces an error (dpatch is obsolete) [ Rafael Laboissiere ] * debian/control: - Build-depend on liboctave-dev, such that the package builds with Octave 3.6 (Closes: #666959) - Depend simply on octave, do not use the obsolete ${octave:Depends} substitution variable anymore * debian/rules: - Use directly the octave-config script in order to get the installation path for the *.oct and *.m files - Do not invoke the obsolete script octave-depends * debian/octave-pfstools.install: Adjust for the multiarch path, which contains the architecture triplet now -- Sébastien Villemot Sun, 03 Jun 2012 11:00:46 +0200 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 debian/libpfs-dev.install0000644000000000000000000000013311762754054012621 0ustar usr/include/* usr/lib/libpfs*.a usr/lib/libpfs*.la usr/lib/libpfs*.so usr/lib/pkgconfig/* debian/libpfs-1.2-0.shlibs0000644000000000000000000000004311762754054012316 0ustar libpfs-1.2 0 libpfs-1.2-0 (>= 1.6) debian/pfstools.install0000644000000000000000000000007511762754054012444 0ustar usr/bin/* usr/share/man/man1/* usr/share/pfstools/hdrhtml_* debian/pfsglview.install0000644000000000000000000000006211762754054012575 0ustar usr/bin/pfsglview usr/share/man/man1/pfsglview.1 debian/compat0000644000000000000000000000000211762754054010377 0ustar 5 debian/patches/0000755000000000000000000000000011773572647010640 5ustar debian/patches/octave-nargin.dpatch0000644000000000000000000000177011773572647014567 0ustar #! /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 debian/patches/series0000644000000000000000000000010211773572647012046 0ustar octave-nargin.dpatch octave-signal.dpatch Wformat-security.dpatch debian/patches/octave-signal.dpatch0000644000000000000000000000100311773572647014553 0ustar #! /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 ); debian/patches/Wformat-security.dpatch0000644000000000000000000000077411773572647015321 0ustar Description: Fix certain issues identified by -Wformat-security. Author: Sebastian Harl --- a/src/pfs/pfs.cpp +++ b/src/pfs/pfs.cpp @@ -525,8 +525,7 @@ static void writeTags( const TagContaine TagList::const_iterator it; fprintf( out, "%d" PFSEOL, tags->getSize() ); for( it = tags->tagsBegin(); it != tags->tagsEnd(); it++ ) { - fprintf( out, (const char*)(it->c_str()) ); - fprintf( out, PFSEOL ); + fprintf( out, "%s" PFSEOL, (const char*)(it->c_str()) ); } } debian/control0000644000000000000000000001046712272766312010611 0ustar 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), gfortran, dh-autoreconf, libqt4-dev, libmagick++-dev | libmagick++9-dev, libtiff-dev, libopenexr-dev, libnetpbm10-dev, liboctave-dev, texlive-latex-base, freeglut3-dev Standards-Version: 3.9.3 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, octave, 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, ${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. debian/pfsview.install0000644000000000000000000000012511762754054012252 0ustar usr/bin/pfsv usr/bin/pfsview usr/share/man/man1/pfsv.1 usr/share/man/man1/pfsview.1 debian/rules0000755000000000000000000000551712272766277010300 0ustar #!/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) CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) CFLAGS = $(shell dpkg-buildflags --get CFLAGS) CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) CXXFLAGS += -Wall MDIR = $(shell octave-config --print LOCALFCNFILEDIR) OCTDIR = $(shell octave-config --print LOCALOCTFILEDIR) confflags = --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ --mandir=\$${prefix}/share/man \ --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 dh_testdir dh_autoreconf ./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \ CXXFLAGS="$(CXXFLAGS)" build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp [ ! -f Makefile ] || $(MAKE) clean [ ! -f Makefile ] || $(MAKE) distclean dh_autoreconf_clean 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/ dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/source/0000755000000000000000000000000011765074606010502 5ustar debian/source/format0000644000000000000000000000001411765074606011710 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000034211762754054011357 0ustar 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. debian/watch0000644000000000000000000000007611762754054010235 0ustar version=3 http://sf.net/pfstools/pfstools-([0-9.]+)\.tar\.gz debian/libpfs-1.2-0.install0000644000000000000000000000002611762754054012501 0ustar usr/lib/libpfs*.so.*