OCReract.jl icon indicating copy to clipboard operation
OCReract.jl copied to clipboard

Create Tesseract_jll package

Open timholy opened this issue 2 years ago • 3 comments

Ideally the dependency on Tesseract OCR would be handled by creating a _jll library using BinaryBuilder. That way the entire package would always be available simply through Pkg.add.

In the meantime, #19 clarifies the requirements.

timholy avatar Aug 04 '22 15:08 timholy

In fact, this idea was also mentioned in #6, but I never did this task of creating _jll libraries. @timholy do you have some example of library or PR to check in order to work around that?

leferrad avatar Aug 04 '22 23:08 leferrad

I've not done it myself but a lot of people have---at this point there's almost the equivalent of an entire Linux distribution's worth of _jll libraries available. There's a #binarybuilder channel on the Julia slack, if that helps.

timholy avatar Aug 05 '22 05:08 timholy

Luckily, Tesseract_jll already exists! The only thing is that now OCReract should be aware of the existence of the data for the language to use, something that so far is assumed responsibility for the user. Let me work around that to then submit a PR with the best changes I figured out.

leferrad avatar Aug 06 '22 14:08 leferrad