Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-proto/xcb-proto: xcb-proto-1.10.ebuild xcb-proto-1.8-r3.ebuild xcb-proto-1.9-r1.ebuild ChangeLog
Date: Fri, 23 May 2014 22:43:21
Message-Id: 20140523224317.5EFF42004C@flycatcher.gentoo.org
1 mgorny 14/05/23 22:43:17
2
3 Modified: xcb-proto-1.10.ebuild xcb-proto-1.8-r3.ebuild
4 xcb-proto-1.9-r1.ebuild ChangeLog
5 Log:
6 Fix inlining multilib BUILD_DIR logic, use sub-phase functions instead. Fixes bug #511142.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.11 x11-proto/xcb-proto/xcb-proto-1.10.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.10.ebuild?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.10.ebuild?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.10.ebuild?r1=1.10&r2=1.11
16
17 Index: xcb-proto-1.10.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.10.ebuild,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- xcb-proto-1.10.ebuild 19 Apr 2014 17:48:02 -0000 1.10
24 +++ xcb-proto-1.10.ebuild 23 May 2014 22:43:17 -0000 1.11
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2014 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.10.ebuild,v 1.10 2014/04/19 17:48:02 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.10.ebuild,v 1.11 2014/05/23 22:43:17 mgorny Exp $
30
31 EAPI=5
32
33 @@ -27,24 +27,38 @@
34 src_configure() {
35 python_export_best
36 xorg-2_src_configure
37 - #Note: multilib is not supported with python, therefore use only one ABI
38 - python_parallel_foreach_impl autotools-utils_src_configure
39 }
40
41 -src_compile() {
42 - xorg-2_src_compile
43 +multilib_src_configure() {
44 + autotools-utils_src_configure
45
46 - python_foreach_impl autotools-utils_src_compile -C xcbgen \
47 - top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
48 + if multilib_is_native_abi; then
49 + python_parallel_foreach_impl autotools-utils_src_configure
50 + fi
51 +}
52 +
53 +multilib_src_compile() {
54 + default
55 +
56 + if multilib_is_native_abi; then
57 + python_foreach_impl autotools-utils_src_compile -C xcbgen \
58 + top_builddir="${BUILD_DIR}"
59 + fi
60 }
61
62 src_install() {
63 xorg-2_src_install
64
65 - python_foreach_impl autotools-utils_src_install -C xcbgen \
66 - top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
67 -
68 # pkg-config file hardcodes python sitedir, bug 486512
69 sed -i -e '/pythondir/s:=.*$:=/dev/null:' \
70 "${ED}"/usr/lib*/pkgconfig/xcb-proto.pc || die
71 }
72 +
73 +multilib_src_install() {
74 + default
75 +
76 + if multilib_is_native_abi; then
77 + python_foreach_impl autotools-utils_src_install -C xcbgen \
78 + top_builddir="${BUILD_DIR}"
79 + fi
80 +}
81
82
83
84 1.15 x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild?rev=1.15&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild?rev=1.15&content-type=text/plain
88 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild?r1=1.14&r2=1.15
89
90 Index: xcb-proto-1.8-r3.ebuild
91 ===================================================================
92 RCS file: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild,v
93 retrieving revision 1.14
94 retrieving revision 1.15
95 diff -u -r1.14 -r1.15
96 --- xcb-proto-1.8-r3.ebuild 8 Oct 2013 05:09:51 -0000 1.14
97 +++ xcb-proto-1.8-r3.ebuild 23 May 2014 22:43:17 -0000 1.15
98 @@ -1,6 +1,6 @@
99 -# Copyright 1999-2013 Gentoo Foundation
100 +# Copyright 1999-2014 Gentoo Foundation
101 # Distributed under the terms of the GNU General Public License v2
102 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild,v 1.14 2013/10/08 05:09:51 ago Exp $
103 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.8-r3.ebuild,v 1.15 2014/05/23 22:43:17 mgorny Exp $
104
105 EAPI=5
106
107 @@ -23,23 +23,34 @@
108 dev-libs/libxml2"
109
110 src_configure() {
111 + python_export_best
112 xorg-2_src_configure
113 - #Note: multilib is not supported with python, therefore use only one ABI
114 - python_foreach_impl autotools-utils_src_configure
115 }
116
117 -src_compile() {
118 - xorg-2_src_compile
119 +multilib_src_configure() {
120 + autotools-utils_src_configure
121
122 - python_foreach_impl autotools-utils_src_compile -C xcbgen \
123 - top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
124 + if multilib_is_native_abi; then
125 + python_parallel_foreach_impl autotools-utils_src_configure
126 + fi
127 }
128
129 -src_install() {
130 - xorg-2_src_install
131 +multilib_src_compile() {
132 + default
133
134 - python_foreach_impl autotools-utils_src_install -C xcbgen \
135 - top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
136 + if multilib_is_native_abi; then
137 + python_foreach_impl autotools-utils_src_compile -C xcbgen \
138 + top_builddir="${BUILD_DIR}"
139 + fi
140 +}
141 +
142 +multilib_src_install() {
143 + default
144 +
145 + if multilib_is_native_abi; then
146 + python_foreach_impl autotools-utils_src_install -C xcbgen \
147 + top_builddir="${BUILD_DIR}"
148 + fi
149 }
150
151 pkg_postinst() {
152
153
154
155 1.2 x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild
156
157 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild?rev=1.2&view=markup
158 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild?rev=1.2&content-type=text/plain
159 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild?r1=1.1&r2=1.2
160
161 Index: xcb-proto-1.9-r1.ebuild
162 ===================================================================
163 RCS file: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild,v
164 retrieving revision 1.1
165 retrieving revision 1.2
166 diff -u -r1.1 -r1.2
167 --- xcb-proto-1.9-r1.ebuild 12 Nov 2013 02:38:27 -0000 1.1
168 +++ xcb-proto-1.9-r1.ebuild 23 May 2014 22:43:17 -0000 1.2
169 @@ -1,6 +1,6 @@
170 -# Copyright 1999-2013 Gentoo Foundation
171 +# Copyright 1999-2014 Gentoo Foundation
172 # Distributed under the terms of the GNU General Public License v2
173 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild,v 1.1 2013/11/12 02:38:27 mattst88 Exp $
174 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/xcb-proto-1.9-r1.ebuild,v 1.2 2014/05/23 22:43:17 mgorny Exp $
175
176 EAPI=5
177
178 @@ -34,20 +34,30 @@
179 src_configure() {
180 python_export_best
181 xorg-2_src_configure
182 - #Note: multilib is not supported with python, therefore use only one ABI
183 - python_foreach_impl autotools-utils_src_configure
184 }
185
186 -src_compile() {
187 - xorg-2_src_compile
188 +multilib_src_configure() {
189 + autotools-utils_src_configure
190
191 - python_foreach_impl autotools-utils_src_compile -C xcbgen \
192 - top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
193 + if multilib_is_native_abi; then
194 + python_parallel_foreach_impl autotools-utils_src_configure
195 + fi
196 }
197
198 -src_install() {
199 - xorg-2_src_install
200 +multilib_src_compile() {
201 + default
202
203 - python_foreach_impl autotools-utils_src_install -C xcbgen \
204 - top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
205 + if multilib_is_native_abi; then
206 + python_foreach_impl autotools-utils_src_compile -C xcbgen \
207 + top_builddir="${BUILD_DIR}"
208 + fi
209 +}
210 +
211 +multilib_src_install() {
212 + default
213 +
214 + if multilib_is_native_abi; then
215 + python_foreach_impl autotools-utils_src_install -C xcbgen \
216 + top_builddir="${BUILD_DIR}"
217 + fi
218 }
219
220
221
222 1.138 x11-proto/xcb-proto/ChangeLog
223
224 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/ChangeLog?rev=1.138&view=markup
225 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/ChangeLog?rev=1.138&content-type=text/plain
226 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/xcb-proto/ChangeLog?r1=1.137&r2=1.138
227
228 Index: ChangeLog
229 ===================================================================
230 RCS file: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v
231 retrieving revision 1.137
232 retrieving revision 1.138
233 diff -u -r1.137 -r1.138
234 --- ChangeLog 19 Apr 2014 17:48:02 -0000 1.137
235 +++ ChangeLog 23 May 2014 22:43:17 -0000 1.138
236 @@ -1,6 +1,11 @@
237 # ChangeLog for x11-proto/xcb-proto
238 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
239 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.137 2014/04/19 17:48:02 ago Exp $
240 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/xcb-proto/ChangeLog,v 1.138 2014/05/23 22:43:17 mgorny Exp $
241 +
242 + 23 May 2014; Michał Górny <mgorny@g.o> xcb-proto-1.10.ebuild,
243 + xcb-proto-1.8-r3.ebuild, xcb-proto-1.9-r1.ebuild:
244 + Fix inlining multilib BUILD_DIR logic, use sub-phase functions instead. Fixes
245 + bug #511142.
246
247 19 Apr 2014; Agostino Sarubbo <ago@g.o> xcb-proto-1.10.ebuild:
248 Stable for sparc, wrt bug #500368