* Use system brotli, tesseract for builds; add BuildRequires: pkgconfig(brotlidec), pkgconfig(brotlienc), pkgconfig(tesseract).
* Add BuildRequires: hicolor-icon-theme for proper ownership of hicolor icons dir.
* More specific directory globs for files section.
* Drop use of obsolete suse_update_desktop_files macro; switch BuildRequires: update-desktop-files for desktop-file-utils.
* Use GCC 11 to build for Leap 15.6 since std=c++20 is required.
* Drop support for EOL openSUSE <= 1320.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=146
* Avoid crash when noto fonts have zero size.
* Fix bug in q/Q count balancing.
* Improve clip/layer nesting to handle more than 1000 nested levels.
* Fix bug where all redaction annotations were applied intead of just one.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=144
* Allow pdf_lookup_page_number_slow on deleted pages.
* Fix issue in Fax decoder.
* Tweak antidropout code in the non-AA rasterizer.
* Fix bug ignoring last entry in UAX 14 line-breaking table.
* Let Windows handle unhandled ALT-key combinations.
* Cope with "undersized" cross-reference streams.
* Use ULL rather than Ui64 in windows specific time funcs
* Fix redaction problem with form transforms.
* Fix Makefiles to test/alter CFLAGS, not XCFLAGS.
* Avoid double drop of fz_html_tree upon exception in xml_to_boxes().
* Free unopened pages instead of waiting for document to reap them.
* Do not create bad write options if encrypt option was set to unknown value.
* PDF saving: Perform a pre-pass to load objects before saving.
* Change capitalization in mutool usage to be consistent.
* Ensure that cfb archive entry names are null-terminated.
* Allocate xml root node in pool.
* Fix typo in LZW compressed inline image dictionary.
* Report error in audit tool, otherwise it counts as unhandled.
* Handle PDF objects numbered outside xref range.
* Check whether opts is NULL when cleaning a PDF file.
* Check whether the argument list is NULL, when argument are said to exist.
* Consistently use uint32_t for color in stext device.
* Sync open page numbers after undo has swapped the xrefs, not before.
* Clear the in-doc flag when removing a page from the opened page list.
* Add support archive script to create commercial tarballs.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=142
* Add common Noto font name lookup function.
* Improve font Ascent/Descent handling.
* Allow fz_store_size to be customised in Java.
* Add fz_atoz() convenience function to parse size_t.
* Add and use convenience function for loading user CSS.
* Fix valgrind error seen with saving pdfs with garbage collection.
* Process both widgets and annotations when rewriting images.
* Adjust vector handling in page segmentation.
* Only include latest object versions when gathering object streams.
* Add AFRelationship property.
* Minimise size of softmasks before rendering.
* Fix bug where mutool clean produced object 0 with invalid gen num.
* Fix bbox calculation in segmentation.
* Improve exception messages from tesseract.
* When deleting widget fields, compare the objects, not their pointers.
* Fix for JBIG2 data not having the correct filter attached.
* Fix concerning renumbered PDF encryption dictionaries.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=140
* Improve memory usage for shadings.
* Improve rendering speed when applying transfer functions to softmasks.
* Avoid crashing due to colorspaces.
* Fix bug with SVG clip paths.
* Fix several bugs concerning text extraction.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=132
- Update to 1.23.9:
* Fix text moving after redaction.
* Add use-cid-for-unknown-unicode option to stext device.
* Move previously private APIs into public headers so they can be used in python bindings.
* Add version numbers to shared library installation targets on Linux/OpenBSD.
* Avoid setuptools problems for python bindings in python 3.12.
* Fix makefile so python bindings build with tesseract.
OBS-URL: https://build.opensuse.org/request/show/1140771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=59
* Fix text moving after redaction.
* Add use-cid-for-unknown-unicode option to stext device.
* Move previously private APIs into public headers so they can be used in python bindings.
* Add version numbers to shared library installation targets on Linux/OpenBSD.
* Avoid setuptools problems for python bindings in python 3.12.
* Fix makefile so python bindings build with tesseract.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=124
* Fix rendering issue concerning group alpha.
* Fix unexpected HTML table rectangles on subsequent pages.
* Fix text extraction of control characters from PDF.
* Fix bug concerning Stories having page-break-after set.
* Ignore broken structure trees instead of reporting an error.
* Various fixes for pymupdf.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=122
- Update to 1.23.6:
* Add new text file document handler.
* Add interface for rearranging pages.
* Fix double free bug in html parser.
* Use CropBox as origin for fitz space in PDF documents so that page bounding box origin is at the top left.
* Fix parsing of cmap with surrogate characters.
* Fix bug in story handling resetting.
* Various smaller fixes for pymupdf.
OBS-URL: https://build.opensuse.org/request/show/1129309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=57
* Add new text file document handler.
* Add interface for rearranging pages.
* Fix double free bug in html parser.
* Use CropBox as origin for fitz space in PDF documents so that page bounding box origin is at the top left.
* Fix parsing of cmap with surrogate characters.
* Fix bug in story handling resetting.
* Various smaller fixes for pymupdf.
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=120
- Update to 1.22.1 (bsc#1216728, CVE-2023-31794):
* Update to zlib 1.2.12 for security fix
* Add 'extract' library for more output options: DOCX, ODT
* Experimental Python bindings.
* Toggle spot color mode with 'e'.
-mupdf-no-strip.patch: fix debuginfo generation
- Remove xorg-x11-devel from buildrequires
CVE-2017-17858 bsc#1077161
- mupdf is not a terminal app boo#1036637
- Add CVE-2016-6265.patch to fix a use-after-free bsc#990195
- Set to best anti-alias mode (8) by default.
+ Sepia mode full-page color tinting in X11 and win32 viewer
+ Improve XML parser interface.
+ Miscellaneous minor fixes
for those architectures
OBS-URL: https://build.opensuse.org/request/show/1123575
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=118
- Update to 1.23.4:
* Fix bug causing a crash when cleaning up Android draw device upon destroy.
* Fix bug where bitmaps were reused after being recycled in Android.
* Add fixed padding to ink annotation to avoid unselectable bboxes for tiny strokes.
* Add API for checking if an annotation has a Rect property.
* Fix bug where cycles in structure trees caused eternal loops.
* Fix bug where colorspaces were not retained for in-linee images during filtering.
* Change default to use CropBox rather than MediaBox.
OBS-URL: https://build.opensuse.org/request/show/1116823
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=116
- 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
- Update to 1.22.1:
* New command line "mutool recolor" to change colorspace of PDF files.
* New command line "mutool trim" to remove content outside mediabox.
* New flag to "mutool draw": -KK to remove all non-textual content.
* Support PDF page labels.
* Layout HTML tables with variable column widths.
* Added JPEG output format. JPEG should be used with care due to its
lossy nature (if in doubt, use PDF instead).
* Added PDF filter factories.
* Added PDF color filter.
* Added "culler" to sanitize filter.
* Added flags to control embedding fonts in output.
* New device methods for structured tags.
* Increased maximum allowed image size.
* Add magic flag to temporarily hide annotations when editing them.
* Support RD in Square and Circle annotations.
* Support dashed borders in annotations.
* Support cloudy borders in annotations.
* Improved layers in PDF files.
* Fix performance issue with large PDF files and outlines.
* Updated multi-threading examples.
* Moved WASM project into separate repository.
* Added Java and "mutool run" bindings for many more functions.
OBS-URL: https://build.opensuse.org/request/show/1086750
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=110
- update to 1.21.1:
* Garbage collection problem causing file bloat on clean
* Don't assume sorted objects in pdf_objcmp
* Don't layout empty documents
* Type 3 font char bboxes
* Added MOBI input format support
* Added Story API for creating PDF documents from formatted text
* Added API to create, edit, and delete links
* Support custom images for Stamp annotations
* Support interior color on Polygon annotations
* Support line endings on PolyLine annotations
* Improved SVG output
* C++/Python/C# binding:
* Changes to naming of wrapper functions and classes
* Added limited support for callbacks into Python, using SWIG Directors
OBS-URL: https://build.opensuse.org/request/show/1061907
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=104
- update to 1.20.3:
* return error, not success when unable to lock native device resource.
* Bug 705620: Start journal operation instead of pushing local xref.
* Ensure AndroidDrawDevice is destroyed, even upon exception.
* source/pdf/pdf-clean.c: fix segv from incorrect call to fz_drop_pixmap().
* Bug 705681: Enclose code in begin/end operation.
* Guard against SEGVs when calling archive functions with NULL archive.
OBS-URL: https://build.opensuse.org/request/show/997600
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=100
- update to 1.20.0:
* Experimental C# bindings
* Cross compilation should no longer need a host compiler
* Major additions to JNI bindings
* New API to edit outline
* New API to resolve and create links
* New API to toggle individual layers in PDF
* Layer panel in mupdf-gl
* Layer option in mutool draw
* New API to add a Javascript console
* Console panel in mupdf-gl
* Text search API extended to be able to distinguish between separate search hits
* Command line tool improvements:
* all: Negative page numbers to index from the last page
* mutool draw: Add option to render document without text
* mutool draw and convert: Support DPI option in text and HTML output
* New hybrid HTML output format using "scripts/pdftohtml" script:
* Graphics in a background image
* Text on top
* Improved WASM viewer demo
* Support high DPI screens
* Progressive loading
* Update to zlib 1.2.12 for security fix
OBS-URL: https://build.opensuse.org/request/show/992108
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=98