Though I said I'd wait, I was curious if I could compile it myself. So, I followed the instructions on this page:
https://github.com/kovidgoyal/calibr...ypy/README.rst
I cloned both repos into a clean working directory, entered the calibre directory and issued the bootstrap command, after confirming all the dependencies were installed (as per this:
https://github.com/kovidgoyal/calibr...y/sources.json).
I then followed the next step to bootstrap, and this is what happened:
Code:
shayaknyc@Garuda ~/../calibre> ./setup.py bootstrap
Already up to date.
*
* Running build
*
Package libpostproc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpostproc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpostproc' not found
Package libpostproc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpostproc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpostproc' not found
Building 31 extensions
Compiling 4 files...
g++ -Wall -DNDEBUG -fno-strict-aliasing -pipe -O3 -fPIC -fvisibility=hidden -pthread -fdiagnostics-color=always -I/usr/include/python3.14 '-DCALIBRE_MODINIT_FUNC=extern "C" __attribute__ ((visibility ("default"))) PyObject*' -std=c++17 -I/usr/include -I/usr/include/onnxruntime -c /home/shayaknyc/git/kovidgoyal/calibre/src/calibre/utils/tts/piper.cpp -o /home/shayaknyc/git/kovidgoyal/calibre/build/objects/piper/piper.o
/home/shayaknyc/git/kovidgoyal/calibre/src/calibre/utils/tts/piper.cpp: In function ‘PyObject* phonemize(PyObject*, PyObject*)’:
/home/shayaknyc/git/kovidgoyal/calibre/src/calibre/utils/tts/piper.cpp:192:20: error: ‘espeak_TextToPhonemesWithTerminator’ was not declared in this scope
192 | phonemes = espeak_TextToPhonemesWithTerminator(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/shayaknyc/git/kovidgoyal/calibre/src/calibre/utils/tts/piper.cpp: In function ‘PyObject* start(PyObject*, PyObject*)’:
/home/shayaknyc/git/kovidgoyal/calibre/src/calibre/utils/tts/piper.cpp:313:32: error: ‘espeak_TextToPhonemesWithTerminator’ was not declared in this scope
313 | const char *phonemes = espeak_TextToPhonemesWithTerminator(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Can't proceed from here.