Gentoo Archives: gentoo-commits

From: "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium: ChangeLog chromium-9999.ebuild chromium-10.0.612.1-r1.ebuild
Date: Sun, 02 Jan 2011 15:31:44
Message-Id: 20110102153135.EC9AC20054@flycatcher.gentoo.org
1 phajdan.jr 11/01/02 15:31:35
2
3 Modified: ChangeLog chromium-9999.ebuild
4 chromium-10.0.612.1-r1.ebuild
5 Log:
6 Fix locale-sensitive test failures, bug #350349.
7
8 (Portage version: 2.1.9.25/cvs/Linux i686)
9
10 Revision Changes Path
11 1.249 www-client/chromium/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?rev=1.249&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?rev=1.249&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?r1=1.248&r2=1.249
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v
20 retrieving revision 1.248
21 retrieving revision 1.249
22 diff -u -r1.248 -r1.249
23 --- ChangeLog 22 Dec 2010 11:51:41 -0000 1.248
24 +++ ChangeLog 2 Jan 2011 15:31:35 -0000 1.249
25 @@ -1,6 +1,10 @@
26 # ChangeLog for www-client/chromium
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.248 2010/12/22 11:51:41 phajdan.jr Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.249 2011/01/02 15:31:35 phajdan.jr Exp $
31 +
32 + 02 Jan 2011; Pawel Hajdan jr <phajdan.jr@g.o>
33 + chromium-10.0.612.1-r1.ebuild, chromium-9999.ebuild:
34 + Fix locale-sensitive test failures, bug #350349.
35
36 *chromium-10.0.612.1-r1 (22 Dec 2010)
37
38
39
40
41 1.119 www-client/chromium/chromium-9999.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-9999.ebuild?rev=1.119&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-9999.ebuild?rev=1.119&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-9999.ebuild?r1=1.118&r2=1.119
46
47 Index: chromium-9999.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v
50 retrieving revision 1.118
51 retrieving revision 1.119
52 diff -u -r1.118 -r1.119
53 --- chromium-9999.ebuild 22 Dec 2010 11:51:41 -0000 1.118
54 +++ chromium-9999.ebuild 2 Jan 2011 15:31:35 -0000 1.119
55 @@ -1,6 +1,6 @@
56 -# Copyright 1999-2010 Gentoo Foundation
57 +# Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.118 2010/12/22 11:51:41 phajdan.jr Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999.ebuild,v 1.119 2011/01/02 15:31:35 phajdan.jr Exp $
61
62 EAPI="3"
63 PYTHON_DEPEND="2:2.6"
64 @@ -330,10 +330,20 @@
65 }
66
67 src_test() {
68 + # For more info see bug #350349.
69 + local mylocale='en_US.utf8'
70 + if ! locale -a | grep -q "$mylocale"; then
71 + eerror "${PN} requires ${mylocale} locale for tests"
72 + eerror "Please read the following guides for more information:"
73 + eerror " http://www.gentoo.org/doc/en/guide-localization.xml"
74 + eerror " http://www.gentoo.org/doc/en/utf-8.xml"
75 + die "locale ${mylocale} is not supported"
76 + fi
77 +
78 # Make test failures non-fatal for now. This needs more investigation.
79 - maketype=out/Release/base_unittests virtualmake \
80 + LC_ALL="${mylocale}" maketype=out/Release/base_unittests virtualmake \
81 || eerror "base_unittests failed"
82 - maketype=out/Release/net_unittests virtualmake \
83 + LC_ALL="${mylocale}" maketype=out/Release/net_unittests virtualmake \
84 || eerror "net_unittests failed"
85 }
86
87
88
89
90 1.2 www-client/chromium/chromium-10.0.612.1-r1.ebuild
91
92 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-10.0.612.1-r1.ebuild?rev=1.2&view=markup
93 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-10.0.612.1-r1.ebuild?rev=1.2&content-type=text/plain
94 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-10.0.612.1-r1.ebuild?r1=1.1&r2=1.2
95
96 Index: chromium-10.0.612.1-r1.ebuild
97 ===================================================================
98 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-10.0.612.1-r1.ebuild,v
99 retrieving revision 1.1
100 retrieving revision 1.2
101 diff -u -r1.1 -r1.2
102 --- chromium-10.0.612.1-r1.ebuild 22 Dec 2010 11:51:41 -0000 1.1
103 +++ chromium-10.0.612.1-r1.ebuild 2 Jan 2011 15:31:35 -0000 1.2
104 @@ -1,6 +1,6 @@
105 -# Copyright 1999-2010 Gentoo Foundation
106 +# Copyright 1999-2011 Gentoo Foundation
107 # Distributed under the terms of the GNU General Public License v2
108 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-10.0.612.1-r1.ebuild,v 1.1 2010/12/22 11:51:41 phajdan.jr Exp $
109 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-10.0.612.1-r1.ebuild,v 1.2 2011/01/02 15:31:35 phajdan.jr Exp $
110
111 EAPI="3"
112 PYTHON_DEPEND="2:2.6"
113 @@ -287,10 +287,20 @@
114 }
115
116 src_test() {
117 + # For more info see bug #350349.
118 + local mylocale='en_US.utf8'
119 + if ! locale -a | grep -q "$mylocale"; then
120 + eerror "${PN} requires ${mylocale} locale for tests"
121 + eerror "Please read the following guides for more information:"
122 + eerror " http://www.gentoo.org/doc/en/guide-localization.xml"
123 + eerror " http://www.gentoo.org/doc/en/utf-8.xml"
124 + die "locale ${mylocale} is not supported"
125 + fi
126 +
127 # Make test failures non-fatal for now. This needs more investigation.
128 - maketype=out/Release/base_unittests virtualmake \
129 + LC_ALL="${mylocale}" maketype=out/Release/base_unittests virtualmake \
130 || eerror "base_unittests failed"
131 - maketype=out/Release/net_unittests virtualmake \
132 + LC_ALL="${mylocale}" maketype=out/Release/net_unittests virtualmake \
133 || eerror "net_unittests failed"
134 }