public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: gevisz <gevisz@gmail.com>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Gtypist does not accept ru.typ
Date: Sat, 9 Jan 2016 16:12:49 +0200	[thread overview]
Message-ID: <CA+t6X7eX6yUG=nXYS2jhW1ZsHzbt2LAfA6+TZR7GKv_irbo1FA@mail.gmail.com> (raw)
In-Reply-To: <FDB3FF2B-EA20-4A0A-B721-B5F15D281467@stellar.eclipse.co.uk>

2016-01-09 13:43 GMT+02:00 Stroller <stroller@stellar.eclipse.co.uk>:
>
>> On Fri, 8 January 2016, at 1:13 p.m., gevisz <gevisz@gmail.com> wrote:
>>
>> 2016-01-08 13:50 GMT+02:00 Stroller <stroller@stellar.eclipse.co.uk>:
>>>
>>>> On Fri, 8 January 2016, at 12:32 a.m., gevisz <gevisz@gmail.com> wrote:
>>>>
>>>> Just of curiosity compiled gtypist with nls use flag.
>>>> Now it accepts ru.typ! But it is a bug because nls flag
>>>> is supposed to only switch on the translation of the
>>>> corresponding menu and help messages. So, it should
>>>> accept ru.typ even if compiled without the nls use flag!
>>>
>>> I'm glad you're sorted. You should let the gtypist devs know of this bug.
>>
>> Thank you for your help!
>>
>> However, before turning to the gtypist devs, I should clarify one more,
>> may be stupid, question, namely: "Who is responsible for the correct
>> `functioning' of the use flags?" Because I always thought that the use
>> flags are a unique feature of the Gentoo distribution (and therefore, it
>> is the the Gentoo devs who are responsible for them) but your advice
>> above implies that it is not true.
>
> The ebuild is (mostly) just a wrapper for preceding software installation tools, like make and gcc.
>
> In a previous message you showed us that the Gtypist devs had asked you "Can you check whether this appears when running ./configure? Also, which arguments are used for ./configure?"
>
> In the case of the nls USE flag, the ebuild is just calling configure with certain arguments:
>
>    src_configure() {
>        econf $(use_enable nls)
>    }
>
>    src_install() {
>        emake DESTDIR="${D}" install
>    }
>
>    Note the IUSE variable. This lists all (non-special) use flags that are
>    used by the ebuild. This is used for the emerge -pv output, amongst
>    other things.
>
>    The package's ./configure script takes the usual --enable-nls or
>    --disable-nls argument. We use the use_enable utility function to
>    generate this automatically, depending on the user's USE flags (see
>    Query Functions Reference).
>
> This is a top google hit for use_enable: https://devmanual.gentoo.org/quickstart/
>
> Stroller.

Ok. Thank you for all your help and explanation.

P.S. I have read the document lead to by the link you provided in full
       and now communicate all this to the gtypist devs.


  reply	other threads:[~2016-01-09 14:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08  0:32 [gentoo-user] Gtypist does not accept ru.typ gevisz
2016-01-08 11:50 ` Stroller
2016-01-08 13:13   ` gevisz
2016-01-09 11:43     ` Stroller
2016-01-09 14:12       ` gevisz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-01 16:59 gevisz
     [not found] ` <35759B48-B9B1-4E7A-A113-75EB151A8794@bigfoot.com>
     [not found]   ` <CA+t6X7fYtDoT1HtO+EsugGte7k1jXuv-=qBi6jsBw=OtMm+ziw@mail.gmail.com>
2016-01-06 20:58     ` gevisz
2016-01-06 21:53       ` gevisz
2016-01-07 11:28       ` Stroller
     [not found]         ` <CA+t6X7cfY5ffp+18GRnZt3KVqfyxXQd=jQdoy6avsDfsh7SJEw@mail.gmail.com>
2016-01-08  0:13           ` gevisz
2016-01-07 11:39 ` Stroller

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='CA+t6X7eX6yUG=nXYS2jhW1ZsHzbt2LAfA6+TZR7GKv_irbo1FA@mail.gmail.com' \
    --to=gevisz@gmail.com \
    --cc=gentoo-user@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