Compare commits
24 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a8f02b51a2 | |||
| 7932070643 | |||
| dec4f12724 | |||
| b8b7abd0fa | |||
| 0b85e2f0cf | |||
| 66aa68b701 | |||
| 8233ab3b2f | |||
| 7eff698c38 | |||
| b2fbdae034 | |||
| cb7949c40d | |||
| 136d345d01 | |||
| 6a5026ab3b | |||
| 10d978dd6c | |||
| 1fe40e90c5 | |||
| 538aea5b5c | |||
| 44877de4aa | |||
| 9b7471c176 | |||
| cc1d0538fe | |||
| e6e60cec8f | |||
| 9aadf470a8 | |||
| b15897fb57 | |||
| 8be5116870 | |||
| 6ad1fb9cf8 | |||
| e3e510a159 |
3
calibre-8.16.2.tar.xz
Normal file
3
calibre-8.16.2.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0187d04354f53cc0741141da026977ee30a77efa0c37b1839bde0588222c1c6c
|
||||
size 46126644
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:15859e512efc8ef155f678fff51491c4f158298c52174e1d2176483526e7ed60
|
||||
size 45082996
|
||||
Binary file not shown.
46
calibre-disable_piper.patch
Normal file
46
calibre-disable_piper.patch
Normal file
@@ -0,0 +1,46 @@
|
||||
diff -Pdpru calibre-8.10.0.orig/setup/build.py calibre-8.10.0/setup/build.py
|
||||
--- calibre-8.10.0.orig/setup/build.py 2025-09-05 01:58:58.000000000 +0200
|
||||
+++ calibre-8.10.0/setup/build.py 2025-09-15 15:22:33.949905212 +0200
|
||||
@@ -446,6 +446,8 @@ class Build(Command):
|
||||
continue
|
||||
if not is_ext_allowed(self.compiling_for, ext):
|
||||
continue
|
||||
+ if ext.name == 'piper':
|
||||
+ continue
|
||||
if ext.error:
|
||||
if ext.optional:
|
||||
self.warn(ext.error)
|
||||
diff -Pdpru calibre-8.10.0.orig/setup/commands.py calibre-8.10.0/setup/commands.py
|
||||
--- calibre-8.10.0.orig/setup/commands.py 2025-09-05 01:58:58.000000000 +0200
|
||||
+++ calibre-8.10.0/setup/commands.py 2025-09-15 15:07:20.219859954 +0200
|
||||
@@ -30,7 +30,6 @@ __all__ = [
|
||||
'manual',
|
||||
'mathjax',
|
||||
'osx',
|
||||
- 'piper_voices',
|
||||
'pot',
|
||||
'publish',
|
||||
'publish_betas',
|
||||
@@ -94,10 +93,6 @@ from setup.hyphenation import Hyphenatio
|
||||
|
||||
hyphenation = Hyphenation()
|
||||
|
||||
-from setup.piper import PiperVoices
|
||||
-
|
||||
-piper_voices = PiperVoices()
|
||||
-
|
||||
from setup.liberation import LiberationFonts
|
||||
|
||||
liberation_fonts = LiberationFonts()
|
||||
diff -Pdpru calibre-8.10.0.orig/setup/resources.py calibre-8.10.0/setup/resources.py
|
||||
--- calibre-8.10.0.orig/setup/resources.py 2025-09-05 01:58:58.000000000 +0200
|
||||
+++ calibre-8.10.0/setup/resources.py 2025-09-15 15:19:39.795613461 +0200
|
||||
@@ -104,7 +104,7 @@ class RapydScript(Command): # {{{
|
||||
class Resources(Command): # {{{
|
||||
|
||||
description = 'Compile various needed calibre resources'
|
||||
- sub_commands = ['liberation_fonts', 'mathjax', 'rapydscript', 'hyphenation', 'piper_voices']
|
||||
+ sub_commands = ['liberation_fonts', 'mathjax', 'rapydscript', 'hyphenation']
|
||||
|
||||
def run(self, opts):
|
||||
from calibre.utils.serialize import msgpack_dumps
|
||||
@@ -1,8 +1,8 @@
|
||||
# # Output filters
|
||||
# Output filters
|
||||
addFilter("non-executable-script")
|
||||
addFilter("pem-certificate")
|
||||
#addFilter("pem-certificate")
|
||||
addFilter("explicit-lib-dependency")
|
||||
addFilter("suse-update-desktop-file-deprecated")
|
||||
addFilter("python-setup-test")
|
||||
addFilter("python-setup-install")
|
||||
addFilter("shared-dir-glob-in-files")
|
||||
addFilter("unstripped-binary-or-object")
|
||||
|
||||
253
calibre.changes
253
calibre.changes
@@ -1,3 +1,256 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 6 14:48:43 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.16.2
|
||||
|
||||
- Update to 8.16.2
|
||||
* Bug Fixes
|
||||
- Fix a crash in 8.16.0 that caused using the "Close" button
|
||||
in Ask AI to crash calibre on some systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 5 20:40:29 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.16.1
|
||||
|
||||
- Update to 8.16.1
|
||||
* Bug Fixes
|
||||
- Fix a bug in 8.16.0 that prevented the Ask AI what to read
|
||||
next feature from working
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 5 10:12:37 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.16.0
|
||||
|
||||
- Update to 8.16.0
|
||||
* New Features
|
||||
- Allow asking AI questions about any book in your calibre
|
||||
library. Right click the "View" button and choose
|
||||
"Discuss selected book(s) with AI"
|
||||
- AI: Allow asking AI what book to read next by right clicking
|
||||
on a book and using the "Similar books" menu
|
||||
- AI: Add a new backend for "LM Studio" which allows running
|
||||
various AI models locally
|
||||
* Bug Fixes
|
||||
- Use a named local timezone for better display of historical
|
||||
dates in the local timezone
|
||||
- PDF Input: Fix a regression in the new PDF input engine that
|
||||
caused HTML markup to not be always escaped
|
||||
- Get books: Update amazon.it store plugin
|
||||
- Fix addition of format specific options when using calibredb
|
||||
catalog with command line flags
|
||||
- calibredb catalog: Fix generation of language field in
|
||||
BiBTeX catalogs
|
||||
- Fix incorrect series index when downloading metadata from
|
||||
amazon.co.jp
|
||||
- Fix a regression in the previous release that caused the case
|
||||
change menu to not be present in the comments editor.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 21 09:48:35 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.15.0
|
||||
|
||||
- Update to 8.15.0
|
||||
* New Features
|
||||
- E-book viewer: Highlights panel: Show the date for highlights
|
||||
in the tooltip when hovering over a highlight
|
||||
- Comments editor: When changing case preserve as much text
|
||||
formatting as feasible
|
||||
- Comments editor: Add shortcuts for case change operations.
|
||||
Select some text, right click and see the case change menu
|
||||
for the shortcuts
|
||||
* Bug Fixes
|
||||
- Editing book list: Be robust against the book list changing
|
||||
in the background when a book is auto added or similar while
|
||||
a cell is being edited
|
||||
- Edit book: Fix a memory leak in the HTML syntax highlighter
|
||||
- calibredb list: Fix identifier values not being shown.
|
||||
Fixes #2131557
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 7 05:27:39 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.14.0
|
||||
|
||||
- Update to 8.14.0
|
||||
* New Features
|
||||
- Tolino driver: Add support for latest firmware
|
||||
- When showing completions for languages show all languages that
|
||||
contain the typed in string instead of only languages that
|
||||
start with the typed in string
|
||||
- When showing completions in substring match mode, order the
|
||||
completions by how close to the start the query is
|
||||
- A new shortcut Ctrl+Alt+Shift+P to switch to the previously
|
||||
applied Virtual library
|
||||
* Bug Fixes
|
||||
- FB2 Input: Fix a remote code execution vulnerability from
|
||||
maliciously crafted FB2 files
|
||||
- E-book viewer: Ignore soft hyphens when looking up words
|
||||
- Catalog export: Fix export of languages in BibTeX format
|
||||
- Windows: Fix Open With not working with Microsoft Paint
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 17 09:59:17 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.13.0
|
||||
|
||||
- Update to 8.13.0
|
||||
* New Features
|
||||
- Virtual libraries: Allow defining their search expressions
|
||||
more comfortably in a multi-line edit box
|
||||
- Open with: On Windows launch the specified program via the
|
||||
windows API for executing programs to decouple it more
|
||||
thoroughly from the calibre environment
|
||||
* Bug Fixes
|
||||
- Get books: Fix ebooks.com plugin
|
||||
- calibre-server: Fix CALIBRE_OVERRIDE_DATABASE_PATH not working
|
||||
- Export library: Dont use /tmp on Linux fixes export breaking
|
||||
with large FTS database on Linux distros that mount /tmp in RAM
|
||||
- Fix a regression in 8.11 that caused errors when trying
|
||||
to open a book from the full text search results while
|
||||
the search was still running
|
||||
- Drop calibre-fix-build-with-Qt6.10.patch because now in upstrem,
|
||||
- Change Source URL, because upstream has change something again
|
||||
in DownloadUrl.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 16 10:36:29 UTC 2025 - Hans-Peter Jansen <hpj@urpla.net>
|
||||
|
||||
- Add calibre-fix-build-with-Qt6.10.patch to cope with the private
|
||||
library linking changes introduced by Qt 6.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 1 16:05:25 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.12.0
|
||||
|
||||
- Update to 8.12.0
|
||||
* New Features
|
||||
- Tolino driver: Support for latest Tolino firmware 5.11.230427
|
||||
- Ollama AI: Allow setting arbitrary HTTP headers to send with
|
||||
every request
|
||||
* Bug Fixes
|
||||
- Fix a regression in the previous release that broke
|
||||
conversion of HTML that does not parse as XHTML
|
||||
- Ollama AI: Fix configuration of custom URL not working
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 12:31:19 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.11.1
|
||||
|
||||
- Update to 8.11.1
|
||||
* Bug Fixes
|
||||
- Windows: Fix regression in (8.11.0) causing conversion to be
|
||||
broken when metadata contains non-BMP characters
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 26 05:06:05 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.11.0
|
||||
|
||||
- Update to 8.11.0
|
||||
* New Features
|
||||
- E-book viewer: Add an "Ask AI" tab to the dictionary lookup
|
||||
panel. Allows you to query AI about the currently selected
|
||||
text.
|
||||
- Preferences: Show the keyboard shortcut for each category in
|
||||
preferences in the tooltip
|
||||
* Bug Fixes
|
||||
- E-book viewer: Fix modifying an existing highlight causing
|
||||
duplicates to be created in some books
|
||||
- E-book viewer: Fix very large e-books sometimes having a few
|
||||
non working links on Windows
|
||||
- PDB Input: Fix failure to convert some PDB files with sightly
|
||||
malformed headers
|
||||
- Fix error when trying to add the first icon rule to the Tag
|
||||
browser
|
||||
- E-book viewer: Fix Esc key not closing footnote popup when
|
||||
the popup has keyboard focus
|
||||
- E-book viewer: Fix placement of selection handles in some
|
||||
books when modifying an existing highlight
|
||||
- Windows build: Sign the .pyd DLLs in addition to the .dll DLLs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 13:24:42 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.10.0
|
||||
|
||||
- Update to 8.10.0
|
||||
* New Features
|
||||
- Book list: Allow controlling the tooltips displayed for every
|
||||
column using a template. Right click the column header and
|
||||
choose "Define tooltip template" to set the tooltip for that
|
||||
column
|
||||
- MTP driver: Allow creating format specific destinations for
|
||||
audiobook files
|
||||
- Preferences->Keyboard: Allow searching by shortcut as well as
|
||||
by name
|
||||
* Bug Fixes
|
||||
- Kindle MTP driver: Fix APNX files being placed in incorrect
|
||||
location when books are sent to subfolders inside the root
|
||||
folder
|
||||
- E-book viewer: Read Aloud: Fix regression in previous release
|
||||
that broke changing voices when engine is set to
|
||||
'Automatically select'
|
||||
- Fix a regression in the previous release that broke markdown
|
||||
output
|
||||
- Changes from 8.9.0
|
||||
* New Features
|
||||
- Annotations browser: Add a color swatch in the results list
|
||||
to make seeing the type of highlight easier
|
||||
- Match books in library window: When doing the initial search
|
||||
using the title of the book on the device, if no matches are
|
||||
found remove trailing text in parentheses or after a colon
|
||||
and try again
|
||||
- When merging books via drag and drop show the cover of the
|
||||
target book
|
||||
- HTMLZ Output: Add support for embedded fonts
|
||||
- Plugin installation window: Allow filtering available
|
||||
plugins by category
|
||||
- Fetch news: Add a sub-menu to the right click menu of the
|
||||
Fetch news button that shows recently downloaded news sources
|
||||
* Bug Fixes
|
||||
- Edit book: When pasting text from the clipboard ensure it
|
||||
is normalized to NFC form
|
||||
- Content server viewer: Improve the selection dialog for
|
||||
choosing a Text-to-speech voice
|
||||
- Content server: Fix an error when editing a book's metadata
|
||||
to change both the cover and another field
|
||||
- Changes from 8.8.0
|
||||
* New Features
|
||||
- E-book viewer: Improve display of Lookup results from Google
|
||||
- Kobo driver: Add support for latest Tolino firmware
|
||||
- Conversion: Handle -epub-text-emphasis properties used in
|
||||
some Japanese language EPUB books
|
||||
- Piper Neural text to speech engine: re-write the backend
|
||||
used to run the Piper speech models to no longer need an
|
||||
external binary for improved performance and robustness
|
||||
* Bug Fixes
|
||||
- Edit book: Reports: Fix sorting by name of CSS rules
|
||||
- Fix template based custom column of tags type not being
|
||||
treated as multi valued when using it for similarity searches
|
||||
- When adding books recursively do not try to import folder
|
||||
whose names named with an ebook file extension. These are,
|
||||
for example, generated by Apple Books
|
||||
- EPUB3 Output: Fix various issues with processing nav files
|
||||
when they contain more than just the Table of Contents and
|
||||
are not included in the spine.
|
||||
- Add calibre-disable_piper.patch because since 8.8.0 calibre needs
|
||||
onnxruntime to build which is not in openSUSE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 10:28:51 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Use new package podofo-0.10.5 to fix build error in
|
||||
Tumbleweed. Version in Tumbleweed is to new.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 18 05:58:19 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.7.0
|
||||
|
||||
- Update to 8.7.0
|
||||
* New Features
|
||||
- Kindle driver: Add support for generating page number files
|
||||
(APNX) on 2024 and newer MTP based Kindles
|
||||
- When finding similar books by author ignore "et al." suffix
|
||||
on author names
|
||||
* Bug Fixes
|
||||
- Fix a regression in the previous release that broke
|
||||
configuring Sending of books to device
|
||||
- Kobo driver: Fix a regression that caused ancient, pre-Touch
|
||||
kobo devices to no longer work with calibre
|
||||
- MTP driver: Workaround for LibMTP no longer returning device
|
||||
serial numbers on some systems
|
||||
- Edit book: Fix the next/previous buttons in the Text search
|
||||
tool not working
|
||||
- Fix series and publisher mapping rules not handling commas
|
||||
correctly when downloading metadata one book at a time
|
||||
- Edit metadata dialog: When there are only a few cusotm
|
||||
comments like fields stretch them vertically to take up
|
||||
unused psace
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 05:12:16 UTC 2025 - ecsos <ecsos@opensuse.org> - 8.6.0
|
||||
|
||||
|
||||
23
calibre.spec
23
calibre.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package calibre
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,14 +26,15 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: calibre
|
||||
Version: 8.6.0
|
||||
Version: 8.16.2
|
||||
Release: 0
|
||||
Summary: EBook Management Application
|
||||
License: GPL-3.0-only
|
||||
Group: Productivity/Other
|
||||
URL: https://calibre-ebook.com
|
||||
Source0: https://download.calibre-ebook.com/%{version}/calibre-%{version}.tar.xz
|
||||
Source1: https://calibre-ebook.com/signatures/calibre-%{version}.tar.xz.sig
|
||||
#Source0: https://download.calibre-ebook.com/%%{version}/calibre-%%{version}.tar.xz
|
||||
#Source1: https://calibre-ebook.com/signatures/calibre-%%{version}.tar.xz.sig
|
||||
Source0: https://github.com/kovidgoyal/calibre/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||
Source2: https://calibre-ebook.com/signatures/kovid.gpg#/%{name}.keyring
|
||||
Source5: https://github.com/mathjax/MathJax/archive/3.1.4/mathjax-3.1.4.tar.gz
|
||||
#Source6-URL: https://github.com/LibreOffice/dictionaries/archive/master/hyphenation-dictionaries.tar.gz
|
||||
@@ -53,6 +54,8 @@ Source100: %{name}-rpmlintrc
|
||||
Patch2: %{name}-setup.install.py.diff
|
||||
# PATCH-FIX-OPENSUSE: disabling Autoupdate Searcher
|
||||
Patch3: %{name}-no-update.diff
|
||||
# PATCH-FIX-OPENSUSE: disbale piper because since 8.8.0 calibre needs onnxruntime which is not in openSUSE.
|
||||
Patch4: %{name}-disable_piper.patch
|
||||
ExclusiveArch: aarch64 x86_64 riscv64
|
||||
%if 0%{?suse_version} <= 1550
|
||||
BuildRequires: gcc12
|
||||
@@ -89,10 +92,14 @@ BuildRequires: liberation-fonts
|
||||
BuildRequires: libmtp-devel >= 1.1.21
|
||||
# Upstream use libopenssl-devel >= 3.1.7
|
||||
BuildRequires: libopenssl-3-devel >= 3.1.4
|
||||
BuildRequires: libpodofo-devel >= 0.10.3
|
||||
BuildRequires: libpoppler-devel >= 23.08.0
|
||||
BuildRequires: libstemmer-devel >= 2.2.0
|
||||
BuildRequires: libwmf-devel >= 0.2.8
|
||||
%if 0%{suse_version} == 1600
|
||||
BuildRequires: (libpodofo-devel >= 0.10.3 and libpodofo-devel < 1.0.0)
|
||||
%else
|
||||
BuildRequires: (libpodofo-0_10-devel >= 0.10.3 and libpodofo-0_10-devel < 1.0.0)
|
||||
%endif
|
||||
# upstream use: mozjpeg >= 4.1.4
|
||||
BuildRequires: optipng >= 0.7.7
|
||||
BuildRequires: poppler-tools >= 23.08.0
|
||||
@@ -203,6 +210,8 @@ BuildRequires: %{python_module six >= 1.16.0}
|
||||
BuildRequires: %{python_module soupsieve >= 2.5}
|
||||
BuildRequires: %{python_module texttable >= 1.6.7}
|
||||
BuildRequires: %{python_module toml >= 0.10.2}
|
||||
BuildRequires: %{python_module tzdata >= 2025.2}
|
||||
BuildRequires: %{python_module tzlocal >= 5.3.1}
|
||||
BuildRequires: %{python_module xxhash >= 3.3.0}
|
||||
# Upstream use pkgconfig(libxml-2.0) >= 2.12.6
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.10.3
|
||||
@@ -267,6 +276,8 @@ Requires: %{python_flavor}-sgmllib3k >= 1.0.0
|
||||
Requires: %{python_flavor}-six >= 1.16.0
|
||||
Requires: %{python_flavor}-soupsieve >= 2.5
|
||||
Requires: %{python_flavor}-texttable >= 1.6.7
|
||||
Requires: %{python_flavor}-tzdata >= 2025.2
|
||||
Requires: %{python_flavor}-tzlocal >= 5.3.1
|
||||
Requires: %{python_flavor}-xxhash >= 3.3.0
|
||||
#Requires: %%{python_flavor}-unrardll >= 0.1.5
|
||||
Requires: %{python_flavor}-py7zr >= 1.0.0
|
||||
@@ -301,6 +312,7 @@ into ebooks for convenient reading.
|
||||
%setup -q -a5 -a6
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1 -b .no-update
|
||||
%patch -P 4 -p1
|
||||
|
||||
# dos2unix newline conversion
|
||||
sed -i 's/\r//' src/calibre/web/feeds/recipes/*
|
||||
@@ -424,6 +436,7 @@ TEST_EXCLUDE=(
|
||||
--exclude-test-name test_fts_basic # rise up build error
|
||||
--exclude-test-name test_websocket_basic # rise up build error
|
||||
--exclude-test-name test_piper # rise up build error
|
||||
--exclude-test-name test_plugins # rise up build error since disable_piper.patch
|
||||
--exclude-test-name test_pykakasi # is not in openSUSE oss
|
||||
--exclude-test-name test_import_of_all_python_modules # rise up build error because of pykakasi
|
||||
%endif
|
||||
|
||||
Reference in New Issue
Block a user