Your message dated Thu, 11 May 2023 09:43:40 +0200
with message-id <[email protected]>
and subject line Re: Bug#1035648: unblock: lios/2.7.2-6
has caused the Debian Bug report #1035648,
regarding unblock: lios/2.7.2-6
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1035648: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1035648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock
X-Debbugs-Cc: [email protected]
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 <[email protected]>  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",

--- End Message ---
--- Begin Message ---
Hi,

On 07-05-2023 02:30, Samuel Thibault wrote:
unblock lios/2.7.2-6

done, thanks.

Paul

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to