diff options
-rw-r--r-- | debian/changelog | 20 | ||||
-rw-r--r-- | debian/control | 35 | ||||
-rw-r--r-- | debian/dirs | 2 | ||||
-rw-r--r-- | debian/mupdf-dev.docs (renamed from debian/mupdf-utils.docs) | 0 | ||||
-rw-r--r-- | debian/mupdf-dev.install | 7 | ||||
-rw-r--r-- | debian/mupdf-tools.docs | 1 | ||||
-rw-r--r-- | debian/mupdf-tools.install | 3 | ||||
-rw-r--r-- | debian/mupdf-tools.manpages (renamed from debian/mupdf-utils.manpages) | 0 | ||||
-rw-r--r-- | debian/mupdf-utils.install | 3 | ||||
-rw-r--r-- | debian/mupdf.install | 2 | ||||
-rw-r--r-- | debian/mupdf.pc | 12 | ||||
-rwxr-xr-x | debian/rules | 2 |
12 files changed, 49 insertions, 38 deletions
diff --git a/debian/changelog b/debian/changelog index b4e79546..6ef94a8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,20 +1,6 @@ -mupdf (1.0-3) unstable; urgency=low +mupdf (0.6-1) unstable; urgency=low - * Added pdfclean and a suitable manpage to the mupdf-utils package and - fixed a few errors and omissions. + * First release of MuPDF with debian package. - -- 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 - pdfdraw as well as the corresponding manpages. - - -- Sebastian Rasmussen <sebras@hotmail.com> Sun, 21 Mar 2010 21:49:09 +0100 - -mupdf (1.0-1) unstable; urgency=low - - * Initial release, thank you debhelper. - - -- Sebastian Rasmussen <sebras@hotmail.com> Mon, 15 Mar 2010 01:12:20 +0100 + -- Tor Andersson <tor@ghostscript.com> Thu, 27 May 2010 17:11:13 +0100 diff --git a/debian/control b/debian/control index 1a02b910..1ca42156 100644 --- a/debian/control +++ b/debian/control @@ -8,31 +8,34 @@ Standards-Version: 3.7.2 Package: mupdf Architecture: any Depends: ${shlibs:Depends} -Description: A lightweight PDF viewer written in portable C +Description: A lightweight PDF viewer MuPDF is a lightweight PDF viewer and toolkit written in portable C. . The renderer in MuPDF is tailored for high quality anti-aliased graphics. It renders text with metrics and spacing accurate to within fractions of a pixel for the highest fidelity in reproducing the look of a printed page on screen. + +Package: mupdf-dev +Architecture: any +Depends: ${shlibs:Depends} +Description: Development files for the MuPDF viewer + MuPDF is a lightweight PDF viewer and toolkit written in portable C. . - MuPDF has a small footprint. A binary that includes the standard Roman - fonts is only one megabyte. A build with full CJK support (including an - Asian font) is approximately five megabytes. - . - MuPDF has support for all non-interactive PDF 1.7 features, and the - toolkit provides a simple API for accessing the internal structures of the - PDF document. Example code for navigating interactive links and bookmarks, - encrypting PDF files, extracting fonts, images, and searchable text, and - rendering pages to image files is provided. + This package contains the static library and headers. -Package: mupdf-utils +Package: mupdf-tools Architecture: any Depends: ${shlibs:Depends} -Description: Debugging utils for MuPDF, a lightweight PDF renderer in C +Description: Commmand line tools for the MuPDF viewer MuPDF is a lightweight PDF viewer and toolkit written in portable 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, pdfshow that prints the contents of PDF objects and pdfclean that - garbage collects, decompresses and pretty prints complete PDF files. + This package contains command line utilities using the MuPDF library: + . + pdfdraw to render pages to a PNM image files. + . + pdfshow to print and examine the objects in a PDF file. + . + pdfclean to decompress and pretty print the streams and objects + in PDF files and also to extract individual pages. + diff --git a/debian/dirs b/debian/dirs index e7724817..84e4627d 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1 +1,3 @@ usr/bin +usr/include +usr/lib diff --git a/debian/mupdf-utils.docs b/debian/mupdf-dev.docs index e845566c..e845566c 100644 --- a/debian/mupdf-utils.docs +++ b/debian/mupdf-dev.docs diff --git a/debian/mupdf-dev.install b/debian/mupdf-dev.install new file mode 100644 index 00000000..9c756d5e --- /dev/null +++ b/debian/mupdf-dev.install @@ -0,0 +1,7 @@ +fitz/fitz.h usr/include +fitz/fitz_base.h usr/include +fitz/fitz_draw.h usr/include +fitz/fitz_stream.h usr/include +mupdf/mupdf.h usr/include +build/release/libmupdf.a usr/lib +debian/mupdf.pc usr/lib/pkgconfig diff --git a/debian/mupdf-tools.docs b/debian/mupdf-tools.docs new file mode 100644 index 00000000..e845566c --- /dev/null +++ b/debian/mupdf-tools.docs @@ -0,0 +1 @@ +README diff --git a/debian/mupdf-tools.install b/debian/mupdf-tools.install new file mode 100644 index 00000000..4600e236 --- /dev/null +++ b/debian/mupdf-tools.install @@ -0,0 +1,3 @@ +build/release/pdfdraw usr/bin +build/release/pdfclean usr/bin +build/release/pdfshow usr/bin diff --git a/debian/mupdf-utils.manpages b/debian/mupdf-tools.manpages index bc7fa250..bc7fa250 100644 --- a/debian/mupdf-utils.manpages +++ b/debian/mupdf-tools.manpages diff --git a/debian/mupdf-utils.install b/debian/mupdf-utils.install deleted file mode 100644 index a1cabfe0..00000000 --- a/debian/mupdf-utils.install +++ /dev/null @@ -1,3 +0,0 @@ -build/debug/pdfdraw usr/bin -build/debug/pdfclean usr/bin -build/debug/pdfshow usr/bin diff --git a/debian/mupdf.install b/debian/mupdf.install index b6e2dc13..1874a973 100644 --- a/debian/mupdf.install +++ b/debian/mupdf.install @@ -1,4 +1,4 @@ -build/debug/mupdf usr/bin +build/release/mupdf usr/bin debian/mupdf.xpm usr/share/pixmaps debian/mupdf.desktop usr/share/applications debian/mupdf.applications usr/share/application-registry diff --git a/debian/mupdf.pc b/debian/mupdf.pc new file mode 100644 index 00000000..7196cd5c --- /dev/null +++ b/debian/mupdf.pc @@ -0,0 +1,12 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: mupdf +Description: Library for rendering PDF documents +Requires.private: freetype2 +Version: 0.5.0 +Libs: -L${libdir} -lmupdf +Libs.private: -lopenjpeg -ljbig2dec -ljpeg -lz -lm +Cflags: -I${includedir} diff --git a/debian/rules b/debian/rules index 04294929..6cf6a5d0 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,7 @@ build: build-stamp build-stamp: dh_testdir dh_testroot - $(MAKE) + $(MAKE) "build=release" touch $@ clean: |