From 61de83cbf4f98f2f001dafa337ad2890da1d1e8cf219a4e4d2015b5e5036cd55 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 26 Oct 2020 06:58:56 +0000 Subject: [PATCH] Accepting request 843892 from home:cges30901:branches:Publishing - Update to version 1.18.0 * mutool draw: bbox output format. * mutool draw: structured text extraction in JSON format. * mutool run: StructuredText.walk() * mutool run: PDFPage.process() and PDFAnnotation.process() * mupdf-gl: Added IBM Common User Access shortcuts for copy & paste. * mupdf-gl: Improved redaction UI. * java: Example desktop Java viewer. * wasm: WebAssembly viewer that runs in a browser. * html: Added HTML5 parser. * api: Dehyphenation option in structured text extraction, to improve searching for words that are hyphenated across lines. * api: pdf_new_date, pdf_to_date, pdf_dict_put_date and pdf_dict_get_date. * api: Added choice of image redaction algorithms: none, full, partial. * api: Optional use of Tesseract to use OCR to extract text. * svg: Many small parsing fixes. * svg: Parse inline CSS style attributes. * svg: Text elements (simple text layout only). * High security redaction -- save redacted PDF as flattened bitmap, guaranteed to not leak any sensitive redacted information. * Experimental C++ bindings. * Experimental Python bindings. OBS-URL: https://build.opensuse.org/request/show/843892 OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=93 --- mupdf-1.17.0-source.tar.xz | 3 --- mupdf-1.18.0-source.tar.xz | 3 +++ mupdf.changes | 31 +++++++++++++++++++++++++++++++ mupdf.spec | 4 +++- 4 files changed, 37 insertions(+), 4 deletions(-) delete mode 100644 mupdf-1.17.0-source.tar.xz create mode 100644 mupdf-1.18.0-source.tar.xz diff --git a/mupdf-1.17.0-source.tar.xz b/mupdf-1.17.0-source.tar.xz deleted file mode 100644 index 8ff5299..0000000 --- a/mupdf-1.17.0-source.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c935fb2593d9a28d9b56b59dad6e3b0716a6790f8a257a68fa7dcb4430bc6086 -size 48559964 diff --git a/mupdf-1.18.0-source.tar.xz b/mupdf-1.18.0-source.tar.xz new file mode 100644 index 0000000..d1df841 --- /dev/null +++ b/mupdf-1.18.0-source.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:592d4f6c0fba41bb954eb1a41616661b62b134d5b383e33bd45a081af5d4a59a +size 53621544 diff --git a/mupdf.changes b/mupdf.changes index 967ff84..5f7e00b 100644 --- a/mupdf.changes +++ b/mupdf.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sun Oct 25 12:05:00 UTC 2020 - Hsiu-Ming Chang + +- Update to version 1.18.0 + + * mutool draw: bbox output format. + * mutool draw: structured text extraction in JSON format. + * mutool run: StructuredText.walk() + * mutool run: PDFPage.process() and PDFAnnotation.process() + + * mupdf-gl: Added IBM Common User Access shortcuts for copy & paste. + * mupdf-gl: Improved redaction UI. + + * java: Example desktop Java viewer. + * wasm: WebAssembly viewer that runs in a browser. + * html: Added HTML5 parser. + + * api: Dehyphenation option in structured text extraction, to improve searching for words that are hyphenated across lines. + * api: pdf_new_date, pdf_to_date, pdf_dict_put_date and pdf_dict_get_date. + * api: Added choice of image redaction algorithms: none, full, partial. + * api: Optional use of Tesseract to use OCR to extract text. + + * svg: Many small parsing fixes. + * svg: Parse inline CSS style attributes. + * svg: Text elements (simple text layout only). + + * High security redaction -- save redacted PDF as flattened bitmap, guaranteed to not leak any sensitive redacted information. + + * Experimental C++ bindings. + * Experimental Python bindings. + ------------------------------------------------------------------- Fri Jun 19 08:24:38 UTC 2020 - Dan Čermák diff --git a/mupdf.spec b/mupdf.spec index 68ac7ef..72ee86d 100644 --- a/mupdf.spec +++ b/mupdf.spec @@ -18,7 +18,7 @@ Name: mupdf -Version: 1.17.0 +Version: 1.18.0 Release: 0 Summary: PDF and XPS Viewer and Parser and Rendering Library License: AGPL-3.0-or-later @@ -40,6 +40,7 @@ BuildRequires: openjpeg2-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: zlib-devel +BuildRequires: libgumbo-devel BuildRequires: pkgconfig(harfbuzz) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(openssl) @@ -89,6 +90,7 @@ echo > user.make "\ USE_SYSTEM_ZLIB := yes USE_SYSTEM_GLUT := no # need freeglut2-art frok USE_SYSTEM_CURL := yes + USE_SYSTEM_GUMBO := yes " %build