Subject: CVS commit: pkgsrc/print/mupdf
From: Paolo Vincenzo Olivo
Date: 2023-09-07 16:36:54
Message id: 20230907143654.F0B02FBDB@cvs.NetBSD.org

Log Message:
print/mupdf: update to MuPDF 1.23.3

# Changes (local)

  * Import patch from OpenBSD ports, adding support for fine-grained zoom.
  * Fix scrolling with vi-like bindings (from FreeBSD ports).
  * Use REPLACE_INTERPRETER instead of an ad-hoc patch.
  * Don't install html documentation (turn it into an option in future?)
  * Provide .desktop application file and pixmap for mupdf.
  * Avoid executable bit being set on static libs.
  * Other minor fixes.
  * Package linted.

# Changes (upstream)

## 1.23.3 (2023-09-05)

  * Fix bug where an inconsistent xref caused problems when saving PDF.

## 1.23.2 (2023-08-31)

  * Fixes needed to allow tesseract builds in C++/Python bindings.

## 1.23.1 (2023-08-29)

  * Fix bug where implicit operations where not ended when creating
    signature widget annotations.
  * Fix bug where saving an encrypted PDF requiring encryption could
    cause an invalid saved file.
  * Fix bug where ink annotation line caps adhered to rendering in older
    Adobe Acrobat Reader.
  * Fix compilation issue of shared library used in pythong bindings.

## 1.23.0 (2023-08-22)

 New features:

  * New WASM library with same API as mutool run and Java, for both
    browser and Node environments.
  * Support CropBox, TrimBox, BleedBox, and ArtBox in PDF tools and
    viewers.
  * PhotoShop PSD image support.
  * mupdf-gl: Custom ICC display profile support.
  * mutool poster: Option to split in RTL direction.

 Miscellaneous improvements and notable bug fixes:

  * EPUB: Fix table cell height calculations.
  * EPUB: Inherit table cell background color from table row.
  * EPUB: Support files with partial encryption (only read unencrypted
    parts).
  * EPUB: Support files with incorrect directory prefixes.
  * TIFF: Stability improvements.
  * MOBI: Stability improvements.
  * PDF: Support old style border dash patterns.
  * PDF: Support GoToR links to remote PDF documents.
  * PDF: Improve link parsing and creation.
  * ZIP: Improve unicode file name handling.
  * Fall back to unhinted fonts if hints are broken.
  * Recognize document types by sniffing contents (don't need to rely on
    mimetype or file extension).

 New APIs:

  * More PDF document permission flags.
  * Tweaked exception error logging.
  * pdf_minimize_document to squeeze amount of memory used by an open
    document.

 Incompatible API changes:

  * pdf_field_name renamed to pdf_load_field_name.
  * mutool run: Changed many methods to match Java and new WASM library.

 New and improved documentation.

Files:
RevisionActionfile
1.108modifypkgsrc/print/mupdf/Makefile
1.27modifypkgsrc/print/mupdf/PLIST
1.69modifypkgsrc/print/mupdf/distinfo
1.13modifypkgsrc/print/mupdf/options.mk
1.28modifypkgsrc/print/mupdf/patches/patch-ab
1.31modifypkgsrc/print/mupdf/patches/patch-ac
1.1addpkgsrc/print/mupdf/files/mupdf.desktop
1.1addpkgsrc/print/mupdf/files/mupdf.xpm
1.1addpkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1
1.1addpkgsrc/print/mupdf/patches/patch-platform_x11_curl__stream.c
1.3addpkgsrc/print/mupdf/patches/patch-platform_x11_pdfapp.c
1.1addpkgsrc/print/mupdf/patches/patch-source_helpers_pkcs7_pkcs7-openssl.c
1.1removepkgsrc/print/mupdf/patches/patch-scripts_hexdump.sh