147 Commits

Author SHA1 Message Date
Michael J Gruber
e968d23b8a Update to new upstream release 1.25.1 (rhbz#2300000)
- Various accumulated fixes
- adjust to tesseract package split
- remove now optional fonttools dependency

mupdf libs used to pull in tesseract and the eng lanpack with it. After
tesseract's splitting off the lib, we need to BR the langpack so that
tests can use it. This makes no difference on Fedoras without the split,
so we do not need to ifdef it.

Also, we switch to the pyproject buildrequires generator. Note that we
do not BR psutils because it's needed by a disabled test only.
2024-12-22 22:11:15 +01:00
Sandro Mani
6c3207188b BR: python3-setuptools 2024-11-13 09:59:30 +01:00
Sandro Mani
2fe0739c01 Rebuild (tesseract) 2024-11-12 09:18:50 +01:00
Michael J Gruber
bfbbfde3e5 Use more pyproject macros
Use pyproject macros according to the new Python packaging guidelines as
much as we can. The only outlier is build requires:

 - We would need to work around the wrong form of dependencies on swig
  and clang (doable).
 - We should make doc build dependencies conditional.

So we stick with explicit build requires for now.
2024-08-15 12:25:14 +02:00
Michael J Gruber
b7a6a1393c Update to new upstream release 1.24.8 (rhbz#2299417)
- Fix subset font name extraction (regression in 1.24.6 and 1.24.7).
- Other minor fixes.

Also, turn off yet another linter in the test suite (which would require
git and possibly fail outside of a checkout).
2024-07-23 20:55:20 +02:00
Fedora Release Engineering
4c587a655b Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 09:03:56 +00:00
Michael J Gruber
3e1289ae2d Update to new upstream release 1.24.7 (rhbz#2295693)
- Various fixes.
2024-07-10 12:01:24 +02:00
Python Maint
301a704ae0 Rebuilt for Python 3.13 2024-06-09 14:52:49 +02:00
Michael J Gruber
70871f7ef5 Update to new upstream release 1.24.5 (rhbz#2280912)
- Various fixes.
- Removed/disabled some unnecessary diagnostics.
2024-05-31 14:48:25 +02:00
Michael J Gruber
35f9c5b8ec Rebuild for RPM 4.20 regression 2024-05-29 20:50:07 +02:00
Michael J Gruber
fe70406307 Update to new upstream release 1.24.4 (rhbz#2280912)
- Various fixes (1.24.3, 1.24.4)
- The Python module is now (1.24.3 and up) called `pymupdf`. `fitz` is still supported for backwards compatibility.
2024-05-17 10:42:38 +02:00
Michael J Gruber
f559893430 Update to new upstream release 1.24.2 (rhbz#2276014)
- `Document.bake()`: new, make annotations / fields permanent content.
- `Page.cluster_drawings()`: new, identifies drawing items that belong together based on their geometrical vicinity.
- `Page.apply_redactions()`: added new parameter `text`.
- `Document.subset_fonts()`: use MuPDF's `pdf_subset_fonts()` instead of PyMuPDF code.
-  The `Document` class now supports page numbers specified as slices.
-  various fixes
2024-04-19 10:13:19 +02:00
Michael J Gruber
6640435f84 skip flaky test_2791
This test succeeded on all platforms in copr (all branches) and on koji
in rawhide anf F40 excpet for F40/x686. It does not seem to be due to
word size or such but because it's guesstimating memory usage. So,
disable this flaky test.
2024-04-11 17:34:52 +02:00
Michael J Gruber
0020c502bc Update to new upstream release 1.24.1 (rhbz#2272970)
- support ObjStm Compression
- some fixes around annotations and links

Also, disable new pylint test.
2024-04-03 17:18:35 +02:00
Michael J Gruber
ed4e576fce Update to new upstream release 1.24.0 (rhbz#2270926)
- support for redacting vector graphics
- several fixes for table module
- various other fixes

Also, switch spec to tabs.
2024-03-22 10:26:14 +01:00
Michael J Gruber
8a1aff4082 Update to new upstream release 1.23.26 (rhbz#2267405)
- new command pymupdf as shortcut for using PyMuPDF/fitz as command
- various fixes around tables
2024-03-02 21:17:24 +01:00
Michael J Gruber
1e522f63ab Update to new upstream release 1.23.25 (rhbz#2265290)
- 3 minor bug fixes
2024-02-21 11:13:53 +01:00
Michael J Gruber
8c80d3f3bd Update to new upstream release 1.23.24 (rhbz#2256708)
- various fixes around tables
- various fixes around Document
2024-02-20 17:24:06 +01:00
Michael J Gruber
0e3a5ad142 Allow to build without docs
*EL is missing some of the build requires for docs, so allow building
without docs and build them conditionally on Fedora.
2024-02-17 22:19:52 +01:00
Michael J Gruber
5eaf6688c1 Update to new upstream release 1.23.22 (rhbz#2256708)
- minor fixes
- interoperability with mupdf 1.23.x
2024-02-17 22:19:52 +01:00
Michael J Gruber
c203cea795 Update to new upstream release 1.23.21 (rhbz#2256708)
- various fixes, especially in the rebased implementation
- build with rebased implementation

This is the new default as of PyMuPDF 1.23.9.
2024-02-17 22:19:52 +01:00
Michael J Gruber
40ad312f5e Rebuild against mupdf 1.23.10 2024-02-06 22:22:19 +01:00
Michael J Gruber
5af95f651b Build against mupdf shared library 2024-02-02 22:22:29 +01:00
Michael J Gruber
3476ab698d Convert to %autorelease and %autochangelog
[skip changelog]
2024-02-02 21:10:28 +01:00
Sandro Mani
ad4a96eff2 Rebuild (tesseract) 2024-01-28 11:34:06 +01:00
Fedora Release Engineering
5a67dfb8c0 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 00:47:44 +00:00
Fedora Release Engineering
ab622790be Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:54:53 +00:00
Michael J Gruber
988220e94d Update to new upstream release 1.23.8 (rhbz#2252504) 2023-12-20 13:50:31 +01:00
Michael J Gruber
cb306e9b1b Update to new upstream release 1.23.7 (rhbz#2252504) 2023-12-02 22:14:52 +01:00
Michael J Gruber
229fc8fc28 Update to new upstream release 1.23.6 (rhbz#2244148) 2023-11-07 15:38:01 +01:00
Michael J Gruber
110ebf3d5e Update to new upstream release 1.23.5 (rhbz#2244148) 2023-11-06 20:58:57 +01:00
Michael J Gruber
3478ede9ce Rebuild for mupdf 1.23.4 2023-10-11 16:07:14 +02:00
Michael J Gruber
9fde26b355 Update to new upstream release 1.23.4 (rhbz#2241098)
This adjusts to the new build system changes in upstream. In particular,
build flags are now passed down again and allow better communication of
library related flags.
2023-10-10 16:15:04 +02:00
Michael J Gruber
5b71954d09 Adjust tesseract tessdata path to Fedora default 2023-10-10 16:12:53 +02:00
Sandro Mani
0ed0d470bd Rebuild (tesseract) 2023-10-08 00:27:53 +02:00
Michael J Gruber
8df66cce45 Update to new upstream release 1.23.3 (rhbz#2231206)
The new upstream build script forces us to switch to the new python rpm
macros (PEP517/pip). There is ongoing discussion with upstream to make
builds against system libraries smoother. For now, we just patch in the
necessary libs. Note that build flags are not passed via the environment
any more.

We do not use %pyproject_buildrequires because it only finds
pip/setuptools and trips over wrong pyproject.toml entries.
2023-09-05 17:31:01 +02:00
Fedora Release Engineering
5fb56174b5 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 06:54:08 +00:00
Sandro Mani
8d6e2a5296 Rebuild (tesseract) 2023-07-14 12:47:08 +02:00
Python Maint
48619f8448 Rebuilt for Python 3.12 2023-06-29 23:31:27 +02:00
Michael J Gruber
fa0ba313cc Update to new upstream release 1.22.5 (rhbz#2216869) 2023-06-23 12:47:38 +02:00
Michael J Gruber
581c721f9b Reenable test suite where possible
There are unclarified test suite failures on some architectures which
apparantly do not affect overall functionality. Reenable the test-suite
to catch problems at least on other architectures.
2023-05-11 17:06:01 +02:00
Michael J Gruber
bd9137a67f Update to new upstream release 1.22.3 (rhbz#2186919) 2023-05-11 16:35:37 +02:00
Michael J Gruber
c79841e037 Update to new upstream release 1.22.2 (rhbz#2186919) 2023-04-28 07:15:54 +02:00
Michael J Gruber
b120c5e76a Update to new upstream release 1.22.1 (rhbz#2186919) 2023-04-24 21:32:01 +02:00
Michael J Gruber
509ae8fbb9 Update to new upstream release 1.22.0 (rhbz#2186919) 2023-04-15 17:57:30 +02:00
Sandro Mani
5fa5a31569 Rebuild (tesseract) 2023-04-06 23:30:37 +02:00
Fedora Release Engineering
66ff8d7fa5 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:49:38 +00:00
Sandro Mani
2d35133f42 Rebuild (tesseract) 2022-12-23 22:00:30 +01:00
Sandro Mani
eb3da7bdeb Rebuild (leptonica) 2022-12-21 15:43:20 +01:00
Michael J Gruber
dc6fbb2c57 SPDX migration 2022-12-17 12:05:41 +01:00