Summary: | app-text/calibre-5.44.0-r3 fails to compile against dev-libs/icu-75.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hank Leininger <hlein> |
Component: | Current packages | Assignee: | Zac Medico <zmedico> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz, torindel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 931089 | ||
Attachments: | Fix for icu-75.1 |
Description
Hank Leininger
2024-07-18 23:16:37 UTC
Created attachment 897990 [details, diff]
Fix for icu-75.1
Forces -std=c++17 for calibre sqlite extension (originally it was forcing -std=c++14 for calibre/db/sqlite_extension.cpp)
Might be worthwhile to note somewhere that new icu might not like -std=c++14
This is essentially https://github.com/kovidgoyal/calibre/commit/a3d3d8d33e314ccabb5099e78e4056a79b7c9aa2 I can't test updating ICU myself because it's not yet stable and that would therefore require recompiling qtwebengine. (In reply to Hank Leininger from comment #0) > I can't test calibre-7.x because I'm not ready to move to qt6 yet. I suspected that would be the case with some people, which is why I've been avoiding removing 5.x thus far... good to know it's actually being of help, I guess. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64fad029fd9e98ba427fe61628b12b79f448e8ac commit 64fad029fd9e98ba427fe61628b12b79f448e8ac Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-07-21 21:09:43 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-07-21 21:17:56 +0000 app-text/calibre: in 5.x, fix building against icu 75 And backport a test-only fix so that tests pass. Haven't actually tested icu 75 though since it requires rebuilding webengine... but a user did. Besides, it's the same change upstream made in newer versions. Closes: https://bugs.gentoo.org/936270 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> app-text/calibre/calibre-5.44.0-r3.ebuild | 4 +++ app-text/calibre/files/calibre-5.44.0-icu75.patch | 28 +++++++++++++++++ .../e9cc00560a28f56a303cca97630ab58e519dd9c8.patch | 35 ++++++++++++++++++++++ 3 files changed, 67 insertions(+) |