X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id 1B13D1EBFF1 for ; Tue, 4 Jan 2011 10:52:05 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id E7F47AE4002 for ; Tue, 4 Jan 2011 10:52:04 +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 MxOv0X-TDbIa for ; Tue, 4 Jan 2011 10:52:03 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id 9BA3AAE4001 for ; Tue, 4 Jan 2011 10:52:03 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id 4D42960A89E56 for ; Tue, 4 Jan 2011 10:52:02 +0000 (UTC) Received: from ncopa-desktop.nor.wtbts.net (unknown [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 2EFDD60A89E52 for ; Tue, 4 Jan 2011 10:52:01 +0000 (UTC) Date: Tue, 4 Jan 2011 11:53:26 +0100 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] more on language packs Message-ID: <20110104115326.6b2ea5e0@ncopa-desktop.nor.wtbts.net> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; 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 Hi, I have implemented experiemtnal support for language packs in abuild (only available from git) The idea is that you in the APKBUILD set a linguas variable, for example: linguas="bg ca cs da de el eo es et fr gl hu id it ja ko lt nl pl pt ru sk sv tr uk zh" Then will abuild automatically crate the subpackages $pkgname-lang-bg $pkgname-lang-ca $pkgname-lang-cs... etc. It wil take "$pkgdir"/usr/share/locale/$lang* so that pt and pt_BR both comes into $pkgname-lang-pt and en_CA en_GB both goes into $pkgname-lang-en etc. It will also create a proper install_if. This will increase the number of packages significantly. I'm not sure if or how we could group languages together. Thoughts? -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---