diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 27 | ||||
-rw-r--r-- | debian/copyright | 63 | ||||
-rw-r--r-- | debian/dirs | 1 | ||||
-rw-r--r-- | debian/mupdf.1 | 123 | ||||
-rw-r--r-- | debian/mupdf.applications | 7 | ||||
-rw-r--r-- | debian/mupdf.desktop | 15 | ||||
-rw-r--r-- | debian/mupdf.docs | 1 | ||||
-rw-r--r-- | debian/mupdf.install | 4 | ||||
-rw-r--r-- | debian/mupdf.menu | 8 | ||||
-rw-r--r-- | debian/mupdf.mime | 2 | ||||
-rw-r--r-- | debian/mupdf.xpm | 291 | ||||
-rwxr-xr-x | debian/rules | 48 |
14 files changed, 597 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..fcbe14eb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +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 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..43bb3555 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: mupdf +Section: text +Priority: optional +Maintainer: Tor Andersson <tor@ghostscript.com> +Build-Depends: debhelper (>= 5), make, pkg-config, gcc, coreutils, binutils, tar, libfreetype6-dev, libx11-dev, libxext-dev, libjbig2dec0-dev, libopenjpeg-dev, libjpeg62-dev, zlib1g-dev +Standards-Version: 3.7.2 + +Package: mupdf +Architecture: any +Depends: ${shlibs:Depends} +Description: MuPDF is a lightweight PDF viewer written in portable C. + 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. + . + 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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..69d5116b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,63 @@ +This package was debianized by Sebastian Rasmussen <sebras@hotmail.com> on +Mon, 15 Mar 2010 01:12:20 +0100. + +It was downloaded from http://mupdf.com/repos/mupdf + +Upstream Author: Tor Andersson <tor@ghostscript.com> + +Copyright: MuPDF is Copyright 2006-2010 Artifex Software, Inc. + +License: + +MuPDF is free software: you can redistribute it and/or modify it under the +terms of the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. + +MuPDF is Copyright 2006-2010 Artifex Software, Inc. + +For commercial licensing please contact sales@artifex.com. + +The character map and mapping for pdf resources are from Adobe and are +covered by their own copyright and license: + +----------------------------------------------------------- +Copyright 1990-20xx Adobe Systems Incorporated. +All rights reserved. + +Redistribution and use in source and binary forms, with or +without modification, are permitted provided that the +following conditions are met: + +Redistributions of source code must retain the above +copyright notice, this list of conditions and the following +disclaimer. + +Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following +disclaimer in the documentation and/or other materials +provided with the distribution. + +Neither the name of Adobe Systems Incorporated nor the names +of its contributors may be used to endorse or promote +products derived from this software without specific prior +written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +----------------------------------------------------------- + +The Debian packaging is (C) 2010, Sebastian Rasmussen <sebras@hotmail.com> and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 00000000..e7724817 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/mupdf.1 b/debian/mupdf.1 new file mode 100644 index 00000000..513559a3 --- /dev/null +++ b/debian/mupdf.1 @@ -0,0 +1,123 @@ +.TH MUPDF 1 "March 15, 2010" +.\" Please adjust this date whenever revising the manpage. +.SH NAME +mupdf \- MuPDF is a lightweight PDF viewer written in portable C +.SH SYNOPSIS +.B mupdf +.RI [ options ] " PDFfile" +.SH DESCRIPTION +This manual page documents briefly the +.B mupdf +and +.B bar +commands. +.PP +.SH OPTIONS +A description of each of the supported options is included below. +.TP +.B \-z percentage +Changes the initial zoom percentage from the default 100%. The allowed +range is 10%-300%. +.TP +.B \-d password +Uses the given password during decryption of an encrypted PDF file. +The password is tried both as user and owner password. +.TP +.B \-p page +Show the given page number instead of the first page of the PDF file when +opening the MuPDF window. +.SH MOUSE AND KEY BINDINGS +In addition to the key bindings described below, the mouse can also be +used. Clicking the left mouse button follows links within the PDF while +dragging with the left mouse button pans the page. Dragging with the right +mouse button selects an area and copies the enclosed text to the clipboard +buffer. Using the scroll-wheel while pressing Control zooms in/out, if +Shift is pressed on the other hand then the page is panned. +.TP +.B PAGE NAVIGATION +These commands relate to the actual page number in the PDF file, not to +numbers given by any kind of page label. +.TP +.B f, space +Go to the next page without paning to top of page. If a number has been +entered, go that number of pages forward instead of just one page. +.TP +.B b, backspace +Go to the previous page without paning to top of page. If a number has been +entered, go that number of pages backwards instead of just one page. +.TP +.B g, return +Go to the page number specified. If no number has been entered, go to the +first page. +.TP +.B G +Go to the last page. +.TP +.B t +Tag the viewed page and record it in the history. When clicking links +within a PDF file to follow the link pages are automatically tagged. +.TP +.B m +Return to the previously tagged page in the history. +.TP +.B p +Go to the previous page and pan to bottom of page. If a number has been +entered, go that number of pages backwards instead of just one page. +.TP +.B n +Go to the next page and pan to top of page. If a number has been entered, +go that number of pages forward instead of just one page. +.TP +.B B +Go ten pages backwards and pan to top of page. +.TP +.B F +Go ten pages forward and pan to top of page. +.TP +.B PAN PAGE +.TP +.B w +Shrinkwrap window frame to page size. +.TP +.B d +Pan the shown page down 1/10th of its height. +.TP +.B u +Pan the shown page up 1/10th of its height. +.TP +.B , +Pan the shown page right 1/10th of its width. +.TP +.B . +Pan the shown page left 1/10th of its width. +.TP +.B 0\-9 +Entered numbers are used by some commands. +.TP +.B ZOOM AND ROTATE PAGE +.TP +.B \+, \= +Zoom in. +.TP +.B \- +Zoom out. +.TP +.B <, l +Rotate page counter-clockwise or left by 90\(de. +.TP +.B >, r +Rotate page clockwise or right by 90\(de. +.TP +.B a +Rotate page counter-clockwise or left by 15\(de. +.TP +.B s +Rotate page clockwise or right by 15\(de. +.SH SEE ALSO +.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/mupdf.applications b/debian/mupdf.applications new file mode 100644 index 00000000..ca536c8b --- /dev/null +++ b/debian/mupdf.applications @@ -0,0 +1,7 @@ +mupdf + command=mupdf + name=MuPDF + expect_uris=false + requires_terminal=false + mime_types=application/x-pdf + can_open_multiple_files=false diff --git a/debian/mupdf.desktop b/debian/mupdf.desktop new file mode 100644 index 00000000..384843bf --- /dev/null +++ b/debian/mupdf.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=MuPDF +GenericName=PDF file viewer +Comment=PDF file viewer +Exec=mupdf %f +TryExec=mupdf +Icon=mupdf.xpm +Terminal=false +Type=Application +MimeType=application/pdf;pplication/x-pdf; +Categories=PDFViewer;Viewer;Graphics; + +[Desktop Action View] +Exec=mupdf %f diff --git a/debian/mupdf.docs b/debian/mupdf.docs new file mode 100644 index 00000000..e845566c --- /dev/null +++ b/debian/mupdf.docs @@ -0,0 +1 @@ +README diff --git a/debian/mupdf.install b/debian/mupdf.install new file mode 100644 index 00000000..b6e2dc13 --- /dev/null +++ b/debian/mupdf.install @@ -0,0 +1,4 @@ +build/debug/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.menu b/debian/mupdf.menu new file mode 100644 index 00000000..7c863c1b --- /dev/null +++ b/debian/mupdf.menu @@ -0,0 +1,8 @@ +?package(mupdf):\ + needs="x11" \ + section="Apps/Viewers" \ + command="/usr/bin/mupdf" + title="MuPDF" \ + hints="Documents" \ + icon="/usr/share/pixmaps/mupdf.xpm" \ + longtitle="MuPDF: A lightweight PDF viewer written in portable C" diff --git a/debian/mupdf.mime b/debian/mupdf.mime new file mode 100644 index 00000000..65bc0fbc --- /dev/null +++ b/debian/mupdf.mime @@ -0,0 +1,2 @@ +application/pdf; mupdf %s; test=test -n "$DISPLAY" ; nametemplate=%s.pdf; priority=5 +application/x-pdf; mupdf %s; test=test -n "$DISPLAY" ; nametemplate=%s.pdf; priority=5 diff --git a/debian/mupdf.xpm b/debian/mupdf.xpm new file mode 100644 index 00000000..f1663519 --- /dev/null +++ b/debian/mupdf.xpm @@ -0,0 +1,291 @@ +/* XPM */ +static char * mupdf_xpm[] = { +"32 32 256 2", +" c None", +". c #FFFFFF", +"+ c #EFEFEF", +"@ c #F7F7F7", +"# c #E7E7E7", +"$ c #C6C6C6", +"% c #9C9C9C", +"& c #7B7B7B", +"* c #636363", +"= c #424242", +"- c #212121", +"; c #292929", +"> c #4A4A4A", +", c #737373", +"' c #8C8C8C", +") c #B5B5B5", +"! c #BDBDBD", +"~ c #181818", +"{ c #393939", +"] c #D6D6D6", +"^ c #DEDEDE", +"/ c #6B6B6B", +"( c #313131", +"_ c #A5A5A5", +": c #ADADAD", +"< c #CECECE", +"[ c #848484", +"} c #5A5A5A", +"| c #525252", +"1 c #949494", +"2 c #E7EFF7", +"3 c #D6DEEF", +"4 c #7394BD", +"5 c #185294", +"6 c #94B5CE", +"7 c #5A84B5", +"8 c #185A94", +"9 c #29639C", +"0 c #295A9C", +"a c #215A94", +"b c #3973A5", +"c c #C6D6E7", +"d c #638CB5", +"e c #8CA5C6", +"f c #527BAD", +"g c #EFF7F7", +"h c #8CADC6", +"i c #84A5C6", +"j c #7B9CC6", +"k c #4273AD", +"l c #BDCEDE", +"m c #7BA5C6", +"n c #00000E", +"o c #0600E7", +"p c #DEE08F", +"q c #B717FF", +"r c #FF00F2", +"s c #E71612", +"t c #020004", +"u c #477261", +"v c #685820", +"w c #696577", +"x c #72202D", +"y c #643A5C", +"z c #736963", +"A c #6E5C67", +"B c #6F7374", +"C c #342E67", +"D c #66001F", +"E c #E71608", +"F c #D4109F", +"G c #000000", +"H c #020001", +"I c #020001", +"J c #000000", +"K c #FFFF01", +"L c #000000", +"M c #000000", +"N c #02006B", +"O c #CC0402", +"P c #640BA0", +"Q c #020032", +"R c #FFFF32", +"S c #0000A8", +"T c #E71600", +"U c #010000", +"V c #00002C", +"W c #20E0A0", +"X c #020000", +"Y c #42E047", +"Z c #CC0402", +"` c #010001", +" . c #EF1608", +".. c #9F1701", +"+. c #020048", +"@. c #6A0BDF", +"#. c #884F00", +"$. c #0100E7", +"%. c #010070", +"&. c #F927A7", +"*. c #000000", +"=. c #000000", +"-. c #0000A8", +";. c #1F32A8", +">. c #010002", +",. c #A71747", +"'. c #0000A0", +"). c #000094", +"!. c #020044", +"~. c #AF8100", +"{. c #AE81DC", +"]. c #FBC328", +"^. c #F7BF38", +"/. c #598100", +"(. c #00007D", +"_. c #F7BF7E", +":. c #AF177E", +"<. c #AF1740", +"[. c #0001EF", +"}. c #FCE0F2", +"|. c #0000F2", +"1. c #0200EF", +"2. c #160217", +"3. c #010002", +"4. c #BEE06A", +"5. c #DF1788", +"6. c #00C101", +"7. c #EF1CB8", +"8. c #DCE05C", +"9. c #171D00", +"0. c #B80D00", +"a. c #060007", +"b. c #400C06", +"c. c #146BF2", +"d. c #940601", +"e. c #400CEE", +"f. c #CE0300", +"g. c #0000B8", +"h. c #0600EF", +"i. c #F20514", +"j. c #0CE174", +"k. c #CF1700", +"l. c #0000B8", +"m. c #0600E7", +"n. c #686914", +"o. c #0000F2", +"p. c #020047", +"q. c #00001E", +"r. c #1C39CF", +"s. c #000000", +"t. c #B80D06", +"u. c #949E01", +"v. c #4CE119", +"w. c #CF1709", +"x. c #949E02", +"y. c #EF3694", +"z. c #020014", +"A. c #000000", +"B. c #00203C", +"C. c #F98100", +"D. c #F98121", +"E. c #21C787", +"F. c #146B94", +"G. c #000027", +"H. c #DF351F", +"I. c #00001F", +"J. c #67E1AA", +"K. c #3737EF", +"L. c #DF353E", +"M. c #3737BF", +"N. c #A9E152", +"O. c #A73542", +"P. c #146B94", +"Q. c #B80D14", +"R. c #000094", +"S. c #0200BF", +"T. c #42E2B6", +"U. c #37378E", +"V. c #A7356E", +"W. c #0000BF", +"X. c #949E00", +"Y. c #0200FA", +"Z. c #CF1761", +"`. c #000035", +" + c #E73501", +".+ c #0000EA", +"++ c #BF34BD", +"@+ c #4812E7", +"#+ c #02E9EF", +"$+ c #146B94", +"%+ c #000000", +"&+ c #BF3401", +"*+ c #8E15E7", +"=+ c #A208F7", +"-+ c #0C0000", +";+ c #EAE2EF", +">+ c #146B94", +",+ c #0C0000", +"'+ c #02E9EF", +")+ c #000000", +"!+ c #0C0000", +"~+ c #02E9EF", +"{+ c #000000", +"]+ c #41351F", +"^+ c #0C0084", +"/+ c #000040", +"(+ c #0200AF", +"_+ c #1EE205", +":+ c #BF3414", +"<+ c #949E2C", +"[+ c #2116E7", +"}+ c #16E2EF", +"|+ c #21C787", +"1+ c #146B94", +"2+ c #000027", +"3+ c #DF351F", +"4+ c #00001F", +"5+ c #33E2AA", +"6+ c #3737EF", +"7+ c #DF353E", +"8+ c #3737BF", +"9+ c #67E243", +"0+ c #E735C6", +"a+ c #000000", +"b+ c #146B94", +"c+ c #C6E412", +"d+ c #281847", +"e+ c #BE1935", +"f+ c #4720AF", +"g+ c #1F041F", +"h+ c #DE1300", +"i+ c #0C0100", +"j+ c #80E200", +"k+ c #76E2FB", +"l+ c #000014", +"m+ c #22E8E0", +"n+ c #DF3517", +"o+ c #000017", +"p+ c #8FE234", +"q+ c #8737E8", +"r+ c #DF3556", +"s+ c #146B22", +"t+ c #000017", +"u+ c #5611DF", +"v+ c #BBE2A3", +"w+ c #873714", +"x+ c #22E88B", +"y+ c #873704", +"z+ c #0000DF", +"A+ c #E023DF", +"B+ c #000097", +"C+ c #D20497", +"D+ c #000200", +"E+ c #D20422", +"F+ c #E023DF", +"G+ c #171900", +" @ # > + ", +" - . ~ . ", +" . . @ + ^ ! ! % { - . | , ", +" . [ - - - - - - - ~ ' . . ; - ", +" . [ - - - - - - ; % @ . . . % - ; . ", +" . > - - - - - % . . . . . . > - - - > . ", +" _ - - - - ~ @ . . . . . @ ~ - - - - - [ ", +" . ~ - - - - < . g @ l j . & - - - - - - - . ", +" . - - - - - @ . 7 2 l m . # - - - - - - - . ", +" . - - - - - + . 2 a . g . . $ - - - - - - . ", +" . ~ - - - - | . . . . . . . . + ~ - - - ( . ", +" ] - - - - - % . . . b a . . . ! - - - @ ", +" _ - - - - - = . . . 8 . . . ] - - ^ ", +" . ( - - - - ~ . . 3 . . @ ~ { . ", +" . # | - - - - - . . . + * 1 . . ", +" ] - - - - > % # . . . . . . . ", +" ! - - - - ' . . . . . . . . ", +" . ~ - - - - - ; [ < # + @ . . . . . ", +" . - - - - - - - - - - - - - ~ ~ ~ - } ] . ", +" . ~ - - - - - - - - - - - - - - - - - - - = . ", +" $ - - - - - - - - - - - - - - - - - - - - - $ ", +" + = - - - - - - - - - - - - - - - - - - - - # ", +" . . . $ ' } | | ( ; ; ~ ~ - - - - - - - - > . ", +" . $ | = { , . . . . . . . . . . . # } - - - - - { . ", +" . ; - - - < . . . . : / : @ . . . . . . > - - - - ' . ", +" . - - - ; . . . . | ( . . . . . . . . @ ~ - - - - . . ", +" . - - - - . . . . 1 - ~ / % $ ) _ / ; - - - - { . [ ", +" . ; - - - ( . . . . # > ~ - - - - - - ~ ; ' @ $ > . ", +" . ; - - - - ( ! @ . . . . . . . . . @ ! > ~ : . ", +" . ^ ( - - - - - - ~ ~ - - ~ ~ ~ - - - _ . ", +" . # % * = - ; - - - ; > ' # . . ", +" "}; diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..0eef0536 --- /dev/null +++ b/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + dh_testroot + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) clean + dh_clean + +# Build architecture-independent files here. +binary-indep: build + dh_testdir + dh_testroot + dh_installdirs + dh_installdocs + dh_installchangelogs + dh_installmenu + dh_installmime + dh_installman + +# Build architecture-dependent files here. +binary-arch: build + dh_testdir + dh_testroot + dh_installdirs -a + dh_install -a + dh_strip -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary |