From 856f4b38e516117ba7708e8af7ea099d40aa4097 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 24 Mar 2010 01:47:43 +0100 Subject: Added pdfclean to Debian package and fixed a manpage typo. --- debian/changelog | 7 +++++++ debian/control | 3 ++- debian/mupdf-utils.install | 1 + debian/mupdf-utils.manpages | 1 + debian/mupdf.1 | 1 + debian/pdfclean.1 | 41 +++++++++++++++++++++++++++++++++++++++++ debian/pdfdraw.1 | 3 ++- debian/pdfshow.1 | 1 + 8 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 debian/pdfclean.1 diff --git a/debian/changelog b/debian/changelog index 45a55289..b4e79546 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +mupdf (1.0-3) unstable; urgency=low + + * Added pdfclean and a suitable manpage to the mupdf-utils package and + fixed a few errors and omissions. + + -- Sebastian Rasmussen Wed, 24 Mar 2010 01:42:02 +0100 + mupdf (1.0-2) unstable; urgency=low * Added mupdf-utils package, including debugging utilities pdfshow and diff --git a/debian/control b/debian/control index 790703ae..1a02b910 100644 --- a/debian/control +++ b/debian/control @@ -34,4 +34,5 @@ Description: Debugging utils for MuPDF, a lightweight PDF renderer in C . These are the utilities used when developing and debugging the MuPDF renderer. Included is pdfdraw that renders and outputs the result to a PNM - file and pdfshow that prints the contents of PDF objects. + file, pdfshow that prints the contents of PDF objects and pdfclean that + garbage collects, decompresses and pretty prints complete PDF files. diff --git a/debian/mupdf-utils.install b/debian/mupdf-utils.install index 4c74170b..a1cabfe0 100644 --- a/debian/mupdf-utils.install +++ b/debian/mupdf-utils.install @@ -1,2 +1,3 @@ build/debug/pdfdraw usr/bin +build/debug/pdfclean usr/bin build/debug/pdfshow usr/bin diff --git a/debian/mupdf-utils.manpages b/debian/mupdf-utils.manpages index d398dc6f..bc7fa250 100644 --- a/debian/mupdf-utils.manpages +++ b/debian/mupdf-utils.manpages @@ -1,2 +1,3 @@ +debian/pdfclean.1 debian/pdfdraw.1 debian/pdfshow.1 diff --git a/debian/mupdf.1 b/debian/mupdf.1 index fc7c7bd3..5ee3860f 100644 --- a/debian/mupdf.1 +++ b/debian/mupdf.1 @@ -112,6 +112,7 @@ Rotate page counter-clockwise or left by 15\(de. .B s Rotate page clockwise or right by 15\(de. .SH SEE ALSO +.BR pdfclean (1), .BR pdfdraw (1), .BR pdfshow (1). .SH AUTHOR diff --git a/debian/pdfclean.1 b/debian/pdfclean.1 new file mode 100644 index 00000000..9bfe9b37 --- /dev/null +++ b/debian/pdfclean.1 @@ -0,0 +1,41 @@ +.TH PDFCLEAN 1 "March 24, 2010" +.\" Please adjust this date whenever revising the manpage. +.SH NAME +pdfclean \- garbage collect, decompress and pretty print a PDF file +.SH SYNOPSIS +.B pdfclean +.RI [ options ] +.RI PDFfile +.RI [ output ] +.SH DESCRIPTION +This manual page briefly describes the +.B pdfclean +command. Unless any options that modify the behaviour are specified the +input PDF file is pretty printed and stored under the output PDF file name +(out.pdf if no file name is given). +.PP +.SH OPTIONS +A description of each of the supported options is included below. +.TP +.B \-p password +Uses the given password during decryption of an encrypted PDF file. +The password is tried both as user and owner password. +.TP +.B \-g +Enables garbage collection of PDF objects that have no references from +other objects. +.TP +.B \-x +Expands compressed PDF object streams. This may make a file much larger, +but provides easy access to all PDF object streams. Note that encrypted +files requires the password to be set using +.B \-p . +.SH SEE ALSO +.BR mupdf (1), +.BR pdfdraw (1). +.BR pdfshow (1). +.SH AUTHOR +MuPDF was written by Tor Andersson . +MuPDF is Copyright 2006-2010 Artifex Software, Inc. +.PP +This manual page was written by Sebastian Rasmussen . diff --git a/debian/pdfdraw.1 b/debian/pdfdraw.1 index c1b9e150..839d1f52 100644 --- a/debian/pdfdraw.1 +++ b/debian/pdfdraw.1 @@ -1,7 +1,7 @@ .TH PDFDRAW 1 "March 21, 2010" .\" Please adjust this date whenever revising the manpage. .SH NAME -pdfdraw \- renderer tool to convert a PDF file to PNM image files. +pdfdraw \- renderer tool to convert a PDF file to PNM image files .SH SYNOPSIS .B pdfdraw .RI [ options ] @@ -48,6 +48,7 @@ well as summary statistics after all pages in each PDF file have been rendered. .SH SEE ALSO .BR mupdf (1), +.BR pdfclean (1). .BR pdfshow (1). .SH AUTHOR MuPDF was written by Tor Andersson . diff --git a/debian/pdfshow.1 b/debian/pdfshow.1 index 063634ff..9eed6df6 100644 --- a/debian/pdfshow.1 +++ b/debian/pdfshow.1 @@ -35,6 +35,7 @@ The password is tried both as user and owner password. Enables decompression of object stream contents before printing them. .SH SEE ALSO .BR mupdf (1), +.BR pdfclean (1). .BR pdfdraw (1). .SH AUTHOR MuPDF was written by Tor Andersson . -- cgit v1.2.3