graphics/gscan2pdf: Add RUN_DEPENDS on graphics/tesseract-data If graphics/gscan2pdf is built with the TESSERACT option, runtime errors are produced if the graphics/tesseract-data port is not installed. The errors are shown upon initiating the "Scan document" feature. In the "Language to recognise" dropdown selection box, the following "options" are shown: - Could not initialize tesseract. - Error opening data file /usr/local/share/tessdata/eng.traineddata - Failed loading language 'eng' - Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory. - Tesseract couldn't load any languages!
An alternative viewpoint could be that the graphics/tesseract port should have a RUN_DEPENDS added on graphics/tesseract-data. Thoughts?
(In reply to Ben Woods from comment #1) Fine for me :)
Committed - thanks!
A commit references this bug: Author: woodsb02 Date: Sat Sep 23 12:39:56 UTC 2017 New revision: 450432 URL: https://svnweb.freebsd.org/changeset/ports/450432 Log: graphics/tesseract: Add graphics/tesseract-data as RUN_DEPENDS PR: 221428 Approved by: Piotr Kubaj (maintainer) Changes: head/graphics/tesseract/Makefile head/graphics/tesseract/pkg-message