Package: kde-spectacle
Version: 4:6.6.5-2
Severity: important
Tags: patch

Dear Maintainer,

Spectacle provides an OCR functionality when tesseract is installed.
However, an upstream commit broke library searching on Debian, rendering
it unusable unless libtesseract-dev is installed to provide a symlink
from libtesseract.so to libtesseract.so.5.

Log:

   spectacle: Unable to load Tesseract candidate "tesseract" : "无法加载库 
tesseract:tesseract: 无法打开共享目标文件: 没有那个文件或目录"
   spectacle: Unable to locate a suitable Tesseract shared library
   spectacle: Tesseract runtime library not available

Please revert
https://invent.kde.org/plasma/spectacle/-/commit/89538f014de81ce15f70a3e8b1125648ef5d37ef
, so that it only needs the library package (libtesseract5) instead of
the development one.

Note: 6.7 will fix this by simply linking against tesseract instead of
dlopen()-ing it. See
https://invent.kde.org/plasma/spectacle/-/merge_requests/529

Thanks,
Rong

Reply via email to