1 |
dberkholz 08/05/08 08:20:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xorg-server-1.4.0.90-r4.ebuild |
5 |
Log: |
6 |
Add an unkeyworded new revision with tons of fixes from upstream's 1.4 branch. More patches may be coming soon, and rekeywording is pending on that. I expect this to be a candidate for stable. |
7 |
(Portage version: 2.1.5_rc7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.325 x11-base/xorg-server/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.325&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.325&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/ChangeLog?r1=1.324&r2=1.325 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v |
19 |
retrieving revision 1.324 |
20 |
retrieving revision 1.325 |
21 |
diff -u -r1.324 -r1.325 |
22 |
--- ChangeLog 7 May 2008 03:30:44 -0000 1.324 |
23 |
+++ ChangeLog 8 May 2008 08:20:32 -0000 1.325 |
24 |
@@ -1,6 +1,77 @@ |
25 |
# ChangeLog for x11-base/xorg-server |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.324 2008/05/07 03:30:44 dberkholz Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.325 2008/05/08 08:20:32 dberkholz Exp $ |
29 |
+ |
30 |
+*xorg-server-1.4.0.90-r4 (08 May 2008) |
31 |
+ |
32 |
+ 08 May 2008; Donnie Berkholz <dberkholz@g.o>; |
33 |
+ +files/1.4.0.90/0004-Config-D-Bus-Don-t-leak-timers.patch, |
34 |
+ +files/1.4.0.90/0006-OS-Don-t-leak-connection-translation-table-on-regen.p |
35 |
+ atch, +files/1.4.0.90/0012-Xephyr-One-time-keyboard-leak-fix.patch, |
36 |
+ +files/1.4.0.90/0002-bgPixel-unsigned-long-is-64-bit-on-x86_64-so-1.patch, |
37 |
+ +files/1.4.0.90/0013-Fix-for-CVE-2007-5760-XFree86-Misc-extension-out-o.pa |
38 |
+ tch, |
39 |
+ +files/1.4.0.90/0005-Config-HAL-Don-t-leak-options-on-failure-to-add-de.pa |
40 |
+ tch, |
41 |
+ +files/1.4.0.90/0018-Fix-for-CVE-2007-5958-File-existence-disclosure.patch |
42 |
+ , |
43 |
+ +files/1.4.0.90/0007-KDrive-Xephyr-Don-t-leak-screen-damage-structure.patc |
44 |
+ h, |
45 |
+ +files/1.4.0.90/0015-Fix-for-CVE-2007-6427-Xinput-extension-memory-corr.pa |
46 |
+ tch, |
47 |
+ +files/1.4.0.90/0001-Bug-13308-Verify-and-reject-obviously-broken-modes.pa |
48 |
+ tch, +files/1.4.0.90/0003-Xprint-Clean-up-generated-files.patch, |
49 |
+ +files/1.4.0.90/0008-Input-Don-t-reinit-devices.patch, |
50 |
+ +files/1.4.0.90/0009-include-never-overwrite-realInputProc-with-enqueueI.p |
51 |
+ atch, +files/1.4.0.90/0010-OS-IO-Zero-out-client-buffers.patch, |
52 |
+ +files/1.4.0.90/0011-XKB-XkbCopyKeymap-Don-t-leak-all-the-sections.patch, |
53 |
+ +files/1.4.0.90/0042-dix-Move-motion-history-update-until-after-screen-c.p |
54 |
+ atch, |
55 |
+ +files/1.4.0.90/0014-Fix-for-CVE-2007-6428-TOG-cup-extension-memory-cor.pa |
56 |
+ tch, |
57 |
+ +files/1.4.0.90/0019-CVE-2007-6429-Don-t-spuriously-reject-8bpp-shm-pix.pa |
58 |
+ tch, |
59 |
+ +files/1.4.0.90/0016-Fix-for-CVE-2007-6429-MIT-SHM-and-EVI-extensions-i.pa |
60 |
+ tch, +files/1.4.0.90/0043-XKB-Actually-explain-keymap-failures.patch, |
61 |
+ +files/1.4.0.90/0017-Fix-for-CVE-2008-0006-PCF-Font-parser-buffer-overf.pa |
62 |
+ tch, |
63 |
+ +files/1.4.0.90/0040-Bug-10324-dix-Add-scaling-of-X-and-Y-on-the-repo.patc |
64 |
+ h, |
65 |
+ +files/1.4.0.90/0020-dix-set-the-correct-number-of-valuators-in-valuator.p |
66 |
+ atch, |
67 |
+ +files/1.4.0.90/0041-dix-Skip-call-to-clipAxis-for-relative-core-events.pa |
68 |
+ tch, |
69 |
+ +files/1.4.0.90/0021-xkb-don-t-update-LEDs-if-they-don-t-exist.-Bug-13.pat |
70 |
+ ch, |
71 |
+ +files/1.4.0.90/0022-security-Fix-for-Bug-14480-untrusted-access-broke.pat |
72 |
+ ch, |
73 |
+ +files/1.4.0.90/0023-Resize-composite-overlay-window-when-the-root-window. |
74 |
+ patch, |
75 |
+ +files/1.4.0.90/0024-Fix-rotation-for-multi-monitor-situation.patch, |
76 |
+ +files/1.4.0.90/0025-Don-t-break-grab-and-focus-state-for-a-window-when-r. |
77 |
+ patch, |
78 |
+ +files/1.4.0.90/0026-CVE-2007-6429-Always-test-for-size-offset-wrapping.pa |
79 |
+ tch, |
80 |
+ +files/1.4.0.90/0027-Fix-context-sharing-between-direct-indirect-contexts. |
81 |
+ patch, |
82 |
+ +files/1.4.0.90/0028-Add-some-more-support-for-DragonFly.-From-Joerg-Sonn. |
83 |
+ patch, +files/1.4.0.90/0029-configure.ac-DragonFly-BSD-support.patch, |
84 |
+ +files/1.4.0.90/0030-Fixed-configure.ac-for-autoconf-2.62.patch, |
85 |
+ +files/1.4.0.90/0031-EXA-Fix-off-by-one-in-polyline-drawing.patch, |
86 |
+ +files/1.4.0.90/0032-XKB-Fix-processInputProc-wrapping.patch, |
87 |
+ +files/1.4.0.90/0033-xfree86-fix-AlwaysCore-handling.-Bug-14256.patch, |
88 |
+ +files/1.4.0.90/0034-Ignore-not-just-block-SIGALRM-around-Popen-Pcl.patch, |
89 |
+ +files/1.4.0.90/0035-Fix-build-on-FreeBSD-after-Popen-changes.patch, |
90 |
+ +files/1.4.0.90/0036-So-like-checking-return-codes-of-system-calls-sig.pat |
91 |
+ ch, |
92 |
+ +files/1.4.0.90/0037-Check-for-sys-sdt.h-as-well-when-determining-to-en.pa |
93 |
+ tch, |
94 |
+ +files/1.4.0.90/0038-dix-Always-add-valuator-information-if-present.patch, |
95 |
+ +files/1.4.0.90/0039-Bug-10324-dix-Allow-arbitrary-value-ranges-in-Ge.patc |
96 |
+ h, +xorg-server-1.4.0.90-r4.ebuild: |
97 |
+ Add an unkeyworded new revision with tons of fixes from upstream's 1.4 |
98 |
+ branch. More patches may be coming soon, and rekeywording is pending on |
99 |
+ that. I expect this to be a candidate for stable. |
100 |
|
101 |
07 May 2008; Donnie Berkholz <dberkholz@g.o>; |
102 |
xorg-server-1.3.0.0-r5.ebuild, xorg-server-1.4.0.90-r3.ebuild: |
103 |
|
104 |
|
105 |
|
106 |
1.1 x11-base/xorg-server/xorg-server-1.4.0.90-r4.ebuild |
107 |
|
108 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/xorg-server-1.4.0.90-r4.ebuild?rev=1.1&view=markup |
109 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/xorg-server-1.4.0.90-r4.ebuild?rev=1.1&content-type=text/plain |
110 |
|
111 |
Index: xorg-server-1.4.0.90-r4.ebuild |
112 |
=================================================================== |
113 |
# Copyright 1999-2008 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.4.0.90-r4.ebuild,v 1.1 2008/05/08 08:20:32 dberkholz Exp $ |
116 |
|
117 |
# Must be before x-modular eclass is inherited |
118 |
#SNAPSHOT="yes" |
119 |
|
120 |
inherit x-modular multilib |
121 |
|
122 |
OPENGL_DIR="xorg-x11" |
123 |
|
124 |
MESA_PN="Mesa" |
125 |
MESA_PV="7.0.2" |
126 |
MESA_P="${MESA_PN}-${MESA_PV}" |
127 |
MESA_SRC_P="${MESA_PN}Lib-${MESA_PV}" |
128 |
|
129 |
SRC_URI="${SRC_URI} |
130 |
mirror://sourceforge/mesa3d/${MESA_SRC_P}.tar.bz2 |
131 |
http://xorg.freedesktop.org/releases/individual/xserver/${P}.tar.bz2" |
132 |
DESCRIPTION="X.Org X servers" |
133 |
KEYWORDS="" |
134 |
IUSE_INPUT_DEVICES=" |
135 |
input_devices_acecad |
136 |
input_devices_aiptek |
137 |
input_devices_calcomp |
138 |
input_devices_citron |
139 |
input_devices_digitaledge |
140 |
input_devices_dmc |
141 |
input_devices_dynapro |
142 |
input_devices_elo2300 |
143 |
input_devices_elographics |
144 |
input_devices_evdev |
145 |
input_devices_fpit |
146 |
input_devices_hyperpen |
147 |
input_devices_jamstudio |
148 |
input_devices_joystick |
149 |
input_devices_keyboard |
150 |
input_devices_magellan |
151 |
input_devices_microtouch |
152 |
input_devices_mouse |
153 |
input_devices_mutouch |
154 |
input_devices_palmax |
155 |
input_devices_penmount |
156 |
input_devices_spaceorb |
157 |
input_devices_summa |
158 |
input_devices_tek4957 |
159 |
input_devices_ur98 |
160 |
input_devices_vmmouse |
161 |
input_devices_void |
162 |
|
163 |
input_devices_synaptics |
164 |
input_devices_wacom" |
165 |
IUSE_VIDEO_CARDS=" |
166 |
video_cards_amd |
167 |
video_cards_apm |
168 |
video_cards_ark |
169 |
video_cards_chips |
170 |
video_cards_cirrus |
171 |
video_cards_cyrix |
172 |
video_cards_dummy |
173 |
video_cards_epson |
174 |
video_cards_fbdev |
175 |
video_cards_glint |
176 |
video_cards_i128 |
177 |
video_cards_i740 |
178 |
video_cards_i810 |
179 |
video_cards_impact |
180 |
video_cards_imstt |
181 |
video_cards_mach64 |
182 |
video_cards_mga |
183 |
video_cards_neomagic |
184 |
video_cards_newport |
185 |
video_cards_nsc |
186 |
video_cards_nv |
187 |
video_cards_r128 |
188 |
video_cards_radeon |
189 |
video_cards_rendition |
190 |
video_cards_s3 |
191 |
video_cards_s3virge |
192 |
video_cards_savage |
193 |
video_cards_siliconmotion |
194 |
video_cards_sis |
195 |
video_cards_sisusb |
196 |
video_cards_sunbw2 |
197 |
video_cards_suncg14 |
198 |
video_cards_suncg3 |
199 |
video_cards_suncg6 |
200 |
video_cards_sunffb |
201 |
video_cards_sunleo |
202 |
video_cards_suntcx |
203 |
video_cards_tdfx |
204 |
video_cards_tga |
205 |
video_cards_trident |
206 |
video_cards_tseng |
207 |
video_cards_v4l |
208 |
video_cards_vermilion |
209 |
video_cards_vesa |
210 |
video_cards_vga |
211 |
video_cards_via |
212 |
video_cards_vmware |
213 |
video_cards_voodoo |
214 |
video_cards_xgi |
215 |
video_cards_fglrx |
216 |
video_cards_nvidia" |
217 |
IUSE_SERVERS="dmx kdrive xorg" |
218 |
IUSE="${IUSE_VIDEO_CARDS} |
219 |
${IUSE_INPUT_DEVICES} |
220 |
${IUSE_SERVERS} |
221 |
3dfx |
222 |
dri hal ipv6 minimal nptl sdl xprint" |
223 |
RDEPEND="hal? ( sys-apps/hal ) |
224 |
>=x11-libs/libXfont-1.3.1 |
225 |
>=x11-libs/xtrans-1.0.4 |
226 |
>=x11-libs/libXau-1.0.3 |
227 |
>=x11-libs/libXext-1.0.2 |
228 |
>=x11-libs/libX11-1.1.3 |
229 |
>=x11-libs/libxkbfile-1.0.4 |
230 |
>=x11-libs/libXdmcp-1.0.2 |
231 |
>=x11-libs/libXmu-1.0.3 |
232 |
>=x11-libs/libXrender-0.9.4 |
233 |
>=x11-libs/libXi-1.1.3 |
234 |
>=x11-libs/pixman-0.9.5 |
235 |
media-libs/freetype |
236 |
>=media-libs/mesa-7.0.1 |
237 |
media-fonts/font-adobe-75dpi |
238 |
media-fonts/font-misc-misc |
239 |
media-fonts/font-cursor-misc |
240 |
>=x11-misc/xbitmaps-1.0.1 |
241 |
>=x11-misc/xkeyboard-config-0.9 |
242 |
>=x11-apps/iceauth-1.0.2 |
243 |
>=x11-apps/rgb-1.0.1 |
244 |
>=x11-apps/xauth-1.0.2 |
245 |
>=x11-apps/xinit-1.0.5 |
246 |
app-admin/eselect-opengl |
247 |
>=x11-libs/libXaw-1.0.4 |
248 |
>=x11-libs/libXpm-3.5.7 |
249 |
>=x11-libs/libXxf86misc-1.0.1 |
250 |
>=x11-libs/libXxf86vm-1.0.1 |
251 |
dmx? ( >=x11-libs/libdmx-1.0.2 |
252 |
>=x11-libs/libXfixes-4.0.3 ) |
253 |
!minimal? ( >=x11-libs/libXtst-1.0.3 |
254 |
>=x11-libs/libXres-1.0.3 ) |
255 |
>=x11-libs/libxkbui-1.0.2 |
256 |
>=x11-libs/liblbxutil-1.0.1 |
257 |
kdrive? ( sdl? ( media-libs/libsdl ) )" |
258 |
# Xres is dmx-dependent, xkbui is xorgcfg-dependent |
259 |
# Xaw is dmx- and xorgcfg-dependent |
260 |
# Xpm is dmx- and xorgcfg-dependent, pulls in Xt |
261 |
# Xxf86misc and Xxf86vm are xorgcfg-dependent |
262 |
# liblbxutil is lbx- dependent |
263 |
DEPEND="${RDEPEND} |
264 |
!net-dialup/dtrace |
265 |
>=x11-proto/randrproto-1.2.1 |
266 |
>=x11-proto/renderproto-0.9.3 |
267 |
>=x11-proto/fixesproto-4 |
268 |
>=x11-proto/damageproto-1.1 |
269 |
>=x11-proto/xextproto-7.0.2 |
270 |
>=x11-proto/xproto-7.0.10 |
271 |
>=x11-proto/xf86dgaproto-2.0.3 |
272 |
>=x11-proto/xf86miscproto-0.9.2 |
273 |
>=x11-proto/xf86rushproto-1.1.2 |
274 |
>=x11-proto/xf86vidmodeproto-2.2.2 |
275 |
>=x11-proto/xf86bigfontproto-1.1.2 |
276 |
>=x11-proto/compositeproto-0.4 |
277 |
>=x11-proto/recordproto-1.13.2 |
278 |
>=x11-proto/resourceproto-1.0.2 |
279 |
>=x11-proto/videoproto-2.2.2 |
280 |
>=x11-proto/scrnsaverproto-1.1.0 |
281 |
>=x11-proto/evieext-1.0.2 |
282 |
>=x11-proto/trapproto-3.4.3 |
283 |
>=x11-proto/xineramaproto-1.1-r1 |
284 |
>=x11-proto/fontsproto-2.0.2 |
285 |
>=x11-proto/kbproto-1.0.3 |
286 |
>=x11-proto/inputproto-1.4.2.1 |
287 |
>=x11-proto/bigreqsproto-1.0.2 |
288 |
>=x11-proto/xcmiscproto-1.1.2 |
289 |
>=x11-proto/glproto-1.4.8 |
290 |
dmx? ( >=x11-proto/dmxproto-2.2.2 ) |
291 |
dri? ( >=x11-proto/xf86driproto-2.0.3 |
292 |
>=x11-libs/libdrm-2.3 ) |
293 |
xprint? ( =x11-proto/printproto-1.0.3 |
294 |
>=x11-apps/mkfontdir-1.0.3 |
295 |
>=x11-apps/mkfontscale-1.0.3 |
296 |
>=x11-apps/xplsprinters-1.0.1 )" |
297 |
|
298 |
# Drivers |
299 |
PDEPEND=" |
300 |
xorg? ( |
301 |
input_devices_acecad? ( >=x11-drivers/xf86-input-acecad-1.1.0 ) |
302 |
input_devices_aiptek? ( >=x11-drivers/xf86-input-aiptek-1.0.1 ) |
303 |
input_devices_calcomp? ( >=x11-drivers/xf86-input-calcomp-1.1.1 ) |
304 |
input_devices_citron? ( >=x11-drivers/xf86-input-citron-2.2.1 ) |
305 |
input_devices_digitaledge? ( >=x11-drivers/xf86-input-digitaledge-1.1.0 ) |
306 |
input_devices_dmc? ( >=x11-drivers/xf86-input-dmc-1.1.0 ) |
307 |
input_devices_dynapro? ( >=x11-drivers/xf86-input-dynapro-1.1.1 ) |
308 |
input_devices_elo2300? ( >=x11-drivers/xf86-input-elo2300-1.1.1 ) |
309 |
input_devices_elographics? ( >=x11-drivers/xf86-input-elographics-1.1.0 ) |
310 |
input_devices_evdev? ( >=x11-drivers/xf86-input-evdev-1.1.1 ) |
311 |
input_devices_fpit? ( >=x11-drivers/xf86-input-fpit-1.1.0 ) |
312 |
input_devices_hyperpen? ( >=x11-drivers/xf86-input-hyperpen-1.1.0 ) |
313 |
input_devices_jamstudio? ( >=x11-drivers/xf86-input-jamstudio-1.1.0 ) |
314 |
input_devices_joystick? ( >=x11-drivers/xf86-input-joystick-1.1.0 ) |
315 |
input_devices_keyboard? ( >=x11-drivers/xf86-input-keyboard-1.2.0 ) |
316 |
input_devices_magellan? ( >=x11-drivers/xf86-input-magellan-1.1.1 ) |
317 |
input_devices_microtouch? ( >=x11-drivers/xf86-input-microtouch-1.1.1 ) |
318 |
input_devices_mouse? ( >=x11-drivers/xf86-input-mouse-1.1.0 ) |
319 |
input_devices_mutouch? ( >=x11-drivers/xf86-input-mutouch-1.1.0 ) |
320 |
input_devices_palmax? ( >=x11-drivers/xf86-input-palmax-1.1.0 ) |
321 |
input_devices_penmount? ( >=x11-drivers/xf86-input-penmount-1.2.1 ) |
322 |
input_devices_spaceorb? ( >=x11-drivers/xf86-input-spaceorb-1.1.1 ) |
323 |
input_devices_summa? ( >=x11-drivers/xf86-input-summa-1.1.0 ) |
324 |
input_devices_tek4957? ( >=x11-drivers/xf86-input-tek4957-1.1.0 ) |
325 |
input_devices_ur98? ( >=x11-drivers/xf86-input-ur98-1.1.0 ) |
326 |
input_devices_vmmouse? ( >=x11-drivers/xf86-input-vmmouse-12.4.2 ) |
327 |
input_devices_void? ( >=x11-drivers/xf86-input-void-1.1.0 ) |
328 |
|
329 |
input_devices_synaptics? ( x11-drivers/synaptics ) |
330 |
input_devices_wacom? ( x11-drivers/linuxwacom ) |
331 |
|
332 |
video_cards_amd? ( >=x11-drivers/xf86-video-amd-2.7.7.0 ) |
333 |
video_cards_apm? ( >=x11-drivers/xf86-video-apm-1.1.1 ) |
334 |
video_cards_ark? ( >=x11-drivers/xf86-video-ark-0.6.0 ) |
335 |
video_cards_chips? ( >=x11-drivers/xf86-video-chips-1.1.1 ) |
336 |
video_cards_cirrus? ( >=x11-drivers/xf86-video-cirrus-1.1.0 ) |
337 |
video_cards_cyrix? ( >=x11-drivers/xf86-video-cyrix-1.1.0 ) |
338 |
video_cards_dummy? ( >=x11-drivers/xf86-video-dummy-0.2.0 ) |
339 |
video_cards_fbdev? ( >=x11-drivers/xf86-video-fbdev-0.2.0 ) |
340 |
video_cards_glint? ( >=x11-drivers/xf86-video-glint-1.1.1 ) |
341 |
video_cards_i128? ( >=x11-drivers/xf86-video-i128-1.2.0 ) |
342 |
video_cards_i740? ( >=x11-drivers/xf86-video-i740-1.1.0 ) |
343 |
video_cards_i810? ( >=x11-drivers/xf86-video-i810-1.6.0 ) |
344 |
video_cards_impact? ( >=x11-drivers/xf86-video-impact-0.2.0 ) |
345 |
video_cards_imstt? ( >=x11-drivers/xf86-video-imstt-1.1.0 ) |
346 |
video_cards_mach64? ( >=x11-drivers/xf86-video-ati-6.6.0 ) |
347 |
video_cards_mga? ( >=x11-drivers/xf86-video-mga-1.4.1 ) |
348 |
video_cards_neomagic? ( >=x11-drivers/xf86-video-neomagic-1.1.1 ) |
349 |
video_cards_newport? ( >=x11-drivers/xf86-video-newport-0.2.0 ) |
350 |
video_cards_nsc? ( >=x11-drivers/xf86-video-nsc-2.8.1 ) |
351 |
video_cards_nv? ( >=x11-drivers/xf86-video-nv-1.1.1 ) |
352 |
video_cards_r128? ( >=x11-drivers/xf86-video-ati-6.6.0 ) |
353 |
video_cards_radeon? ( >=x11-drivers/xf86-video-ati-6.6.0 ) |
354 |
video_cards_rendition? ( >=x11-drivers/xf86-video-rendition-4.1.0 ) |
355 |
video_cards_s3? ( >=x11-drivers/xf86-video-s3-0.4.1 ) |
356 |
video_cards_s3virge? ( >=x11-drivers/xf86-video-s3virge-1.9.1 ) |
357 |
video_cards_savage? ( >=x11-drivers/xf86-video-savage-2.1.1 ) |
358 |
video_cards_siliconmotion? ( >=x11-drivers/xf86-video-siliconmotion-1.4.1 ) |
359 |
video_cards_sis? ( >=x11-drivers/xf86-video-sis-0.9.1 ) |
360 |
video_cards_sisusb? ( >=x11-drivers/xf86-video-sisusb-0.8.1 ) |
361 |
video_cards_sunbw2? ( >=x11-drivers/xf86-video-sunbw2-1.1.0 ) |
362 |
video_cards_suncg14? ( >=x11-drivers/xf86-video-suncg14-1.1.0 ) |
363 |
video_cards_suncg3? ( >=x11-drivers/xf86-video-suncg3-1.1.0 ) |
364 |
video_cards_suncg6? ( >=x11-drivers/xf86-video-suncg6-1.1.0 ) |
365 |
video_cards_sunffb? ( >=x11-drivers/xf86-video-sunffb-1.1.0 ) |
366 |
video_cards_sunleo? ( >=x11-drivers/xf86-video-sunleo-1.1.0 ) |
367 |
video_cards_suntcx? ( >=x11-drivers/xf86-video-suntcx-1.1.0 ) |
368 |
video_cards_tdfx? ( >=x11-drivers/xf86-video-tdfx-1.2.1 ) |
369 |
video_cards_tga? ( >=x11-drivers/xf86-video-tga-1.1.0 ) |
370 |
video_cards_trident? ( >=x11-drivers/xf86-video-trident-1.2.1 ) |
371 |
video_cards_tseng? ( >=x11-drivers/xf86-video-tseng-1.1.0 ) |
372 |
video_cards_v4l? ( >=x11-drivers/xf86-video-v4l-0.1.1 ) |
373 |
video_cards_vermilion? ( >=x11-drivers/xf86-video-vermilion-1.0.0 ) |
374 |
video_cards_vesa? ( >=x11-drivers/xf86-video-vesa-1.1.0 ) |
375 |
video_cards_vga? ( >=x11-drivers/xf86-video-vga-4.1.0 ) |
376 |
video_cards_via? ( >=x11-drivers/xf86-video-openchrome-0.2.901 ) |
377 |
video_cards_vmware? ( >=x11-drivers/xf86-video-vmware-10.13.0 ) |
378 |
video_cards_voodoo? ( >=x11-drivers/xf86-video-voodoo-1.1.0 ) |
379 |
video_cards_xgi? ( >=x11-drivers/xf86-video-xgi-1.5.0 ) |
380 |
video_cards_tdfx? ( 3dfx? ( >=media-libs/glide-v3-3.10 ) ) |
381 |
video_cards_fglrx? ( >=x11-drivers/ati-drivers-8.433 ) |
382 |
video_cards_nvidia? ( >=x11-drivers/nvidia-drivers-71.86.01 ) |
383 |
)" |
384 |
LICENSE="${LICENSE} MIT" |
385 |
|
386 |
EPATCH_FORCE="yes" |
387 |
EPATCH_SUFFIX="patch" |
388 |
|
389 |
# Local customizations, unsuitable for upstream |
390 |
GENTOO_PATCHES=( |
391 |
"${FILESDIR}/1.3.0.0-use-proc-instead-of-sys.patch" |
392 |
"${FILESDIR}/1.4-fpic-libxf86config.patch" |
393 |
"${FILESDIR}/1.4-fix-kdrive-automake.patch" |
394 |
) |
395 |
|
396 |
# These have been sent upstream |
397 |
UPSTREAMED_PATCHES=( |
398 |
"${FILESDIR}/${PV}/" |
399 |
"${FILESDIR}/1.4-fix-dmx-build.patch" |
400 |
"${FILESDIR}/1.4-fix-dmx-link.patch" |
401 |
"${FILESDIR}/1.4-fix-xephyr-link.patch" |
402 |
"${FILESDIR}/1.4-fix-xprint-build.patch" |
403 |
"${FILESDIR}/1.4-fix-xprint-link.patch" |
404 |
) |
405 |
|
406 |
PATCHES=( |
407 |
"${GENTOO_PATCHES[@]}" |
408 |
"${UPSTREAMED_PATCHES[@]}" |
409 |
) |
410 |
|
411 |
pkg_setup() { |
412 |
use minimal || ensure_a_server_is_building |
413 |
|
414 |
# SDL only available in kdrive build |
415 |
if use kdrive && use sdl; then |
416 |
conf_opts="${conf_opts} --enable-xsdl" |
417 |
else |
418 |
conf_opts="${conf_opts} --disable-xsdl" |
419 |
fi |
420 |
|
421 |
# Only Xorg and Xgl support this, and we won't build Xgl |
422 |
# until it merges to trunk |
423 |
if use xorg; then |
424 |
conf_opts="${conf_opts} --with-mesa-source=${WORKDIR}/${MESA_P}" |
425 |
fi |
426 |
|
427 |
# localstatedir is used for the log location; we need to override the default |
428 |
# from ebuild.sh |
429 |
# sysconfdir is used for the xorg.conf location; same applies |
430 |
# --enable-install-setuid needed because sparcs default off |
431 |
CONFIGURE_OPTIONS=" |
432 |
$(use_enable ipv6) |
433 |
$(use_enable dmx) |
434 |
$(use_enable kdrive) |
435 |
$(use_enable !minimal xvfb) |
436 |
$(use_enable !minimal xnest) |
437 |
$(use_enable !minimal install-libxf86config) |
438 |
$(use_enable dri) |
439 |
$(use_enable xorg) |
440 |
$(use_enable xprint) |
441 |
$(use_enable nptl glx-tls) |
442 |
$(use_enable !minimal xorgcfg) |
443 |
$(use_enable hal config-dbus) |
444 |
$(use_enable hal config-hal) |
445 |
--sysconfdir=/etc/X11 |
446 |
--localstatedir=/var |
447 |
--enable-install-setuid |
448 |
--with-fontdir=/usr/share/fonts |
449 |
--with-xkb-output=/var/lib/xkb |
450 |
${conf_opts}" |
451 |
|
452 |
local diemsg="You must build xorg-server and mesa with the same nptl USE setting." |
453 |
if built_with_use media-libs/mesa nptl; then |
454 |
use nptl || die "${diemsg}" |
455 |
else |
456 |
use nptl && die "${diemsg}" |
457 |
fi |
458 |
|
459 |
# (#121394) Causes window corruption |
460 |
filter-flags -fweb |
461 |
|
462 |
# Nothing else provides new enough glxtokens.h |
463 |
ewarn "Forcing on xorg-x11 for new enough glxtokens.h..." |
464 |
OLD_IMPLEM="$(eselect opengl show)" |
465 |
eselect opengl set --impl-headers ${OPENGL_DIR} |
466 |
} |
467 |
|
468 |
src_unpack() { |
469 |
x-modular_specs_check |
470 |
x-modular_dri_check |
471 |
x-modular_unpack_source |
472 |
x-modular_patch_source |
473 |
|
474 |
# Clean up for ${PV}-clean-generated-files.patch |
475 |
pushd hw/xprint >/dev/null |
476 |
rm -f *-wrapper.c || die |
477 |
popd >/dev/null |
478 |
|
479 |
# Set up kdrive servers to build |
480 |
if use kdrive; then |
481 |
kdrive_setup |
482 |
fi |
483 |
|
484 |
# Make sure eautoreconf gets run if we need the autoconf/make |
485 |
# changes. |
486 |
if [[ ${SNAPSHOT} != "yes" ]]; then |
487 |
if use kdrive || use dmx || use xprint; then |
488 |
SNAPSHOT="yes" |
489 |
fi |
490 |
fi |
491 |
|
492 |
if use hal; then |
493 |
sed -i \ |
494 |
-e "s:^\(dbusconfigdir = \).*\(dbus-1.*\):\1/etc/\2:g" \ |
495 |
"${S}"/config/Makefile.am \ |
496 |
|| die "failed to fix DBUS config directory" |
497 |
SNAPSHOT="yes" |
498 |
fi |
499 |
|
500 |
x-modular_reconf_source |
501 |
#do not install xprint's Xsession.d files, we'll do it later |
502 |
if use xprint; then |
503 |
sed -e "s:install-data-am\: install-dist_xpcDATA:install-data-am\::g" \ |
504 |
-i "${S}"/hw/xprint/etc/Xsession.d/Makefile.in \ |
505 |
|| die "sed of Xsession.d makefile failed" |
506 |
fi |
507 |
} |
508 |
|
509 |
src_install() { |
510 |
x-modular_src_install |
511 |
|
512 |
dynamic_libgl_install |
513 |
|
514 |
server_based_install |
515 |
|
516 |
# Install video mode files for system-config-display |
517 |
insinto /usr/share/xorg |
518 |
doins hw/xfree86/common/{extra,vesa}modes \ |
519 |
|| die "couldn't install extra modes" |
520 |
|
521 |
# Bug #151421 - this file is not built with USE="minimal" |
522 |
# Bug #151670 - this file is also not build if USE="-xorg" |
523 |
if ! use minimal && use xorg; then |
524 |
# Install xorg.conf.example |
525 |
insinto /etc/X11 |
526 |
doins hw/xfree86/xorg.conf.example \ |
527 |
|| die "couldn't install xorg.conf.example" |
528 |
fi |
529 |
} |
530 |
|
531 |
pkg_postinst() { |
532 |
switch_opengl_implem |
533 |
|
534 |
# Bug #135544 |
535 |
ewarn "Users of reduced blanking now need:" |
536 |
ewarn " Option \"ReducedBlanking\"" |
537 |
ewarn "In the relevant Monitor section(s)." |
538 |
ewarn "Make sure your reduced blanking modelines are safe!" |
539 |
|
540 |
echo |
541 |
ewarn "You must rebuild all drivers if upgrading from xorg-server 1.3" |
542 |
ewarn "or earlier, because the ABI changed. If you cannot start X because" |
543 |
ewarn "of module version mismatch errors, this is your problem." |
544 |
|
545 |
echo |
546 |
ewarn "You can generate a list of all installed packages in the x11-drivers" |
547 |
ewarn "category using this command:" |
548 |
ewarn "emerge portage-utils; qlist -I -C x11-drivers/" |
549 |
|
550 |
ebeep 5 |
551 |
epause 10 |
552 |
} |
553 |
|
554 |
pkg_postrm() { |
555 |
# Get rid of module dir to ensure opengl-update works properly |
556 |
if ! has_version x11-base/xorg-server; then |
557 |
if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
558 |
rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules |
559 |
fi |
560 |
fi |
561 |
} |
562 |
|
563 |
kdrive_setup() { |
564 |
local card real_card disable_card kdrive_fbdev kdrive_vesa |
565 |
|
566 |
einfo "Removing unused kdrive drivers ..." |
567 |
|
568 |
# Some kdrive servers require fbdev and vesa |
569 |
kdrive_fbdev="radeon neomagic sis siliconmotion" |
570 |
# Some kdrive servers require just vesa |
571 |
kdrive_vesa="chips mach64 mga nv glint r128 via" |
572 |
|
573 |
for card in ${IUSE_VIDEO_CARDS}; do |
574 |
real_card=${card#video_cards_} |
575 |
|
576 |
# Differences between VIDEO_CARDS name and kdrive server name |
577 |
real_card=${real_card/glint/pm2} |
578 |
real_card=${real_card/radeon/ati} |
579 |
real_card=${real_card/%nv/nvidia} |
580 |
real_card=${real_card/siliconmotion/smi} |
581 |
real_card=${real_card/%sis/sis300} |
582 |
|
583 |
disable_card=0 |
584 |
|
585 |
# Check whether it's a valid kdrive server before we waste time |
586 |
# on the rest of this |
587 |
if ! grep -q -o "\b${real_card}\b" "${S}"/hw/kdrive/Makefile.am; then |
588 |
continue |
589 |
fi |
590 |
|
591 |
if ! use ${card}; then |
592 |
if use x86; then |
593 |
# Some kdrive servers require fbdev and vesa |
594 |
for i in ${kdrive_fbdev}; do |
595 |
if use video_cards_${i}; then |
596 |
if [[ ${real_card} = fbdev ]] \ |
597 |
|| [[ ${real_card} = vesa ]]; then |
598 |
continue 2 # Don't disable |
599 |
fi |
600 |
fi |
601 |
done |
602 |
|
603 |
# Some kdrive servers require just vesa |
604 |
for i in ${kdrive_vesa}; do |
605 |
if use video_cards_${i}; then |
606 |
if [[ ${real_card} = vesa ]]; then |
607 |
continue 2 # Don't disable |
608 |
fi |
609 |
fi |
610 |
done |
611 |
fi |
612 |
disable_card=1 |
613 |
# Bug #150052 |
614 |
# fbdev is the only VIDEO_CARDS setting that works on non-x86 |
615 |
elif ! use x86 \ |
616 |
&& [[ ${real_card} != fbdev ]]; then |
617 |
ewarn " $real_card does not work on your architecture; disabling." |
618 |
disable_card=1 |
619 |
fi |
620 |
|
621 |
if [[ $disable_card = 1 ]]; then |
622 |
ebegin " ${real_card}" |
623 |
sed -i \ |
624 |
-e "s:\b${real_card}\b::g" \ |
625 |
"${S}"/hw/kdrive/Makefile.am \ |
626 |
|| die "sed of ${real_card} failed" |
627 |
eend |
628 |
fi |
629 |
|
630 |
done |
631 |
} |
632 |
|
633 |
dynamic_libgl_install() { |
634 |
# next section is to setup the dynamic libGL stuff |
635 |
ebegin "Moving GL files for dynamic switching" |
636 |
dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions |
637 |
local x="" |
638 |
for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/libglx*; do |
639 |
if [ -f ${x} -o -L ${x} ]; then |
640 |
mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions |
641 |
fi |
642 |
done |
643 |
eend 0 |
644 |
} |
645 |
|
646 |
server_based_install() { |
647 |
use xprint && xprint_src_install |
648 |
|
649 |
if ! use xorg; then |
650 |
rm "${D}"/usr/share/man/man1/Xserver.1x \ |
651 |
"${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
652 |
"${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
653 |
"${D}"/usr/share/man/man1/Xserver.1x |
654 |
fi |
655 |
} |
656 |
|
657 |
switch_opengl_implem() { |
658 |
# Switch to the xorg implementation. |
659 |
# Use new opengl-update that will not reset user selected |
660 |
# OpenGL interface ... |
661 |
echo |
662 |
# eselect opengl set --use-old ${OPENGL_DIR} |
663 |
eselect opengl set ${OLD_IMPLEM} |
664 |
} |
665 |
|
666 |
xprint_src_install() { |
667 |
# RH-style init script, we provide a wrapper |
668 |
exeinto /usr/$(get_libdir)/misc |
669 |
doexe "${S}"/hw/xprint/etc/init.d/xprint |
670 |
# Install the wrapper |
671 |
newinitd "${FILESDIR}"/xprint.init xprint |
672 |
# Install profile scripts |
673 |
insinto /etc/profile.d |
674 |
doins "${S}"/hw/xprint/etc/profile.d/xprint* |
675 |
exeinto /etc/X11/xinit/xinitrc.d |
676 |
doexe "${S}"/hw/xprint/etc/Xsession.d/92xprint-xpserverlist |
677 |
# Patch profile scripts |
678 |
sed -e "s:/etc/init.*get_xpserverlist:/usr/$(get_libdir)/misc/xprint \ |
679 |
get_xpserverlist:g" -i "${D}"/etc/profile.d/xprint* \ |
680 |
"${D}"/etc/X11/xinit/xinitrc.d/92xprint-xpserverlist |
681 |
# Move profile scripts, we can't touch /etc/profile.d/ in Gentoo |
682 |
dodoc "${D}"/etc/profile.d/xprint* |
683 |
rm -f "${D}"/etc/profile.d/xprint* |
684 |
} |
685 |
|
686 |
ensure_a_server_is_building() { |
687 |
for server in ${IUSE_SERVERS}; do |
688 |
use ${server} && return; |
689 |
done |
690 |
eerror "You need to specify at least one server to build." |
691 |
eerror "Valid servers are: ${IUSE_SERVERS}." |
692 |
die "No servers were specified to build." |
693 |
} |
694 |
|
695 |
|
696 |
|
697 |
-- |
698 |
gentoo-commits@l.g.o mailing list |