Subject: CVS commit: pkgsrc/print/mupdf
From: Leonardo Taccari
Date: 2018-10-04 21:02:33
Message id: 20181004190233.CBA26FBEE@cvs.NetBSD.org

Log Message:
mupdf: Update print/mupdf to 1.14.0

pkgsrc changes:
 - Pass USE_SYSTEM_LIBS=yes via MAKE_ENV in order to honor system (pkgsrc)
   packages {C,LD}FLAGS
 - Rewrite the logic to disable lcms2 in patch-ab and inject -DNO_ICC
   directly via CFLAGS

Changes:
MuPDF 1.14.0
------------
* New features:
    * Added "Source Han Serif" CJK fallback font.
    * Added more scripts to the Noto fallback fonts.
    * Multi-page PNM support.
    * "mutool show" now supports a path syntax for selecting objects \ 
to show.

* Build system simplifications:
    * Auto-generated CMap, ICC, and JS source files are checked in to git.
    * Embedded CMap resources are now generated by a python script.
    * Embedded font resources are linked directly if using GNU ld or windows.
    * Namegen tool replaced by use of C macros.
    * Simplified Makefile.

* Annotation editing:
    * New annotation editing mode in mupdf-gl.
    * Can create, edit, and delete most annotation types.
    * Can create appearance streams for most annotation types.
    * Can create appearance streams for Tx form fields.
    * Can create appearance streams for Ch form fields.

* Form filling in mupdf-gl:
    * Can click buttons, checkboxes, and radioboxes.
    * Can fill out text fields using dialog box.
    * Can select choice options using dialog box.
    * Can verify and sign digital signatures.

* Improved UI for mupdf-gl:
    * Password dialog.
    * Error dialog.
    * Open/save file dialog.
    * Snap selection to words or lines by holding control or control+shift.
    * Save and restore current location, bookmarks, and navigation history.

* Bug fixes:
    * Improved CJK character fallback handling in EPUB.

* API changes:
    * Pass rectangle and matrix structs by value.
    * Replaced PDF_NAME_Xxx macros with PDF_NAME(Xxx).
    * Added PDF_TRUE, PDF_FALSE, and PDF_NULL constant pdf_obj* macros.
    * Added helper functions: pdf_dict_get_int, etc.
    * Removed 'doc' argument in pdf_new_int, etc.
    * Quads instead of rects when highlighting and searching text.
    * mutool run: Pass arguments to script in scriptArgs global.

Files:
RevisionActionfile
1.62modifypkgsrc/print/mupdf/Makefile
1.17modifypkgsrc/print/mupdf/PLIST
1.26modifypkgsrc/print/mupdf/buildlink3.mk
1.41modifypkgsrc/print/mupdf/distinfo
1.15modifypkgsrc/print/mupdf/files/mupdf.pc
1.9modifypkgsrc/print/mupdf/patches/patch-Makethird
1.18modifypkgsrc/print/mupdf/patches/patch-ab
1.20modifypkgsrc/print/mupdf/patches/patch-ac
1.2modifypkgsrc/print/mupdf/patches/patch-platform_gl_gl-app.h
1.2modifypkgsrc/print/mupdf/patches/patch-platform_gl_gl-main.c
1.9modifypkgsrc/print/mupdf/patches/patch-source_fitz_load-jpx.c
1.5modifypkgsrc/print/mupdf/patches/patch-thirdparty_mujs_Makefile