summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2022-03-27 13:40:18 +0200
committerZac Medico <zmedico@gentoo.org>2022-03-27 09:53:19 -0700
commit03faa6adbd618a7f2215708279d7940ee578cc57 (patch)
tree9c82fc96139226b1027e99a2a0f73526d843643e /app-text/calibre
parentdev-python/jinja: Fix markupsafe-2.1.0+ compat (diff)
downloadgentoo-03faa6adbd618a7f2215708279d7940ee578cc57.tar.gz
gentoo-03faa6adbd618a7f2215708279d7940ee578cc57.tar.bz2
gentoo-03faa6adbd618a7f2215708279d7940ee578cc57.zip
app-text/calibre: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/24774 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/files/calibre-5.31.0-jxr-test.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/app-text/calibre/files/calibre-5.31.0-jxr-test.patch b/app-text/calibre/files/calibre-5.31.0-jxr-test.patch
deleted file mode 100644
index c39508474b68..000000000000
--- a/app-text/calibre/files/calibre-5.31.0-jxr-test.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Avoid calling libjxr's JxrDecApp as we currently don't package it.
---- a/src/calibre/utils/img.py
-+++ b/src/calibre/utils/img.py
-@@ -119,8 +119,6 @@ def image_from_data(data):
- i = QImage()
- if not i.loadFromData(data):
- q = what(None, data)
-- if q == 'jxr':
-- return load_jxr_data(data)
- raise NotImage('Not a valid image (detected type: {})'.format(q))
- return i
-
---- a/src/calibre/utils/img.py
-+++ b/src/calibre/utils/img.py
-@@ -644,11 +644,6 @@ def test(): # {{{
- despeckle_image(img)
- remove_borders_from_image(img)
- image_to_data(img, fmt='GIF')
-- raw = subprocess.Popen([get_exe_path('JxrDecApp'), '-h'],
-- creationflags=subprocess.DETACHED_PROCESS if iswindows else 0,
-- stdout=subprocess.PIPE).stdout.read()
-- if b'JPEG XR Decoder Utility' not in raw:
-- raise SystemExit('Failed to run JxrDecApp')
- # }}}
-
-