Debian Patches

Status for calibre/7.23.0+ds-1

Patch Description Author Forwarded Bugs Origin Last update
podofo098/0053-Revert-Fix-PdfObject-GetReference-semantics-changed.patch Revert "Fix PdfObject::GetReference semantics changed"

This reverts commit 226718cead1632eb135d0abc21b50e2823559192.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0054-Revert-Restore-suppression-of-informational-log-mess.patch Revert "Restore suppression of informational log messages from PoDoFo"


This reverts commit 39d27b62457329d49ab02e43ba267b2574f2c9d6.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0055-Revert-Fix-delete_pages.patch Revert "Fix delete_pages()"

This reverts commit bea63dc6c468deb4b0a559070adc33888b9561c3.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0056-Revert-Improve-the-test-for-setting-XMP-metadata.patch Revert "Improve the test for setting XMP metadata"

This reverts commit 696afc4410c56d8298f0853e9b66559e21bafde4.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0057-Revert-Fix-the-bytes-output-device.patch Revert "Fix the bytes output device"

This reverts commit 2891687f6aee19ee3cc99696c74b4378cb2d2268.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0058-Revert-Start-work-on-porting-to-new-PoDoFo-API.patch Revert "Start work on porting to new PoDoFo API"

This reverts commit 76fbbef9d08d4d335c5408584ed26bfc165b5fdc.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0046-Revert-Fix-loading-of-PDF-from-data-causing-memory-c.patch Revert "Fix loading of PDF from data causing memory corruption because PoDoFo now expects the data to outlive the document"


This reverts commit 9aa1f4add6940e78abb18fb6c6a995ccd9800c0f.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0047-Revert-Fix-drawing-of-header-footer.patch Revert "Fix drawing of header/footer"

This reverts commit 20e4db008e51f841ab17a9e7bc20872e1ca9585c.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0048-Revert-Use-PoDoFo-to-insert-the-cover-page-bypassing.patch Revert "Use PoDoFo to insert the cover page, bypassing https://github.com/podofo/podofo/issues/76"


This reverts commit 59fab1d482252dc9fc73776be099770327ff3ed5.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0049-Revert-Podofo-wrapper-to-add-an-image-page.patch Revert "Podofo wrapper to add an image page"

This reverts commit cb1c6efd61241e04104bf7cdba5f340c09299702.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0050-Revert-Add-a-test-for-PDf-version.patch Revert "Add a test for PDf version"

This reverts commit 7969be34980e708f44a56e15bddda8fa6ef2d9e9.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0051-Revert-Get-creating-outlines-working-again.patch Revert "Get creating outlines working again"

This reverts commit 541c1d20365cdb730d809607c2b57db92c2fab25.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0052-Revert-Get-PDF-metadata-setting-working-again.patch Revert "Get PDF metadata setting working again"

This reverts commit 0517092f52180e4aaaaba3723b187c2a10345fd1.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0024-Revert-PDF-Output-Run-dedup-in-multiple-passes.-This.patch Revert "PDF Output: Run dedup in multiple passes. This catches images that have identical duplicated soft masks that are different images"


This reverts commit d91dd6c39b24b55ffa20dc08055137ee0515146d.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-09-24
podofo098/0025-Revert-String-representation-of-Image-for-debugging.patch Revert "String representation of /Image for debugging"

This reverts commit bfbb4f1c48c4ba8b02f75905db3c93af0905a349.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-09-24
podofo098/0026-Revert-Also-update-SMask-references.patch Revert "Also update SMask references"

This reverts commit 091ac659cdd8191ebe07c9f0b3d8615cd977a23c.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-09-24
podofo098/0039-Revert-Implement-our-own-pdf-append-function-the-one.patch Revert "Implement our own pdf append function the one in PoDoFo is awful"


This reverts commit 33bc00beb2931b0b9a1606d8b1222d9184a33fe4.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0040-Revert-PDF-Output-Fix-regression-in-previous-release.patch Revert "PDF Output: Fix regression in previous release causing non-ascii entries to be incorrectly encoded into the PDF bookmarks"


This reverts commit 00681544d8c9ef12930dd6ec8ae5a2118022587e.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-29
podofo098/0041-Revert-PDF-Output-Fix-regression-in-previous-release.patch Revert "PDF Output: Fix regression in previous release that caused blank pages when generating headers or footers"


This reverts commit 59503c21dc7f59c025d4ace2bfa57643b04dfdab.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-29
podofo098/0042-Revert-A-more-convenient-way-to-build-against-a-cust.patch Revert "A more convenient way to build against a custom podofo 0.10"

This reverts commit db74bfa41eb3714452e2fc46e7747b16ace87863.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0043-Revert.patch Revert "..."

This reverts commit 2eebd8b5612fbd65d433f3c0ac0e3415aec54caa.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0044-Revert-Fix-mem-leak-on-loading-multiple-PDFs-with-bu.patch Revert "Fix mem leak on loading multiple PDFs with buffe rin single doc"


