Gentoo Archives: gentoo-commits

From: Chi-Thanh Christopher Nguyen <chithanh@××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/x11:master commit in: x11-base/xorg-server/, x11-base/xorg-drivers/
Date: Wed, 30 Mar 2011 20:19:49
Message-Id: 21ea60b9ad028ccd2ff3c47209a2a2acbe67438d.chithead@gentoo
1 commit: 21ea60b9ad028ccd2ff3c47209a2a2acbe67438d
2 Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 20:26:37 2011 +0000
4 Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
5 CommitDate: Wed Mar 30 20:26:37 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=21ea60b9
7
8 x11-base/xorg-{drivers,server}-1.10*: in portage
9
10 ---
11 x11-base/xorg-drivers/xorg-drivers-1.10.ebuild | 161 -------------
12 x11-base/xorg-server/xorg-server-1.10.0.901.ebuild | 249 --------------------
13 2 files changed, 0 insertions(+), 410 deletions(-)
14
15 diff --git a/x11-base/xorg-drivers/xorg-drivers-1.10.ebuild b/x11-base/xorg-drivers/xorg-drivers-1.10.ebuild
16 deleted file mode 100644
17 index 0a0c186..0000000
18 --- a/x11-base/xorg-drivers/xorg-drivers-1.10.ebuild
19 +++ /dev/null
20 @@ -1,161 +0,0 @@
21 -# Copyright 1999-2010 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Header: $
24 -
25 -EAPI=4
26 -
27 -DESCRIPTION="Meta package containing deps on all xorg drivers"
28 -HOMEPAGE="http://www.gentoo.org/"
29 -SRC_URI=""
30 -
31 -LICENSE="as-is"
32 -SLOT="0"
33 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
34 -
35 -IUSE_INPUT_DEVICES="
36 - input_devices_acecad
37 - input_devices_aiptek
38 - input_devices_elographics
39 - input_devices_evdev
40 - input_devices_fpit
41 - input_devices_joystick
42 - input_devices_keyboard
43 - input_devices_mouse
44 - input_devices_penmount
45 - input_devices_tslib
46 - input_devices_virtualbox
47 - input_devices_vmmouse
48 - input_devices_void
49 - input_devices_synaptics
50 - input_devices_wacom
51 -"
52 -IUSE_VIDEO_CARDS="
53 - video_cards_apm
54 - video_cards_ark
55 - video_cards_ast
56 - video_cards_chips
57 - video_cards_cirrus
58 - video_cards_dummy
59 - video_cards_epson
60 - video_cards_fbdev
61 - video_cards_geode
62 - video_cards_glint
63 - video_cards_i128
64 - video_cards_i740
65 - video_cards_intel
66 - video_cards_impact
67 - video_cards_mach64
68 - video_cards_mga
69 - video_cards_neomagic
70 - video_cards_newport
71 - video_cards_nouveau
72 - video_cards_nv
73 - video_cards_omapfb
74 - video_cards_qxl
75 - video_cards_r128
76 - video_cards_radeon
77 - video_cards_rendition
78 - video_cards_s3
79 - video_cards_s3virge
80 - video_cards_savage
81 - video_cards_siliconmotion
82 - video_cards_sis
83 - video_cards_sisusb
84 - video_cards_sunbw2
85 - video_cards_suncg14
86 - video_cards_suncg3
87 - video_cards_suncg6
88 - video_cards_sunffb
89 - video_cards_sunleo
90 - video_cards_suntcx
91 - video_cards_tdfx
92 - video_cards_tga
93 - video_cards_trident
94 - video_cards_tseng
95 - video_cards_v4l
96 - video_cards_vesa
97 - video_cards_via
98 - video_cards_virtualbox
99 - video_cards_vmware
100 - video_cards_voodoo
101 - video_cards_xgi
102 - video_cards_fglrx
103 - video_cards_nvidia
104 -"
105 -
106 -IUSE="${IUSE_VIDEO_CARDS} ${IUSE_INPUT_DEVICES}"
107 -
108 -PDEPEND="
109 - input_devices_acecad? ( x11-drivers/xf86-input-acecad )
110 - input_devices_aiptek? ( x11-drivers/xf86-input-aiptek )
111 - input_devices_elographics? ( x11-drivers/xf86-input-elographics )
112 - input_devices_evdev? ( x11-drivers/xf86-input-evdev )
113 - input_devices_fpit? ( x11-drivers/xf86-input-fpit )
114 - input_devices_joystick? ( x11-drivers/xf86-input-joystick )
115 - input_devices_keyboard? ( x11-drivers/xf86-input-keyboard )
116 - input_devices_mouse? ( x11-drivers/xf86-input-mouse )
117 - input_devices_penmount? ( x11-drivers/xf86-input-penmount )
118 - input_devices_tslib? ( x11-drivers/xf86-input-tslib )
119 - input_devices_virtualbox? ( x11-drivers/xf86-input-virtualbox )
120 - input_devices_vmmouse? ( x11-drivers/xf86-input-vmmouse )
121 - input_devices_void? ( x11-drivers/xf86-input-void )
122 - input_devices_synaptics? ( x11-drivers/xf86-input-synaptics )
123 - input_devices_wacom? ( x11-drivers/xf86-input-wacom )
124 -
125 - video_cards_apm? ( x11-drivers/xf86-video-apm )
126 - video_cards_ark? ( x11-drivers/xf86-video-ark )
127 - video_cards_ast? ( x11-drivers/xf86-video-ast )
128 - video_cards_chips? ( x11-drivers/xf86-video-chips )
129 - video_cards_cirrus? ( x11-drivers/xf86-video-cirrus )
130 - video_cards_dummy? ( x11-drivers/xf86-video-dummy )
131 - video_cards_fbdev? ( x11-drivers/xf86-video-fbdev )
132 - video_cards_geode? ( x11-drivers/xf86-video-geode )
133 - video_cards_glint? ( x11-drivers/xf86-video-glint )
134 - video_cards_i128? ( x11-drivers/xf86-video-i128 )
135 - video_cards_i740? ( x11-drivers/xf86-video-i740 )
136 - video_cards_intel? ( x11-drivers/xf86-video-intel )
137 - video_cards_mach64? ( x11-drivers/xf86-video-mach64 )
138 - video_cards_mga? ( x11-drivers/xf86-video-mga )
139 - video_cards_neomagic? ( x11-drivers/xf86-video-neomagic )
140 - video_cards_newport? ( x11-drivers/xf86-video-newport )
141 - video_cards_nouveau? ( x11-drivers/xf86-video-nouveau )
142 - video_cards_nv? ( x11-drivers/xf86-video-nv )
143 - video_cards_omapfb? ( x11-drivers/xf86-video-omapfb )
144 - video_cards_qxl? ( x11-drivers/xf86-video-qxl )
145 - video_cards_nvidia? ( x11-drivers/nvidia-drivers )
146 - video_cards_fglrx? ( x11-drivers/ati-drivers )
147 - video_cards_r128? ( x11-drivers/xf86-video-r128 )
148 - video_cards_radeon? ( x11-drivers/xf86-video-ati )
149 - video_cards_rendition? ( x11-drivers/xf86-video-rendition )
150 - video_cards_s3? ( x11-drivers/xf86-video-s3 )
151 - video_cards_s3virge? ( x11-drivers/xf86-video-s3virge )
152 - video_cards_savage? ( x11-drivers/xf86-video-savage )
153 - video_cards_siliconmotion? ( x11-drivers/xf86-video-siliconmotion )
154 - video_cards_sis? ( x11-drivers/xf86-video-sis )
155 - video_cards_sisusb? ( x11-drivers/xf86-video-sisusb )
156 - video_cards_suncg14? ( x11-drivers/xf86-video-suncg14 )
157 - video_cards_suncg3? ( x11-drivers/xf86-video-suncg3 )
158 - video_cards_suncg6? ( !x11-drivers/xf86-video-suncg6 )
159 - video_cards_sunffb? ( x11-drivers/xf86-video-sunffb )
160 - video_cards_sunleo? ( x11-drivers/xf86-video-sunleo )
161 - video_cards_suntcx? ( x11-drivers/xf86-video-suntcx )
162 - video_cards_tdfx? ( x11-drivers/xf86-video-tdfx )
163 - video_cards_tga? ( x11-drivers/xf86-video-tga )
164 - video_cards_trident? ( x11-drivers/xf86-video-trident )
165 - video_cards_tseng? ( x11-drivers/xf86-video-tseng )
166 - video_cards_v4l? ( x11-drivers/xf86-video-v4l )
167 - video_cards_vesa? ( x11-drivers/xf86-video-vesa )
168 - video_cards_via? ( x11-drivers/xf86-video-openchrome )
169 - video_cards_virtualbox? ( x11-drivers/xf86-video-virtualbox )
170 - video_cards_vmware? ( x11-drivers/xf86-video-vmware )
171 - video_cards_voodoo? ( x11-drivers/xf86-video-voodoo )
172 - video_cards_xgi? ( x11-drivers/xf86-video-xgi )
173 -
174 - !x11-drivers/xf86-input-citron
175 - !x11-drivers/xf86-input-hyperpen
176 - !x11-drivers/xf86-input-mutouch
177 - !x11-drivers/xf86-video-cyrix
178 - !x11-drivers/xf86-video-impact
179 - !x11-drivers/xf86-video-nsc
180 - !x11-drivers/xf86-video-sunbw2
181 -"
182
183 diff --git a/x11-base/xorg-server/xorg-server-1.10.0.901.ebuild b/x11-base/xorg-server/xorg-server-1.10.0.901.ebuild
184 deleted file mode 100644
185 index 3674f34..0000000
186 --- a/x11-base/xorg-server/xorg-server-1.10.0.901.ebuild
187 +++ /dev/null
188 @@ -1,249 +0,0 @@
189 -# Copyright 1999-2011 Gentoo Foundation
190 -# Distributed under the terms of the GNU General Public License v2
191 -# $Header: $
192 -
193 -EAPI=4
194 -
195 -XORG_DOC=doc
196 -inherit xorg-2 multilib versionator
197 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver"
198 -
199 -DESCRIPTION="X.Org X servers"
200 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
201 -
202 -IUSE_SERVERS="dmx kdrive xorg"
203 -IUSE="${IUSE_SERVERS} ipv6 minimal nptl tslib +udev"
204 -
205 -RDEPEND=">=app-admin/eselect-opengl-1.0.8
206 - dev-libs/openssl
207 - media-libs/freetype
208 - >=x11-apps/iceauth-1.0.2
209 - >=x11-apps/rgb-1.0.3
210 - >=x11-apps/xauth-1.0.3
211 - x11-apps/xkbcomp
212 - >=x11-libs/libpciaccess-0.10.3
213 - >=x11-libs/libXau-1.0.4
214 - >=x11-libs/libXdmcp-1.0.2
215 - >=x11-libs/libXfont-1.4.2
216 - >=x11-libs/libxkbfile-1.0.4
217 - >=x11-libs/pixman-0.15.20
218 - >=x11-libs/xtrans-1.2.2
219 - >=x11-misc/xbitmaps-1.0.1
220 - >=x11-misc/xkeyboard-config-1.4
221 - dmx? (
222 - x11-libs/libXt
223 - >=x11-libs/libdmx-1.0.99.1
224 - >=x11-libs/libX11-1.1.5
225 - >=x11-libs/libXaw-1.0.4
226 - >=x11-libs/libXext-1.0.99.4
227 - >=x11-libs/libXfixes-4.0.3
228 - >=x11-libs/libXi-1.2.99.1
229 - >=x11-libs/libXmu-1.0.3
230 - >=x11-libs/libXres-1.0.3
231 - >=x11-libs/libXtst-1.0.99.2
232 - )
233 - kdrive? (
234 - >=x11-libs/libXext-1.0.5
235 - x11-libs/libXv
236 - )
237 - !minimal? (
238 - >=x11-libs/libX11-1.1.5
239 - >=x11-libs/libXext-1.0.5
240 - >=media-libs/mesa-7.8_rc[nptl=]
241 - )
242 - tslib? ( >=x11-libs/tslib-1.0 x11-proto/xcalibrateproto )
243 - udev? ( >=sys-fs/udev-150 )
244 - >=x11-apps/xinit-1.3"
245 -
246 -DEPEND="${RDEPEND}
247 - sys-devel/flex
248 - >=x11-proto/bigreqsproto-1.1.0
249 - >=x11-proto/compositeproto-0.4
250 - >=x11-proto/damageproto-1.1
251 - >=x11-proto/fixesproto-4.1
252 - >=x11-proto/fontsproto-2.0.2
253 - >=x11-proto/glproto-1.4.11
254 - >=x11-proto/inputproto-1.9.99.902
255 - >=x11-proto/kbproto-1.0.3
256 - >=x11-proto/randrproto-1.2.99.3
257 - >=x11-proto/recordproto-1.13.99.1
258 - >=x11-proto/renderproto-0.11
259 - >=x11-proto/resourceproto-1.0.2
260 - >=x11-proto/scrnsaverproto-1.1
261 - >=x11-proto/trapproto-3.4.3
262 - >=x11-proto/videoproto-2.2.2
263 - >=x11-proto/xcmiscproto-1.2.0
264 - >=x11-proto/xextproto-7.1.99
265 - >=x11-proto/xf86dgaproto-2.0.99.1
266 - >=x11-proto/xf86rushproto-1.1.2
267 - >=x11-proto/xf86vidmodeproto-2.2.99.1
268 - >=x11-proto/xineramaproto-1.1.3
269 - >=x11-proto/xproto-7.0.17
270 - dmx? ( >=x11-proto/dmxproto-2.2.99.1 )
271 - !minimal? (
272 - >=x11-proto/xf86driproto-2.1.0
273 - >=x11-proto/dri2proto-2.3
274 - >=x11-libs/libdrm-2.4.20
275 - )"
276 -
277 -PDEPEND="
278 - xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
279 -
280 -REQUIRED_USE="!minimal? (
281 - || ( ${IUSE_SERVERS} )
282 - )"
283 -
284 -#UPSTREAMED_PATCHES=(
285 -# "${WORKDIR}/patches/"
286 -#)
287 -
288 -PATCHES=(
289 - "${UPSTREAMED_PATCHES[@]}"
290 - "${FILESDIR}"/${PN}-disable-acpi.patch
291 - "${FILESDIR}"/${PN}-1.9-nouveau-default.patch
292 - )
293 -
294 -pkg_setup() {
295 - xorg-2_pkg_setup
296 -
297 - # localstatedir is used for the log location; we need to override the default
298 - # from ebuild.sh
299 - # sysconfdir is used for the xorg.conf location; same applies
300 - # --enable-install-setuid needed because sparcs default off
301 - # NOTE: fop is used for doc generating ; and i have no idea if gentoo
302 - # package it somewhere
303 - CONFIGURE_OPTIONS="
304 - $(use_enable ipv6)
305 - $(use_enable dmx)
306 - $(use_enable kdrive)
307 - $(use_enable kdrive kdrive-kbd)
308 - $(use_enable kdrive kdrive-mouse)
309 - $(use_enable kdrive kdrive-evdev)
310 - $(use_enable tslib)
311 - $(use_enable tslib xcalibrate)
312 - $(use_enable !minimal xvfb)
313 - $(use_enable !minimal xnest)
314 - $(use_enable !minimal record)
315 - $(use_enable !minimal xfree86-utils)
316 - $(use_enable !minimal install-libxf86config)
317 - $(use_enable !minimal dri)
318 - $(use_enable !minimal dri2)
319 - $(use_enable !minimal glx)
320 - $(use_enable xorg)
321 - $(use_enable nptl glx-tls)
322 - $(use_enable udev config-udev)
323 - $(use_with doc doxygen)
324 - $(use_with doc xmlto)
325 - --sysconfdir=/etc/X11
326 - --localstatedir=/var
327 - --enable-install-setuid
328 - --with-fontrootdir=/usr/share/fonts
329 - --with-xkb-output=/var/lib/xkb
330 - --disable-config-hal
331 - --without-dtrace
332 - --without-fop
333 - --with-os-vendor=Gentoo
334 - "
335 -
336 - # Xorg-server requires includes from OS mesa which are not visible for
337 - # users of binary drivers.
338 - # Due to the limitations of CONFIGURE_OPTIONS, we have to export this
339 - mkdir -p "${T}/mesa-symlinks/GL"
340 - for i in gl glx glxmd glxproto glxtokens; do
341 - ln -s "${EROOT}usr/$(get_libdir)/opengl/xorg-x11/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die
342 - done
343 - for i in glext glxext; do
344 - ln -s "${EROOT}usr/$(get_libdir)/opengl/global/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die
345 - done
346 - append-cppflags "-I${T}/mesa-symlinks"
347 -
348 - # Incompatible with GCC 3.x SSP on x86, bug #244352
349 - if use x86 ; then
350 - if [[ $(gcc-major-version) -lt 4 ]]; then
351 - filter-flags -fstack-protector
352 - fi
353 - fi
354 -
355 - # Incompatible with GCC 3.x CPP, bug #314615
356 - if [[ $(gcc-major-version) -lt 4 ]]; then
357 - ewarn "GCC 3.x C preprocessor may cause build failures. Use GCC 4.x"
358 - ewarn "or set CPP=cpp-4.3.4 (replace with the actual installed version)"
359 - fi
360 -
361 - # detect if we should inform user about ebuild breakage
362 - if ! has_version "x11-base/xorg-server" ||
363 - has_version "<x11-base/xorg-server-$(get_version_component_range 1-2)"; then
364 - INFO="yes"
365 - fi
366 -}
367 -
368 -src_install() {
369 - xorg-2_src_install
370 -
371 - dynamic_libgl_install
372 -
373 - server_based_install
374 -
375 - if ! use minimal && use xorg; then
376 - # Install xorg.conf.example into docs
377 - dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example
378 - fi
379 -
380 - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
381 - newinitd "${FILESDIR}"/xdm.initd-3 xdm
382 - newconfd "${FILESDIR}"/xdm.confd-3 xdm
383 -
384 - # install the @x11-module-rebuild set for Portage
385 - insinto /usr/share/portage/config/sets
386 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
387 -}
388 -
389 -pkg_postinst() {
390 - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
391 - eselect opengl set xorg-x11 --use-old
392 -
393 - if [[ ${INFO} = yes ]]; then
394 - elog "You should consider reading upgrade guide for this release:"
395 - elog " http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-$(get_version_component_range 1-2)-upgrade-guide.xml"
396 - echo
397 - ewarn "You must rebuild all drivers if upgrading from <xorg-server-$(get_version_component_range 1-2)"
398 - ewarn "because the ABI changed. If you cannot start X because"
399 - ewarn "of module version mismatch errors, this is your problem."
400 -
401 - echo
402 - ewarn "You can generate a list of all installed packages in the x11-drivers"
403 - ewarn "category using this command:"
404 - ewarn " emerge portage-utils; qlist -I -C x11-drivers/"
405 - fi
406 -}
407 -
408 -pkg_postrm() {
409 - # Get rid of module dir to ensure opengl-update works properly
410 - if ! has_version x11-base/xorg-server; then
411 - if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then
412 - rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules
413 - fi
414 - fi
415 -}
416 -
417 -dynamic_libgl_install() {
418 - # next section is to setup the dynamic libGL stuff
419 - ebegin "Moving GL files for dynamic switching"
420 - dodir /usr/$(get_libdir)/opengl/xorg-x11/extensions
421 - local x=""
422 - for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do
423 - if [ -f ${x} -o -L ${x} ]; then
424 - mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/xorg-x11/extensions
425 - fi
426 - done
427 - eend 0
428 -}
429 -
430 -server_based_install() {
431 - if ! use xorg; then
432 - rm "${D}"/usr/share/man/man1/Xserver.1x \
433 - "${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \
434 - "${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
435 - "${D}"/usr/share/man/man1/Xserver.1x
436 - fi
437 -}