From 3d356056a6c7dffda2188390207f83f27364e911 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 19 Jun 2007 17:50:48 +0100 Subject: [PATCH 1/1] Initially added pfstmo-1.0-1. --- debian/changelog | 6 ++++ debian/compat | 1 + debian/control | 25 +++++++++++++++ debian/copyright | 81 ++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 196 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..a5a0f5a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +pfstmo (1.0-1) unstable; urgency=low + + * Initial release (Closes: #411454). + + -- Sebastian Harl Tue, 19 Jun 2007 16:04:32 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e35f5df --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: pfstmo +Section: graphics +Priority: optional +Maintainer: Sebastian Harl +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 index 0000000..a26c0cf --- /dev/null +++ b/debian/copyright @@ -0,0 +1,81 @@ +This package was debianized by Sebastian Harl on +Tue, 19 Jun 2007 16:04:32 +0100. + +It was downloaded from . + +Upstream Author: + Grzegorz Krawczyk + +Copyright Holders: + Grzegorz Krawczyk + University of Utah + +Licenses: + + Files src/ashikhmin02/pfstmo_ashikhmin02.cpp + src/ashikhmin02/tmo_ashikhmin02.h + Copyright (C) 2003, 2004 Grzegorz Krawczyk + Written by Akiko Yoshida + Written by Grzegorz Krawczyk + + File src/ashikhmin02/pyramid.h + Copyright (C) 2003, 2004 Grzegorz Krawczyk + Written by Akiko Yoshida + + Files src/durand02/bilateral.cpp + src/durand02/bilateral.h + src/fattal02/pde.cpp + Copyright (C) 2003, 2004 Grzegorz Krawczyk + Written by Rafal Mantiuk + Written by Grzegorz Krawczyk + + All other files (except src/reinhard02/approx.cpp and + src/reinhard02/tmo_reinhard02.cpp) + Copyright (C) 2003, 2004 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/reinhard02/approx.cpp + src/reinhard02/tmo_reinhard02.cpp + Copyright (C) 2002 University of Utah + Written by Erik Reinhard + + (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 and +is licensed under the GPL, see above. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b6c0470 --- /dev/null +++ b/debian/rules @@ -0,0 +1,83 @@ +#!/usr/bin/make -f +# debian/rules for pfstmo +# +# 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) + +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 + -- 2.30.2