Gentoo Archives: gentoo-commits

From: "Remi Cardona (remi)" <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-base/xorg-server: ChangeLog xorg-server-1.6.3.901.ebuild
Date: Wed, 26 Aug 2009 20:32:33
Message-Id: E1MgIAn-0006ig-BV@stork.gentoo.org
1 remi 09/08/26 13:04:21
2
3 Modified: ChangeLog
4 Added: xorg-server-1.6.3.901.ebuild
5 Log:
6 x11-base/xorg-server: bump to 1.6.3.901 (should fix bugs #280443, #281634 and #281698)
7 (Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.439 x11-base/xorg-server/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.439&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.439&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/ChangeLog?r1=1.438&r2=1.439
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v
19 retrieving revision 1.438
20 retrieving revision 1.439
21 diff -u -r1.438 -r1.439
22 --- ChangeLog 14 Aug 2009 09:11:25 -0000 1.438
23 +++ ChangeLog 26 Aug 2009 13:04:21 -0000 1.439
24 @@ -1,6 +1,12 @@
25 # ChangeLog for x11-base/xorg-server
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.438 2009/08/14 09:11:25 remi Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.439 2009/08/26 13:04:21 remi Exp $
29 +
30 +*xorg-server-1.6.3.901 (26 Aug 2009)
31 +
32 + 26 Aug 2009; Rémi Cardona <remi@g.o>
33 + +xorg-server-1.6.3.901.ebuild:
34 + bump to 1.6.3.901 (should fix bugs #280443, #281634 and #281698)
35
36 14 Aug 2009; Rémi Cardona <remi@g.o>
37 xorg-server-1.3.0.0-r6.ebuild, xorg-server-1.4.2.ebuild:
38
39
40
41 1.1 x11-base/xorg-server/xorg-server-1.6.3.901.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/xorg-server-1.6.3.901.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/xorg-server-1.6.3.901.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xorg-server-1.6.3.901.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.6.3.901.ebuild,v 1.1 2009/08/26 13:04:21 remi Exp $
51
52 EAPI="2"
53
54 # Must be before x-modular eclass is inherited
55 #SNAPSHOT="yes"
56
57 inherit x-modular multilib
58
59 # keithp put this one in archive/ instead of releases/ for unknown reasons
60 BASE_INDIVIDUAL_URI="http://xorg.freedesktop.org/archive/individual"
61 SRC_URI="${SRC_URI}
62 ${BASE_INDIVIDUAL_URI}/${MODULE}/${P}.tar.bz2"
63 # mirror://gentoo/${P}-gentoo-patches-01.tar.bz2
64
65 OPENGL_DIR="xorg-x11"
66
67 DESCRIPTION="X.Org X servers"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE_INPUT_DEVICES="
70 input_devices_acecad
71 input_devices_aiptek
72 input_devices_citron
73 input_devices_elographics
74 input_devices_evdev
75 input_devices_fpit
76 input_devices_hyperpen
77 input_devices_joystick
78 input_devices_keyboard
79 input_devices_mouse
80 input_devices_mutouch
81 input_devices_penmount
82 input_devices_tslib
83 input_devices_virtualbox
84 input_devices_vmmouse
85 input_devices_void
86
87 input_devices_synaptics
88 input_devices_wacom"
89 IUSE_VIDEO_CARDS="
90 video_cards_apm
91 video_cards_ark
92 video_cards_ast
93 video_cards_chips
94 video_cards_cirrus
95 video_cards_dummy
96 video_cards_epson
97 video_cards_fbdev
98 video_cards_geode
99 video_cards_glint
100 video_cards_i128
101 video_cards_i740
102 video_cards_intel
103 video_cards_impact
104 video_cards_imstt
105 video_cards_mach64
106 video_cards_mga
107 video_cards_neomagic
108 video_cards_newport
109 video_cards_nv
110 video_cards_r128
111 video_cards_radeon
112 video_cards_radeonhd
113 video_cards_rendition
114 video_cards_s3
115 video_cards_s3virge
116 video_cards_savage
117 video_cards_siliconmotion
118 video_cards_sis
119 video_cards_sisusb
120 video_cards_sunbw2
121 video_cards_suncg14
122 video_cards_suncg3
123 video_cards_suncg6
124 video_cards_sunffb
125 video_cards_sunleo
126 video_cards_suntcx
127 video_cards_tdfx
128 video_cards_tga
129 video_cards_trident
130 video_cards_tseng
131 video_cards_v4l
132 video_cards_vermilion
133 video_cards_vesa
134 video_cards_via
135 video_cards_virtualbox
136 video_cards_vmware
137 video_cards_voodoo
138 video_cards_xgi
139 video_cards_fglrx
140 video_cards_nvidia"
141 IUSE_SERVERS="dmx kdrive xorg"
142 IUSE="${IUSE_VIDEO_CARDS}
143 ${IUSE_INPUT_DEVICES}
144 ${IUSE_SERVERS}
145 tslib hal ipv6 minimal nptl sdl"
146 RDEPEND="hal? ( sys-apps/hal )
147 tslib? ( >=x11-libs/tslib-1.0 x11-proto/xcalibrateproto )
148 dev-libs/openssl
149 >=x11-libs/libXfont-1.4.0
150 >=x11-libs/xtrans-1.2.3
151 >=x11-libs/libXau-1.0.4
152 >=x11-libs/libXext-1.0.4
153 >=x11-libs/libX11-1.1.5
154 >=x11-libs/libxkbfile-1.0.4
155 >=x11-libs/libXdmcp-1.0.2
156 >=x11-libs/libXmu-1.0.3
157 >=x11-libs/libXrender-0.9.4
158 >=x11-libs/libXi-1.2.1
159 >=x11-libs/pixman-0.14.0
160 media-libs/freetype
161 >=x11-misc/xbitmaps-1.0.1
162 >=x11-misc/xkeyboard-config-1.4
163 x11-apps/xkbcomp
164 >=x11-apps/iceauth-1.0.2
165 >=x11-apps/rgb-1.0.3
166 >=x11-apps/xauth-1.0.3
167 >=x11-apps/xinit-1.0.8-r3
168 >=app-admin/eselect-opengl-1.0.7
169 >=x11-libs/libXaw-1.0.5
170 >=x11-libs/libXpm-3.5.7
171 >=x11-libs/libpciaccess-0.10.3
172 dmx? (
173 >=x11-libs/libdmx-1.0.2
174 >=x11-libs/libXfixes-4.0.3
175 )
176 !minimal? (
177 >=x11-libs/libXtst-1.0.3
178 >=x11-libs/libXres-1.0.3
179 >=media-libs/mesa-7.3_rc1[nptl=]
180 )
181 >=x11-libs/libxkbui-1.0.2
182 kdrive? ( sdl? ( media-libs/libsdl ) )"
183 # Xres is dmx-dependent
184 # Xaw is dmx-dependent
185 # Xpm is dmx-dependent, pulls in Xt
186 # xkbcomp is launched at startup but not checked by ./configure
187 DEPEND="${RDEPEND}
188 !net-dialup/dtrace
189 sys-devel/flex
190 >=x11-proto/randrproto-1.2.99.4
191 >=x11-proto/renderproto-0.9.3
192 >=x11-proto/fixesproto-4
193 >=x11-proto/damageproto-1.1
194 >=x11-proto/xextproto-7.0.4
195 >=x11-proto/xproto-7.0.14
196 >=x11-proto/xf86dgaproto-2.0.3
197 >=x11-proto/xf86rushproto-1.1.2
198 >=x11-proto/xf86vidmodeproto-2.2.2
199 >=x11-proto/compositeproto-0.4
200 >=x11-proto/recordproto-1.13.2
201 >=x11-proto/resourceproto-1.0.2
202 >=x11-proto/videoproto-2.2.2
203 >=x11-proto/scrnsaverproto-1.1.0
204 >=x11-proto/trapproto-3.4.3
205 >=x11-proto/xineramaproto-1.1.2
206 >=x11-proto/fontsproto-2.0.2
207 >=x11-proto/kbproto-1.0.3
208 >=x11-proto/inputproto-1.5.0
209 >=x11-proto/bigreqsproto-1.0.2
210 >=x11-proto/xcmiscproto-1.1.2
211 >=x11-proto/glproto-1.4.9
212 dmx? ( >=x11-proto/dmxproto-2.2.2 )
213 !minimal? (
214 >=x11-proto/xf86driproto-2.0.4
215 >=x11-proto/dri2proto-2.1
216 >=x11-libs/libdrm-2.3
217 )"
218
219 # Drivers
220 PDEPEND="
221 xorg? (
222 input_devices_acecad? ( >=x11-drivers/xf86-input-acecad-1.3.0 )
223 input_devices_aiptek? ( >=x11-drivers/xf86-input-aiptek-1.2.0 )
224 input_devices_citron? ( >=x11-drivers/xf86-input-citron-2.2.1 )
225 input_devices_elographics? ( >=x11-drivers/xf86-input-elographics-1.2.3 )
226 input_devices_evdev? ( >=x11-drivers/xf86-input-evdev-2.1.3 )
227 input_devices_fpit? ( >=x11-drivers/xf86-input-fpit-1.3.0 )
228 input_devices_hyperpen? ( >=x11-drivers/xf86-input-hyperpen-1.2.0 )
229 input_devices_joystick? ( >=x11-drivers/xf86-input-joystick-1.4.0 )
230 input_devices_keyboard? ( >=x11-drivers/xf86-input-keyboard-1.3.2 )
231 input_devices_mouse? ( >=x11-drivers/xf86-input-mouse-1.4.0 )
232 input_devices_mutouch? ( >=x11-drivers/xf86-input-mutouch-1.2.1 )
233 input_devices_penmount? ( >=x11-drivers/xf86-input-penmount-1.4.0 )
234 input_devices_tslib? ( x11-drivers/xf86-input-tslib )
235 input_devices_virtualbox? ( x11-drivers/xf86-input-virtualbox )
236 input_devices_vmmouse? ( >=x11-drivers/xf86-input-vmmouse-12.6.3 )
237 input_devices_void? ( >=x11-drivers/xf86-input-void-1.2.0 )
238 input_devices_synaptics? ( >=x11-drivers/xf86-input-synaptics-0.15.0 )
239 input_devices_wacom? ( x11-drivers/linuxwacom )
240
241 video_cards_apm? ( >=x11-drivers/xf86-video-apm-1.2.1 )
242 video_cards_ark? ( >=x11-drivers/xf86-video-ark-0.7.1 )
243 video_cards_ast? ( >=x11-drivers/xf86-video-ast-0.87.0 )
244 video_cards_chips? ( >=x11-drivers/xf86-video-chips-1.2.1 )
245 video_cards_cirrus? ( >=x11-drivers/xf86-video-cirrus-1.2.1 )
246 video_cards_dummy? ( >=x11-drivers/xf86-video-dummy-0.3.1 )
247 video_cards_fbdev? ( >=x11-drivers/xf86-video-fbdev-0.4.0 )
248 video_cards_geode? ( >=x11-drivers/xf86-video-geode-2.11.0 )
249 video_cards_glint? ( >=x11-drivers/xf86-video-glint-1.2.2 )
250 video_cards_i128? ( >=x11-drivers/xf86-video-i128-1.3.1 )
251 video_cards_i740? ( >=x11-drivers/xf86-video-i740-1.2.0 )
252 video_cards_intel? ( >=x11-drivers/xf86-video-intel-2.4.2-r1 )
253 video_cards_mach64? ( >=x11-drivers/xf86-video-mach64-6.8.0 )
254 video_cards_mga? ( >=x11-drivers/xf86-video-mga-1.4.9 )
255 video_cards_neomagic? ( >=x11-drivers/xf86-video-neomagic-1.2.2 )
256 video_cards_newport? ( >=x11-drivers/xf86-video-newport-0.2.2 )
257 video_cards_nv? ( >=x11-drivers/xf86-video-nv-2.1.12 )
258 video_cards_nvidia? ( x11-drivers/nvidia-drivers )
259 video_cards_fglrx? ( >=x11-drivers/ati-drivers-9.6 )
260 video_cards_r128? ( >=x11-drivers/xf86-video-r128-6.8.0 )
261 video_cards_radeon? ( >=x11-drivers/xf86-video-ati-6.11.0 )
262 video_cards_radeonhd? ( >=x11-drivers/xf86-video-radeonhd-1.2.1 )
263 video_cards_rendition? ( >=x11-drivers/xf86-video-rendition-4.2.1 )
264 video_cards_s3? ( >=x11-drivers/xf86-video-s3-0.6.1 )
265 video_cards_s3virge? ( >=x11-drivers/xf86-video-s3virge-1.10.2 )
266 video_cards_savage? ( >=x11-drivers/xf86-video-savage-2.2.1 )
267 video_cards_siliconmotion? ( >=x11-drivers/xf86-video-siliconmotion-1.7.0 )
268 video_cards_sis? ( >=x11-drivers/xf86-video-sis-0.10.1 )
269 video_cards_sisusb? ( >=x11-drivers/xf86-video-sisusb-0.9.1 )
270 video_cards_sunffb? ( >=x11-drivers/xf86-video-sunffb-1.2.0 )
271 video_cards_sunleo? ( >=x11-drivers/xf86-video-sunleo-1.2.0 )
272 video_cards_tdfx? ( >=x11-drivers/xf86-video-tdfx-1.4.1 )
273 video_cards_tga? ( >=x11-drivers/xf86-video-tga-1.2.0 )
274 video_cards_trident? ( >=x11-drivers/xf86-video-trident-1.3.1 )
275 video_cards_tseng? ( >=x11-drivers/xf86-video-tseng-1.2.1 )
276 video_cards_v4l? ( >=x11-drivers/xf86-video-v4l-0.2.0 )
277 video_cards_vesa? ( >=x11-drivers/xf86-video-vesa-2.2.0 )
278 video_cards_via? ( >=x11-drivers/xf86-video-openchrome-0.2.903 )
279 video_cards_virtualbox? ( x11-drivers/xf86-video-virtualbox )
280 video_cards_vmware? ( >=x11-drivers/xf86-video-vmware-10.16.5 )
281 video_cards_voodoo? ( >=x11-drivers/xf86-video-voodoo-1.2.1 )
282 video_cards_xgi? ( >=x11-drivers/xf86-video-xgi-1.5.0 )
283
284 !x11-drivers/xf86-video-impact
285 !x11-drivers/xf86-video-imstt
286 !x11-drivers/xf86-video-sunbw2
287 !x11-drivers/xf86-video-suncg14
288 !x11-drivers/xf86-video-suncg3
289 !x11-drivers/xf86-video-suncg6
290 !x11-drivers/xf86-video-suntcx
291 !x11-drivers/xf86-video-vermilion
292
293 !x11-drivers/xf86-video-cyrix
294 !x11-drivers/xf86-video-nsc
295 !x11-drivers/xf86-video-vga
296 )"
297 LICENSE="${LICENSE} MIT"
298
299 EPATCH_FORCE="yes"
300 EPATCH_SUFFIX="patch"
301
302 # Local customizations, unsuitable for upstream
303 GENTOO_PATCHES=(
304 "${FILESDIR}/1.4-fpic-libxf86config.patch"
305 )
306
307 # These have been sent upstream
308 #UPSTREAMED_PATCHES=(
309 # "${WORKDIR}/patches/"
310 # )
311
312 PATCHES=(
313 "${GENTOO_PATCHES[@]}"
314 "${UPSTREAMED_PATCHES[@]}"
315 )
316
317 pkg_setup() {
318 use minimal || ensure_a_server_is_building
319
320 # SDL only available in kdrive build
321 if use kdrive && use sdl; then
322 conf_opts="${conf_opts} --enable-xsdl"
323 else
324 conf_opts="${conf_opts} --disable-xsdl"
325 fi
326
327 # localstatedir is used for the log location; we need to override the default
328 # from ebuild.sh
329 # sysconfdir is used for the xorg.conf location; same applies
330 # --enable-install-setuid needed because sparcs default off
331 CONFIGURE_OPTIONS="
332 $(use_enable ipv6)
333 $(use_enable dmx)
334 $(use_enable kdrive)
335 $(use_enable tslib)
336 $(use_enable tslib xcalibrate)
337 $(use_enable !minimal xvfb)
338 $(use_enable !minimal xnest)
339 $(use_enable !minimal record)
340 $(use_enable !minimal xfree86-utils)
341 $(use_enable !minimal install-libxf86config)
342 $(use_enable !minimal dri)
343 $(use_enable !minimal dri2)
344 $(use_enable !minimal glx)
345 $(use_enable xorg)
346 $(use_enable nptl glx-tls)
347 $(use_enable hal config-hal)
348 --sysconfdir=/etc/X11
349 --localstatedir=/var
350 --enable-install-setuid
351 --with-fontdir=/usr/share/fonts
352 --with-xkb-output=/var/lib/xkb
353 --without-dtrace
354 ${conf_opts}"
355
356 # (#121394) Causes window corruption
357 filter-flags -fweb
358
359 # Incompatible with GCC 3.x SSP on x86, bug #244352
360 if use x86 ; then
361 if [[ $(gcc-major-version) -lt 4 ]]; then
362 filter-flags -fstack-protector
363 fi
364 fi
365
366 OLD_IMPLEM="$(eselect opengl show)"
367 eselect opengl set --impl-headers ${OPENGL_DIR}
368 }
369
370 src_install() {
371 x-modular_src_install
372
373 dynamic_libgl_install
374
375 server_based_install
376
377 # Install video mode files for system-config-display
378 insinto /usr/share/xorg
379 doins hw/xfree86/common/{extra,vesa}modes \
380 || die "couldn't install extra modes"
381
382 # Bug #151421 - this file is not built with USE="minimal"
383 # Bug #151670 - this file is also not build if USE="-xorg"
384 if ! use minimal && use xorg; then
385 # Install xorg.conf.example
386 insinto /etc/X11
387 doins hw/xfree86/xorg.conf.example \
388 || die "couldn't install xorg.conf.example"
389 fi
390 }
391
392 pkg_postinst() {
393 switch_opengl_implem
394
395 # Bug #135544
396 ewarn "Users of reduced blanking now need:"
397 ewarn " Option \"ReducedBlanking\""
398 ewarn "In the relevant Monitor section(s)."
399 ewarn "Make sure your reduced blanking modelines are safe!"
400
401 echo
402 ewarn "You must rebuild all drivers if upgrading from xorg-server 1.5"
403 ewarn "or earlier, because the ABI changed. If you cannot start X because"
404 ewarn "of module version mismatch errors, this is your problem."
405
406 echo
407 ewarn "You can generate a list of all installed packages in the x11-drivers"
408 ewarn "category using this command:"
409 ewarn "emerge portage-utils; qlist -I -C x11-drivers/"
410
411 ebeep 5
412 epause 10
413 }
414
415 pkg_postrm() {
416 # Get rid of module dir to ensure opengl-update works properly
417 if ! has_version x11-base/xorg-server; then
418 if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then
419 rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules
420 fi
421 fi
422 }
423
424 dynamic_libgl_install() {
425 # next section is to setup the dynamic libGL stuff
426 ebegin "Moving GL files for dynamic switching"
427 dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
428 local x=""
429 for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri}*; do
430 if [ -f ${x} -o -L ${x} ]; then
431 mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
432 fi
433 done
434 eend 0
435 }
436
437 server_based_install() {
438 if ! use xorg; then
439 rm "${D}"/usr/share/man/man1/Xserver.1x \
440 "${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \
441 "${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
442 "${D}"/usr/share/man/man1/Xserver.1x
443 fi
444 }
445
446 switch_opengl_implem() {
447 # Switch to the xorg implementation.
448 # Use new opengl-update that will not reset user selected
449 # OpenGL interface ...
450 echo
451 eselect opengl set ${OLD_IMPLEM}
452 }
453
454 ensure_a_server_is_building() {
455 for server in ${IUSE_SERVERS}; do
456 use ${server} && return;
457 done
458 eerror "You need to specify at least one server to build."
459 eerror "Valid servers are: ${IUSE_SERVERS}."
460 die "No servers were specified to build."
461 }