Gentoo Archives: gentoo-commits

From: "Bryan Stine (battousai)" <battousai@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-base/x11-drm: x11-drm-20060608-r1.ebuild x11-drm-20071019.ebuild ChangeLog x11-drm-20060608.ebuild x11-drm-20070314.ebuild x11-drm-20080710.ebuild
Date: Sat, 13 Sep 2008 01:12:17
Message-Id: E1KeJgM-0006Jx-NE@stork.gentoo.org
1 battousai 08/09/13 01:12:14
2
3 Modified: x11-drm-20060608-r1.ebuild x11-drm-20071019.ebuild
4 ChangeLog x11-drm-20060608.ebuild
5 x11-drm-20070314.ebuild x11-drm-20080710.ebuild
6 Log:
7 20060608(-r1) patchball 0.4. Remove modules.d for all ebuilds. Fixes: #165553, #204985, #214035, #218419.
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc6 x86_64)
9
10 Revision Changes Path
11 1.9 x11-base/x11-drm/x11-drm-20060608-r1.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild?r1=1.8&r2=1.9
16
17 Index: x11-drm-20060608-r1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- x11-drm-20060608-r1.ebuild 11 Jul 2008 02:51:08 -0000 1.8
24 +++ x11-drm-20060608-r1.ebuild 13 Sep 2008 01:12:14 -0000 1.9
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.8 2008/07/11 02:51:08 battousai Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608-r1.ebuild,v 1.9 2008/09/13 01:12:14 battousai Exp $
30
31 WANT_AUTOCONF="latest"
32 WANT_AUTOMAKE="1.7"
33 @@ -26,7 +26,7 @@
34 RESTRICT="strip"
35
36 S="${WORKDIR}/drm"
37 -PATCHVER="0.3"
38 +PATCHVER="0.4"
39 PATCHDIR="${WORKDIR}/patch"
40 EXCLUDED="${WORKDIR}/excluded"
41
42 @@ -129,20 +129,22 @@
43 K_RV=${CHOST/*-freebsd/}
44 elif use kernel_linux
45 then
46 - linux-mod_pkg_setup
47 -
48 if kernel_is 2 6
49 then
50 - linux_chkconfig_builtin "DRM" && \
51 - die "Please disable or modularize DRM in the kernel config. (CONFIG_DRM = n or m)"
52 -
53 - CONFIG_CHECK="AGP"
54 + CONFIG_CHECK="!DRM AGP"
55 + ERROR_DRM="Please disable the Direct Rendering Manager in the kernel config. (CONFIG_DRM)"
56 ERROR_AGP="AGP support is not enabled in your kernel config (CONFIG_AGP)"
57 +
58 + kernel_is ge 2 6 25 && \
59 + CONFIG_CHECK="${CONFIG_CHECK} ~UNUSED_SYMBOLS" \
60 + ERROR_UNUSED_SYMBOLS="Please enable unused/obsolete exported symbols in your kernel config (CONFIG_UNUSED_SYMBOLS). These modules will not load otherwise."
61 elif kernel_is 2 4
62 then
63 CONFIG_CHECK="DRM"
64 ERROR_DRM="Please enable DRM support in your kernel configuration. (CONFIG_DRM = y or m)."
65 fi
66 +
67 + linux-mod_pkg_setup
68 fi
69 }
70
71 @@ -315,11 +317,6 @@
72
73 # Strip binaries, leaving /lib/modules untouched (bug #24415)
74 strip_bins \/lib\/modules
75 -
76 - # Yoinked from the sys-apps/touchpad ebuild. Thanks to whoever made this.
77 - keepdir /etc/modules.d
78 - sed 's:%PN%:'${PN}':g' "${FILESDIR}"/modules.d-${PN} > "${D}"/etc/modules.d/${PN}
79 - sed -i 's:%KV%:'${KV_FULL}':g' "${D}"/etc/modules.d/${PN}
80 }
81
82 src_install_freebsd() {
83 @@ -338,5 +335,14 @@
84 if use kernel_linux
85 then
86 linux-mod_pkg_postinst
87 +
88 + elog "Having in-kernel DRM modules installed can prevent x11-drm modules from being"
89 + elog "loaded. It can also lead to unknown symbols in x11-drm modules, which would"
90 + elog "be seen during the installation. If you experience any of those problems,"
91 + elog "please ensure that the in-kernel DRM modules are not installed."
92 + elog "This can be done with the following:"
93 + elog " cd ${KERNEL_DIR}"
94 + elog " make modules modules_install"
95 + elog "This should allow the x11-drm modules to load and function normally."
96 fi
97 }
98
99
100
101 1.3 x11-base/x11-drm/x11-drm-20071019.ebuild
102
103 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild?rev=1.3&view=markup
104 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild?rev=1.3&content-type=text/plain
105 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild?r1=1.2&r2=1.3
106
107 Index: x11-drm-20071019.ebuild
108 ===================================================================
109 RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild,v
110 retrieving revision 1.2
111 retrieving revision 1.3
112 diff -u -r1.2 -r1.3
113 --- x11-drm-20071019.ebuild 11 Jul 2008 02:51:08 -0000 1.2
114 +++ x11-drm-20071019.ebuild 13 Sep 2008 01:12:14 -0000 1.3
115 @@ -1,6 +1,6 @@
116 # Copyright 1999-2008 Gentoo Foundation
117 # Distributed under the terms of the GNU General Public License v2
118 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild,v 1.2 2008/07/11 02:51:08 battousai Exp $
119 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20071019.ebuild,v 1.3 2008/09/13 01:12:14 battousai Exp $
120
121 WANT_AUTOCONF="latest"
122 WANT_AUTOMAKE="1.7"
123 @@ -128,8 +128,6 @@
124 K_RV=${CHOST/*-freebsd/}
125 elif use kernel_linux
126 then
127 - linux-mod_pkg_setup
128 -
129 if kernel_is 2 4
130 then
131 eerror "Upstream support for 2.4 kernels has been removed, so this package will no"
132 @@ -137,11 +135,11 @@
133 die "Please use in-kernel DRM or switch to a 2.6 kernel."
134 fi
135
136 - linux_chkconfig_builtin "DRM" && \
137 - die "Please disable or modularize DRM in the kernel config. (CONFIG_DRM = n or m)"
138 -
139 - CONFIG_CHECK="AGP"
140 + CONFIG_CHECK="!DRM AGP"
141 + ERROR_DRM="Please disable the Direct Rendering Manager in the kernel config. (CONFIG_DRM)"
142 ERROR_AGP="AGP support is not enabled in your kernel config (CONFIG_AGP)"
143 +
144 + linux-mod_pkg_setup
145 fi
146 }
147
148 @@ -309,11 +307,6 @@
149
150 # Strip binaries, leaving /lib/modules untouched (bug #24415)
151 strip_bins \/lib\/modules
152 -
153 - # Yoinked from the sys-apps/touchpad ebuild. Thanks to whoever made this.
154 - keepdir /etc/modules.d
155 - sed 's:%PN%:'${PN}':g' "${FILESDIR}"/modules.d-${PN} > "${D}"/etc/modules.d/${PN}
156 - sed -i 's:%KV%:'${KV_FULL}':g' "${D}"/etc/modules.d/${PN}
157 }
158
159 src_install_freebsd() {
160 @@ -332,5 +325,14 @@
161 if use kernel_linux
162 then
163 linux-mod_pkg_postinst
164 +
165 + elog "Having in-kernel DRM modules installed can prevent x11-drm modules from being"
166 + elog "loaded. It can also lead to unknown symbols in x11-drm modules, which would"
167 + elog "be seen during the installation. If you experience any of those problems,"
168 + elog "please ensure that the in-kernel DRM modules are not installed."
169 + elog "This can be done with the following:"
170 + elog " cd ${KERNEL_DIR}"
171 + elog " make modules modules_install"
172 + elog "This should allow the x11-drm modules to load and function normally."
173 fi
174 }
175
176
177
178 1.61 x11-base/x11-drm/ChangeLog
179
180 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/ChangeLog?rev=1.61&view=markup
181 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/ChangeLog?rev=1.61&content-type=text/plain
182 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/ChangeLog?r1=1.60&r2=1.61
183
184 Index: ChangeLog
185 ===================================================================
186 RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v
187 retrieving revision 1.60
188 retrieving revision 1.61
189 diff -u -r1.60 -r1.61
190 --- ChangeLog 12 Sep 2008 21:30:21 -0000 1.60
191 +++ ChangeLog 13 Sep 2008 01:12:14 -0000 1.61
192 @@ -1,6 +1,13 @@
193 # ChangeLog for x11-base/x11-drm
194 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
195 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.60 2008/09/12 21:30:21 battousai Exp $
196 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.61 2008/09/13 01:12:14 battousai Exp $
197 +
198 + 13 Sep 2008; Bryan D. Stine <battousai@g.o>
199 + -files/modules.d-x11-drm, x11-drm-20060608.ebuild,
200 + x11-drm-20060608-r1.ebuild, x11-drm-20070314.ebuild,
201 + x11-drm-20071019.ebuild, x11-drm-20080710.ebuild:
202 + Bump 20060608 and -r1 to 0.4 patchball, fixing bugs #165553, #218419. Pull
203 + modules.d file from all ebuilds, fixing bug #214035.
204
205 12 Sep 2008; Bryan D. Stine <battousai@g.o>
206 x11-drm-20070314.ebuild, x11-drm-20080710.ebuild:
207
208
209
210 1.14 x11-base/x11-drm/x11-drm-20060608.ebuild
211
212 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20060608.ebuild?rev=1.14&view=markup
213 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20060608.ebuild?rev=1.14&content-type=text/plain
214 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20060608.ebuild?r1=1.13&r2=1.14
215
216 Index: x11-drm-20060608.ebuild
217 ===================================================================
218 RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608.ebuild,v
219 retrieving revision 1.13
220 retrieving revision 1.14
221 diff -u -r1.13 -r1.14
222 --- x11-drm-20060608.ebuild 9 Oct 2007 07:36:00 -0000 1.13
223 +++ x11-drm-20060608.ebuild 13 Sep 2008 01:12:14 -0000 1.14
224 @@ -1,6 +1,6 @@
225 -# Copyright 1999-2007 Gentoo Foundation
226 +# Copyright 1999-2008 Gentoo Foundation
227 # Distributed under the terms of the GNU General Public License v2
228 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608.ebuild,v 1.13 2007/10/09 07:36:00 dberkholz Exp $
229 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20060608.ebuild,v 1.14 2008/09/13 01:12:14 battousai Exp $
230
231 WANT_AUTOCONF="latest"
232 WANT_AUTOMAKE="1.7"
233 @@ -26,7 +26,7 @@
234 RESTRICT="strip"
235
236 S="${WORKDIR}/drm"
237 -PATCHVER="0.3"
238 +PATCHVER="0.4"
239 PATCHDIR="${WORKDIR}/patch"
240 EXCLUDED="${WORKDIR}/excluded"
241
242 @@ -43,19 +43,21 @@
243 RDEPEND=""
244
245 pkg_setup() {
246 - linux-mod_pkg_setup
247 -
248 if kernel_is 2 6 ; then
249 - linux_chkconfig_builtin "DRM" && \
250 - die "Please disable or modularize DRM in the kernel config. (CONFIG_DRM = n or m)"
251 - CONFIG_CHECK="AGP"
252 + CONFIG_CHECK="!DRM AGP"
253 + ERROR_DRM="Please disable the Direct Rendering Manager in the kernel config. (CONFIG_DRM)"
254 ERROR_AGP="AGP support is not enabled in your kernel config (CONFIG_AGP)"
255
256 + kernel_is ge 2 6 25 && \
257 + CONFIG_CHECK="${CONFIG_CHECK} ~UNUSED_SYMBOLS" \
258 + ERROR_UNUSED_SYMBOLS="Please enable unused/obsolete exported symbols in your kernel config (CONFIG_UNUSED_SYMBOLS). These modules will not load otherwise."
259 elif kernel_is 2 4 ; then
260 CONFIG_CHECK="DRM"
261 ERROR_DRM="Please enable DRM support in your kernel configuration. (CONFIG_DRM = y or m)."
262 fi
263
264 + linux-mod_pkg_setup
265 +
266 # Set video cards to build for.
267 set_vidcards
268
269 @@ -137,11 +139,6 @@
270
271 # Strip binaries, leaving /lib/modules untouched (bug #24415)
272 strip_bins \/lib\/modules
273 -
274 - # Yoinked from the sys-apps/touchpad ebuild. Thanks to whoever made this.
275 - keepdir /etc/modules.d
276 - sed 's:%PN%:'${PN}':g' "${FILESDIR}"/modules.d-${PN} > "${D}"/etc/modules.d/${PN}
277 - sed -i 's:%KV%:'${KV_FULL}':g' "${D}"/etc/modules.d/${PN}
278 }
279
280 pkg_postinst() {
281 @@ -160,6 +157,15 @@
282 fi
283
284 linux-mod_pkg_postinst
285 +
286 + elog "Having in-kernel DRM modules installed can prevent x11-drm modules from being"
287 + elog "loaded. It can also lead to unknown symbols in x11-drm modules, which would"
288 + elog "be seen during the installation. If you experience any of those problems,"
289 + elog "please ensure that the in-kernel DRM modules are not installed."
290 + elog "This can be done with the following:"
291 + elog " cd ${KERNEL_DIR}"
292 + elog " make modules modules_install"
293 + elog "This should allow the x11-drm modules to load and function normally."
294 }
295
296 # Functions used above are defined below:
297
298
299
300 1.8 x11-base/x11-drm/x11-drm-20070314.ebuild
301
302 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild?rev=1.8&view=markup
303 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild?rev=1.8&content-type=text/plain
304 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild?r1=1.7&r2=1.8
305
306 Index: x11-drm-20070314.ebuild
307 ===================================================================
308 RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v
309 retrieving revision 1.7
310 retrieving revision 1.8
311 diff -u -r1.7 -r1.8
312 --- x11-drm-20070314.ebuild 12 Sep 2008 21:30:21 -0000 1.7
313 +++ x11-drm-20070314.ebuild 13 Sep 2008 01:12:14 -0000 1.8
314 @@ -1,6 +1,6 @@
315 # Copyright 1999-2008 Gentoo Foundation
316 # Distributed under the terms of the GNU General Public License v2
317 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.7 2008/09/12 21:30:21 battousai Exp $
318 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.8 2008/09/13 01:12:14 battousai Exp $
319
320 WANT_AUTOCONF="latest"
321 WANT_AUTOMAKE="1.7"
322 @@ -128,8 +128,6 @@
323 K_RV=${CHOST/*-freebsd/}
324 elif use kernel_linux
325 then
326 - linux-mod_pkg_setup
327 -
328 if kernel_is 2 4
329 then
330 eerror "Upstream support for 2.4 kernels has been removed, so this package will no"
331 @@ -137,11 +135,11 @@
332 die "Please use in-kernel DRM or switch to a 2.6 kernel."
333 fi
334
335 - linux_chkconfig_builtin "DRM" && \
336 - die "Please disable or modularize DRM in the kernel config. (CONFIG_DRM = n or m)"
337 -
338 - CONFIG_CHECK="AGP"
339 + CONFIG_CHECK="!DRM AGP"
340 + ERROR_DRM="Please disable the Direct Rendering Manager in the kernel config. (CONFIG_DRM)"
341 ERROR_AGP="AGP support is not enabled in your kernel config (CONFIG_AGP)"
342 +
343 + linux-mod_pkg_setup
344 fi
345 }
346
347 @@ -309,11 +307,6 @@
348
349 # Strip binaries, leaving /lib/modules untouched (bug #24415)
350 strip_bins \/lib\/modules
351 -
352 - # Yoinked from the sys-apps/touchpad ebuild. Thanks to whoever made this.
353 - keepdir /etc/modules.d
354 - sed 's:%PN%:'${PN}':g' "${FILESDIR}"/modules.d-${PN} > "${D}"/etc/modules.d/${PN}
355 - sed -i 's:%KV%:'${KV_FULL}':g' "${D}"/etc/modules.d/${PN}
356 }
357
358 src_install_freebsd() {
359 @@ -332,5 +325,14 @@
360 if use kernel_linux
361 then
362 linux-mod_pkg_postinst
363 +
364 + elog "Having in-kernel DRM modules installed can prevent x11-drm modules from being"
365 + elog "loaded. It can also lead to unknown symbols in x11-drm modules, which would"
366 + elog "be seen during the installation. If you experience any of those problems,"
367 + elog "please ensure that the in-kernel DRM modules are not installed."
368 + elog "This can be done with the following:"
369 + elog " cd ${KERNEL_DIR}"
370 + elog " make modules modules_install"
371 + elog "This should allow the x11-drm modules to load and function normally."
372 fi
373 }
374
375
376
377 1.4 x11-base/x11-drm/x11-drm-20080710.ebuild
378
379 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild?rev=1.4&view=markup
380 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild?rev=1.4&content-type=text/plain
381 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild?r1=1.3&r2=1.4
382
383 Index: x11-drm-20080710.ebuild
384 ===================================================================
385 RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild,v
386 retrieving revision 1.3
387 retrieving revision 1.4
388 diff -u -r1.3 -r1.4
389 --- x11-drm-20080710.ebuild 12 Sep 2008 21:30:21 -0000 1.3
390 +++ x11-drm-20080710.ebuild 13 Sep 2008 01:12:14 -0000 1.4
391 @@ -1,6 +1,6 @@
392 # Copyright 1999-2008 Gentoo Foundation
393 # Distributed under the terms of the GNU General Public License v2
394 -# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild,v 1.3 2008/09/12 21:30:21 battousai Exp $
395 +# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild,v 1.4 2008/09/13 01:12:14 battousai Exp $
396
397 WANT_AUTOCONF="latest"
398 WANT_AUTOMAKE="1.7"
399 @@ -136,10 +136,9 @@
400 die "Please use in-kernel DRM or switch to a 2.6 kernel."
401 fi
402
403 - CONFIG_CHECK="!DRM ~AGP"
404 + CONFIG_CHECK="!DRM AGP"
405 ERROR_DRM="Please disable DRM in the kernel config. (CONFIG_DRM = n)"
406 - ERROR_AGP="AGPGART support is not enabled in your kernel config (CONFIG_AGP).
407 - This will probably be essential for direct rendering."
408 + ERROR_AGP="AGPGART support is not enabled in your kernel config (CONFIG_AGP)."
409
410 linux-mod_pkg_setup
411 fi