From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 587F31388BF for ; Sat, 9 Jan 2016 14:13:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C0AA21C006; Sat, 9 Jan 2016 14:12:51 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5888E07C5 for ; Sat, 9 Jan 2016 14:12:49 +0000 (UTC) Received: by mail-ig0-f175.google.com with SMTP id h5so50003448igh.0 for ; Sat, 09 Jan 2016 06:12:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uBPDT3o8ZFDo3ALlXwht2P/rpi7YR+hr4wbvm9yAC74=; b=C/z8vGQ9a8TzUc0OCQjC9vQVF36MEwhk5XaMqtbwON77di3l2jYY7/LbavDJjCJVbi nJyrnTQcL0V/ePkKZrJmKfw7HIr5EZDCOLsSbq/HDmyVAfk7DjPUmH7IC60LFofdBQvK uzITx4gzC15zxd07QiGWlbBAdthulVhz64l3MbzqncFOT8RzvbV5pMN5FbE7I2gOxZPN hd97hY/fByNVEpLX89VzF+oIYjW3+OTc2smVkiHz7yrercdEyybBPzDAJ/aKrUFB8S+y MRebmW62PxCkDwCfUaTapB9UES7fMRGJuvX++lBMnMfJQguxxHg8bdQZz9T6hjDvE631 iz6A== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.50.25.167 with SMTP id d7mr4040191igg.69.1452348769126; Sat, 09 Jan 2016 06:12:49 -0800 (PST) Received: by 10.107.29.149 with HTTP; Sat, 9 Jan 2016 06:12:49 -0800 (PST) In-Reply-To: References: Date: Sat, 9 Jan 2016 16:12:49 +0200 Message-ID: Subject: Re: [gentoo-user] Gtypist does not accept ru.typ From: gevisz To: "gentoo-user@lists.gentoo.org" Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 9557a4e0-d6f2-45f8-a777-b36d0e92e5c1 X-Archives-Hash: 19daa242a1503ded8e8c6e0d3e801d5c 2016-01-09 13:43 GMT+02:00 Stroller : > >> On Fri, 8 January 2016, at 1:13 p.m., gevisz wrote: >> >> 2016-01-08 13:50 GMT+02:00 Stroller : >>> >>>> On Fri, 8 January 2016, at 12:32 a.m., gevisz 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.