public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jeroen Roovers <jer@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Using LINGUAS
Date: Mon, 21 Jul 2014 14:03:11 +0200	[thread overview]
Message-ID: <20140721140311.50490b29@marga.jer-c2.orkz.net> (raw)
In-Reply-To: <53CC95D2.6030001@gentoo.org>

On Mon, 21 Jul 2014 13:23:46 +0900
Thomas Kahle <tomka@gentoo.org> wrote:

> 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.

Every ebuild uses LINGUAS implicitly. What you mean is that you
expand LINGUAS to USE Flags...

> 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?

... in which case you can simply use USE dependencies since you have
USE-expanded flags matching LINGUAS. It should be easy to match one
ebuild's IUSE with another's.

linguas_tlh? ( app-text/tesseract[linguas_tlh] )


     jer


  reply	other threads:[~2014-07-21 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21  4:23 [gentoo-dev] Using LINGUAS Thomas Kahle
2014-07-21 12:03 ` Jeroen Roovers [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140721140311.50490b29@marga.jer-c2.orkz.net \
    --to=jer@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox