72 Commits

Author SHA1 Message Date
sthen
a7c393e7d9 remove hardcoded -lidn (curl libs) 2016-11-04 15:49:38 +00:00
sthen
c15b136e13 sync WANTLIB (and in one case, add gettext to LIB_DEPENDS) in dependent ports
now that internationalised domain name support has been removed from net/curl
2016-11-04 11:35:18 +00:00
sthen
60e49a3f93 - patch mupdf to cope with openjp2 update
- use sed -i instead of SUBST_CMD for easier update-patches management
2016-10-18 09:24:20 +00:00
sthen
f6c175da0a update to mupdf-1.9a 2016-10-16 09:16:52 +00:00
jca
cf6e3e139a SECURITY fixes for CVE-2016-6525 & CVE-2016-6265
CVE-2016-6525 heap overflow in pdf_load_mesh_params()
CVE-2016-6265 use-after-free

Reported by & looks good to stsp@, ok sthen@ (maintainer)
2016-08-27 20:58:48 +00:00
sthen
c0336869ff support https URLs with mupdf-x11-curl, from jirib at devio.us 2016-05-05 09:02:45 +00:00
naddy
ef68f42b62 remove SHARED_ONLY from ports that don't use any MODULES 2016-03-16 16:46:31 +00:00
tobiasu
82aa9e803a Fix alignment fault crash on alpha, mips64 and sparc64 by padding the
node data structure to 8 bytes. Exclude amd64 since this is hack with
unknown side-effects.

ok sthen@ for a previous rev
2016-01-28 01:42:20 +00:00
tb
01246f8b8b Short-circuit the search function if the search string is empty. This
avoids blocking the viewer and eating a lot of cpu for a number of
seconds when 'n' is pressed before an actual search was performed.

ok sthen@
2016-01-26 14:43:07 +00:00
semarie
ba6e2e039d add pledge(2) to textproc/mupdf
OK sthen@
2016-01-19 05:20:51 +00:00
sthen
f88c7f0ab9 update to MuPDF-1.8
- many fixes and improvements to EPUB support
- mudraw moves to the multi-purpose mutool binary
- add new OpenGL-based viewer, mupdf-gl
- add an optional flavour to enable the javascript support (wasn't
on by default before in our package, and still isn't)
2015-11-12 17:26:54 +00:00
sthen
981d86d970 sync WANTLIB (curl+nghttp2) 2015-10-30 12:59:16 +00:00
jca
f2661d2c9b Build with -fPIC, fixes binutils-2.17@amd64
ok kettenis@ sthen@ (maintainer)
2015-05-20 16:34:14 +00:00
sthen
fecb874db7 update to MuPDF 1.7a 2015-05-07 19:25:44 +00:00
sthen
a9c96b6d0a update to MuPDF 1.7 2015-04-25 23:04:53 +00:00
sthen
fbc5c9bfa4 handle api change in openjp2 2014-11-29 13:25:23 +00:00
kirby
d061c5c8a8 add another MASTER_SITE for old versions.
OK sthen@ (maintainer)
2014-10-20 15:10:00 +00:00
espie
793cd44530 add support for fine-grained zoom, for those pesky pdf where contents would
just fit on your screen but for one pesky dpi.

idea (and code) okay'd maintainer
2014-10-18 08:36:39 +00:00
sthen
b395e2da93 update to mupdf 1.6 2014-10-03 17:39:15 +00:00
sthen
0dd2e3993e update to mupdf 1.5 2014-06-12 14:07:19 +00:00
sthen
9ac4a8f947 Switch mupdf to a shared libary (not bothering with a static library for now;
this port didn't build on static-only arch anyway). Unsupported upstream
(http://bugs.ghostscript.com/show_bug.cgi?id=691887#c1) but the patch is
easy to maintain, and there's a clear benefit:

$ stat -f "%Z %N" mupdf*
25262988 mupdf-1.4.tgz
4619258 mupdf-1.4p0.tgz
2014-05-07 09:10:14 +00:00
sthen
bab5352c6c update to MuPDF 1.4 2014-04-17 20:30:57 +00:00
kili
27785ee95e Revert librt changes.
Prodded by espie@.
2014-03-23 18:17:34 +00:00
ajacoutot
4ed1191e06 Drop librt chunk.
ok sthen@ (maintainer)
2014-03-18 12:26:08 +00:00
sthen
d49f810952 add comments to patches with the CVE id, now it's known 2014-03-09 20:56:30 +00:00
sthen
dfd8cdce65 SECURITY fix for a stack-based buffer overflow in MuPDF's xps_parse_color()
function, info at http://www.hdwsec.fr/blog/mupdf.html. ok espie@ aja@ naddy@
2014-02-15 22:42:07 +00:00
bentley
01e4c88ae5 Clicking URLs requires xdg-open, so add it as a RDEP.
ok sthen@ (MAINTAINER)
2013-12-31 16:58:44 +00:00
sthen
fff066bfb1 Update to MuPDF 1.3, and enable cURL support (separate binary, not subpackaged
here as cURL is a fairly common package).

Earlier version without cURL support ok rpe@, additional tests on various
arch from brett@, Florian Stinglmayr and Donovan Watteau (who also reminded
me about a change of name for mubusy needed in DESCR).
2013-10-29 22:08:59 +00:00
sthen
df15ecb21c better fix for slow scrolling, from upstream repo 2013-04-29 12:54:00 +00:00
sthen
65a57187bd add patch from http://bugs.ghostscript.com/show_bug.cgi?id=693679 fixing
painfully slow scrolling at higher dpi
2013-04-07 11:38:06 +00:00
sthen
76b80ac249 update license marker comment, this is now affero license (bleurgh) 2013-04-07 11:35:16 +00:00
sthen
fd8d8b1b59 turns out this was already committed upstream; add reference 2013-04-07 11:32:22 +00:00
espie
86c6c54121 re-add the processing tool, lost upstream...
okay sthen@
mubusy -> mutool
2013-04-07 09:54:31 +00:00
sthen
4b1ea5f56c update to MuPDF 1.2 (just the base for now, I may add a flavour for the
form support later; that needs v8 so won't be in the standard package)
2013-03-21 01:26:03 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00
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