debian/0000755000000000000000000000000012211375743007173 5ustar debian/links0000644000000000000000000000006212077464255010243 0ustar /usr/share/pdfposter/pdfposter /usr/bin/pdfposter debian/copyright0000644000000000000000000000252012202756031011116 0ustar This package was debianized by Thomas Bläsing on Tue, 07 Oct 2008 10:20:20 +0200 It was downloaded from http://pdfposter.origo.ethz.ch/ Upstream Author: Hartmut Goebel Copyright: Copyright (C) 2008 Hartmut Goebel License: 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 3 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. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License, version 3, can be found in /usr/share/common-licenses/GPL-3. The original Debian packaging is Copyright (C) 2008, Thomas Bläsing and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. Further debian packaging Copyright 2012, Elena Grandi, licensed under GPL version 3 or later. See `/usr/share/common-licenses/GPL-3'. debian/patches/0000755000000000000000000000000012203725343010616 5ustar debian/patches/series0000644000000000000000000000003712147100055012025 0ustar do_include_namespace_init.diff debian/patches/do_include_namespace_init.diff0000644000000000000000000000062012077464255016625 0ustar Description: include __init__.py for namespace packages Forwarded: not-needed Author: Elena Grandi --- a/setup.py +++ b/setup.py @@ -43,7 +43,6 @@ install_requires = ['pyPdf>1.10'], packages=find_packages(exclude=['ez_setup']), - namespace_packages=['pdftools'], package_data = { # If any package contains *.txt or *.rst files, include them: debian/patches/graceful_failure_on_non_pdf.diff0000644000000000000000000000127512077464255017166 0ustar Description: Fail gracefully with non-PDF input. Forwarded: yes (via email) Bug-Debian: http://bugs.debian.org/569552 Author: Elena Grandi --- a/pdftools/pdfposter/cmd.py +++ b/pdftools/pdfposter/cmd.py @@ -25,6 +25,7 @@ from . import main, __version__, DEFAULT_MEDIASIZE, papersizes, DecryptionError import re +from pyPdf.utils import PdfReadError # pattern for parsing user textual box spec pat_box = re.compile(r''' @@ -121,6 +122,8 @@ main(opts, *args) except DecryptionError, e: raise SystemExit(str(e)) + except PdfReadError: + parser.error('Only well formed PDF files are supported as input.') if __name__ == '__main__': debian/preinst0000755000000000000000000000030212077464255010607 0ustar #!/bin/sh set -e # TODO: remove this file after releasing Squeeze if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.4.4-2 then pycentral pkgremove pdfposter fi #DEBHELPER# debian/docs0000644000000000000000000000002712203115763010040 0ustar README.txt debian/html debian/changelog0000644000000000000000000000323012203722214011031 0ustar pdfposter (0.6.0-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Elena Grandi ] * New upstream release * Regenerate PDF files from python sources * Include html documentation * Updated homepage and author contacts * debian/control: bump Standards-Version to 3.9.3 (no changes needed). -- Elena Grandi Wed, 22 May 2013 10:03:38 +0200 pdfposter (0.5.0-2) unstable; urgency=low * Added dependency on python-pkg-resources (Closes: #681318) -- Elena Grandi Thu, 12 Jul 2012 17:55:12 +0200 pdfposter (0.5.0-1) unstable; urgency=low * New upstream release (Closes: #656033) * Adopted package (original maintainer MIA) * New (temporary) homepage and download location * Deprecation warnings solved upstream (Closes: #605464) * debian/control: bump Standards-Version to 3.9.3 * Switch to dh_python * Switch to format 3.0 (quilt) * Fail gracefully with non PDF input (Closes: #569552) -- Elena Grandi Wed, 27 Jun 2012 17:02:42 +0200 pdfposter (0.4.4-2) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Luca Falavigna ] * Switch to python-support. * debian/rules: pass --prefix=/usr to setup.py (Closes: #557915). * debian/control: bump Standards-Version to 3.8.3, no changes needed. -- Python Applications Packaging Team Sat, 12 Dec 2009 12:15:47 +0100 pdfposter (0.4.4-1) unstable; urgency=low * Initial release (Closes: #495808) -- Thomas Bläsing Tue, 07 Oct 2008 10:20:20 +0200 debian/compat0000644000000000000000000000000212077464255010400 0ustar 5 debian/pdfposter.manpages0000644000000000000000000000002112147103270012677 0ustar docs/pdfposter.1 debian/control0000644000000000000000000000267212203201653010572 0ustar Source: pdfposter Section: python Priority: optional Maintainer: Elena Grandi Uploaders: Python Applications Packaging Team Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: python (>= 2.6.6-3~), python-setuptools (>= 0.6c8), python-docutils, python-pypdf (>= 1.10), python-reportlab, python-sphinx Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pdfposter/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/pdfposter/trunk/ Homepage: http://pythonhosted.org/pdftools.pdfposter/ Package: pdfposter Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-pypdf (>= 1.10), python-pkg-resources, libjs-jquery, libjs-underscore Description: scale and tile PDF images/pages to print on multiple pages Pdfposter can be used to create a large poster by building it from multiple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the poster. The input page will be scaled to obtain the desired size. . This is much like poster does for Postscript files, but working with PDF. Since sometimes poster does not like your files converted from PDF. :-) Indeed pdfposter was inspired by poster. For more information please refer to the manpage or visit the project homepage debian/examples0000644000000000000000000000002112202733463010722 0ustar examples/* test/ debian/watch0000644000000000000000000000015012077464255010227 0ustar version=3 http://pypi.python.org/packages/source/p/pdftools.pdfposter/pdftools.pdfposter-(.*)\.tar\.bz2 debian/pdfposter.doc-base0000644000000000000000000000043512203115706012572 0ustar Document: pdfposter Title: pdftools.PDFposter’s documentation Author: Hartmut Goebel Abstract: This manual describes what pdfposter is, and how it can be used. Section: Office Format: HTML Index: /usr/share/doc/pdfposter/html/index.html Files: /usr/share/doc/pdfposter/html/*.html debian/rules0000755000000000000000000000154112203117557010252 0ustar #!/usr/bin/make -f %: dh $@ --with python2 override_dh_auto_build: dh_auto_build python setup.py build_docs python examples/gen-examplepages.py examples/testpage-tall.pdf examples/testpage-wide.pdf python test/gen-allboxespage.py test/allboxes-noboxes.pdf test/allboxes.pdf python test/gen-testpages.py test/testpages-a4.pdf python test/gen-trimmedpage.py test/trimmedpage.pdf cd docs && make html BUILDDIR=../debian #sphinx-build -b html docs debian/html rm -f debian/html/_static/jquery.js rm -f debian/html/_static/underscore.js rm -rf debian/html/.doctrees override_dh_auto_clean: dh_auto_clean rm -r pdftools.pdfposter.egg-info rm -f pdfposter.1 rm -rf debian/html override_dh_auto_install: python setup.py install --root=debian/pdfposter --install-layout=deb --install-lib=/usr/share/pdfposter --install-scripts=/usr/share/pdfposter debian/source/0000755000000000000000000000000012203725343010467 5ustar debian/source/format0000644000000000000000000000001412077464255011710 0ustar 3.0 (quilt)