--- qpdf-2.1.orig/debian/changelog +++ qpdf-2.1/debian/changelog @@ -0,0 +1,116 @@ +qpdf (2.1-1ubuntu1) lucid; urgency=low + + * libqpdf/qpdf/Pl_AES_PDF.hh: Add missing "#include ". + + -- Michael Bienia Mon, 07 Dec 2009 11:09:45 +0100 + +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 --- qpdf-2.1.orig/debian/qpdf.doc-base +++ qpdf-2.1/debian/qpdf.doc-base @@ -0,0 +1,12 @@ +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 --- qpdf-2.1.orig/debian/watch +++ qpdf-2.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/qpdf/qpdf-([\d\.]+)\.tar\.gz debian uupdate --- qpdf-2.1.orig/debian/copyright +++ qpdf-2.1/debian/copyright @@ -0,0 +1,206 @@ +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-2008 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. --- qpdf-2.1.orig/debian/libqpdf-dev.install +++ qpdf-2.1/debian/libqpdf-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/include --- qpdf-2.1.orig/debian/rules +++ qpdf-2.1/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f + +# To distinguish variables that are truly local to this file (rather +# than for use by cdbs), we adopt the convention of starting local +# variables' names with l_. + +l_PWD := $(shell pwd) +l_STAMPS = debian/l_stamps + +# Variables used by cdbs + +VERSION := $(shell dpkg-parsechangelog | \ + awk '/Version:/ {print $$2}' | cut -d- -f 1) + +DEB_TAR_SRCDIR = qpdf-$(VERSION) +DEB_COMPRESS_EXCLUDE = \ + qpdf-manual.html \ + qpdf-manual.pdf \ + stylesheets.css + +DEB_CONFIGURE_USER_FLAGS = \ + --disable-test-compare-images + +# Include cdbs rules files. +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +cleanbuilddir:: + $(RM) -r $(l_STAMPS) + +# As 0.4.21, cdbs creates but doesn't remove debian/compat. It +# creates it conditionally, so this doesn't have a trivial fix. +clean:: + $(RM) debian/compat *.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 --- qpdf-2.1.orig/debian/control +++ qpdf-2.1/debian/control @@ -0,0 +1,85 @@ +Source: qpdf +Section: libs +Priority: optional +Build-Depends: cdbs, debhelper (>= 5.0.38), libpcre3-dev, zlib1g-dev +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jay Berkenbilt +Standards-Version: 3.8.3 +Homepage: http://qpdf.sourceforge.net + +Package: libqpdf3 +Section: libs +Architecture: any +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 +Depends: ${misc:Depends}, libqpdf3 (= ${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. --- qpdf-2.1.orig/debian/README.source +++ qpdf-2.1/debian/README.source @@ -0,0 +1,65 @@ + +INFORMATION SPECIFIC TO THE QPDF PACKAGE +======================================== + +Since I am the upstream author of qpdf, there are seldom patches in +the debian version of the software. When there are, the text below +describes how they are maintained. + + -- Jay Berkenbilt , Sun Feb 15 18:25:53 EST 2009 + + +BOILER-PLATE TEXT +================= + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. To set up quilt for +working with this package, cd to the root of the extracted source +package and run + + export QUILT_PATCHES=$PWD/debian/patches + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- qpdf-2.1.orig/debian/qpdf.install +++ qpdf-2.1/debian/qpdf.install @@ -0,0 +1,3 @@ +debian/tmp/usr/bin +debian/tmp/usr/share/man/man1 +debian/tmp/usr/share/doc/qpdf/* --- qpdf-2.1.orig/debian/libqpdf3.shlibs +++ qpdf-2.1/debian/libqpdf3.shlibs @@ -0,0 +1 @@ +libqpdf 3 libqpdf3 --- qpdf-2.1.orig/debian/libqpdf3.install +++ qpdf-2.1/debian/libqpdf3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libqpdf.so.* --- qpdf-2.1.orig/libqpdf/qpdf/Pl_AES_PDF.hh +++ qpdf-2.1/libqpdf/qpdf/Pl_AES_PDF.hh @@ -1,6 +1,7 @@ #ifndef __PL_AES_PDF_HH__ #define __PL_AES_PDF_HH__ +#include #include #include