This reverts commit 0638359f0fe760712f830c5bbc71b032af4e29c4.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0045-Revert-Bump-version-of-podofo.patch Revert "Bump version of podofo"

This reverts commit a79795dca9c0576e6a71c8b01240621f871eff4e.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-05-26
podofo098/0018-Revert-Restore-garbage-removal-on-podofo-save-as-we-.patch Revert "Restore garbage removal on podofo save as we now bundle a version of podofo with the fix"


This reverts commit dec4f9f82e6edc3ed7b5ea8dcce6b2ef2ea59cea.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-11-17
podofo098/0019-Revert-Include-the-PoDoFo-garbage-collection-fix.patch Revert "Include the PoDoFo garbage collection fix"

This reverts commit fba9e9845828bcd4e3b04c51b0634531ac92d92c.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-11-17
podofo098/0020-Revert.patch Revert "..."

This reverts commit a54c93a95d5bdcbfc56c0192caad616db2ff2681.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-11-17
podofo098/0021-Revert-When-saving-PDF-in-PoDoFo-dont-collect-garbag.patch Revert "When saving PDF in PoDoFo dont collect garbage to avoid slowdowns with some PDF files"


This reverts commit e8d3e372087e87139360104bff250747ae3a3367.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-11-17
podofo098/0022-Revert-Bump-the-version-of-PoDoFo.patch Revert "Bump the version of PoDoFo"

This reverts commit 9ba1a63bdebf8401554d79ec412860d33749766d.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-11-17
podofo098/0023-Revert-PDF-metadata-Fix-a-regression-that-broke-upda.patch Revert "PDF metadata: Fix a regression that broke updating metadata in PDF files without an /Info dictionary"


This reverts commit 82846b43c7cb579ec1708a023316519551f5b4b5.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-10-06
podofo098/0017-Revert-sort-imports-in-all-python-files.patch Revert "sort imports in all python files"

This reverts commit 53b74283a40469b0beecec56eea199d7b9f73198.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2024-04-05
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
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
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
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
podofo098/0027-Revert-PDF-Output-Fix-background-image-text-not-rend.patch Revert "PDF Output: Fix background image + text not rendering correctly if the same background image is used with different text multiple
times. Fixes #2035338 [conversion from epub to pdf - all chapter titles are
the same as the first
chapter](https://bugs.launchpad.net/calibre/+bug/2035338)"


This reverts commit 2c5490a061d169145383b6e68eac6eac8650177a.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-09-24
podofo098/0028-Revert.patch Revert "..."

This reverts commit f486e6271402c5bf9ab34e512dae6fc8e61152d7.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-09-24
podofo098/0029-Revert.patch Revert "..."

This reverts commit c118d19e380a69762a66719d70104648dc4afda1.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-09-24
podofo098/0030-Revert-Remove-PoDoFo-0.10.0-compat-path.patch Revert "Remove PoDoFo 0.10.0 compat path"

This reverts commit ca2b4e02ed667aa7da6e24d29d6f79d0dda5abb1.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-07-14
podofo098/0031-Revert.patch Revert "..."

This reverts commit 27981cd3aa5babacffcfaa224b78017c9aa4715a.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0032-Revert-Bump-version-of-podofo-to-latest-release.patch Revert "Bump version of podofo to latest release"

This reverts commit 19537450419d396f5b620ed3b990aadc0946ae4e.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0033-Revert-add-a-simple-append-test-for-PDF.patch Revert "add a simple append test for PDF"

This reverts commit e454b0c6d4556a874f8a50af02dcee7321d00eb5.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0034-Revert-PDF-Output-Fix-regression-that-caused-large-s.patch Revert "PDF Output: Fix regression that caused large slowdowns when converting books with lots of internal HTML files to PDF"


This reverts commit 6e990c3c1514357ec8a8cd6419c266cf682809bb.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0035-Revert-1.patch Revert "..."

This reverts commit 44eb122abaf57f47cafa0deb79b7b2c583386418.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0036-Revert-Use-the-much-faster-new-bulk-page-creation-AP.patch Revert "Use the much faster new bulk page creation API I contributed to PoDoFo"


This reverts commit 5e2dd561b66765230c9d1871b356261535816b55.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0037-Revert-Release-GIL-while-running-append.patch Revert "Release GIL while running append"

This reverts commit 2acd1ee51836b2545b3de22f7a0e0647080f0150.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
podofo098/0038-Revert-Append-all-at-once.patch Revert "Append all at once"

This reverts commit 7469c920f22551d6a0b49b2224221be8c8991eed.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2023-06-30
0059-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
0060-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
0061-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/0062-Revert-Arch-now-packages-kakasi.patch Revert "Arch now packages kakasi"

This reverts commit 743c457c4b89451a71778264186d09830dbd04b7.
YOKOTA Hiroshi <yokota.hgml@gmail.com> not-needed 2024-12-20
pykakasi/0063-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/0064-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
pykakasi/0065-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/0066-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

All known versions for source package 'calibre'

Links