From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SWYPB-0005QG-0W for garchives@archives.gentoo.org; Mon, 21 May 2012 19:36:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74A2BE0CA1; Mon, 21 May 2012 19:36:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 34DCCE0CA1 for ; Mon, 21 May 2012 19:36:20 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 888BA64272 for ; Mon, 21 May 2012 19:36:19 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2238) id 232BB2004B; Mon, 21 May 2012 19:36:18 +0000 (UTC) From: "Markos Chandras (hwoarang)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, hwoarang@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/mypaint: mypaint-1.0.0-r1.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: mypaint-1.0.0-r1.ebuild ChangeLog X-VCS-Directories: media-gfx/mypaint X-VCS-Committer: hwoarang X-VCS-Committer-Name: Markos Chandras Content-Type: text/plain; charset=utf8 Message-Id: <20120521193618.232BB2004B@flycatcher.gentoo.org> Date: Mon, 21 May 2012 19:36:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 42420dc1-5431-4800-9276-a258b7be60cf X-Archives-Hash: 8844c113cd2a90af4196de8aa9b40087 hwoarang 12/05/21 19:36:18 Modified: mypaint-1.0.0-r1.ebuild ChangeLog Log: Respect LINGUAS. Bug #407859 =20 (Portage version: 2.1.10.62/cvs/Linux x86_64) Revision Changes Path 1.6 media-gfx/mypaint/mypaint-1.0.0-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/= mypaint-1.0.0-r1.ebuild?rev=3D1.6&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/= mypaint-1.0.0-r1.ebuild?rev=3D1.6&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/= mypaint-1.0.0-r1.ebuild?r1=3D1.5&r2=3D1.6 Index: mypaint-1.0.0-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0-r1.ebui= ld,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- mypaint-1.0.0-r1.ebuild 5 May 2012 07:00:23 -0000 1.5 +++ mypaint-1.0.0-r1.ebuild 21 May 2012 19:36:18 -0000 1.6 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0-r1.eb= uild,v 1.5 2012/05/05 07:00:23 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/mypaint-1.0.0-r1.eb= uild,v 1.6 2012/05/21 19:36:18 hwoarang Exp $ =20 EAPI=3D4 =20 @@ -17,6 +17,11 @@ KEYWORDS=3D"~amd64 ~x86" IUSE=3D"" =20 +LANGS=3D"cs de en_CA es fr hu id it ja ko nb nn_NO pl pt_BR ru sl sv uk = zh_CN zh_TW" +for x in ${LANGS}; do + IUSE+=3D"linguas_${x} " +done + RDEPEND=3D"dev-python/pygtk dev-python/numpy >=3Ddev-python/pycairo-1.4 @@ -47,6 +52,11 @@ src_install () { escons prefix=3D"${D}/usr" install || die "scons install failed" newicon pixmaps/${PN}_logo.png ${PN}.png + for x in ${LANGS}; do + if ! has ${x} ${LINGUAS}; then + find "${D}"/usr/share/locale/${x} -name "mypaint.mo" -exec rm {} \; + fi + done } =20 pkg_preinst() { 1.17 media-gfx/mypaint/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/= ChangeLog?rev=3D1.17&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/= ChangeLog?rev=3D1.17&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/mypaint/= ChangeLog?r1=3D1.16&r2=3D1.17 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- ChangeLog 5 May 2012 07:00:23 -0000 1.16 +++ ChangeLog 21 May 2012 19:36:18 -0000 1.17 @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/mypaint # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.16 20= 12/05/05 07:00:23 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/mypaint/ChangeLog,v 1.17 20= 12/05/21 19:36:18 hwoarang Exp $ + + 21 May 2012; Markos Chandras mypaint-1.0.0-r1.eb= uild: + Respect LINGUAS. Bug #407859 =20 05 May 2012; Jeff Horelick mypaint-1.0.0.ebuild, mypaint-1.0.0-r1.ebuild: