pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/mupdf



Module Name:    pkgsrc
Committed By:   leot
Date:           Sat Oct 10 15:31:07 UTC 2026

Modified Files:
        pkgsrc/print/mupdf: Makefile PLIST distinfo
        pkgsrc/print/mupdf/patches: patch-Makerules patch-docs_man_mupdf.1
Removed Files:
        pkgsrc/print/mupdf/patches: patch-source_fitz_stext-search.c

Log Message:
mupdf: Update to 1.28.5

pkgsrc changes:
- Remove comment indicating that MuPDF needs mujs headers, it seems no longer
  the case (and patch is no longer needed). Depends still on MuJS though to
  provide functionalities.

Changes:
List of changes in MuPDF 1.28.5
 Huge amount of bug fixes

List of changes in MuPDF 1.28.4
 Bug fixes

List of changes in MuPDF 1.28.3
 mutool poster restored to working order (the command was broken in 1.28.0 through 1.28.2)

List of changes in MuPDF 1.28.2
 Build system fixes

List of changes in MuPDF 1.28.1
 Structured text improvements
 Bug fixes

List of changes in MuPDF 1.28
 Markdown document format support!
 New internal options parsing API:
  - Removed fz_has_option, fz_copy_option, and fz_option_eq.
  - Added fz_options struct with constructors and accessors.
  - Detect and warn for unknown and mis-spelled options.
  - The mutool draw command now accepts device specific options with -O.
  - Setting overprint simulation in mutool draw is now done with -M.
 HTML and EPUB improvements:
  - vertical-align for inline images
  - vertical-align percentage based values
  - support tags <u>, <s>, <mark>
  - background-color on inline elements
  - :before and :after pseudo-selectors with content
  - input form elements now have an appearance (but non-interactive)
  - respect meta viewport to set minimum page size
 Per-document control of publisher and user CSS.
  - context global fz_set_use_document_css and fz_set_user_css deprecated
  - replaced with per-document fz_style_document
 PDF write option "decrypt" is deprecated; use "encrypt=none" instead.
 New mutool audit command to analyze PDF structure and generate report
 Many improvements and fixes to incremental search API.
  - customizable structured text to plain text flattening conversions
  - mutool grep command uses regular expressions by default
 Improved text extraction:
  - improved ActualText replacement handling for non-text elements
  - more robust behavior around ActualText replacements
  - presentation form (ligature) decomposition for all scripts
  - improved text-indent paragraph detection
  - improved fake bold detection
  - improved handling of soft and hard hyphens
 Added fz_check_document to scan document and fix possible structural
 errors. Use this to avoid the risk of encountering file errors that may
 cause edits to be lost when the file structure is repaired.
 Support linear and radial shadings when converting XPS (and other formats) to PDF.
 Checked arithmetic functions like in C23 (fz_ckd_mul_int etc)
 Many bug fixes, optimizations, security hardening fixes, and undefined
 behavior code cleanups.


To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 pkgsrc/print/mupdf/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/print/mupdf/PLIST
cvs rdiff -u -r1.82 -r1.83 pkgsrc/print/mupdf/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/print/mupdf/patches/patch-Makerules
cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/print/mupdf/patches/patch-source_fitz_stext-search.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/mupdf/Makefile
diff -u pkgsrc/print/mupdf/Makefile:1.145 pkgsrc/print/mupdf/Makefile:1.146
--- pkgsrc/print/mupdf/Makefile:1.145   Tue Sep 29 06:07:16 2026
+++ pkgsrc/print/mupdf/Makefile Sat Oct 10 15:31:07 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.145 2026/09/29 06:07:16 wiz Exp $
+# $NetBSD: Makefile,v 1.146 2026/10/10 15:31:07 leot Exp $
 
