Files
calibre/calibre-disable_piper.patch
Eric Schirra 9aadf470a8 - 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.

OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/calibre?expand=0&rev=817
2025-09-17 09:07:47 +00:00

47 lines
1.8 KiB
Diff

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