SHA256
1
0
forked from pool/mupdf

16 Commits

Author SHA256 Message Date
7b1a09f974 Accepting request 1296183 from Publishing
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1296183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=70
2025-07-30 09:43:29 +00:00
Paolo Stivanin
b3f42f908d * Update to version 1.26.3.
* 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
2025-07-22 06:38:04 +00:00
84dd47cea5 Accepting request 1266608 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1266608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=69
2025-04-02 19:05:43 +00:00
Martin Pluskal
4c011e611d - Update to 1.25.6:
* 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
2025-04-02 15:38:21 +00:00
e76856fee8 Accepting request 1253773 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1253773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=68
2025-03-17 21:18:46 +00:00
Paolo Stivanin
1e8b423048 - Update to 1.25.5:
* 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
2025-03-17 12:36:39 +00:00
0a7a3488f3 Accepting request 1241070 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1241070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=67
2025-01-29 15:17:16 +00:00
Paolo Stivanin
f2c3ada869 - Update to 1.25.4:
* 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
2025-01-29 07:43:28 +00:00
79db5a9f83 Accepting request 1239880 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1239880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=66
2025-01-23 17:06:03 +00:00
Paolo Stivanin
bfe2c47dcb - Update to 1.25.3:
* Fix bug where structure trees were always kept.
  * Add option to drop/keep structure trees when rearranging or subsetting pages.

OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=138
2025-01-23 13:24:48 +00:00
5c0c7698c6 Accepting request 1234698 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1234698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=65
2025-01-05 14:29:46 +00:00
Martin Pluskal
00b13a2796 - Update to 1.25.2:
* Add support to spot invisible text in structured text.
  * Fix sanitisation of clipping paths.
  * Fix leak in C++ wrappers.
- Update to 1.25.1:
  * Fix bug in structured text to html conversion concerning color.
- For changes in 1.25.0 and older see https://mupdf.com/releases/history

OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=136
2025-01-03 09:16:17 +00:00
9ce37e4697 Accepting request 1218937 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1218937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=64
2024-10-29 13:36:23 +00:00
Paolo Stivanin
6fb2cb6f40 - Update to 1.24.10:
* Several fixes to python scripts for bindings.
  * Fix bug relating to redactions on pages with shared content
    streams.
  * Fix bug when both color keying and softmasking is used.

OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=134
2024-10-29 06:51:26 +00:00
7f6a158d21 Accepting request 1202543 from Publishing
OBS-URL: https://build.opensuse.org/request/show/1202543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=63
2024-09-23 13:23:36 +00:00
Paolo Stivanin
295a1fb5af - Update to 1.24.9:
* 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
2024-09-23 07:16:20 +00:00
4 changed files with 150 additions and 21 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a518d9be976cdb2006d45382d7ffb1b9b8d64bc3fd3cb73ca6270d752fa7f448
size 54039703

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab467fc2d888cd8424cdce4bc6dd7ec61f34820582ddf3769a336e6909d9a48e
size 64525703

View File

