From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LCg3f-0003uf-IW for garchives@archives.gentoo.org; Tue, 16 Dec 2008 19:58:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0D9BE0765; Tue, 16 Dec 2008 19:58:16 +0000 (UTC) Received: from nameserver1.mcve.com (nameserver1.mcve.com [216.155.111.5]) by pigeon.gentoo.org (Postfix) with ESMTP id B5E03E0765 for ; Tue, 16 Dec 2008 19:58:16 +0000 (UTC) Received: from [192.168.11.55] (shop.monetra.com [216.155.111.10]) by nameserver1.mcve.com (Postfix) with ESMTP id 79DE61110005 for ; Tue, 16 Dec 2008 14:58:15 -0500 (EST) Message-ID: <49480825.1030401@gentoo.org> Date: Tue, 16 Dec 2008 14:57:25 -0500 From: Doug Goldstein User-Agent: Thunderbird 2.0.0.18 (X11/20081201) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] New global USE flag: gzip-dict References: <1229455276.2454.23.camel@localhost> <20081216192712.516a1d80@snowmobile> In-Reply-To: <20081216192712.516a1d80@snowmobile> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ac75472a-fcea-49a7-8297-bb4618a42e50 X-Archives-Hash: 4ff16295f6bab9fdfc600dd55c39f019 Ciaran McCreesh wrote: > On Tue, 16 Dec 2008 22:21:16 +0300 > Peter Volkov wrote: > >> Some time ago I've modified stardict.eclass and added optional >> possibility based on 'gzip' USE flag to compress index and dict data >> files. But I realized too late that I need to document this USE flag >> somewhere, and since it'll do similar things for all stardict-* >> dictionaries (heh, more than 5 packages...) I'm going to add it as >> global USE flag. Also since gzip USE flag already exist in >> x11-misc/openclipart I'll change 'gzip' to 'gzip-dict'. So if there >> will be no objections I'll add new 'gzip-dict' global USE flag in 2-3 >> days from now. >> > > What's the point of having this as an option at all? Is it really > something that affects the end user in any way? Or is it just > gratuitous choisiosity? > > I happen to be in agreement here. gzip is a quick process, especially with a separate index file which would point to a specific section in the dict to uncompress. Assuming they've coded it right, it should barely be noticeable in the grand scheme of things. If this is not the case at all and it in fact for some odd reasons requires additional deps and requires uncompressing huge files in memory such that low memory systems can't handle it, then I'd be in favor of a USE flag. But otherwise, it seems like less maintenance for you and less user confusion by making it default.