debian/0000755000000000000000000000000012265321626007173 5ustar debian/copyright0000644000000000000000000002205712265321626011134 0ustar This package was debianized by Jay Berkenbilt on April 26, 2008. It was downloaded from http://sourceforge.net/projects/qpdf/ Upstream Maintainers: Jay Berkenbilt Copyright (C) 2005-2013 Jay Berkenbilt This software is distributed under the terms of version 2.0 of the Artistic license, the text of which appears below. ---------------------------------------------------------------------- Artistic License 2.0 Copyright (c) 2000-2006, The Perl Foundation. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software. You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement. Definitions "Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package. "Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures. "You" and "your" means any person who would like to copy, distribute, or modify the Package. "Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version. "Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization. "Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees. "Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder. "Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder. "Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future. "Source" form means the source code, documentation source, and configuration files for the Package. "Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form. Permission for Use and Modification Without Distribution (1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version. Permissions for Redistribution of the Standard Version (2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package. (3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License. Distribution of Modified Versions of the Package as Source (4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following: (a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version. (b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version. (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under (i) the Original License or (ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed. Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source (5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license. (6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version. Aggregating or Linking the Package (7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation. (8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package. Items That are Not Considered Part of a Modified Version (9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license. General Provisions (10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license. (11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license. (12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder. (13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed. (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/qpdf.doc-base0000644000000000000000000000053212265321626011524 0ustar Document: qpdf-manual Title: Manual for QPDF Author: Jay Berkenbilt Abstract: This manual describes how to use the QPDF tools and library. Section: Text Format: HTML Index: /usr/share/doc/qpdf/qpdf-manual.html Files: /usr/share/doc/qpdf/qpdf-manual.html /usr/share/doc/qpdf/stylesheet.css Format: PDF Files: /usr/share/doc/qpdf/qpdf-manual.pdf debian/qpdf.install0000644000000000000000000000012112265321626011507 0ustar debian/tmp/usr/bin debian/tmp/usr/share/man/man1 debian/tmp/usr/share/doc/qpdf/* debian/changelog0000644000000000000000000002334512265321626011054 0ustar qpdf (5.1.1-1) unstable; urgency=medium * New upstream release. -- Jay Berkenbilt Tue, 14 Jan 2014 15:51:35 -0500 qpdf (5.1.0-1) unstable; urgency=medium * New upstream release * Use dh-autoreconf (Closes: #732093) * Update standards to 3.9.5. No changes required. -- Jay Berkenbilt Tue, 17 Dec 2013 15:50:11 -0500 qpdf (5.0.1-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Fri, 18 Oct 2013 12:53:02 -0400 qpdf (5.0.0-2) unstable; urgency=low * Upload to unstable -- Jay Berkenbilt Fri, 26 Jul 2013 09:45:50 -0400 qpdf (5.0.0-1) experimental; urgency=low * New upstream release -- Jay Berkenbilt Wed, 10 Jul 2013 13:34:36 -0400 qpdf (4.2.0-2) unstable; urgency=low * Revert ABI change caused by bug fix. The bug fix will be re-released in qpdf 5.0.0. (Closes: #715448) -- Jay Berkenbilt Wed, 10 Jul 2013 13:00:43 -0400 qpdf (4.2.0-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Sun, 07 Jul 2013 19:05:03 -0400 qpdf (4.1.0-2) unstable; urgency=low * Re-upload to unstable. * Build depend on autotools-dev to always get latest config.sub and config.guess * Update standards version to 3.9.4. No changes made. (qpdf is a C++ library with versioned symbols that version "*", so we continue to use a shlibs file instead of a symbols file.) -- Jay Berkenbilt Tue, 07 May 2013 14:15:47 -0400 qpdf (4.1.0-1) experimental; urgency=low * New upstream release -- Jay Berkenbilt Sun, 14 Apr 2013 14:51:40 -0400 qpdf (4.0.1-2) experimental; urgency=low * Bug fix: proper handling of overridden compressed objects. This fix is backported from upstream and will be part of 4.1.0. -- Jay Berkenbilt Sat, 23 Feb 2013 18:11:56 -0500 qpdf (4.0.1-1) experimental; urgency=low * New upstream release. All patches incorporated. -- Jay Berkenbilt Thu, 17 Jan 2013 10:09:39 -0500 qpdf (4.0.0-2) experimental; urgency=low * Patch to test code for detection of binary attachments on big-endian systems. No actual qpdf code is changed. -- Jay Berkenbilt Wed, 16 Jan 2013 13:44:28 -0500 qpdf (4.0.0-1) experimental; urgency=low * New upstream release -- Jay Berkenbilt Mon, 31 Dec 2012 11:06:44 -0500 qpdf (3.0.2-1) experimental; urgency=low * New upstream release -- Jay Berkenbilt Thu, 06 Sep 2012 16:42:48 -0400 qpdf (3.0.1-1) experimental; urgency=low * New upstream release -- Jay Berkenbilt Sat, 11 Aug 2012 13:58:29 -0400 qpdf (3.0.0-2) experimental; urgency=low * Package .pc file in dev package. -- Jay Berkenbilt Thu, 09 Aug 2012 21:20:22 -0400 qpdf (3.0.0-1) experimental; urgency=low * New upstream release * Note: this release is fully production-ready. It has been uploaded to debian experimental only because of the Wheezy freeze in effect at the time of upload. -- Jay Berkenbilt Thu, 02 Aug 2012 06:36:49 -0400 qpdf (3.0~rc1-1) experimental; urgency=low * New upstream release * Change hardening to use dpkg-buildflags -- Jay Berkenbilt Sun, 29 Jul 2012 14:57:40 -0400 qpdf (2.3.1-4) unstable; urgency=low * Work around portability issues exposed by upgrading to gcc 4.7. The next upstream version of qpdf will handle these properly. (Closes: #673404) -- Jay Berkenbilt Sat, 19 May 2012 09:21:52 -0400 qpdf (2.3.1-3) unstable; urgency=low * Enable hardening and multiarch. -- Jay Berkenbilt Sun, 22 Apr 2012 10:51:21 -0400 qpdf (2.3.1-2) unstable; urgency=low * Fix to work with pcre 8.30. (Closes: #666308) * Update standards to 3.9.3. * Fix typo in zlib-flate manual page. Thanks A. Costa. (Closes: #666983) -- Jay Berkenbilt Fri, 06 Apr 2012 21:45:43 -0400 qpdf (2.3.1-1) unstable; urgency=low * New upstream release * Release includes documentation fixes reported in debian bug reports. (Closes: #638038, #636931) -- Jay Berkenbilt Wed, 28 Dec 2011 17:38:56 -0500 qpdf (2.3.0-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Thu, 11 Aug 2011 16:43:32 -0400 qpdf (2.2.4-1) unstable; urgency=low * New upstream release. * -Werror is now disabled by default, so it is no longer disabled explicitly in debian/rules. -- Jay Berkenbilt Sat, 25 Jun 2011 15:14:13 -0400 qpdf (2.2.3-2) unstable; urgency=low * Disable -Werror for debian builds. (Closes: #625420) -- Jay Berkenbilt Sat, 07 May 2011 09:37:25 -0400 qpdf (2.2.3-1) unstable; urgency=low * New upstream release * Updated standards to 3.9.2. No changes required. -- Jay Berkenbilt Sat, 30 Apr 2011 16:18:28 -0400 qpdf (2.2.2-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Mon, 04 Oct 2010 12:14:33 -0400 qpdf (2.2.1-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Sat, 02 Oct 2010 12:00:30 -0400 qpdf (2.2.0-2) unstable; urgency=low * Updated shlibs file to reflect added API. Thanks Julien Cristau. -- Jay Berkenbilt Sat, 21 Aug 2010 12:02:55 -0400 qpdf (2.2.0-1) unstable; urgency=low * New upstream release * Updated standards to 3.9.1. No changes required. -- Jay Berkenbilt Sat, 14 Aug 2010 14:14:52 -0400 qpdf (2.1.5-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Sun, 25 Apr 2010 11:11:03 -0400 qpdf (2.1.4-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Sun, 18 Apr 2010 19:26:55 -0400 qpdf (2.1.3-1) unstable; urgency=low * New upstream release * Updated standards version to 3.8.4. No changes required. -- Jay Berkenbilt Sat, 27 Mar 2010 12:24:48 -0400 qpdf (2.1.2-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Sun, 24 Jan 2010 20:47:09 -0500 qpdf (2.1.1-1) unstable; urgency=low * New upstream release * Updated source format to '3.0 (quilt)' * Upstream release builds with gcc 4.4. (Closes: #559877) -- Jay Berkenbilt Mon, 14 Dec 2009 15:02:12 -0500 qpdf (2.1-1) unstable; urgency=low * New upstream release -- Jay Berkenbilt Fri, 30 Oct 2009 19:59:00 -0400 qpdf (2.1~rc1-1) experimental; urgency=low * New upstream release. Several enhancements including support for PDF files with AES encryption, a partial C API (qpdf is primarily C++), and several additional enhancements to the API. There are a few source API changes, though most programs will not be affected; details in documentation. * Updated standards version to 3.8.3. No changes required. -- Jay Berkenbilt Sat, 24 Oct 2009 10:33:43 -0400 qpdf (2.0.6-1) unstable; urgency=low * New upstream release * New release includes a fix for streams with decode parameters that qpdf doesn't understand. (It ignores them and leaves the streams unfiltered instead of giving an error message.) * Updated standards version to 3.8.1. No changes required. -- Jay Berkenbilt Sun, 03 May 2009 16:30:11 -0400 qpdf (2.0.5-1) unstable; urgency=low * New upstream release * New release includes fixes to LZW decoder and improved features for handling files with damaged streams. -- Jay Berkenbilt Tue, 10 Mar 2009 13:02:50 -0400 qpdf (2.0.4-1) unstable; urgency=low * New upstream release * Fix README.source since we don't use tarball in tarball anymore. -- Jay Berkenbilt Sun, 22 Feb 2009 17:39:50 -0500 qpdf (2.0.3-1) unstable; urgency=low * New upstream release * Upstream release includes fix for gcc 4.4 compilation errors. (Closes: #505422) * No longer use tarball in tarball source package format -- Jay Berkenbilt Sun, 15 Feb 2009 18:02:05 -0500 qpdf (2.0.2-1) unstable; urgency=low * New upstream release. All debian changes incorporated. -- Jay Berkenbilt Mon, 30 Jun 2008 11:04:02 -0400 qpdf (2.0.1-3) unstable; urgency=low * Fix bashism in test suite. (Closes: #485047) * Update standards version to 3.8.0 by adding a debian/README.source file. NO other changes were required. -- Jay Berkenbilt Sat, 07 Jun 2008 21:14:05 -0400 qpdf (2.0.1-2) unstable; urgency=low * Increase timeout in test driver to be more tolerant of slow build systems. -- Jay Berkenbilt Wed, 07 May 2008 11:44:56 -0400 qpdf (2.0.1-1) unstable; urgency=low * New upstream release * All debian patches incorporated. -- Jay Berkenbilt Tue, 06 May 2008 12:15:20 -0400 qpdf (2.0-5) unstable; urgency=low * Fix 64-bit errors -- Jay Berkenbilt Mon, 05 May 2008 10:38:23 -0400 qpdf (2.0-4) unstable; urgency=low * Remove tests in specific locales. These are obsolete and cause false failures when locales aren't fully configured. -- Jay Berkenbilt Sun, 04 May 2008 22:02:56 -0400 qpdf (2.0-3) unstable; urgency=low * Added missing header files needed for g++-4.3. (Closes: #479301). (Now figuring out why my sid chroot doesn't have gcc 4.3.) -- Jay Berkenbilt Sun, 04 May 2008 12:01:31 -0400 qpdf (2.0-2) unstable; urgency=low * Added missing strlen.h to correct build failure. -- Jay Berkenbilt Sat, 03 May 2008 22:04:26 -0400 qpdf (2.0-1) unstable; urgency=low * Initial public release. (Closes: #478585) -- Jay Berkenbilt Wed, 30 Apr 2008 12:00:29 -0400 debian/patches/0000755000000000000000000000000012265321626010622 5ustar debian/patches/series0000644000000000000000000000000012265321626012025 0ustar debian/rules0000755000000000000000000000141412265321626010253 0ustar #!/usr/bin/make -f # Enable all hardening options. export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk DEB_MAKE_CHECK_TARGET = check DEB_COMPRESS_EXCLUDE = \ qpdf-manual.html \ qpdf-manual.pdf \ stylesheets.css DEB_CONFIGURE_USER_FLAGS = --libdir="\$${prefix}/lib/$(DEB_HOST_MULTIARCH)" \ --enable-show-failed-test-output # Include cdbs rules files. include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk clean:: $(RM) *.cdbs-config_list install/libqpdf-dev:: mkdir -p debian/tmp/usr/share/doc/libqpdf-dev/examples cp -p $(DEB_SRCDIR)/examples/*.cc $(DEB_SRCDIR)/examples/*.c \ debian/tmp/usr/share/doc/libqpdf-dev/examples debian/libqpdf13.shlibs0000644000000000000000000000004112265321626012161 0ustar libqpdf 13 libqpdf13 (>> 5.0.0~) debian/libqpdf-dev.install0000644000000000000000000000016412265321626012761 0ustar debian/tmp/usr/lib/*/lib*.so debian/tmp/usr/lib/*/lib*.a debian/tmp/usr/lib/*/pkgconfig/*.pc debian/tmp/usr/include debian/qpdf.lintian-overrides0000644000000000000000000000030012265321626013476 0ustar # hardening-check says this is from memmove qpdf: hardening-no-fortify-functions usr/bin/qpdf # hardening-check says this is from fread qpdf: hardening-no-fortify-functions usr/bin/zlib-flate debian/control0000644000000000000000000001001012265321626010566 0ustar Source: qpdf Section: libs Priority: optional Build-Depends: cdbs (>> 0.4.93~), debhelper (>> 9~), dh-autoreconf, dpkg-dev (>= 1.16.1~), libpcre3-dev, zlib1g-dev Maintainer: Jay Berkenbilt Standards-Version: 3.9.5 Homepage: http://qpdf.sourceforge.net Package: libqpdf13 Section: libs Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: qpdf Description: runtime library for PDF transformation/inspection software QPDF is a program that can be used to linearize (web-optimize), encrypt (password-protect), decrypt, and inspect PDF files from the command-line. It does these and other structural, content-preserving transformations on PDF files, reading a PDF file as input and creating a new one as output. It also provides many useful capabilities to developers of PDF-producing software or for people who just want to look at the innards of a PDF file to learn more about how they work. . QPDF understands PDF files that use compressed object streams (supported by newer PDF applications) and can convert such files into those that can be read with older viewers. It can also be used for checking PDF files for structural errors, inspecting stream contents, or extracting objects from PDF files. QPDF is not PDF content creation or viewing software -- it does not have the capability to create PDF files from scratch or to display PDF files. . This package contains the qpdf runtime libraries required to run programs that link with the qpdf library. Package: libqpdf-dev Section: libdevel Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${misc:Depends}, libqpdf13 (= ${binary:Version}), libpcre3-dev, zlib1g-dev Recommends: qpdf Description: development files for PDF transformation/inspection library QPDF is a program that can be used to linearize (web-optimize), encrypt (password-protect), decrypt, and inspect PDF files from the command-line. It does these and other structural, content-preserving transformations on PDF files, reading a PDF file as input and creating a new one as output. It also provides many useful capabilities to developers of PDF-producing software or for people who just want to look at the innards of a PDF file to learn more about how they work. . QPDF understands PDF files that use compressed object streams (supported by newer PDF applications) and can convert such files into those that can be read with older viewers. It can also be used for checking PDF files for structural errors, inspecting stream contents, or extracting objects from PDF files. QPDF is not PDF content creation or viewing software -- it does not have the capability to create PDF files from scratch or to display PDF files. . This package includes all development files needed to compile applications that use the qpdf library. Package: qpdf Section: text Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: tools for and transforming and inspecting PDF files QPDF is a program that can be used to linearize (web-optimize), encrypt (password-protect), decrypt, and inspect PDF files from the command-line. It does these and other structural, content-preserving transformations on PDF files, reading a PDF file as input and creating a new one as output. It also provides many useful capabilities to developers of PDF-producing software or for people who just want to look at the innards of a PDF file to learn more about how they work. . QPDF understands PDF files that use compressed object streams (supported by newer PDF applications) and can convert such files into those that can be read with older viewers. It can also be used for checking PDF files for structural errors, inspecting stream contents, or extracting objects from PDF files. QPDF is not PDF content creation or viewing software -- it does not have the capability to create PDF files from scratch or to display PDF files. . This package includes the command-line qpdf tools. It also contains the documentation. debian/libqpdf13.install0000644000000000000000000000004212265321626012344 0ustar debian/tmp/usr/lib/*/libqpdf.so.* debian/source/0000755000000000000000000000000012265321626010473 5ustar debian/source/format0000644000000000000000000000001412265321626011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212265321626010371 0ustar 9 debian/watch0000644000000000000000000000010412265321626010217 0ustar version=3 http://sf.net/qpdf/qpdf-([\d\.]+)\.tar\.gz debian uupdate