public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michael J Gruber <mjg@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mupdf] f44: drop obsolete patch
Date: Fri, 23 Oct 2026 15:14:48 GMT	[thread overview]
Message-ID: <179276848801.1.5643702296064209531.rpms-mupdf-df1c1ca48382@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/mupdf
            Branch : f44
            Commit : df1c1ca483827d58876935f9b2e32a44d6877d99
            Author : Michael J Gruber <mjg@fedoraproject.org>
            Date   : 2026-09-04T12:48:43+02:00
            Stats  : +0/-47 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/mupdf/c/df1c1ca483827d58876935f9b2e32a44d6877d99?branch=f44

            Log:
            drop obsolete patch

This patch affects build testing only, not the built package. It has
been obsoleted by changes in 1.28.x.

[skip changelog]

---
diff --git a/0001-mupdfwrap_test-adjust-to-mupdf-1.27.x.patch b/0001-mupdfwrap_test-adjust-to-mupdf-1.27.x.patch
deleted file mode 100644
index 1423d66..0000000
--- a/0001-mupdfwrap_test-adjust-to-mupdf-1.27.x.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 3600658c93486cb854a84f22039969da08bb8f71 Mon Sep 17 00:00:00 2001
-Message-ID: <3600658c93486cb854a84f22039969da08bb8f71.1784292319.git.mjg@fedoraproject.org>
-From: Michael J Gruber <mjg@fedoraproject.org>
-Date: Fri, 23 May 2025 15:57:30 +0200
-Subject: [PATCH] mupdfwrap_test: adjust to mupdf 1.27.x
-
-mupdf 1.27.x started to insist on resynthesis in:
-7db01c78a ("Ensure we have no pending form recalc or annot resynthesis before saving.", 2025-05-16)
-
-Adjust the script accordingly, catching both "pass" and the expected
-"raise".
----
- scripts/mupdfwrap_test.py | 16 +++++++++++++++-
- 1 file changed, 15 insertions(+), 1 deletion(-)
-
-diff --git a/scripts/mupdfwrap_test.py b/scripts/mupdfwrap_test.py
-index 7e077981d..4e48ca2c8 100755
---- a/scripts/mupdfwrap_test.py
-+++ b/scripts/mupdfwrap_test.py
-@@ -140,7 +140,21 @@ def test_filter(path):
-             document.pdf_end_operation()
- 
-     if 1:
--        document.pdf_save_document('mupdf_test-out0.pdf', mupdf.PdfWriteOptions())
-+        try:
-+            document.pdf_save_document('mupdf_test-out0.pdf', mupdf.PdfWriteOptions())
-+        except mupdf.FzErrorArgument as e:
-+            log(f'{type(e)=} {str(e)=} {repr(e)=}.')
-+            log(f'{e.what()=}.')
-+            expected = 'code=4: annotations need resynthesis before saving' # mupdf 1.27.x
-+            assert str(e) == expected and e.what() == expected, (
-+                    f'Incorrect exception text:\n'
-+                    f'    {str(e)=}\n'
-+                    f'    {e.what()=}\n'
-+                    f'    {expected=}'
-+                    )
-+        except Exception as e:
-+            assert 0, f'Incorrect exception {type(e)=} {e=}.'
-+            
- 
- 
- def test_install_load_system_font(path):
--- 
-2.55.0.417.gd2046ead17
-

diff --git a/mupdf.spec b/mupdf.spec
index 0078570..579125f 100644
--- a/mupdf.spec
+++ b/mupdf.spec
@@ -37,8 +37,6 @@ Patch:		0001-do-not-use-CXXFLAGS-with-swig.patch
 # for compatibility with SWIG 4.5.0
 # https://github.com/ArtifexSoftware/mupdf/pull/102
 Patch:		0001-Replace-removed-Python-2-C-API-macros-for-SWIG-4.5.0.patch
-# Upstreamable:
-Patch:		0001-mupdfwrap_test-adjust-to-mupdf-1.27.x.patch
 
 BuildRequires:	gcc gcc-c++ make binutils desktop-file-utils coreutils pkgconfig
 BuildRequires:	openjpeg2-devel desktop-file-utils

                 reply	other threads:[~2026-10-23 15:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179276848801.1.5643702296064209531.rpms-mupdf-df1c1ca48382@fedoraproject.org \
    --to=mjg@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox