Debian Patches

Status for calibre/5.44.0+dfsg-1~bpo11+2

Patch Description Author Forwarded Bugs Origin Last update
0001-only-plugin-update.patch allow for plugin update check, but no calibre version check

allow for plugin update check, but no calibre version check
Norbert Preining <norbert@preining.info> not-needed 2019-12-29
0002-no-detach-in-desktop-files.patch no --detach in .desktop files (Closes: #877774)

do not use --detach in the .desktop files, otherwise
mimetype handling of temporary files is broken as
the tmp files disappear too quickly. See #877774
Norbert Preining <norbert@preining.info> not-needed 2017-10-09
0003-disable-unrar-test.patch disable unrar test since the module is not in Debian main

disable unrar test since the module is not in Debian main
Norbert Preining <norbert@preining.info> not-needed 2019-12-26
0004-Use-pyopenssl-instead-of-certgen.patch Use "pyopenssl" instead of "certgen"

"pyopenssl" uses FFI to use OpenSSL libraries.
So it soleves OpenSSL license issues.

"pyopenssl" Uses Apache License Version 2.0, and it can be use with GPL3.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2020-02-22
0005-Extend-timeout-limit.patch Extend timeout limit

Some non-x86 architecture is much slower than x86.
Add some more time to wait test results.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2020-04-17
0006-Hardening-Qt-code.patch Hardening Qt code

Allow hardening flags from debhelper.
YOKOTA Hiroshi <qykth-git@users.noreply.github.com> not-needed 2019-11-23
0007-Don-t-change-book-file-unless-user-s-consent-Closes-.patch Don't change book file unless user's consent (Closes: #974974)

This fix changes default value and behavior of ebook-viewer(1) preferences
"Miscellaneous"->"Keep a copy of annotations/bookmarks in the e-book file,
for easy sharing".

* Set "False" for "save_annotations_in_ebook".
* Give "False" if askes default value of "save_annotations_in_ebook".
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2020-11-18
0008-dont-use-python-crypto.patch Remove dependency on python3-crypto (Closes: #979734)

remove the one trivial crypto loading test from src/calibre/test_build.py
Norbert Preining <norbert@preining.info> not-needed 2021-01-11
0009-Restore-chardet-module-support.patch Restore "chardet" module support

Current Debian doesn't have "cchardet" module.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-02-26
0010-Use-stdint.h-to-support-MIPS64.patch Use <stdint.h> to support MIPS64

stb library doesn't know MIPS 64 architecture.
It makes pointer size to 32 bits.
Use <stdint.h> and "uintptr_t" to tell proper pointer size.

This patch will not forward to upstream because they don't want this fix.

https://github.com/nothings/stb/blob/master/README.md#why-not-c99-stdinth-declare-anywhere-etc
> #### Why not C99? stdint.h, declare-anywhere, etc.
>
> I still use MSVC 6 (1998) as my IDE because it has better human factors
> for me than later versions of MSVC.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-06-26
0011-Drop-monkey-patch-to-work-with-older-zeroconf-module.patch Drop monkey patch to work with older zeroconf module

This patch adds "15 characters service name limit" as side-effect.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-07-10
0012-description-tag-can-t-have-lang-attributes.patch "description" tag can't have "lang" attributes YOKOTA Hiroshi <yokota.hgml@gmail.com> no 2021-09-03
0013-Add-Debian-specific-SIP-path.patch Add Debian specific SIP path

Debian uses "dist-packages" instead of "site-packages".

https://wiki.debian.org/Python
> dist-packages instead of site-packages. Third party Python software
> installed from Debian packages goes into dist-packages, not
> site-packages. This is to reduce conflict between the system Python,
> and any from-source Python build you might install manually.

https://www.riverbankcomputing.com/static/Docs/sip/directives.html#std-directive-Import
> If this also fails then SIP prepends name with each of the directories,
> in turn, specified by the sip-include-dirs value of the project section
> in pyproject.toml.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-10-23
0014-Sort-object-lists-for-reproducible-build.patch Sort object lists for reproducible build YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-11-07
0015-Extend-thread-wait-time-to-pass-test.patch Extend thread wait time to pass test

> ======================================================================
> FAIL: test_changed_events (calibre.db.tests.writing.WritingTest)
> ----------------------------------------------------------------------
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-11-09
0016-Sort-file-names-for-reproducible-build.patch Sort file names for reproducible build YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-11-13
0017-fix-cve-2023-46303.patch [PATCH] HTML Input: Dont add resources that exist outside the folder hierarchy rooted at the parent folder of the input HTML file by default Kovid Goyal <kovid@kovidgoyal.net> not-needed https://github.com/kovidgoyal/calibre/commit/bbbddd2bf4ef4ddb467b0aeb0abe8765ed7f8a6b.patch 2023-05-28

All known versions for source package 'calibre'

Links