Hi, the OCR software tesseract has many different plugins for language packs used for OCR for different languages. The ebuild uses the LINGUAS variable to pass the choice of which packages to install to the user.
A reverse dependency is app-text/pdfsandwich which roughly puts OCR'ed text in a scanned pdf. Since it uses tesseract it supports exactly those languages that tesseract supports. Should its ebuild have LINGUAS use flags and then depend on tesseract with at least those flags set? While it seems consistent to put the LINGUAS choice in the most user facing package, in this case I would actually not put it in here. It would introduces a point of failure and maintenance work for the each tesseract upgrade (since the language set slightly changes from time to time). A typical user would set LINGUAS in her make.conf anyway. In this case the same choice applies to both packages anyway. Maybe an einfo is sufficient to inform the user it? Cheers, Thomas -- Thomas Kahle http://dev.gentoo.org/~tomka/
signature.asc
Description: OpenPGP digital signature