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 B0C1A187E1F8 for ; Wed, 5 Oct 2011 11:13:53 +0000 (UTC) Received: from localhost (bsna.nor.wtbts.net [127.0.0.1]) by mail.wtbts.no (Postfix) with ESMTP id B6B33AE4001 for ; Wed, 5 Oct 2011 11:13:51 +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 6wak-+x535H9 for ; Wed, 5 Oct 2011 11:13:50 +0000 (UTC) Received: from mail.ytre.org (extmail.nor.wtbts.net [10.65.72.14]) by mail.wtbts.no (Postfix) with ESMTP id DF0E3376277 for ; Wed, 5 Oct 2011 11:13:50 +0000 (UTC) Received: from mail.ytre.org (localhost [127.0.0.1]) by mail.ytre.org (Postfix) with ESMTP id C494A60AA1D34 for ; Wed, 5 Oct 2011 11:13:50 +0000 (UTC) Received: from localhost (unknown [10.65.254.32]) (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 A05A560AA1D33 for ; Wed, 5 Oct 2011 11:13:50 +0000 (UTC) Date: Wed, 5 Oct 2011 13:13:42 +0200 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] lang subpackages Message-ID: <20111005131342.79468aef@alpinelinux.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; i686-pc-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, So I have implemented a new "special" subpackage in abuild: -lang This will copy /usr/share/locale into a $pkgname-lang subpackage. I have also created a "lang" meta package which will pull in the translation packages and I have splitted out the translations for a handful packages. I started with the ones who had the biggest /usr/share/locale dirs. This can save some megs if you don't use the translations: alpine-netbook:~/src$ sudo apk del -i lang The following packages will be REMOVED: lang glade3-lang gnome-disk-utility-lang glib-lang gvfs-lang iso-codes-lang xfce-utils-lang gimp-lang xfce4-settings-lang thunar-lang gtk+2.0-lang lxdm-lang xfce4-panel-lang xfwm4-lang inkscape-lang shotwell-lang pidgin-lang gconf-lang gnumeric-lang gigolo-lang After this operation, 157896 kB of disk space will be freed. I'm saving 158MB on my lappy. not bad... If you see the warning about /usr/share/locale then its just to add $pkgname-lang to subpackages and abuild takes care of the rest. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---