public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Using LINGUAS
@ 2014-07-21  4:23 Thomas Kahle
  2014-07-21 12:03 ` Jeroen Roovers
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Thomas Kahle @ 2014-07-21  4:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

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/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 601 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-07-22 20:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-21  4:23 [gentoo-dev] Using LINGUAS Thomas Kahle
2014-07-21 12:03 ` Jeroen Roovers
2014-07-21 12:26   ` Thomas Kahle
2014-07-21 12:31     ` Jeroen Roovers
2014-07-21 12:42 ` Michał Górny
2014-07-22  1:31   ` Thomas Kahle
2014-07-22  1:43 ` Alex Xu
2014-07-22 20:30 ` Mart Raudsepp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox