X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by mail.alpinelinux.org (Postfix) with ESMTP id 890F4ABC2B1 for ; Fri, 2 Sep 2011 09:32:49 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id 79E5AAE4003; Fri, 2 Sep 2011 09:32:48 +0000 (UTC) X-Virus-Scanned: Yes Received: from mail.wtbts.no ([127.0.0.1]) by localhost (bsna.nor.wtbts.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UvIYpVFi+DIF; Fri, 2 Sep 2011 09:32:46 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id D40A8AE4001; Fri, 2 Sep 2011 09:32:46 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 842D360A87547; Fri, 2 Sep 2011 09:32:46 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (ncopa-desktop.nor.wtbts.net [10.65.65.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@ytre.org) by mail.ytre.org (Postfix) with ESMTPSA id 5E9D960A87545; Fri, 2 Sep 2011 09:32:46 +0000 (UTC) Date: Fri, 2 Sep 2011 11:32:45 +0200 From: Natanael Copa To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [RFC] Language packs Message-ID: <20110902113245.700ba8e8@ncopa-desktop.nor.wtbts.net> In-Reply-To: <20110902111413.2398fdaf@ncopa-desktop.nor.wtbts.net> References: <20110902111413.2398fdaf@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.5; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Fri, 2 Sep 2011 11:14:13 +0200 Natanael Copa wrote: > 1. we group by ISO 639-1 (2 char codes). > http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes > This means we get packages like: squid-lang-no (which might hold no.nb > and no.nn for the 2 different norwegian languages). $pkgname-lang-en > would hold both en.GB and en.US. *-lang-es would hold spanish for both > spain and southamerica. I think this is the easiest way to do it, but > this might cause number of packages double in our repos. (or triple? i > don't know). I just ran a test for the packages that are built in my current dev vserver: ~/aports/main $ ls -d */pkg/*/usr/share/locale/[a-z]* | sed 's:\(/[a-z][a-z]\)[_ @^/].*:\1:' | sort | uniq | wc -l 5943 Option #1 means that we will get atleast more than 5943 additional packages in the repository if we split all that potensially could be split. (125 different packages in the test above) We could also say something like, don't bother split if the locales are less than 10MB or something. That would only give use those instead of the 125 packages above: 11596 gnumeric/pkg/gnumeric/usr/share/locale 12688 iso-codes/pkg/iso-codes/usr/share/locale (might be we probably don't want split this) 15160 nautilus/pkg/nautilus/usr/share/locale 19068 inkscape/pkg/inkscape/usr/share/locale 19160 gtk+3.0/pkg/gtk+3.0/usr/share/locale 20376 gtk+2.0/pkg/gtk+2.0/usr/share/locale 22736 pidgin/pkg/pidgin/usr/share/locale 30484 gimp/pkg/gimp/usr/share/locale An interesting thing is that gtk+2.0 is totally: 26072 gtk+2.0/pkg/gtk+2.0 It means that ~6MB is code and ~20MB is localization. I see a possibility to save some serious space here... -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---