sthen
e6444cfbab
update to MuPDF-1.13.0, zathura-mupdf update incoming to fix with changed
...
API, this will break k2pdfopt for now
2018-04-23 11:55:54 +00:00
sthen
faaa02a98e
MuPDF does some locking around its allocation calls; it overrides openjpeg's
...
allocators to do this locking too. However mupdf tries to manually align things
in a way that doesn't match what openjpeg does, which we noticed when frees
were segfaulting because the addresses didn't match up.
In the case of the openjpeg port it's relying on malloc(3)'s guarantee
"The allocated space is suitably aligned (after possible pointer coercion)
for storage of any type of object" so patch mupdf to do the same.
Fixes crash noticed by jca@ in https://www.broadband-forum.org/technical/download/TR-177.pdf
2017-10-10 12:33:49 +00:00
pirofti
19b0b09fc5
Fix debug build for programs including fitz/context.h.
...
Details at https://bugs.ghostscript.com/show_bug.cgi?id=698353 .
OK sthen@
2017-08-14 09:59:07 +00:00
sthen
882a67ad75
drop the clang MODULES, Donovan Watteau reports that this version is happy
...
with gcc 4.2.1 again (1.10 wasn't) and points out that using clang MODULES
doesn't work on powerpc.
2017-08-03 17:47:07 +00:00
sthen
06abe08a32
after doing battle with the build infra, belatedly update to MuPDF 1.11
2017-05-05 14:02:51 +00:00
sthen
019d386df5
change mupdf's MODGCC4_ARCHS to ${GCC3_ARCHS} ${GCC4_ARCHS}; this is just
...
C99 not C++ so no mucking about with WANTLIB required.
2017-05-01 14:04:09 +00:00
sthen
1c6421bb00
mupdf: backport fix for use-after-free and heap-based buffer overflow
...
in fz_subsample_pixmap(), https://bugs.ghostscript.com/show_bug.cgi?id=697515
2017-02-10 14:51:13 +00:00
sthen
0e0da4b1af
update to mupdf-1.10a
2016-12-12 10:54:39 +00:00
sthen
a0b1771cb5
add an upstream patch to mupdf's javascript code for a heap buffer
...
overflow write and oob read. (js is disabled in the default flavour in
OpenBSD ports/packages, it's only in the mupdf-XX-js package).
2016-11-08 12:05:04 +00:00
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