summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-03-24 01:47:43 +0100
committerSebastian Rasmussen <sebras@hotmail.com>2010-03-24 01:47:43 +0100
commit856f4b38e516117ba7708e8af7ea099d40aa4097 (patch)
tree2692b189452787b6b9f305a8601beeafd9a1b748
parent4536f7f69bd947a0cce63a110ef67a1be1df906a (diff)
downloadmupdf-856f4b38e516117ba7708e8af7ea099d40aa4097.tar.xz
Added pdfclean to Debian package and fixed a manpage typo.
-rw-r--r--debian/changelog7
-rw-r--r--debian/control3
-rw-r--r--debian/mupdf-utils.install1
-rw-r--r--debian/mupdf-utils.manpages1
-rw-r--r--debian/mupdf.11
-rw-r--r--debian/pdfclean.141
-rw-r--r--debian/pdfdraw.13
-rw-r--r--debian/pdfshow.11
8 files changed, 56 insertions, 2 deletions
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 <sebras@hotmail.com> 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 <tor@ghostscript.com>.
+MuPDF is Copyright 2006-2010 Artifex Software, Inc.
+.PP
+This manual page was written by Sebastian Rasmussen <sebras@hotmail.com>.
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 <tor@ghostscript.com>.
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 <tor@ghostscript.com>.