Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock X-Debbugs-Cc: l...@packages.debian.org Control: affects -1 + src:lios
Hello, I have uploaded lios_2.7.2-6 for inclusion in bookworm. [ Reason ] As reported on Bug#1035379, upstream lios looks for available tesseract languages by looking inside /usr/share/tesseract-ocr/tessdata, but on Debian the data is stored in /usr/share/tesseract-ocr/5/tessdata. The problem was already there in bullseye, in which we had a patch to make it look in /usr/share/tesseract-ocr/4.00/tessdata, but when tesseract was bumped to version 5, updating that patch was missed. Of course, I had reported the issue upstream 5 years ago on https://github.com/zendalona/lios/issues/6 but without answer so far. [ Impact ] Without this fix, the Optical Character Recognition (OCR) feature of lios does not work, which makes it rather useless, since its purpose is not only to scan, but particularly to run OCR. [ Tests ] This was tested by hand. [ Risks ] The code is very trivial. [ Checklist ] [X] all changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in testing unblock lios/2.7.2-6
diff -Nru lios-2.7.2/debian/changelog lios-2.7.2/debian/changelog --- lios-2.7.2/debian/changelog 2023-04-03 23:22:12.000000000 +0200 +++ lios-2.7.2/debian/changelog 2023-05-07 02:13:46.000000000 +0200 @@ -1,3 +1,10 @@ +lios (2.7.2-6) unstable; urgency=medium + + * patches/tesseract_langpath: Bump tesseract version to 5 + (Closes: Bug#1035379). + + -- Samuel Thibault <sthiba...@debian.org> Sun, 07 May 2023 02:13:46 +0200 + lios (2.7.2-5) unstable; urgency=medium * patches/preference-voice-list: Fix general preferences loading delay. diff -Nru lios-2.7.2/debian/patches/tesseract_langpath lios-2.7.2/debian/patches/tesseract_langpath --- lios-2.7.2/debian/patches/tesseract_langpath 2023-04-03 23:18:31.000000000 +0200 +++ lios-2.7.2/debian/patches/tesseract_langpath 2023-05-07 02:13:14.000000000 +0200 @@ -8,7 +8,7 @@ TESSDATA_POSSIBLE_PATHS = [ "/usr/share/tesseract-ocr/tessdata", -+ "/usr/share/tesseract-ocr/4.00/tessdata", ++ "/usr/share/tesseract-ocr/5/tessdata", "/usr/share/tesseract/tessdata", "/usr/share/tessdata", "/usr/local/share/tesseract-ocr/tessdata",