public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-client/google-chrome: google-chrome-19.0.1049.3_alpha123257.ebuild ChangeLog
@ 2012-02-24  5:33 Mike Gilbert (floppym)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert (floppym) @ 2012-02-24  5:33 UTC (permalink / raw
  To: gentoo-commits

floppym     12/02/24 05:33:01

  Modified:             google-chrome-19.0.1049.3_alpha123257.ebuild
                        ChangeLog
  Log:
  Tweak LINGUAS code again.
  
  (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild?r1=1.1&r2=1.2

Index: google-chrome-19.0.1049.3_alpha123257.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- google-chrome-19.0.1049.3_alpha123257.ebuild	24 Feb 2012 03:39:40 -0000	1.1
+++ google-chrome-19.0.1049.3_alpha123257.ebuild	24 Feb 2012 05:33:01 -0000	1.2
@@ -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/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild,v 1.1 2012/02/24 03:39:40 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild,v 1.2 2012/02/24 05:33:01 floppym Exp $
 
 EAPI="4"
 
@@ -115,26 +115,36 @@
 
 	# Support LINGUAS, bug #332751.
 	# Emulate logic from po.m4.
-	if [[ "%UNSET%" != ${LINGUAS-%UNSET%} ]]; then
-		local desiredlang presentlang pak pakname useit
-		cd "${CHROME_HOME}locales" || die
+	if [[ "%UNSET%" != "${LINGUAS-%UNSET}" ]]; then
+		local found desiredlang presentlang pak pakname
+
+		pushd "${CHROME_HOME}locales" > /dev/null || die
+
 		for pak in *.pak; do
-			useit=
-			pakname=${pak%.pak}
-			pakname=${pakname/-/_}
-			presentlang=$(chromium_lang "$pakname")
-			if [[ ${presentlang} == en_US ]]; then
+			pakname="${pak%.pak}"
+			pakname="${pakname/-/_}"
+			presentlang="$(chromium_lang "${pakname}")"
+
+			# Do not issue warning for en_US locale. This is the fallback
+			# locale so it should always be installed.
+			if [[ "${presentlang}" == "en_US" ]]; then
 				continue
 			fi
-			for lang in ${LINGUAS}; do
-				if [[ ${lang} == ${presentlang}* ]]; then
-					useit=1
+
+			found=
+			for desiredlang in ${LINGUAS}; do
+				if [[ "${desiredlang}" == "${presentlang}"* ]]; then
+					found=1
+					break
 				fi
 			done
-			if [[ -z ${useit} ]]; then
+
+			if [[ -z ${found} ]]; then
 				rm "${pak}" || die
 			fi
 		done
+
+		popd > /dev/null
 	fi
 }
 



1.85                 www-client/google-chrome/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.85&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.85&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?r1=1.84&r2=1.85

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- ChangeLog	24 Feb 2012 03:39:40 -0000	1.84
+++ ChangeLog	24 Feb 2012 05:33:01 -0000	1.85
@@ -1,6 +1,10 @@
 # ChangeLog for www-client/google-chrome
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.84 2012/02/24 03:39:40 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.85 2012/02/24 05:33:01 floppym Exp $
+
+  24 Feb 2012; Mike Gilbert <floppym@gentoo.org>
+  google-chrome-19.0.1049.3_alpha123257.ebuild:
+  Tweak LINGUAS code again.
 
 *google-chrome-19.0.1049.3_alpha123257 (24 Feb 2012)
 






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in www-client/google-chrome: google-chrome-19.0.1049.3_alpha123257.ebuild ChangeLog
@ 2012-02-24 16:43 Mike Gilbert (floppym)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Gilbert (floppym) @ 2012-02-24 16:43 UTC (permalink / raw
  To: gentoo-commits

floppym     12/02/24 16:43:39

  Modified:             google-chrome-19.0.1049.3_alpha123257.ebuild
                        ChangeLog
  Log:
  Fix typo.
  
  (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild?r1=1.2&r2=1.3

Index: google-chrome-19.0.1049.3_alpha123257.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- google-chrome-19.0.1049.3_alpha123257.ebuild	24 Feb 2012 05:33:01 -0000	1.2
+++ google-chrome-19.0.1049.3_alpha123257.ebuild	24 Feb 2012 16:43:39 -0000	1.3
@@ -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/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild,v 1.2 2012/02/24 05:33:01 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/google-chrome-19.0.1049.3_alpha123257.ebuild,v 1.3 2012/02/24 16:43:39 floppym Exp $
 
 EAPI="4"
 
@@ -115,7 +115,7 @@
 
 	# Support LINGUAS, bug #332751.
 	# Emulate logic from po.m4.
-	if [[ "%UNSET%" != "${LINGUAS-%UNSET}" ]]; then
+	if [[ "%UNSET%" != "${LINGUAS-%UNSET%}" ]]; then
 		local found desiredlang presentlang pak pakname
 
 		pushd "${CHROME_HOME}locales" > /dev/null || die



1.86                 www-client/google-chrome/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.86&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?rev=1.86&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/google-chrome/ChangeLog?r1=1.85&r2=1.86

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- ChangeLog	24 Feb 2012 05:33:01 -0000	1.85
+++ ChangeLog	24 Feb 2012 16:43:39 -0000	1.86
@@ -1,6 +1,10 @@
 # ChangeLog for www-client/google-chrome
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.85 2012/02/24 05:33:01 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/google-chrome/ChangeLog,v 1.86 2012/02/24 16:43:39 floppym Exp $
+
+  24 Feb 2012; Mike Gilbert <floppym@gentoo.org>
+  google-chrome-19.0.1049.3_alpha123257.ebuild:
+  Fix typo.
 
   24 Feb 2012; Mike Gilbert <floppym@gentoo.org>
   google-chrome-19.0.1049.3_alpha123257.ebuild:






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-24 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-24  5:33 [gentoo-commits] gentoo-x86 commit in www-client/google-chrome: google-chrome-19.0.1049.3_alpha123257.ebuild ChangeLog Mike Gilbert (floppym)
  -- strict thread matches above, loose matches on Subject: below --
2012-02-24 16:43 Mike Gilbert (floppym)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox