https://bugs.kde.org/show_bug.cgi?id=516162

--- Comment #20 from pallaswept <[email protected]> ---
Apparently a summary of my above posts and the attached links, is in order,
so...

There is no need for "works for me" or "doesn't work here" posts. The nature of
the problem is well understood, and we already know where it does and does not
work.


There are three bugs interacting here:
- Tesseract built with cmake (fedora) has the wrong library soname (and so,
mis-named symlink to the library) 
- Tesseract built with autotools (debian, suse, arch) has the wrong library
filename
- Spectacle searches for the wrong name (because there is no right name,
because of the above bugs)

The fix will be to first fix library naming of tesseract in each build system,
and then to fix spectacle to search for the resulting libraries. 


Alternatively, for a permanent workaround if tesseract will not be fixed,
spectacle could search for the various possible library names for all distros.
The most portable way of doing this is 

return {QStringLiteral("tesseract.so.5.5"), QStringLiteral("tesseract.so.5"),
QStringLiteral("tesseract.so.4"), QStringLiteral("tesseract")};

This will work across all distros and all compatible releases of tesseract from
either build system. 

For KDE I would recommend this course forward, as it will work both immediately
and after tesseract is fixed and that fix rolls out, which may take some time,
may be out of sync with KDE, or may never happen at all.

@KDE: This is what happens when developers ignore legit bug reports because
they don't like the user who reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to