1 |
battousai 08/09/12 05:15:23 |
2 |
|
3 |
Modified: ChangeLog x11-drm-20070314.ebuild |
4 |
x11-drm-20080710.ebuild |
5 |
Log: |
6 |
20070314 patchball 0.4, 20080710 ebuild reworked a bit, patchball 0.2 |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc4 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.59 x11-base/x11-drm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/ChangeLog?rev=1.59&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/ChangeLog?rev=1.59&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/ChangeLog?r1=1.58&r2=1.59 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v |
19 |
retrieving revision 1.58 |
20 |
retrieving revision 1.59 |
21 |
diff -u -r1.58 -r1.59 |
22 |
--- ChangeLog 11 Jul 2008 05:29:05 -0000 1.58 |
23 |
+++ ChangeLog 12 Sep 2008 05:15:22 -0000 1.59 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-base/x11-drm |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.58 2008/07/11 05:29:05 battousai Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/ChangeLog,v 1.59 2008/09/12 05:15:22 battousai Exp $ |
29 |
+ |
30 |
+ 12 Sep 2008; Bryan D. Stine <battousai@g.o> |
31 |
+ x11-drm-20070314.ebuild, x11-drm-20080710.ebuild: |
32 |
+ Bump 20070314 to patchball 0.4, with FreeBSD fix. Bump masked 20080710 to |
33 |
+ patchball 0.2 with numerous fixes and an initial Changelog, removed |
34 |
+ modprobe.d, and better linux-mod functionality. |
35 |
|
36 |
11 Jul 2008; Bryan Stine <battousai@g.o> x11-drm-20070314.ebuild: |
37 |
20070314 patchball update for updated kernel compatibility. |
38 |
|
39 |
|
40 |
|
41 |
1.6 x11-base/x11-drm/x11-drm-20070314.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild?rev=1.6&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild?rev=1.6&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild?r1=1.5&r2=1.6 |
46 |
|
47 |
Index: x11-drm-20070314.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v |
50 |
retrieving revision 1.5 |
51 |
retrieving revision 1.6 |
52 |
diff -u -r1.5 -r1.6 |
53 |
--- x11-drm-20070314.ebuild 11 Jul 2008 05:29:05 -0000 1.5 |
54 |
+++ x11-drm-20070314.ebuild 12 Sep 2008 05:15:22 -0000 1.6 |
55 |
@@ -1,6 +1,6 @@ |
56 |
# Copyright 1999-2008 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.5 2008/07/11 05:29:05 battousai Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20070314.ebuild,v 1.6 2008/09/12 05:15:22 battousai Exp $ |
60 |
|
61 |
WANT_AUTOCONF="latest" |
62 |
WANT_AUTOMAKE="1.7" |
63 |
@@ -26,7 +26,7 @@ |
64 |
RESTRICT="strip" |
65 |
|
66 |
S="${WORKDIR}/drm" |
67 |
-PATCHVER="0.3" |
68 |
+PATCHVER="0.4" |
69 |
PATCHDIR="${WORKDIR}/patch" |
70 |
EXCLUDED="${WORKDIR}/excluded" |
71 |
|
72 |
|
73 |
|
74 |
|
75 |
1.2 x11-base/x11-drm/x11-drm-20080710.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild?rev=1.2&view=markup |
78 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild?rev=1.2&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild?r1=1.1&r2=1.2 |
80 |
|
81 |
Index: x11-drm-20080710.ebuild |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild,v |
84 |
retrieving revision 1.1 |
85 |
retrieving revision 1.2 |
86 |
diff -u -r1.1 -r1.2 |
87 |
--- x11-drm-20080710.ebuild 11 Jul 2008 04:57:43 -0000 1.1 |
88 |
+++ x11-drm-20080710.ebuild 12 Sep 2008 05:15:22 -0000 1.2 |
89 |
@@ -1,6 +1,6 @@ |
90 |
# Copyright 1999-2008 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild,v 1.1 2008/07/11 04:57:43 battousai Exp $ |
93 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/x11-drm/x11-drm-20080710.ebuild,v 1.2 2008/09/12 05:15:22 battousai Exp $ |
94 |
|
95 |
WANT_AUTOCONF="latest" |
96 |
WANT_AUTOMAKE="1.7" |
97 |
@@ -27,7 +27,7 @@ |
98 |
RESTRICT="strip" |
99 |
|
100 |
S="${WORKDIR}/drm" |
101 |
-PATCHVER="0.1" |
102 |
+PATCHVER="0.2" |
103 |
PATCHDIR="${WORKDIR}/patch" |
104 |
EXCLUDED="${WORKDIR}/excluded" |
105 |
|
106 |
@@ -49,12 +49,12 @@ |
107 |
# Setup the kernel's stuff. |
108 |
kernel_setup |
109 |
|
110 |
- # Set video cards to build for. |
111 |
- set_vidcards |
112 |
- |
113 |
# Determine which -core dir we build in. |
114 |
get_drm_build_dir |
115 |
|
116 |
+ # Set video cards to build for. |
117 |
+ set_vidcards |
118 |
+ |
119 |
return 0 |
120 |
} |
121 |
|
122 |
@@ -129,8 +129,6 @@ |
123 |
K_RV=${CHOST/*-freebsd/} |
124 |
elif use kernel_linux |
125 |
then |
126 |
- linux-mod_pkg_setup |
127 |
- |
128 |
if kernel_is 2 4 |
129 |
then |
130 |
eerror "Upstream support for 2.4 kernels has been removed, so this package will no" |
131 |
@@ -138,11 +136,12 @@ |
132 |
die "Please use in-kernel DRM or switch to a 2.6 kernel." |
133 |
fi |
134 |
|
135 |
- linux_chkconfig_builtin "DRM" && \ |
136 |
- die "Please disable or modularize DRM in the kernel config. (CONFIG_DRM = n or m)" |
137 |
+ CONFIG_CHECK="!DRM ~AGP" |
138 |
+ ERROR_DRM="Please disable DRM in the kernel config. (CONFIG_DRM = n)" |
139 |
+ ERROR_AGP="AGPGART support is not enabled in your kernel config (CONFIG_AGP). |
140 |
+ This will probably be essential for direct rendering." |
141 |
|
142 |
- CONFIG_CHECK="AGP" |
143 |
- ERROR_AGP="AGP support is not enabled in your kernel config (CONFIG_AGP)" |
144 |
+ linux-mod_pkg_setup |
145 |
fi |
146 |
} |
147 |
|
148 |
@@ -184,6 +183,19 @@ |
149 |
use video_cards_xgi && \ |
150 |
VIDCARDS="${VIDCARDS} xgi.${KV_OBJ}" |
151 |
fi |
152 |
+ |
153 |
+ MODULE_NAMES="" |
154 |
+ if use kernel_linux |
155 |
+ then |
156 |
+ LIBDIR="x11-drm" |
157 |
+ for VIDCARD in ${VIDCARDS} |
158 |
+ do |
159 |
+ MODULE_NAMES="${MODULE_NAMES} ${VIDCARD/\.${KV_OBJ}/(${LIBDIR}:${SRC_BUILD})}" |
160 |
+ done |
161 |
+ MODULE_NAMES="${MODULE_NAMES} drm(${LIBDIR}:${SRC_BUILD})" |
162 |
+ BUILD_PARAMS="LINUXDIR=\"${KERNEL_DIR}\" DRM_MODULES=\"${VIDCARDS}\"" |
163 |
+ BUILD_TARGETS="modules" |
164 |
+ fi |
165 |
} |
166 |
|
167 |
get_drm_build_dir() { |
168 |
@@ -250,17 +262,7 @@ |
169 |
|
170 |
src_compile_linux() { |
171 |
# This now uses an M= build system. Makefile does most of the work. |
172 |
- cd "${SRC_BUILD}" |
173 |
- unset ARCH |
174 |
- emake M="${SRC_BUILD}" \ |
175 |
- LINUXDIR="${KERNEL_DIR}" \ |
176 |
- DRM_MODULES="${VIDCARDS}" \ |
177 |
- modules || die_error |
178 |
- |
179 |
- if linux_chkconfig_present DRM |
180 |
- then |
181 |
- echo "Please disable in-kernel DRM support to use this package." |
182 |
- fi |
183 |
+ linux-mod_src_compile |
184 |
|
185 |
# LINUXDIR is needed to allow Makefiles to find kernel release. |
186 |
cd "${SRC_BUILD}" |
187 |
@@ -300,15 +302,7 @@ |
188 |
|
189 |
src_install_linux() { |
190 |
cd "${SRC_BUILD}" |
191 |
- unset ARCH |
192 |
- kernel_is 2 6 && DRM_KMOD="drm.${KV_OBJ}" |
193 |
- emake KV="${KV_FULL}" \ |
194 |
- LINUXDIR="${KERNEL_DIR}" \ |
195 |
- DESTDIR="${D}" \ |
196 |
- RUNNING_REL="${KV_FULL}" \ |
197 |
- MODULE_LIST="${VIDCARDS} ${DRM_KMOD}" \ |
198 |
- O="${KBUILD_OUTPUT}" \ |
199 |
- install || die "Install failed." |
200 |
+ linux-mod_src_install |
201 |
|
202 |
# Strip binaries, leaving /lib/modules untouched (bug #24415) |
203 |
strip_bins \/lib\/modules |