summaryrefslogtreecommitdiff
path: root/app-text/calibre/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-04-06 22:33:41 +0100
commite68d405c5d712af4387159df07e226217bdda049 (patch)
tree009ab0f3d427f0813e62930d71802cb054c07e30 /app-text/calibre/files
parent401101f9c8077911929d3f2b60a37098460a5d89 (diff)
gentoo resync : 06.04.2022
Diffstat (limited to 'app-text/calibre/files')
-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')
- # }}}
-
-