Package: calibre / 8.5.0+ds-1

Metadata

Package Version Patches format
calibre 8.5.0+ds-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 only plugin update.patch | (download)

src/calibre/gui2/update.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 allow for plugin update check, but no calibre version check

0002 no detach in desktop files.patch | (download)

src/calibre/linux.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 no --detach in .desktop files (closes: #877774)

0003 disable unrar test.patch | (download)

src/calibre/test_build.py | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 disable unrar test since the module is not in debian main

0004 Extend timeout limit.patch | (download)

src/calibre/srv/tests/base.py | 2 1 + 1 - 0 !
src/calibre/srv/tests/http.py | 16 8 + 8 - 0 !
src/calibre/srv/tests/loop.py | 4 2 + 2 - 0 !
src/calibre/test_build.py | 2 1 + 1 - 0 !
4 files changed, 12 insertions(+), 12 deletions(-)

 extend timeout limit

0005 Extend timeout limit.patch | (download)

src/calibre/db/tests/filesystem.py | 2 1 + 1 - 0 !
src/calibre/db/tests/fts_api.py | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 extend timeout limit

0006 Extend timeout limit to pass test_backup test.patch | (download)

src/calibre/db/tests/writing.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 extend timeout limit to pass "test_backup" test

hardening/0007 Hardening Qt code.patch | (download)

setup/build.py | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 hardening qt code

0008 Don t change book file unless user s consent Closes .patch | (download)

resources/viewer.js | 2 1 + 1 - 0 !
src/calibre/gui2/viewer/main.py | 2 1 + 1 - 0 !
src/calibre/gui2/viewer/ui.py | 2 1 + 1 - 0 !
src/pyj/session.pyj | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 4 deletions(-)

 don't change book file unless user's consent (closes: #974974)

0009 Use stdint.h to support MIPS64.patch | (download)

src/calibre/utils/stb_sprintf.h | 23 8 + 15 - 0 !
1 file changed, 8 insertions(+), 15 deletions(-)

 use <stdint.h> to support mips64

0010 Add Debian specific SIP path.patch | (download)

setup/build.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add debian specific sip path

0011 Debian uses pycryptodomex instead of prcryptodome.patch | (download)

src/calibre/constants.py | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 debian uses "pycryptodomex" instead of "prcryptodome"

0012 py7zr uses PyCryptodome.patch | (download)

src/calibre/test_build.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 "py7zr" uses pycryptodome

hardening/0013 Add hardening options from CPPFLAGS.patch | (download)

src/calibre/headless/CMakeLists.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 add hardening options from cppflags

reproducible/0014 Sort file names for reproducible build.patch | (download)

setup/revendor.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 sort file names for reproducible build

reproducible/0015 Sort directory and file names to reproducible build.patch | (download)

src/calibre/utils/rcc/__init__.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 sort directory and file names to reproducible build

reproducible/0016 Sort files and directories for reproducible build.patch | (download)

setup/gui.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 sort files and directories for reproducible build

podofo098/0017 Revert DRYer.patch | (download)

src/calibre/utils/podofo/doc.cpp | 16 8 + 8 - 0 !
1 file changed, 8 insertions(+), 8 deletions(-)

 revert "dryer"

podofo098/0018 Revert Fix 2103084 Private bug https bugs.launchpad..patch | (download)

src/calibre/utils/podofo/doc.cpp | 21 9 + 12 - 0 !
1 file changed, 9 insertions(+), 12 deletions(-)

 revert "fix #2103084 [private
 bug](https://bugs.launchpad.net/calibre/+bug/2103084)"

podofo098/0019 Revert Automated conversion of format specifiers.patch | (download)

src/calibre/utils/podofo/__init__.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "automated conversion of % format specifiers"

podofo098/0020 Revert add remove blank line extra edit.patch | (download)

src/calibre/utils/podofo/__init__.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 revert "add/remove blank-line (extra-edit)"

podofo098/0021 Revert uniform string quote auto fix.patch | (download)

src/calibre/utils/podofo/__init__.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "uniform string quote (auto-fix)"

podofo098/0022 Revert add scoped noqa line too long auto fix.patch | (download)

src/calibre/utils/podofo/__init__.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "add scoped noqa 'line too long' (auto-fix)"

podofo098/0023 Revert remove unscoped noqa extra edit.patch | (download)

src/calibre/utils/podofo/__init__.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "remove unscoped noqa (extra-edit)"

podofo098/0024 Revert sort imports in all python files.patch | (download)

src/calibre/ebooks/pdf/html_writer.py | 22 12 + 10 - 0 !
src/calibre/utils/podofo/__init__.py | 1 0 + 1 - 0 !
2 files changed, 12 insertions(+), 11 deletions(-)

 revert "sort imports in all python files"

podofo098/0025 Revert Restore garbage removal on podofo save as we .patch | (download)

src/calibre/utils/podofo/global.h | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 revert "restore garbage removal on podofo save as we now bundle a
 version of podofo with the fix"

podofo098/0026 Revert Include the PoDoFo garbage collection fix.patch | (download)

bypy/sources.json | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 revert "include the podofo garbage collection fix"

podofo098/0027 Revert.patch | (download)

src/calibre/utils/podofo/global.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "..."

podofo098/0028 Revert When saving PDF in PoDoFo dont collect garbag.patch | (download)

src/calibre/utils/podofo/doc.cpp | 4 4 + 0 - 0 !
src/calibre/utils/podofo/global.h | 7 4 + 3 - 0 !
2 files changed, 8 insertions(+), 3 deletions(-)

 revert "when saving pdf in podofo dont collect garbage to avoid
 slowdowns with some PDF files"

podofo098/0029 Revert Bump the version of PoDoFo.patch | (download)

bypy/sources.json | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 revert "bump the version of podofo"

podofo098/0030 Revert PDF metadata Fix a regression that broke upda.patch | (download)

src/calibre/utils/podofo/__init__.py | 10 1 + 9 - 0 !
src/calibre/utils/podofo/doc.cpp | 48 9 + 39 - 0 !
2 files changed, 10 insertions(+), 48 deletions(-)

 revert "pdf metadata: fix a regression that broke updating metadata
 in PDF files without an /Info dictionary"

podofo098/0031 Revert PDF Output Run dedup in multiple passes. This.patch | (download)

src/calibre/utils/podofo/images.cpp | 39 10 + 29 - 0 !
1 file changed, 10 insertions(+), 29 deletions(-)

 revert "pdf output: run dedup in multiple passes. this catches
podofo098/0032 Revert String representation of Image for debugging.patch | (download)

src/calibre/utils/podofo/images.cpp | 6 0 + 6 - 0 !
1 file changed, 6 deletions(-)

 revert "string representation of /image for debugging"

podofo098/0033 Revert Also update SMask references.patch | (download)

src/calibre/utils/podofo/images.cpp | 6 1 + 5 - 0 !
1 file changed, 1 insertion(+), 5 deletions(-)

 revert "also update smask references"

podofo098/0034 Revert PDF Output Fix background image text not rend.patch | (download)

src/calibre/utils/podofo/images.cpp | 10 3 + 7 - 0 !
1 file changed, 3 insertions(+), 7 deletions(-)

 revert "pdf output: fix background image + text not rendering
podofo098/0035 Revert.patch | (download)

src/calibre/utils/podofo/images.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "..."

podofo098/0036 Revert.patch | (download)

src/calibre/utils/podofo/__init__.py | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 revert "..."

podofo098/0037 Revert Remove PoDoFo 0.10.0 compat path.patch | (download)

src/calibre/utils/podofo/doc.cpp | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 revert "remove podofo 0.10.0 compat path"

podofo098/0038 Revert.patch | (download)

bypy/macos/__main__.py | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 revert "..."

podofo098/0039 Revert Bump version of podofo to latest release.patch | (download)

bypy/sources.json | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 revert "bump version of podofo to latest release"

podofo098/0040 Revert add a simple append test for PDF.patch | (download)

src/calibre/utils/podofo/__init__.py | 7 0 + 7 - 0 !
1 file changed, 7 deletions(-)

 revert "add a simple append test for pdf"

podofo098/0041 Revert PDF Output Fix regression that caused large s.patch | (download)

bypy/sources.json | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 revert "pdf output: fix regression that caused large slowdowns when
 converting books with lots of internal HTML files to PDF"

podofo098/0042 Revert 1.patch | (download)

src/calibre/utils/podofo/doc.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert "..."

podofo098/0043 Revert Use the much faster new bulk page creation AP.patch | (download)

src/calibre/utils/podofo/doc.cpp | 10 1 + 9 - 0 !
1 file changed, 1 insertion(+), 9 deletions(-)

 revert "use the much faster new bulk page creation api i contributed
 to PoDoFo"

podofo098/0044 Revert Release GIL while running append.patch | (download)

src/calibre/utils/podofo/doc.cpp | 95 40 + 55 - 0 !
1 file changed, 40 insertions(+), 55 deletions(-)

 revert "release gil while running append"

podofo098/0045 Revert Append all at once.patch | (download)

src/calibre/ebooks/pdf/html_writer.py | 11 7 + 4 - 0 !
src/calibre/utils/podofo/doc.cpp | 6 1 + 5 - 0 !
2 files changed, 8 insertions(+), 9 deletions(-)

 revert "append all at once"

podofo098/0046 Revert Implement our own pdf append function the one.patch | (download)

src/calibre/utils/podofo/doc.cpp | 107 10 + 97 - 0 !
1 file changed, 10 insertions(+), 97 deletions(-)

 revert "implement our own pdf append function the one in podofo is
 awful"

podofo098/0047 Revert PDF Output Fix regression in previous release.patch | (download)

src/calibre/utils/podofo/utils.cpp | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 revert "pdf output: fix regression in previous release causing
 non-ascii entries to be incorrectly encoded into the PDF bookmarks"

podofo098/0048 Revert PDF Output Fix regression in previous release.patch | (download)

src/calibre/utils/podofo/impose.cpp | 13 4 + 9 - 0 !
1 file changed, 4 insertions(+), 9 deletions(-)

 revert "pdf output: fix regression in previous release that caused
 blank pages when generating headers or footers"

podofo098/0049 Revert A more convenient way to build against a cust.patch | (download)

setup/build_environment.py | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 revert "a more convenient way to build against a custom podofo 0.10"

podofo098/0050 Revert.patch | (download)

src/calibre/utils/podofo/global.h | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 revert "..."

podofo098/0051 Revert Fix mem leak on loading multiple PDFs with bu.patch | (download)

src/calibre/utils/podofo/doc.cpp | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 revert "fix mem leak on loading multiple pdfs with buffe rin single
 doc"

podofo098/0052 Revert Bump version of podofo.patch | (download)

bypy/sources.json | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 revert "bump version of podofo"

podofo098/0053 Revert Fix loading of PDF from data causing memory c.patch | (download)

src/calibre/utils/podofo/doc.cpp | 3 0 + 3 - 0 !
src/calibre/utils/podofo/global.h | 1 0 + 1 - 0 !
2 files changed, 4 deletions(-)

 revert "fix loading of pdf from data causing memory corruption
 because PoDoFo now expects the data to outlive the document"

podofo098/0054 Revert Fix drawing of header footer.patch | (download)

src/calibre/utils/podofo/impose.cpp | 15 7 + 8 - 0 !
1 file changed, 7 insertions(+), 8 deletions(-)

 revert "fix drawing of header/footer"

podofo098/0055 Revert Use PoDoFo to insert the cover page bypassing.patch | (download)

src/calibre/ebooks/pdf/html_writer.py | 21 16 + 5 - 0 !
src/calibre/utils/podofo/__init__.py | 6 3 + 3 - 0 !
src/calibre/utils/podofo/doc.cpp | 1 0 + 1 - 0 !
3 files changed, 19 insertions(+), 9 deletions(-)

 revert "use podofo to insert the cover page,
 bypassing https://github.com/podofo/podofo/issues/76"

podofo098/0056 Revert Podofo wrapper to add an image page.patch | (download)

src/calibre/utils/podofo/__init__.py | 17 0 + 17 - 0 !
src/calibre/utils/podofo/doc.cpp | 33 0 + 33 - 0 !
2 files changed, 50 deletions(-)

 revert "podofo wrapper to add an image page"

podofo098/0057 Revert Add a test for PDf version.patch | (download)

src/calibre/utils/podofo/__init__.py | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 revert "add a test for pdf version"

podofo098/0058 Revert Get creating outlines working again.patch | (download)

src/calibre/utils/podofo/outlines.cpp | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 revert "get creating outlines working again"

podofo098/0059 Revert Get PDF metadata setting working again.patch | (download)

src/calibre/utils/podofo/__init__.py | 27 14 + 13 - 0 !
src/calibre/utils/podofo/doc.cpp | 98 46 + 52 - 0 !
src/calibre/utils/podofo/global.h | 2 0 + 2 - 0 !
src/calibre/utils/podofo/output.cpp | 2 1 + 1 - 0 !
4 files changed, 61 insertions(+), 68 deletions(-)

 revert "get pdf metadata setting working again"

podofo098/0060 Revert Fix PdfObject GetReference semantics changed.patch | (download)

src/calibre/utils/podofo/doc.cpp | 20 10 + 10 - 0 !
src/calibre/utils/podofo/fonts.cpp | 41 21 + 20 - 0 !
src/calibre/utils/podofo/global.h | 9 0 + 9 - 0 !
src/calibre/utils/podofo/images.cpp | 4 2 + 2 - 0 !
4 files changed, 33 insertions(+), 41 deletions(-)

 revert "fix pdfobject::getreference semantics changed"