-DISTNAME=      mupdf-1.27.2-source
+DISTNAME=      mupdf-1.28.5-source
 PKGNAME=       ${DISTNAME:S/-source//}
-PKGREVISION=   5
 CATEGORIES=    print
 MASTER_SITES=  https://casper.mupdf.com/downloads/archive/
 
@@ -106,8 +105,9 @@ BUILDLINK_API_DEPENDS.zlib+=        zlib>=1.2.7
 #.include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/openjpeg/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
-# XXX: mupdf needs mujs/regexp.h installed
 .include "../../lang/mujs/buildlink3.mk"
+# XXX: mupdf needs "registry.h" that are cmark-gfm internals not exposed
+#.include "../../textproc/cmark-gfm/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../www/gumbo-parser/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/print/mupdf/PLIST
diff -u pkgsrc/print/mupdf/PLIST:1.31 pkgsrc/print/mupdf/PLIST:1.32
--- pkgsrc/print/mupdf/PLIST:1.31       Tue Mar  3 21:49:01 2026
+++ pkgsrc/print/mupdf/PLIST    Sat Oct 10 15:31:07 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2026/03/03 21:49:01 yhardy Exp $
+@comment $NetBSD: PLIST,v 1.32 2026/10/10 15:31:07 leot Exp $
 bin/mupdf
 ${PLIST.opengl}bin/mupdf-gl
 ${PLIST.curl}bin/mupdf-x11-curl
@@ -35,12 +35,14 @@ include/mupdf/fitz/image.h
 include/mupdf/fitz/json.h
 include/mupdf/fitz/link.h
 include/mupdf/fitz/log.h
+include/mupdf/fitz/options.h
 include/mupdf/fitz/outline.h
 include/mupdf/fitz/output-svg.h
 include/mupdf/fitz/output.h
 include/mupdf/fitz/path.h
 include/mupdf/fitz/pixmap.h
 include/mupdf/fitz/pool.h
+include/mupdf/fitz/regexp.h
 include/mupdf/fitz/separation.h
 include/mupdf/fitz/shade.h
 include/mupdf/fitz/store.h

Index: pkgsrc/print/mupdf/distinfo
diff -u pkgsrc/print/mupdf/distinfo:1.82 pkgsrc/print/mupdf/distinfo:1.83
--- pkgsrc/print/mupdf/distinfo:1.82    Tue Mar  3 21:49:01 2026
+++ pkgsrc/print/mupdf/distinfo Sat Oct 10 15:31:07 2026
@@ -1,16 +1,15 @@
-$NetBSD: distinfo,v 1.82 2026/03/03 21:49:01 yhardy Exp $
+$NetBSD: distinfo,v 1.83 2026/10/10 15:31:07 leot Exp $
 
-BLAKE2s (mupdf-1.27.2-source.tar.gz) = a27135ba9494534cb56657cf603e5d07116a46693727ae5d31fcb496acdaf165
-SHA512 (mupdf-1.27.2-source.tar.gz) = 68c92007aac775d22dca151a7ae2d4e77755dbc0c8a6faeec8048aa3537de4e1b5a98d999e090460298f294d7aed62e3aa144817d78655435d9498b159ccd0dc
-Size (mupdf-1.27.2-source.tar.gz) = 66968384 bytes
+BLAKE2s (mupdf-1.28.5-source.tar.gz) = c438656603bab15e31c7d5e06497a3be27159fae70ad6ea4a84603ddf36b98be
+SHA512 (mupdf-1.28.5-source.tar.gz) = a23e03cec246bb15aae904db210268d4f1a88799ae321c9a59fdd855bc8cada4aee9bbc4aa405e7584fa08a02aae4ec25c310c9090bdc1ecce92c8ef4e1d5a2e
+Size (mupdf-1.28.5-source.tar.gz) = 68919385 bytes
 SHA1 (patch-Makefile) = 9f15d6b0c9a122993e71728adb8b77945c79152b
 SHA1 (patch-Makelists) = b271a1774474e0dffbaad59f207c8095892bc7f8
-SHA1 (patch-Makerules) = 02539dbd67ba6674e85bf1dcdefe228abc8ee679
-SHA1 (patch-docs_man_mupdf.1) = c2a2c1ad283428168a714adb634aa50cdd6a4aba
+SHA1 (patch-Makerules) = 2e2d2fe804703db15443abc95b9260196bec3413
+SHA1 (patch-docs_man_mupdf.1) = 04cdd555ab39e5589a845d610a24037f480fde7c
 SHA1 (patch-platform_gl_gl-app.h) = 1e915249010acd3ff1343f0607e785d06577fe78
 SHA1 (patch-platform_x11_curl__stream.c) = ccabcd665359ae00b76230a4ced22f360a0989e5
 SHA1 (patch-platform_x11_pdfapp.c) = e806f10b9c7dad2f6db2386c0b5509d5cf311f06
 SHA1 (patch-source_fitz_crypt-sha2.c) = c6b113818b32cb4470e8549c00a16e0b2f364ede
 SHA1 (patch-source_fitz_load-jpx.c) = 237367451cf048950a99c6e2ea948298cad23e9e
-SHA1 (patch-source_fitz_stext-search.c) = c7115f748ddb9e3b12b432cee37cbde5dceec4d7
 SHA1 (patch-source_helpers_pkcs7_pkcs7-openssl.c) = e0fb32b2c82a5951ef5befd14ca88c47f075dd4e

Index: pkgsrc/print/mupdf/patches/patch-Makerules
diff -u pkgsrc/print/mupdf/patches/patch-Makerules:1.3 pkgsrc/print/mupdf/patches/patch-Makerules:1.4
--- pkgsrc/print/mupdf/patches/patch-Makerules:1.3      Tue Mar  3 21:49:01 2026
+++ pkgsrc/print/mupdf/patches/patch-Makerules  Sat Oct 10 15:31:07 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-Makerules,v 1.3 2026/03/03 21:49:01 yhardy Exp $
+$NetBSD: patch-Makerules,v 1.4 2026/10/10 15:31:07 leot Exp $
 
 - Handle the various operating systems in the same way avoiding hardcoding
 - Avoid to use objcopy by setting HAVE_OBJCOPY to no (if `yes', and with
@@ -10,9 +10,9 @@ $NetBSD: patch-Makerules,v 1.3 2026/03/0
 - Avoid internal version of freeglut and try to pick it up via pkg-config and
   set SYS_GLUT_{CFLAGS,LIBS} accordingly.
 
---- Makerules.orig     2026-02-18 16:24:19.000000000 +0000
+--- Makerules.orig     2026-09-25 02:11:56.000000000 +0000
 +++ Makerules
-@@ -100,19 +100,6 @@ endif
+@@ -103,19 +103,6 @@ endif
  
  # System specific features
  
@@ -29,10 +29,10 @@ $NetBSD: patch-Makerules,v 1.3 2026/03/0
 -  SO := so
 -endif
 -
+ SANITIZE_FLAGS += -fsanitize=undefined
  SANITIZE_FLAGS += -fsanitize=address
  SANITIZE_FLAGS += -fsanitize=leak
- 
-@@ -212,38 +199,8 @@ endif
+@@ -220,38 +207,8 @@ endif
    CFLAGS += -DCLUSTER
  endif
  
@@ -72,7 +72,7 @@ $NetBSD: patch-Makerules,v 1.3 2026/03/0
    ifeq ($(shell pkg-config --exists 'freetype2 >= 18.3.12' && echo yes),yes)
      SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
      SYS_FREETYPE_LIBS := $(shell pkg-config --libs freetype2)
-@@ -343,8 +300,6 @@ else
+@@ -355,8 +312,6 @@ else
      PTHREAD_CFLAGS :=
      PTHREAD_LIBS := -lpthread
    endif

Index: pkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1
diff -u pkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1:1.1 pkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1:1.2
--- pkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1:1.1       Thu Sep  7 14:36:54 2023
+++ pkgsrc/print/mupdf/patches/patch-docs_man_mupdf.1   Sat Oct 10 15:31:07 2026
@@ -1,16 +1,16 @@
-$NetBSD: patch-docs_man_mupdf.1,v 1.1 2023/09/07 14:36:54 vins Exp $
+$NetBSD: patch-docs_man_mupdf.1,v 1.2 2026/10/10 15:31:07 leot Exp $
 
 Document fine-grained zoom function.
 
---- docs/man/mupdf.1.orig      2023-09-05 11:51:19.000000000 +0000
+--- docs/man/mupdf.1.orig      2026-09-25 02:11:56.000000000 +0000
 +++ docs/man/mupdf.1
-@@ -94,6 +94,9 @@ Pan page left or right.
+@@ -121,6 +121,9 @@ Zoom in or out.
  .TP
  .B Control + Scroll wheel
  Zoom in or out.
 +.TP
 +.B Shift + Control + Scroll wheel
 +Fine grained Zoom in or out.
- 
+ .
  .SH KEY BINDINGS
- 
+ .SS Page navigation



Home | Main Index | Thread Index | Old Index