Code

Initially added pfstmo-1.0-1.
authorSebastian Harl <sh@tokkee.org>
Tue, 19 Jun 2007 16:50:48 +0000 (17:50 +0100)
committerSebastian Harl <sh@tokkee.org>
Tue, 19 Jun 2007 16:50:48 +0000 (17:50 +0100)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..a5a0f5a
--- /dev/null
@@ -0,0 +1,6 @@
+pfstmo (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #411454).
+
+ -- Sebastian Harl <sh@tokkee.org>  Tue, 19 Jun 2007 16:04:32 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..e35f5df
--- /dev/null
@@ -0,0 +1,25 @@
+Source: pfstmo
+Section: graphics
+Priority: optional
+Maintainer: Sebastian Harl <sh@tokkee.org>
+Build-Depends: debhelper (>= 5), autotools-dev, pkg-config, libpfs-dev, fftw3-dev
+Standards-Version: 3.7.2
+
+Package: pfstmo
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: pfstools
+Description: set of tone mapping operators
+ This package contains a set of state-of-the-art tone mapping operators. Tone
+ mapping is a technique used to approximately map the appearance of
+ high-dynamic range (HDR) images to media with more limited dynamic range. The
+ operators are suitable for processing of both static images and animations.
+ .
+ The operators are embedded in a flexible framework (pfstools) which provides
+ a unified input/output mechanism and a modular architecture for the filtering
+ of the image data. Various file formats for static images and video are
+ transparently supported and the High Dynamic Range data are processed
+ modularly through a Unix piping mechanism.
+ .
+  Homepage: http://www.mpi-inf.mpg.de/resources/tmo/
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..a26c0cf
--- /dev/null
@@ -0,0 +1,81 @@
+This package was debianized by Sebastian Harl <sh@tokkee.org> on
+Tue, 19 Jun 2007 16:04:32 +0100.
+
+It was downloaded from <http://www.mpi-inf.mpg.de/resources/tmo/>.
+
+Upstream Author:
+       Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+
+Copyright Holders:
+       Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+       University of Utah
+
+Licenses:
+
+       Files src/ashikhmin02/pfstmo_ashikhmin02.cpp
+             src/ashikhmin02/tmo_ashikhmin02.h
+       Copyright (C) 2003, 2004 Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+       Written by Akiko Yoshida <yoshida@mpi-sb.mpg.de>
+       Written by Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+
+       File src/ashikhmin02/pyramid.h
+       Copyright (C) 2003, 2004 Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+       Written by Akiko Yoshida <yoshida@mpi-sb.mpg.de>
+
+       Files src/durand02/bilateral.cpp
+             src/durand02/bilateral.h
+             src/fattal02/pde.cpp
+       Copyright (C) 2003, 2004 Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+       Written by Rafal Mantiuk <mantiuk@mpi-sb.mpg.de>
+       Written by Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+
+       All other files (except src/reinhard02/approx.cpp and
+               src/reinhard02/tmo_reinhard02.cpp)
+       Copyright (C) 2003, 2004 Grzegorz Krawczyk <krawczyk@mpi-sb.mpg.de>
+
+       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/reinhard02/approx.cpp
+             src/reinhard02/tmo_reinhard02.cpp
+       Copyright (C) 2002 University of Utah
+       Written by Erik Reinhard <reinhard@cs.ucf.edu>
+
+       (The license of these files has been clarified by Erik Reinhard during a
+       private email conversation.)
+
+       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 (C) 2007, Sebastian Harl <sh@tokkee.org> and
+is licensed under the GPL, see above.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b6c0470
--- /dev/null
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# debian/rules for pfstmo
+#
+# Written by Sebastian Harl <sh@tokkee.org>
+
+# 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)
+
+config.status: configure
+       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 --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+               --prefix=/usr --mandir=\$${prefix}/share/man \
+               --infodir=\$${prefix}/share/info
+
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+       
+       $(MAKE)
+       
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+       
+       -$(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/pfstmo install
+
+binary-indep: build install
+       # nothing to do here
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs ChangeLog
+       dh_installdocs AUTHORS README TODO
+       dh_installexamples
+       dh_installman
+       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 
+