forked from pool/mupdf
Compare commits
16 Commits
Author | SHA256 | Date | |
---|---|---|---|
7b1a09f974 | |||
|
b3f42f908d | ||
84dd47cea5 | |||
|
4c011e611d | ||
e76856fee8 | |||
|
1e8b423048 | ||
0a7a3488f3 | |||
|
f2c3ada869 | ||
79db5a9f83 | |||
|
bfe2c47dcb | ||
5c0c7698c6 | |||
|
00b13a2796 | ||
9ce37e4697 | |||
|
6fb2cb6f40 | ||
7f6a158d21 | |||
|
295a1fb5af |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a518d9be976cdb2006d45382d7ffb1b9b8d64bc3fd3cb73ca6270d752fa7f448
|
|
||||||
size 54039703
|
|
3
mupdf-1.26.3-source.tar.gz
Normal file
3
mupdf-1.26.3-source.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab467fc2d888cd8424cdce4bc6dd7ec61f34820582ddf3769a336e6909d9a48e
|
||||||
|
size 64525703
|
130
mupdf.changes
130
mupdf.changes
@@ -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>
|
Tue Aug 6 11:06:12 UTC 2024 - Jan Kužílek <jan.kuzilek@suse.com>
|
||||||
|
|
||||||
|
35
mupdf.spec
35
mupdf.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mupdf
|
# spec file for package mupdf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2011 Guido Berhoerster.
|
# Copyright (c) 2011 Guido Berhoerster.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# 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
|
Name: mupdf
|
||||||
Version: 1.24.8
|
Version: 1.26.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: PDF and XPS Viewer and Parser and Rendering Library
|
Summary: PDF and XPS Viewer and Parser and Rendering Library
|
||||||
License: AGPL-3.0-or-later
|
License: AGPL-3.0-or-later
|
||||||
@@ -29,20 +32,24 @@ Source1: %{name}.desktop
|
|||||||
Source2: %{name}-gl.desktop
|
Source2: %{name}-gl.desktop
|
||||||
Patch0: mupdf-no-strip.patch
|
Patch0: mupdf-no-strip.patch
|
||||||
BuildRequires: Mesa-libGL-devel
|
BuildRequires: Mesa-libGL-devel
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: freetype2-devel
|
BuildRequires: freetype2-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc%{?gcc_ver}-c++
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: jbig2dec-devel
|
BuildRequires: jbig2dec-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: openjpeg2-devel
|
BuildRequires: openjpeg2-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: zstd
|
BuildRequires: zstd
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
BuildRequires: pkgconfig(harfbuzz)
|
BuildRequires: pkgconfig(harfbuzz)
|
||||||
|
BuildRequires: pkgconfig(libbrotlidec)
|
||||||
|
BuildRequires: pkgconfig(libbrotlienc)
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
|
BuildRequires: pkgconfig(tesseract)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xext)
|
BuildRequires: pkgconfig(xext)
|
||||||
BuildRequires: pkgconfig(xi)
|
BuildRequires: pkgconfig(xi)
|
||||||
@@ -84,6 +91,7 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo > user.make "\
|
echo > user.make "\
|
||||||
|
USE_SYSTEM_BROTLI := yes
|
||||||
USE_SYSTEM_FREETYPE := yes
|
USE_SYSTEM_FREETYPE := yes
|
||||||
USE_SYSTEM_HARFBUZZ := yes
|
USE_SYSTEM_HARFBUZZ := yes
|
||||||
USE_SYSTEM_JBIG2DEC := yes
|
USE_SYSTEM_JBIG2DEC := yes
|
||||||
@@ -92,6 +100,7 @@ echo > user.make "\
|
|||||||
USE_SYSTEM_LIBJPEG := yes
|
USE_SYSTEM_LIBJPEG := yes
|
||||||
USE_SYSTEM_MUJS := no # build needs source anyways
|
USE_SYSTEM_MUJS := no # build needs source anyways
|
||||||
USE_SYSTEM_OPENJPEG := yes
|
USE_SYSTEM_OPENJPEG := yes
|
||||||
|
USE_SYSTEM_TESSERACT := yes
|
||||||
USE_SYSTEM_ZLIB := yes
|
USE_SYSTEM_ZLIB := yes
|
||||||
USE_SYSTEM_GLUT := no # need freeglut2-art frok
|
USE_SYSTEM_GLUT := no # need freeglut2-art frok
|
||||||
USE_SYSTEM_CURL := yes
|
USE_SYSTEM_CURL := yes
|
||||||
@@ -99,6 +108,8 @@ echo > user.make "\
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%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"
|
export XCFLAGS="%{optflags} -fcommon -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
|
||||||
%make_build build=release verbose=yes
|
%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}
|
cd %{buildroot}/%{_bindir} && ln -s %{name}-x11 %{name}
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
|
|
||||||
%suse_update_desktop_file mupdf
|
|
||||||
|
|
||||||
%if 0%{?suse_version} <= 1320
|
|
||||||
%post
|
|
||||||
%desktop_database_post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%desktop_database_postun
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README CHANGES docs/*
|
%doc README CHANGES docs/*
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/*
|
%{_bindir}/mupdf*
|
||||||
|
%{_bindir}/mutool
|
||||||
%{_datadir}/applications/mupdf*.desktop
|
%{_datadir}/applications/mupdf*.desktop
|
||||||
%{_datadir}/icons/hicolor
|
|
||||||
%{_datadir}/icons/hicolor/scalable
|
|
||||||
%{_datadir}/icons/hicolor/scalable/apps
|
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/*
|
%{_datadir}/icons/hicolor/scalable/apps/*
|
||||||
%{_mandir}/man1/*.1%{?ext_man}
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user