Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567318 - app-text/tesseract does not allow building support for the math / equation detection module
Summary: app-text/tesseract does not allow building support for the math / equation de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Kahle (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-12-02 11:12 UTC by Jeffrey Thomas Piercy
Modified: 2015-12-06 20:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adds support for the math / equation detection module (tesseract-equ.patch,1.89 KB, patch)
2015-12-02 11:12 UTC, Jeffrey Thomas Piercy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.