Debian Patches

Status for calibre/8.12.0+ds+~0.10.5-1

Patch Description Author Forwarded Bugs Origin Last update
0006-Extend-timeout-limit-to-pass-test_backup-test.patch Extend timeout limit to pass "test_backup" test YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-04-07
hardening/0007-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
reproducible/0016-Sort-files-and-directories-for-reproducible-build.patch Sort files and directories for reproducible build

note:
os.walk() returns generator, not list.
sorted() is not usable here.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2022-12-15
pykakasi/0027-Revert-More-work-on-de-vendoring-pykakasi.patch Revert "More work on de-vendoring pykakasi"

This reverts commit 04d5728ef9549ddfce380d71690ab4bc76f93dd8.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2024-11-30
pykakasi/0028-Revert-Fix-a-regression-that-caused-incorrect-Englis.patch Revert "Fix a regression that caused incorrect English transliteration of Japanese text even when the UI language is set to
Japanese. Fixes #2087850 [[Enhancement] PLease use kakasi for
Japanese](https://bugs.launchpad.net/calibre/+bug/2087850)"


This reverts commit ec8c06caa9d977890a5b5cf95713ff67a7a582be.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2024-11-30
0029-Tweak-link-options-for-embedded-PoDoFo.patch Tweak link options for embedded PoDoFo YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2025-09-22
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 debian 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-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
0005-Extend-timeout-limit.patch Extend timeout limit YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2022-07-14
0008-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 debian 2020-11-18
0009-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
0010-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
0011-Debian-uses-pycryptodomex-instead-of-prcryptodome.patch Debian uses "pycryptodomex" instead of "prcryptodome"

Debian uses Cryptdome class (pycryptodomex) for cipher functions.
Cryptodome class can be replacement for old Crypto class (prcryptodome),
but Debian dose not replace this class yet.

So, this hack is not needed yet.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2022-07-11
0012-py7zr-uses-PyCryptodome.patch "py7zr" uses PyCryptodome

This test checks the Cryptodome class was replaced old Crypto class.
py7zr requires Cryptodome's extended features like AES.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2022-07-11
hardening/0013-Add-hardening-options-from-CPPFLAGS.patch Add hardening options from CPPFLAGS

cmake(1) accepts CXXFLAGS only for C++ compilations.

Add CPPFLAGS for C++ compilation flags to add hardening flags
like "-D_FORTIFY_SOURCE=2".
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2022-10-22
reproducible/0014-Sort-file-names-for-reproducible-build.patch Sort file names for reproducible build YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2021-11-13
reproducible/0015-Sort-directory-and-file-names-to-reproducible-build.patch Sort directory and file names to reproducible build YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2022-10-01
0017-calibre-fix-appstream-ID-warning-Closes-1076311.patch calibre: fix appstream ID warning (Closes: #1076311)

<URL: https://appstream.debian.org/sid/main/issues/calibre.html >
contain the following warning about the content of the appstream
metadata file:

* asv-cid-desktopapp-is-not-rdns
calibre-gui.metainfo.xml:3 - calibre-gui.desktop
The component ID is not a reverse domain-name. Please update the ID
to avoid future issues and be compatible with all AppStream
implementations. You may also consider to update the name of the
accompanying .desktop file to follow the latest version of the
Desktop-Entry specification and use a rDNS name for it as well. In
any case, do not forget to mention the new desktop-entry in a
<launchable/> tag for this component to keep the application
launchable from software centers and the .desktop file data
associated with the metainfo data.

I believe the following untested patch will solve the issue. Sadly I
lack the required free disk space available to test thie patch.
Petter Reinholdtsen <pere@hungry.com> no 2024-07-14
0018-calibre-Please-announce-supported-hardware-using-App.patch calibre: Please announce supported hardware using AppStream (Closes: #838069)


Hi.

The calibre package is one of the packages in the Debian archive that
should be proposed for installation when a given hardware dongle is
inserted or available. Thanks to the appstream system, this can now be
announced in a way other tools can use and act on. I've written the
isenkram system to ask the current user if hardware specific packages
should be installed when a new dongle is installed or already present on
a machine, and isenkram now uses appstream as one source for hardware to
package mappings.

You can read more about this on my blog,
<URL: http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html >.

Instructions on how to create the metadata XML file can be found in
<URL: https://wiki.debian.org/AppStream/Guidelines >.

It would be great if you could add an appstream metainfo file to the
calibre package, with content similar to this:

<?xml version="1.0" encoding="UTF-8"?>
<component>
[...]
<provides>
<modalias>usb:v2237p*d*ic08isc*ip*</modalias>
<modalias>usb:v0525pA4A5d*ic08isc*ip*</modalias>
</provides>
</component>

If there are other USB ids also supposed by the package, please add
those too. :)
Petter Reinholdtsen <pere@hungry.com> no 2024-07-14
0019-lrfviewer-doesn-t-has-AppStream-meta-info-file.patch "lrfviewer" doesn't has AppStream meta info file YOKOTA Hiroshi <yokota.hgml@gmail.com> no 2024-07-19
pykakasi/0020-Revert-comment-formating-auto-fix.patch Revert "comment formating (auto-fix)"

This reverts commit 19b9d979abbfc38a867f7ce8c6dad39ad4ef25ad.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2025-01-24
pykakasi/0021-Revert-code-indentation-extra-edit.patch Revert "code indentation (extra-edit)"

This reverts commit 0b23eaf328bed89358c6737e22f2fab58cf309e4.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2025-01-24
pykakasi/0022-Revert-always-use-raw-string-for-regex-manual.patch Revert "always use raw-string for regex (manual)"

This reverts commit 3720de10d2ab7d0e647335fa148b96bd3bd5bdc0.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2025-01-24
pykakasi/0023-Revert-uniform-string-quote-auto-fix.patch Revert "uniform string quote (auto-fix)"

This reverts commit 37771022cec803e861250d376dbcec8e9a7728d6.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2025-01-24
pykakasi/0024-Revert-convert-tab-indent-to-space-manual.patch Revert "convert tab indent to space (manual)"

This reverts commit c10d407f59bdbba8333b0c200e50af5286f6a236.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2025-01-24
pykakasi/0025-Revert-Add-issue-links.patch Revert "Add issue links"

This reverts commit 0c86a7918fb186ee0aadd00d728d61defb3b2804.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2024-11-30
pykakasi/0026-Revert-And-yet-more-crap-with-pykakasi.patch Revert "And yet more crap with pykakasi"

This reverts commit bcfdfc1e1d6c899c1fb45edfba7f528c3ed2bbc6.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2024-11-30

All known versions for source package 'calibre'

Links