From 00794dc038bf77b60c37de5b856320f57772a40bad41f6500ac869bcb5aecfc5 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 20 Sep 2023 07:17:31 +0000 Subject: [PATCH] Accepting request 1112444 from home:polslinux:branches:Publishing - Update to 1.23.3: 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. 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 changes: + pdf_field_name renamed to pdf_load_field_name. + mutool run: Changed many methods to match Java and new WASM library. OBS-URL: https://build.opensuse.org/request/show/1112444 OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=114 --- mupdf-1.22.2-source.tar.gz | 3 --- mupdf-1.23.3-source.tar.gz | 3 +++ mupdf-no-strip.patch | 14 +++++--------- mupdf.changes | 31 +++++++++++++++++++++++++++++++ mupdf.spec | 2 +- 5 files changed, 40 insertions(+), 13 deletions(-) delete mode 100644 mupdf-1.22.2-source.tar.gz create mode 100644 mupdf-1.23.3-source.tar.gz diff --git a/mupdf-1.22.2-source.tar.gz b/mupdf-1.22.2-source.tar.gz deleted file mode 100644 index b511f5b..0000000 --- a/mupdf-1.22.2-source.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54c66af4e6ef8cea9867cc0320ef925d561b42919ea0d4f89db5c9ef485bbeb7 -size 57541621 diff --git a/mupdf-1.23.3-source.tar.gz b/mupdf-1.23.3-source.tar.gz new file mode 100644 index 0000000..2464d4c --- /dev/null +++ b/mupdf-1.23.3-source.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ef9a6409bc0a3271586e1b16f78eb156a579521cd212a124b57c4da8b940aad +size 55144800 diff --git a/mupdf-no-strip.patch b/mupdf-no-strip.patch index 64917c7..3d7cde1 100644 --- a/mupdf-no-strip.patch +++ b/mupdf-no-strip.patch @@ -1,15 +1,11 @@ -Index: mupdf-1.22.1-source/Makerules -=================================================================== ---- mupdf-1.22.1-source.orig/Makerules -+++ mupdf-1.22.1-source/Makerules -@@ -83,8 +83,8 @@ ifeq ($(build),debug) - CFLAGS += -pipe -g +--- mupdf-1.23.3-source/Makerules.orig 2023-09-20 07:55:15.822969071 +0200 ++++ mupdf-1.23.3-source/Makerules 2023-09-20 07:55:39.019862276 +0200 +@@ -93,7 +93,7 @@ LDFLAGS += -g else ifeq ($(build),release) -- CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer + CFLAGS += -pipe -O2 -DNDEBUG - LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s -+ CFLAGS += -pipe -O2 -DNDEBUG + LDFLAGS += $(LDREMOVEUNREACH) else ifeq ($(build),small) - CFLAGS += -pipe -Os -DNDEBUG -fomit-frame-pointer + CFLAGS += -pipe -Os -DNDEBUG LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s diff --git a/mupdf.changes b/mupdf.changes index 4835008..cb54aad 100644 --- a/mupdf.changes +++ b/mupdf.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Wed Sep 20 05:56:12 UTC 2023 - Paolo Stivanin + +- Update to 1.23.3: + 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. + 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 changes: + + pdf_field_name renamed to pdf_load_field_name. + + mutool run: Changed many methods to match Java and new WASM library. + ------------------------------------------------------------------- Tue Jun 20 07:03:54 UTC 2023 - Paolo Stivanin diff --git a/mupdf.spec b/mupdf.spec index cebe9f4..58f455f 100644 --- a/mupdf.spec +++ b/mupdf.spec @@ -18,7 +18,7 @@ Name: mupdf -Version: 1.22.2 +Version: 1.23.3 Release: 0 Summary: PDF and XPS Viewer and Parser and Rendering Library License: AGPL-3.0-or-later