From 8c80d3f3bd9db096f76e05180cbd359d79cbf50f Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Feb 20 2024 16:24:06 +0000 Subject: Update to new upstream release 1.23.24 (rhbz#2256708) - various fixes around tables - various fixes around Document --- diff --git a/.gitignore b/.gitignore index fba2121..0ae4853 100644 --- a/.gitignore +++ b/.gitignore @@ -80,3 +80,4 @@ /PyMuPDF-1.23.8.tar.gz /PyMuPDF-1.23.21.tar.gz /PyMuPDF-1.23.22.tar.gz +/PyMuPDF-1.23.24.tar.gz diff --git a/0001-fix-type-error-with-GCC-14.patch b/0001-fix-type-error-with-GCC-14.patch deleted file mode 100644 index e1e562b..0000000 --- a/0001-fix-type-error-with-GCC-14.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 4c897cdfa1ade8d1fc61a9c812f48a63a30b3e85 Mon Sep 17 00:00:00 2001 -Message-ID: <4c897cdfa1ade8d1fc61a9c812f48a63a30b3e85.1707428203.git.mjg@fedoraproject.org> -From: Michael J Gruber -Date: Fri, 2 Feb 2024 22:20:42 +0100 -Subject: [PATCH] fix type error with GCC 14 - ---- - src_classic/fitz_old.i | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src_classic/fitz_old.i b/src_classic/fitz_old.i -index 8c67d2a3..dbd80358 100644 ---- a/src_classic/fitz_old.i -+++ b/src_classic/fitz_old.i -@@ -156,7 +156,7 @@ static void show(const char* prefix, PyObject* obj); - #if FZ_VERSION_MAJOR == 1 && FZ_VERSION_MINOR == 23 && FZ_VERSION_PATCH < 8 - pdf_obj *pdf_lookup_page_loc(fz_context *ctx, pdf_document *doc, int needle, pdf_obj **parentp, int *indexp); - fz_pixmap *fz_scale_pixmap(fz_context *ctx, fz_pixmap *src, float x, float y, float w, float h, const fz_irect *clip); --int fz_pixmap_size(fz_context *ctx, fz_pixmap *src); -+size_t fz_pixmap_size(fz_context *ctx, fz_pixmap *src); - void fz_subsample_pixmap(fz_context *ctx, fz_pixmap *tile, int factor); - void fz_copy_pixmap_rect(fz_context *ctx, fz_pixmap *dest, fz_pixmap *src, fz_irect b, const fz_default_colorspaces *default_cs); - void fz_write_pixmap_as_jpeg(fz_context *ctx, fz_output *out, fz_pixmap *pix, int jpg_quality); --- -2.43.0.710.g31023adb55 - diff --git a/python-PyMuPDF.spec b/python-PyMuPDF.spec index bdb32e5..00eb70a 100644 --- a/python-PyMuPDF.spec +++ b/python-PyMuPDF.spec @@ -4,7 +4,7 @@ %bcond docs %{defined fedora} Name: python-%{pypi_name} -Version: 1.23.22 +Version: 1.23.24 Release: %autorelease Summary: Python binding for MuPDF - a lightweight PDF and XPS viewer @@ -14,7 +14,6 @@ Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz Patch0: 0001-fix-test_-font.patch Patch1: 0001-test_pixmap-adjust-to-turbojpeg.patch Patch2: 0001-adjust-tesseract-tessdata-path-to-Fedora-default.patch -Patch3: 0001-fix-type-error-with-GCC-14.patch BuildRequires: python3-devel BuildRequires: python3-fonttools diff --git a/sources b/sources index 7bc2959..9afc701 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (PyMuPDF-1.23.22.tar.gz) = 2ddb5f8ea063a9e59db7b90021707d99d8e713e287a53d3079cf492bc2a6401f0db219390f00461d130386ad43bf96c7e85822801e2a21fb56406021d96a407c +SHA512 (PyMuPDF-1.23.24.tar.gz) = 080b92e16e72034ff04a2516a13e817bebfe409b454ca913eeda5e19b3ad16a237af923fabdc0c51651da60266a878b5f9a73a9071544e0708893ec93efc746a