diff options
Diffstat (limited to 'deskutils/foliate/files')
-rw-r--r-- | deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py | 16 | ||||
-rw-r--r-- | deskutils/foliate/files/patch-src_epubView.js | 13 |
2 files changed, 0 insertions, 29 deletions
diff --git a/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py b/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py deleted file mode 100644 index ba783bb90cab..000000000000 --- a/deskutils/foliate/files/patch-src_assets_KindleUnpack_kindleunpack.py +++ /dev/null @@ -1,16 +0,0 @@ -Fixes unicode display correctly, this prevents crashing on opening -(kindle format files). - ---- src/assets/KindleUnpack/kindleunpack.py.orig 2019-10-07 19:55:37 UTC -+++ src/assets/KindleUnpack/kindleunpack.py -@@ -952,8 +952,8 @@ def main(argv=unicode_argv()): - global SPLIT_COMBO_MOBIS - - print("KindleUnpack v0.82") -- print(" Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net>") -- print(" Extensive Extensions and Improvements Copyright © 2009-2014 ") -+ print(" Based on initial mobipocket version Copyright © 2009 Charles M. Hannum <root@ihack.net>".encode("utf-8")) -+ print(" Extensive Extensions and Improvements Copyright © 2009-2014 ".encode("utf-8")) - print(" by: P. Durrant, K. Hendricks, S. Siebert, fandrieu, DiapDealer, nickredding, tkeo.") - print(" This program is free software: you can redistribute it and/or modify") - print(" it under the terms of the GNU General Public License as published by") diff --git a/deskutils/foliate/files/patch-src_epubView.js b/deskutils/foliate/files/patch-src_epubView.js deleted file mode 100644 index 88809a7260c6..000000000000 --- a/deskutils/foliate/files/patch-src_epubView.js +++ /dev/null @@ -1,13 +0,0 @@ -Adds variable to help substitute the correct python version suffix. - ---- src/epubView.js.orig 2020-05-29 07:10:48 UTC -+++ src/epubView.js -@@ -36,7 +36,7 @@ var enableAnnotations = [ - mimetypes.kindleAlias, - ] - --const python = GLib.find_program_in_path('python') || GLib.find_program_in_path('python3') -+const python = GLib.find_program_in_path('@PYTHON_VERSION@') - const kindleUnpack = pkg.pkgdatadir + '/assets/KindleUnpack/kindleunpack.py' - - const settings = new Gio.Settings({ schema_id: pkg.name + '.view' }) |