sthen
1970cb2787
fix pledge for "mutool show -o outfile foo.pdf", simplified from a diff
...
by Olivier Taïbi
2022-04-21 09:47:27 +00:00
sthen
f90e06e4fa
update to mupdf-1.19.1
2022-04-12 20:33:26 +00:00
sthen
a98e0e6666
remove rcs IDs in ports that I maintain
2022-03-07 21:36:41 +00:00
jca
85813a8274
Simplify COMPILER setup to unbreak mupdf on sparc64 and other non-clang archs
...
mupdf now builds C++ code and requires a compiler that
supports -std=c++17, so zap COMPILER_LANGS=c.
Also zap MODGCC4_ARCHS=armv7, which doesn't do what you think it does in
this context (base-clang would still be picked up on armv7). mupdf on
armv7 should be tested again before adding another workaround.
ok kmos@ sthen@ (maintainer)
2022-01-11 12:50:30 +00:00
sthen
24cc516400
reduce the annoying startup message in mupdf-gl which is generated when
...
it has standard freeglut rather than its own special patched version
2021-11-13 17:40:01 +00:00
sthen
fa70a9fd91
update to mupdf-1.19.0
2021-11-13 17:23:37 +00:00
sthen
9b1d6feba4
update to MuPDF 1.18.0
2020-11-06 15:36:38 +00:00
sthen
903b6c1385
mupdf: string.h needed for pledge error. from Martin Vahlensieck
2020-08-20 09:00:15 +00:00
sthen
6cc9779250
switch my maintainer email addresses to my own domain
2020-07-11 22:54:35 +00:00
sthen
1955d53385
mupdf writes a cache file ("accelerator") at exit when processing epub
...
files; add wpath cpath to pledge to avoid it being SIGABRT'd.
found by espie@
2020-07-11 10:44:43 +00:00
sthen
6b34c3dd27
update to mupdf-1.14.0
2020-06-13 15:53:36 +00:00
espie
d0d1ef4b4a
add DEBUG_PACKAGES, okay sthen@
2020-01-03 16:29:25 +00:00
sthen
928a65bfe2
tidy; use COMPILER instead of MODULES=gcc4
2019-12-10 12:28:14 +00:00
visa
2950261c98
Fix mupdf build on mips64*.
...
Reported and fix tested by manphiz at gmail dot com.
OK sthen@
2019-12-09 16:14:27 +00:00
tb
c831bda503
Fix off-by-one that broke the ' ' key for going from the penultimate to
...
the last page. See https://bugs.ghostscript.com/show_bug.cgi?id=701615
Add back mapping for the backspace key.
reported by espie and stsp
ok sthen
2019-09-17 09:22:51 +00:00
sthen
ecb8f9c200
update to MuPDF 1.16.1
2019-08-03 19:16:22 +00:00
sthen
0a4cff1483
Fix PLIST, breakage in -js (duplicate filenames) reported by naddy; I had
...
accidentally duplicated .js files between the plain and js flavour.
Add an rm in post-install so this doesn't happen again.
2019-08-01 12:16:49 +00:00
sthen
be3cea1587
build MuPDF with gcc on armv7, problem reported by adr at sdf.org in
...
https://marc.info/?l=openbsd-ports&m=156448467232400&w=2 - Bus error at
runtime - suspect possible alignment issue?
2019-07-30 15:59:48 +00:00
sthen
57a85cb95e
update to MuPDF 1.16.0
2019-07-30 13:41:14 +00:00
sthen
9efa978575
update to mupdf-1.15.0
2019-06-25 22:03:46 +00:00
sthen
9c6e9626b9
s/PERMIT_PACKAGE_CDROM/PERMIT_PACKAGE/ and some light whitespace tidying
...
in ports which I maintain
2019-06-03 16:06:50 +00:00
jca
11da792a95
Drop z_const patches and unbreak geo/pdal on ports-gcc
...
Note: needs zlib headers with the ZLIB_CONST addition
2019-05-12 16:07:03 +00:00
semarie
42661a68a3
enable crypto for pdf signatures.
...
use compatible code for libressl (mupdf expects openssl 1.1.0), and use
certs from /etc/ssl/cert.pem instead of relying only on Adobe embedded
certificate.
OK sthen@
2019-04-19 16:52:31 +00:00
sthen
64b0b7badc
use LLD_EMUL to avoid the need for HAVE_OBJCOPY=no on LLD arches.
...
zap some lines which are no longer needed.
2018-12-10 17:52:58 +00:00
sthen
432418389e
update to mupdf-1.14.0, some notable changes:
...
- mupdf-gl now requires building with javascript support, so is no longer
available in the default flavour (which has js disabled). If you use mupdf-gl
you will need to switch to the js flavour (pkg_delete mupdf; pkg_add mupdf--js).
- drop the patch to convert to shared libraries, the build process of
mupdf is a headache and changes rather often, so this patch is getting in
the way too much. unfortunately this bloats the packages somewhat...
2018-12-03 18:40:07 +00:00
sthen
ba2907c335
unbreak mupdf-gl in some situations.
...
libGL/libxshmfence tries to create "/tmp/shmfd-XXXXXX" files in some
cases (not seen here but reported by mikeb). just drop the pledge
from mupdf-gl completely because I can't hope to evaluate the codepaths
taken in mesa on various video hardware to come up with a reliable one.
2018-09-05 11:13:27 +00:00
espie
150a0f36fa
first tag: update-desktop-database
2018-06-27 21:03:34 +00:00
sthen
d82f0b83b5
add prot_exec to pledge, it seems to be needed in mesa init now
...
(possibly started after the move from glfw to freeglut?).
problem reported by mikeb.
2018-05-02 14:47:36 +00:00
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