Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 567318

Summary: app-text/tesseract does not allow building support for the math / equation detection module
Product: Gentoo Linux Reporter: Jeffrey Thomas Piercy <mqduck>
Component: Current packagesAssignee: Thomas Kahle (RETIRED) <tomka>
Status: RESOLVED FIXED    
Severity: normal CC: chutzpah
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: adds support for the math / equation detection module

Description Jeffrey Thomas Piercy 2015-12-02 11:12:32 UTC
Created attachment 418320 [details, diff]
adds support for the math / equation detection module

The math / equation detection module is one of the "languages" that tesseract can read (called 'equ'), but there's no option in the ebuild to include it. The fix is very easy. The patch I'm attaching was made under the assumption that it wouldn't be appropriate for it to be done with a "lingua" flag like the other language modules, so it instead adds an "equ" use flag.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2015-12-06 20:27:00 UTC
Hi, thanks for your patch. I added it to git, except that I renamed the USE flag to "math" which I found more descriptive.