Commit Graph

37 Commits

Author SHA1 Message Date
sthen
448a3e830f don't segfault if run with DISPLAY unset, reported by bentley@ 2012-11-24 09:55:54 +00:00
landry
7da62bc827 add -ffunction-sections to CFLAGS on hppa, fixes the build there.
ok sthen@ (maintainer)
2012-09-30 10:22:54 +00:00
sthen
70d49c9626 fix manpage links in mupdf now that various tools have been replaced
with mubusy; from Jan Stary
2012-09-12 21:32:19 +00:00
lteo
f3289e209f MuPDF has combined several of their command line tools into a single
tool called mubusy, so update pkg/DESCR accordingly.  mudraw remains a
separate binary.

OK sthen@ (maintainer)
2012-08-23 01:21:04 +00:00
sthen
a7ec13dacf update to MuPDF 1.1 2012-08-17 13:30:16 +00:00
sthen
fecd0a3f2c minor fixes for app names in mupdf usage lines in the programs which were
renamed recently. pointed out by espie@
2012-05-08 22:49:46 +00:00
sthen
5202ec3b7b update to MuPDF 1.0
- thanks to krw@, brett@ and "Dawe" for testing the release candidate
2012-04-25 13:55:11 +00:00
sthen
d025215d3a MuPDF has two ways to embed fonts; a stonking great static array which
GCC hates and uses 800MB+ to compile, and embedding with .incbin.
Switch the port to using .incbin. Fixes out of memory on alpha reported
and tested by naddy@, greatly improves build time on arm.
The VMEM_WARNING can now be removed.

- while there, don't use groff.
2012-04-12 13:31:01 +00:00
sthen
bdfdddf654 bugfix update to MuPDF 0.9 2011-09-05 13:24:39 +00:00
jasper
da661051fb - add VMEM_WARNING
ok sthen@ (MAINTAINER)
2011-08-23 19:05:45 +00:00
sthen
0627763e83 update to MuPDF 0.8.165, now also supporting XPS documents.
- drop fontres.c and switch to upstream's standard method of embedding fonts;
with gcc4 this is now able to build on arm without running out of RAM (this is
fortunate because it avoids reworking fontres for changes to MuPDF).
2011-07-13 21:48:48 +00:00
sthen
be65fd255d handle jbig2dec update (BUILD_DEPENDS->LIB_DEPENDS), fix out-of-date name in DESCR 2011-03-25 21:13:16 +00:00
sthen
80be9e2293 update mupdf (a nice fast lightweight pdf viewer with its own codebase
rather than yet-another-xpdf-derivative) to 0.8.15.

various improvements and fixes, notably now supports AESv3 encrypted
PDFs and, very welcome, search now operates over all pages and is thus
actually useful.
2011-03-22 23:40:46 +00:00
jasper
4ae9582f93 Security fix for SA43020:
MuPDF "closedctd()" Memory Corruption Vulnerability.

ok sthen@ (MAINTAINER) aja@
2011-02-10 13:01:12 +00:00
espie
811d94d9d6 new depends 2010-11-20 19:56:47 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
dcaa846fde USE_GROFF=Yes 2010-10-19 07:54:21 +00:00
sthen
f3c937f0be update mupdf to 0.7
Note: key bindings changed slightly; notably /=search (currently
only within a page), n=next search hit, N=last search hit.
A few others were removed to make room and consistency. See
manpage for more (or hit ? while running and look at stdout).
2010-09-03 12:38:19 +00:00
matthieu
eda870e00a distfile moved and got renamed, but didn't change.
ok sthen@ (maintainer)
2010-08-29 10:08:05 +00:00
kettenis
0c7c2f6d40 Indent pseudo-ops to please hppa assembler.
ok landry@
2010-08-01 08:56:42 +00:00
naddy
db5e075353 fix dependencies 2010-07-10 14:02:08 +00:00
sthen
434c46e65c - update MuPDF to 0.6. (various improvements including copying text
from PDFs with the ight mouse button. no search yet though).
note that the command-line options have changed slightly and there
are new keybindings - see mupdf(1).

- only pdfinfo conflicts with other packages, so switch to the
standard names for the other tools

- install the new manpages from upstream (replacing our mupdf manpage),
library, headers, .pc and desktop integration files

thanks ajacoutot@ for checking and improvements for the desktop
integration files, and Roberto Fernandez for looking over the
fontres parts.
2010-06-03 19:38:34 +00:00
sthen
7a09f1ad13 update to 0.5 2010-03-31 13:06:47 +00:00
sthen
73c1a8112d add missing command to the manual 2010-03-21 00:05:33 +00:00
sthen
6f1cf262e1 - update homepage, from Bryan Linton
- bump PKGNAME
2010-01-07 08:39:00 +00:00
sthen
4447b21ab1 Update mupdf to r920 snapshot. 2010-01-07 01:20:09 +00:00
sthen
1b154a23d6 Use jbig2dec, bump PKGNAME. 2009-10-11 10:33:41 +00:00
sthen
10ae7970c7 Fix manpage following suggestions/diff from Bryan Linton, thanks! 2009-09-29 23:59:40 +00:00
sthen
9e9662c677 Update to a newer snapshot. 2009-09-20 10:22:03 +00:00
kili
8fc6287292 WANTLIB changes after xcb addition and bump. 2009-08-10 06:29:51 +00:00
sthen
833ce98d0c Trap SHM errors from X, and fall back to !SHM. this lets mupdf work
with a remote DISPLAY (diff also sent upstream). Clues from oga@ and
reading the VLC source code. Thanks naddy@ for testing.
2009-07-14 19:20:41 +00:00
sthen
fa4d005f16 - update to newer snapshot, using the source code tarballs now
available from upstream.

- switch from jasper to openjpeg, fixes JPEG2000 image display
2009-07-14 15:38:46 +00:00
sthen
7c6ba86a56 add no_cjk FLAVOR giving a smaller binary for systems where disk space
is at a premium. (memory use of the two is pretty similar).
2009-07-12 19:40:11 +00:00
sthen
bdac34ca3b update to 0.4; thanks very much to Tor Andersson (upstream author) who
has clarified the license, so packages are now enabled.
2009-06-22 11:56:15 +00:00
sthen
0368121d47 - add a new generator supplied by Roberto Fernandez which
greatly reduces memory use building font tables. tested arm,
sparc64, amd64, i386.

- enable CJK fonts on small mem arch, remove VMEM_WARNING.

- bump.
2009-06-19 13:42:29 +00:00
sthen
09b6b780a3 update to a newer snapshot (much smaller tar.gz thanks to a suggestion
from Roberto Fernandez).
2009-06-19 00:51:49 +00:00
sthen
1123385d33 import Fitz/MuPDF. incomplete copyright notices so PERMIT_* are
disabled for now. "i'm stunned by the quality and that it doesn't
choke on a recent document[0] where xpdf had issues with" simon@
(who also helped tracking down the key bindings, thanks!).


Fitz is a project to create a new and modern graphics library.
At the core of Fitz is the display tree: a scene graph of vector
graphics, images and text making up the contents of a page.

The standard components of Fitz are:

    * Base runtime (thin memory and error handling layer)
    * Streams and filters (standard postscript, pdf and tiff filters)
    * World model (display trees and resources)
    * Drawing (draw the tree to a bitmap raster) 

MuPDF is a PDF parser that reads PDF files and creates Fitz trees.

MuPDF also has an API to modify internal objects in the PDF files
and write PDF files. For instance, it is possible to use the MuPDF
library to encrypt existing PDF files, or to rearrange the pages.

pdftool is a commandline demo of this functionality; it is a portable
pdf swiss army knife for fixing broken pdf files, changing permissions,
merging and extracting pages, and examining the internal object
structure of a PDF file.

The mupdf binary (aka pdfview) is a bare bones PDF viewer.
2009-06-02 22:15:08 +00:00