@@ -1,3 +1,133 @@
-------------------------------------------------------------------
Mon Jul 21 14:09:31 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.26.3:
* Cope with /AS being an indirection in annotations.
* PDF redaction should honour RO entries.
* Recompress lossy (JPEG, J2K, JXR, etc) as JPEG when writing to
SVG.
* Improve speed of roll in postscript functions.
* Be more accepting of EmbeddedFiles FileSpecs.
* Extend rectangles to improve strikeout detection.
* Fix strikeout detection failure caused by FP inaccuracy.
* Make mutool trace and mutool draw -Ftrace output identical.
* Re-order mutool sub-commands, highlight the most useful
commands at the top.
* Use fz_strstrcase for case insensitive file dialog filters in
mupdf-gl.
- Changes from version 1.26.0 through 1.26.2: see
<https://mupdf.com/releases/history>.
- 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.
-------------------------------------------------------------------
Wed Apr 2 11:24:01 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
- Update to 1.25.6:
* 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.
-------------------------------------------------------------------
Mon Mar 17 10:22:43 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
- Update to 1.25.5:
* 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.
-------------------------------------------------------------------
Mon Jan 27 11:35:55 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
- Update to 1.25.4:
* 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.
-------------------------------------------------------------------
Thu Jan 23 10:15:49 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
- Update to 1.25.3:
* Fix bug where structure trees were always kept.
* Add option to drop/keep structure trees when rearranging or subsetting pages.
-------------------------------------------------------------------
Thu Jan 2 16:39:15 UTC 2025 - Yunus Acar <yunus.acar@suse.com>
- Update to 1.25.2:
* Add support to spot invisible text in structured text.
* Fix sanitisation of clipping paths.
* Fix leak in C++ wrappers.
- Update to 1.25.1:
* Fix bug in structured text to html conversion concerning color.
- For changes in 1.25.0 and older see https://mupdf.com/releases/history
-------------------------------------------------------------------
Mon Oct 28 16:51:41 UTC 2024 - Carsten Ziepke <kieltux@gmail.com>
- Update to 1.24.10:
* Several fixes to python scripts for bindings.
* Fix bug relating to redactions on pages with shared content
streams.
* Fix bug when both color keying and softmasking is used.
-------------------------------------------------------------------
Fri Sep 20 09:31:30 UTC 2024 - Yunus Acar <yunus.acar@suse.com>
- Update to 1.24.9:
* 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.
-------------------------------------------------------------------
Tue Aug 6 11:06:12 UTC 2024 - Jan Kužílek <jan.kuzilek@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package mupdf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2011 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@@ -17,8 +17,11 @@
#
%if 0%{suse_version} < 1600
%define gcc_ver 11
%endif
Name: mupdf
Version: 1.24.8
Version: 1.26.3
Release: 0
Summary: PDF and XPS Viewer and Parser and Rendering Library
License: AGPL-3.0-or-later
@@ -29,20 +32,24 @@ Source1: %{name}.desktop
Source2: %{name}-gl.desktop
Patch0: mupdf-no-strip.patch
BuildRequires: Mesa-libGL-devel
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: freetype2-devel
BuildRequires: gcc-c++
BuildRequires: gcc%{?gcc_ver}-c++
BuildRequires: hicolor-icon-theme
BuildRequires: jbig2dec-devel
BuildRequires: libcurl-devel
BuildRequires: libjpeg-devel
BuildRequires: openjpeg2-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
BuildRequires: zstd
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(libbrotlidec)
BuildRequires: pkgconfig(libbrotlienc)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(tesseract)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
@@ -84,6 +91,7 @@ do
done
echo > user.make "\
USE_SYSTEM_BROTLI := yes
USE_SYSTEM_FREETYPE := yes
USE_SYSTEM_HARFBUZZ := yes
USE_SYSTEM_JBIG2DEC := yes
@@ -92,6 +100,7 @@ echo > user.make "\
USE_SYSTEM_LIBJPEG := yes
USE_SYSTEM_MUJS := no # build needs source anyways
USE_SYSTEM_OPENJPEG := yes
USE_SYSTEM_TESSERACT := yes
USE_SYSTEM_ZLIB := yes
USE_SYSTEM_GLUT := no # need freeglut2-art frok
USE_SYSTEM_CURL := yes
@@ -99,6 +108,8 @@ echo > user.make "\
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CC=gcc%{?gcc_ver:-%{gcc_ver}}
export CXX=g++%{?gcc_ver:-%{gcc_ver}}
export XCFLAGS="%{optflags} -fcommon -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
%make_build build=release verbose=yes
@@ -117,24 +128,12 @@ find %{buildroot}/%{_includedir} -type f -exec chmod 0644 {} \;
cd %{buildroot}/%{_bindir} && ln -s %{name}-x11 %{name}
%fdupes %{buildroot}%{_datadir}
%suse_update_desktop_file mupdf
%if 0%{?suse_version} <= 1320
%post
%desktop_database_post
%postun
%desktop_database_postun
%endif
%files
%doc README CHANGES docs/*
%license COPYING
%{_bindir}/*
%{_bindir}/mupdf*
%{_bindir}/mutool
%{_datadir}/applications/mupdf*.desktop
%{_datadir}/icons/hicolor
%{_datadir}/icons/hicolor/scalable
%{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/*
%{_mandir}/man1/*.1%{?ext_man}