summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-12-11 17:19:06 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-12-11 17:19:06 +0000
commit06220f39890b4684050153d6f867ecd052f66751 (patch)
tree5ccee24e1edd5138769dfef9d2710fb1f44e4c6c /x11-base
parentDrop no-longer required ebuild. (diff)
downloadhistorical-06220f39890b4684050153d6f867ecd052f66751.tar.gz
historical-06220f39890b4684050153d6f867ecd052f66751.tar.bz2
historical-06220f39890b4684050153d6f867ecd052f66751.zip
Drop no-longer required ebuild.
Package-Manager: portage-2.2_rc58/cvs/Linux i686
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xorg-server/ChangeLog7
-rw-r--r--x11-base/xorg-server/Manifest16
-rw-r--r--x11-base/xorg-server/xorg-server-1.5.3-r7.ebuild528
-rw-r--r--x11-base/xorg-server/xorg-server-1.6.5.ebuild256
-rw-r--r--x11-base/xorg-server/xorg-server-1.7.1.ebuild261
5 files changed, 7 insertions, 1061 deletions
diff --git a/x11-base/xorg-server/ChangeLog b/x11-base/xorg-server/ChangeLog
index 2538bc114b75..1d995084a91d 100644
--- a/x11-base/xorg-server/ChangeLog
+++ b/x11-base/xorg-server/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-base/xorg-server
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.469 2009/12/10 18:56:34 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.470 2009/12/11 17:19:06 scarabeus Exp $
+
+ 11 Dec 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ -xorg-server-1.5.3-r7.ebuild, -xorg-server-1.6.5.ebuild,
+ -xorg-server-1.7.1.ebuild:
+ Drop no-longer required ebuild.
10 Dec 2009; Christian Faulhammer <fauli@gentoo.org>
xorg-server-1.6.5-r1.ebuild:
diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
index ef13db3974b3..b46a18353239 100644
--- a/x11-base/xorg-server/Manifest
+++ b/x11-base/xorg-server/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 1.4-fix-kdrive-automake.patch 382 RMD160 78062824a416a2b452866d50592cc71bf34b13be SHA1 f21a54aed8eae1e718f2f0c262c37c36ccccd152 SHA256 126b67332c902802da506970acf253030004e4f7e17b3b6d2e68dd6b7bb0db81
AUX 1.4-fpic-libxf86config.patch 374 RMD160 614d69f83b7f4d4999efa906f2059b7f287e22c1 SHA1 1f113823c03f69e79b10965908945df629b73474 SHA256 017e7ba2954dcc2281f8626977d47fd8bd037f05e680e51b8e4ae7316455a237
AUX 1.6.3.901-0001-dix-append-built-ins-to-the-font-path-in-SetDefaultF.patch 3303 RMD160 69966b78924cc4f03df8ff0edc1666370a6b9e67 SHA1 a95b2e0ec5f47e91769b596872c4a7700101d730 SHA256 8f24228cf93819a59f016b42d31cd1d4c6d4b014a24d690dd3b5e88e0040563f
@@ -9,21 +6,10 @@ DIST xorg-server-1.5.3.tar.bz2 5622625 RMD160 dc0c552e031963070b7a315ea449981002
DIST xorg-server-1.6.3.901.tar.bz2 4678171 RMD160 45421fdb4524ffd1b247569a1c7dc728bd0cf965 SHA1 09e3d46178701ce76911553ee53309686822bb31 SHA256 1b8b9c40fc3da9268b03143cb4fc518baa9fcf88da73c7645c2d572bf23dbd50
DIST xorg-server-1.6.5-gentoo-patches-01.tar.bz2 5482 RMD160 4e415d7aeb24172035f648ae14776aad33f7a441 SHA1 81d59f957f13c30cdcecc3bca0adb58befb26c0e SHA256 10a2184a63eafba51846b96833acd4b67c0524b1338bd4ef0218686d7f8e7414
DIST xorg-server-1.6.5.tar.bz2 4678406 RMD160 702970358a5643dbc9205f42e39c5b8ed2ff845a SHA1 c57c80dd15d3ca492e58ae993b9015d085ec6ea6 SHA256 f3c0e43cf73e7d438350016cabd9957dc000ded9c5fdeebf84a02df61963b2ce
-DIST xorg-server-1.7.1.tar.bz2 4892079 RMD160 b0ca9079636c11071344af70ccae56bcd7b6ecf9 SHA1 d31e259b3ab975e2c1baea8f7310b57152ae3c62 SHA256 a58c0de29cbd2b7d1a1ac5ee70a94ad1ed2a085132803c0ca83f2dd8513b4c20
DIST xorg-server-1.7.3.tar.bz2 4915075 RMD160 c2a94199b0d42190fa6c4c2aa84fed407d38576b SHA1 db04e090a22f73f5a7137b06eb7952ba10272c7d SHA256 4b644113cd030fc77615c03c7b6529e063dc1d471ec6a990e6f62eb45a9c2db4
EBUILD xorg-server-1.5.3-r6.ebuild 15750 RMD160 745c0ad7dc210b1a793c84a92f2f86bc78f1ba5b SHA1 6bae4412a377eae77b740865d88a2f411d57995b SHA256 9ea16a9a31f13ae4aacbff4cf569181c2250103221a6fb30d8f5a615cad0b431
-EBUILD xorg-server-1.5.3-r7.ebuild 15852 RMD160 406000269e701cef61466ebf25e443e29a3583ad SHA1 9090c95fff146c4edc19c82ef82e3d804bc3f9e3 SHA256 c7cb091c0c7dfc7221621a5ae53a2de9a2226e5eaf1dee8303c64fd41fa641d6
EBUILD xorg-server-1.6.3.901-r2.ebuild 7076 RMD160 31a00915b7a62957e8e281904c8f89ddc5342903 SHA1 da100e4367e3c5e799169bbf39fa8b6bb7ac98d8 SHA256 220ddb964781479e3370be94f19c6c97d4793b59618eacc2a79e8f2eb676df2b
EBUILD xorg-server-1.6.5-r1.ebuild 6848 RMD160 508332d8a3b44d4acbdb5878eb9d8200d0fe80ba SHA1 6e9ec906b8adab5b61b26c57bfc7c58a9eb54b0b SHA256 a19fe9bf215cc80775e36d343d59560b4987a6d19d2e7d2161a36c85956eab9e
-EBUILD xorg-server-1.6.5.ebuild 6855 RMD160 f013f48f93610db6570e02652cdac6bb082a7e94 SHA1 a69884389aea7f49bd5b665e11eb9dd51e9ef644 SHA256 2650e520431dd91e078685ca2b3f337252c9af2cd33e66258333cd51cc904e3a
-EBUILD xorg-server-1.7.1.ebuild 6852 RMD160 8adcf67d081aa88fda64a16a4b630cee0b1163df SHA1 56c4e513cfa8081697a731239ba3565003625bed SHA256 7da70d24779ad1977d0c3e5fcb68faa6b755c2c3573ebe67910175c1fb4de355
EBUILD xorg-server-1.7.3.ebuild 6847 RMD160 d13b676ba3557ef883efaa5d5fd579b8079d9453 SHA1 7ca1e41cb832976ec4d80c45b33cbef53ddcd449 SHA256 b82fd3e5020bf0b9914b513955ee49afa114bc0b29be6d58196962ee0f3210a5
-MISC ChangeLog 107617 RMD160 cbc90310235ea7f94723a76b9e0d279cca2ca19e SHA1 b3ea6ee461b332f74242d5c276caa7d21b68f3d2 SHA256 12a6f84747690860b3c0a070fcb33893ff432fc3bda9341d281ce0afaf4ba13f
+MISC ChangeLog 107799 RMD160 fea7a184b71ef9191e522aca61e8610e3775a8f0 SHA1 e72192f12184ed6107d825c61e23446889e45869 SHA256 b9d67fc27929e186d51d94e5017343817bc5a16cf0d65b41c099cf283a5770f7
MISC metadata.xml 439 RMD160 c96c2c91bc0374b9ec854aec534988afa77cd42c SHA1 631c118285d63e25d63c21487ecac7a05a8304f0 SHA256 cc8d98da43263c08185727cdc0848c5182d54145d5f9caa908294b7d4ef4ed7b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkshRGkACgkQNQqtfCuFneOrDACfQtsZVzuw+ev+dfPEqmtY7ir5
-LOYAn2IHpz9r/q4qhcBJ3f2K+Nh0441/
-=HVTV
------END PGP SIGNATURE-----
diff --git a/x11-base/xorg-server/xorg-server-1.5.3-r7.ebuild b/x11-base/xorg-server/xorg-server-1.5.3-r7.ebuild
deleted file mode 100644
index 568a42b6f08d..000000000000
--- a/x11-base/xorg-server/xorg-server-1.5.3-r7.ebuild
+++ /dev/null
@@ -1,528 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.5.3-r7.ebuild,v 1.6 2009/11/28 09:14:38 scarabeus Exp $
-
-# Must be before x-modular eclass is inherited
-SNAPSHOT="yes"
-
-inherit x-modular multilib
-
-OPENGL_DIR="xorg-x11"
-
-SRC_URI="${SRC_URI}
- http://xorg.freedesktop.org/releases/individual/xserver/${P}.tar.bz2
- mirror://gentoo/${P}-gentoo-patches-08.tar.bz2"
-DESCRIPTION="X.Org X servers"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE_INPUT_DEVICES="
- input_devices_acecad
- input_devices_aiptek
- input_devices_citron
- input_devices_elographics
- input_devices_evdev
- input_devices_fpit
- input_devices_hyperpen
- input_devices_joystick
- input_devices_keyboard
- input_devices_mouse
- input_devices_mutouch
- input_devices_penmount
- input_devices_tslib
- input_devices_virtualbox
- input_devices_vmmouse
- input_devices_void
-
- input_devices_synaptics
- input_devices_wacom"
-IUSE_VIDEO_CARDS="
- video_cards_apm
- video_cards_ark
- video_cards_ast
- video_cards_chips
- video_cards_cirrus
- video_cards_dummy
- video_cards_epson
- video_cards_fbdev
- video_cards_geode
- video_cards_glint
- video_cards_i128
- video_cards_i740
- video_cards_intel
- video_cards_impact
- video_cards_imstt
- video_cards_mach64
- video_cards_mga
- video_cards_neomagic
- video_cards_newport
- video_cards_nv
- video_cards_r128
- video_cards_radeon
- video_cards_radeonhd
- video_cards_rendition
- video_cards_s3
- video_cards_s3virge
- video_cards_savage
- video_cards_siliconmotion
- video_cards_sis
- video_cards_sisusb
- video_cards_sunbw2
- video_cards_suncg14
- video_cards_suncg3
- video_cards_suncg6
- video_cards_sunffb
- video_cards_sunleo
- video_cards_suntcx
- video_cards_tdfx
- video_cards_tga
- video_cards_trident
- video_cards_tseng
- video_cards_v4l
- video_cards_vermilion
- video_cards_vesa
- video_cards_via
- video_cards_virtualbox
- video_cards_vmware
- video_cards_voodoo
- video_cards_xgi
- video_cards_fglrx
- video_cards_nvidia"
-IUSE_SERVERS="dmx kdrive xorg"
-IUSE="${IUSE_VIDEO_CARDS}
- ${IUSE_INPUT_DEVICES}
- ${IUSE_SERVERS}
- 3dfx tslib
- hal ipv6 minimal nptl sdl"
-RDEPEND="hal? ( sys-apps/hal )
- tslib? ( x11-libs/tslib x11-libs/libXCalibrate )
- dev-libs/openssl
- >=x11-libs/libXfont-1.3.3
- >=x11-libs/xtrans-1.2.2
- >=x11-libs/libXau-1.0.4
- >=x11-libs/libXext-1.0.4
- >=x11-libs/libX11-1.1.5
- >=x11-libs/libxkbfile-1.0.4
- >=x11-libs/libXdmcp-1.0.2
- >=x11-libs/libXmu-1.0.3
- >=x11-libs/libXrender-0.9.4
- >=x11-libs/libXi-1.1.3
- >=x11-libs/pixman-0.12
- media-libs/freetype
- >=x11-misc/xbitmaps-1.0.1
- >=x11-misc/xkeyboard-config-1.4
- x11-apps/xkbcomp
- >=x11-apps/iceauth-1.0.2
- >=x11-apps/rgb-1.0.3
- >=x11-apps/xauth-1.0.3
- >=x11-apps/xinit-1.0.8-r3
- >=app-admin/eselect-opengl-1.0.7
- >=x11-libs/libXaw-1.0.4
- >=x11-libs/libXpm-3.5.7
- >=x11-libs/libXxf86misc-1.0.1
- >=x11-libs/libXxf86vm-1.0.2
- >=x11-libs/libpciaccess-0.10.3
- dmx? ( >=x11-libs/libdmx-1.0.2
- >=x11-libs/libXfixes-4.0.3 )
- !minimal? ( >=x11-libs/libXtst-1.0.3
- >=x11-libs/libXres-1.0.3
- >=media-libs/mesa-7.1
- media-fonts/font-adobe-75dpi )
- >=x11-libs/libxkbui-1.0.2
- kdrive? ( sdl? ( media-libs/libsdl ) )"
- # Xres is dmx-dependent, xkbui is xorgcfg-dependent
- # Xaw is dmx- and xorgcfg-dependent
- # Xpm is dmx- and xorgcfg-dependent, pulls in Xt
- # Xxf86misc and Xxf86vm are xorgcfg-dependent
- # xkbcomp is launched at startup but not checked by ./configure
-DEPEND="${RDEPEND}
- !net-dialup/dtrace
- sys-devel/flex
- >=x11-proto/randrproto-1.2.2
- >=x11-proto/renderproto-0.9.3
- >=x11-proto/fixesproto-4
- >=x11-proto/damageproto-1.1
- >=x11-proto/xextproto-7.0.3
- >=x11-proto/xproto-7.0.13
- >=x11-proto/xf86dgaproto-2.0.3
- >=x11-proto/xf86miscproto-0.9.2
- >=x11-proto/xf86rushproto-1.1.2
- >=x11-proto/xf86vidmodeproto-2.2.2
- >=x11-proto/xf86bigfontproto-1.1.2
- >=x11-proto/compositeproto-0.4
- >=x11-proto/recordproto-1.13.2
- >=x11-proto/resourceproto-1.0.2
- >=x11-proto/videoproto-2.2.2
- >=x11-proto/scrnsaverproto-1.1.0
- >=x11-proto/evieext-1.0.2
- >=x11-proto/trapproto-3.4.3
- >=x11-proto/xineramaproto-1.1.2
- >=x11-proto/fontsproto-2.0.2
- >=x11-proto/kbproto-1.0.3
- >=x11-proto/inputproto-1.4.4
- >=x11-proto/bigreqsproto-1.0.2
- >=x11-proto/xcmiscproto-1.1.2
- >=x11-proto/glproto-1.4.9
- dmx? ( >=x11-proto/dmxproto-2.2.2 )
- !minimal? ( >=x11-proto/xf86driproto-2.0.4
- >=x11-libs/libdrm-2.3 )"
-
-# Drivers
-PDEPEND="
- xorg? (
- input_devices_acecad? ( >=x11-drivers/xf86-input-acecad-1.2.2 )
- input_devices_aiptek? ( >=x11-drivers/xf86-input-aiptek-1.1.1 )
- input_devices_citron? ( >=x11-drivers/xf86-input-citron-2.2.1 )
- input_devices_elographics? ( >=x11-drivers/xf86-input-elographics-1.2.2 )
- input_devices_evdev? ( >=x11-drivers/xf86-input-evdev-2.1.0 )
- input_devices_fpit? ( >=x11-drivers/xf86-input-fpit-1.2.0 )
- input_devices_hyperpen? ( >=x11-drivers/xf86-input-hyperpen-1.2.0 )
- input_devices_joystick? ( >=x11-drivers/xf86-input-joystick-1.3.2 )
- input_devices_keyboard? ( >=x11-drivers/xf86-input-keyboard-1.3.1 )
- input_devices_mouse? ( >=x11-drivers/xf86-input-mouse-1.3.0 )
- input_devices_mutouch? ( >=x11-drivers/xf86-input-mutouch-1.2.1 )
- input_devices_penmount? ( >=x11-drivers/xf86-input-penmount-1.3.0 )
- input_devices_tslib? ( x11-drivers/xf86-input-tslib x11-libs/libXCalibrate )
- input_devices_virtualbox? ( x11-drivers/xf86-input-virtualbox )
- input_devices_vmmouse? ( >=x11-drivers/xf86-input-vmmouse-12.5.0 )
- input_devices_void? ( >=x11-drivers/xf86-input-void-1.1.1 )
- input_devices_synaptics? ( >=x11-drivers/xf86-input-synaptics-0.15.0 )
- input_devices_wacom? ( x11-drivers/linuxwacom )
-
- video_cards_apm? ( >=x11-drivers/xf86-video-apm-1.2.0 )
- video_cards_ark? ( >=x11-drivers/xf86-video-ark-0.7.0 )
- video_cards_ast? ( >=x11-drivers/xf86-video-ast-0.85.0 )
- video_cards_chips? ( >=x11-drivers/xf86-video-chips-1.2.0 )
- video_cards_cirrus? ( >=x11-drivers/xf86-video-cirrus-1.2.1 )
- video_cards_dummy? ( >=x11-drivers/xf86-video-dummy-0.3.0 )
- video_cards_fbdev? ( >=x11-drivers/xf86-video-fbdev-0.4.0 )
- video_cards_geode? ( >=x11-drivers/xf86-video-geode-2.9.0 )
- video_cards_glint? ( >=x11-drivers/xf86-video-glint-1.2.1 )
- video_cards_i128? ( >=x11-drivers/xf86-video-i128-1.3.1 )
- video_cards_i740? ( >=x11-drivers/xf86-video-i740-1.2.0 )
- video_cards_intel? ( >=x11-drivers/xf86-video-intel-2.4.2-r1 )
- video_cards_mach64? ( >=x11-drivers/xf86-video-mach64-6.8.0 )
- video_cards_mga? ( >=x11-drivers/xf86-video-mga-1.4.9 )
- video_cards_neomagic? ( >=x11-drivers/xf86-video-neomagic-1.2.1 )
- video_cards_newport? ( x11-drivers/xf86-video-newport )
- video_cards_nv? ( >=x11-drivers/xf86-video-nv-2.1.12 )
- video_cards_nvidia? ( x11-drivers/nvidia-drivers )
- video_cards_fglrx? ( >=x11-drivers/ati-drivers-8.552-r2 )
- video_cards_r128? ( >=x11-drivers/xf86-video-r128-6.8.0 )
- video_cards_radeon? ( >=x11-drivers/xf86-video-ati-6.9.0 )
- video_cards_radeonhd? ( >=x11-drivers/xf86-video-radeonhd-1.2.1 )
- video_cards_rendition? ( >=x11-drivers/xf86-video-rendition-4.2.0 )
- video_cards_s3? ( >=x11-drivers/xf86-video-s3-0.6.0 )
- video_cards_s3virge? ( >=x11-drivers/xf86-video-s3virge-1.10.1 )
- video_cards_savage? ( >=x11-drivers/xf86-video-savage-2.2.1 )
- video_cards_siliconmotion? ( >=x11-drivers/xf86-video-siliconmotion-1.6.0 )
- video_cards_sis? ( >=x11-drivers/xf86-video-sis-0.10.0 )
- video_cards_sisusb? ( >=x11-drivers/xf86-video-sisusb-0.9.0 )
- video_cards_sunffb? ( >=x11-drivers/xf86-video-sunffb-1.2.0 )
- video_cards_sunleo? ( >=x11-drivers/xf86-video-sunleo-1.2.0 )
- video_cards_tdfx? ( >=x11-drivers/xf86-video-tdfx-1.4.0 )
- video_cards_tga? ( >=x11-drivers/xf86-video-tga-1.2.0 )
- video_cards_trident? ( >=x11-drivers/xf86-video-trident-1.3.0 )
- video_cards_tseng? ( >=x11-drivers/xf86-video-tseng-1.2.0 )
- video_cards_v4l? ( >=x11-drivers/xf86-video-v4l-0.2.0 )
- video_cards_vesa? ( >=x11-drivers/xf86-video-vesa-2.0.0 )
- video_cards_via? ( >=x11-drivers/xf86-video-openchrome-0.2.903 )
- video_cards_virtualbox? ( x11-drivers/xf86-video-virtualbox )
- video_cards_vmware? ( >=x11-drivers/xf86-video-vmware-10.16.5 )
- video_cards_voodoo? ( >=x11-drivers/xf86-video-voodoo-1.2.0 )
- video_cards_xgi? ( >=x11-drivers/xf86-video-xgi-1.5.0 )
-
- video_cards_tdfx? ( 3dfx? ( >=media-libs/glide-v3-3.10 ) )
-
- !x11-drivers/xf86-video-impact
- !x11-drivers/xf86-video-imstt
- !x11-drivers/xf86-video-sunbw2
- !x11-drivers/xf86-video-suncg14
- !x11-drivers/xf86-video-suncg3
- !x11-drivers/xf86-video-suncg6
- !x11-drivers/xf86-video-suntcx
- !x11-drivers/xf86-video-vermilion
-
- !x11-drivers/xf86-video-cyrix
- !x11-drivers/xf86-video-nsc
- !x11-drivers/xf86-video-vga
- )"
-LICENSE="${LICENSE} MIT"
-
-EPATCH_FORCE="yes"
-EPATCH_SUFFIX="patch"
-
-# Local customizations, unsuitable for upstream
-GENTOO_PATCHES=(
- "${FILESDIR}/1.4-fpic-libxf86config.patch"
- "${FILESDIR}/1.4-fix-kdrive-automake.patch"
- )
-
-# These have been sent upstream
-UPSTREAMED_PATCHES=(
- "${WORKDIR}/patches/"
-)
-
-PATCHES=(
- "${GENTOO_PATCHES[@]}"
- "${UPSTREAMED_PATCHES[@]}"
- )
-
-pkg_setup() {
- use minimal || ensure_a_server_is_building
-
- # SDL only available in kdrive build
- if use kdrive && use sdl; then
- conf_opts="${conf_opts} --enable-xsdl"
- else
- conf_opts="${conf_opts} --disable-xsdl"
- fi
-
- # localstatedir is used for the log location; we need to override the default
- # from ebuild.sh
- # sysconfdir is used for the xorg.conf location; same applies
- # --enable-install-setuid needed because sparcs default off
- CONFIGURE_OPTIONS="
- $(use_enable ipv6)
- $(use_enable dmx)
- $(use_enable kdrive)
- $(use_enable tslib)
- $(use_enable tslib xcalibrate)
- $(use_enable !minimal xvfb)
- $(use_enable !minimal xnest)
- $(use_enable !minimal xtrap)
- $(use_enable !minimal record)
- $(use_enable !minimal xfree86-utils)
- $(use_enable !minimal install-libxf86config)
- $(use_enable !minimal dri)
- $(use_enable !minimal glx)
- $(use_enable xorg)
- $(use_enable nptl glx-tls)
- $(use_enable !minimal xorgcfg)
- $(use_enable hal config-dbus)
- $(use_enable hal config-hal)
- --disable-dri2
- --sysconfdir=/etc/X11
- --localstatedir=/var
- --enable-install-setuid
- --with-fontdir=/usr/share/fonts
- --with-xkb-output=/var/lib/xkb
- --without-dtrace
- ${conf_opts}"
-
- local diemsg="You must build xorg-server and mesa with the same nptl USE setting."
- if ! use minimal; then
- if built_with_use media-libs/mesa nptl; then
- use nptl || die "${diemsg}"
- else
- use nptl && die "${diemsg}"
- fi
- fi
-
- # (#121394) Causes window corruption
- filter-flags -fweb
-
- # Incompatible with GCC 3.x SSP on x86, bug #244352
- if use x86 ; then
- if [[ $(gcc-major-version) -lt 4 ]]; then
- filter-flags -fstack-protector
- fi
- fi
-
- # Nothing else provides new enough glxtokens.h
- ewarn "Forcing on xorg-x11 for new enough glxtokens.h..."
- OLD_IMPLEM="$(eselect opengl show)"
- eselect opengl set ${OPENGL_DIR}
-}
-
-src_unpack() {
- x-modular_specs_check
- x-modular_dri_check
- x-modular_unpack_source
- x-modular_patch_source
-
- # Set up kdrive servers to build
- if use kdrive; then
- kdrive_setup
- fi
-
- # Make sure eautoreconf gets run if we need the autoconf/make
- # changes.
- if [[ ${SNAPSHOT} != "yes" ]]; then
- if use kdrive || use dmx; then
- SNAPSHOT="yes"
- fi
- fi
-
- if use hal; then
- sed -i \
- -e "s:^\(dbusconfigdir = \).*\(dbus-1.*\):\1/etc/\2:g" \
- "${S}"/config/Makefile.am \
- || die "failed to fix DBUS config directory"
- SNAPSHOT="yes"
- fi
-
- x-modular_reconf_source
-}
-
-src_install() {
- x-modular_src_install
-
- dynamic_libgl_install
-
- server_based_install
-
- # Install video mode files for system-config-display
- insinto /usr/share/xorg
- doins hw/xfree86/common/{extra,vesa}modes \
- || die "couldn't install extra modes"
-
- # Bug #151421 - this file is not built with USE="minimal"
- # Bug #151670 - this file is also not build if USE="-xorg"
- if ! use minimal && use xorg; then
- # Install xorg.conf.example
- insinto /etc/X11
- doins hw/xfree86/xorg.conf.example \
- || die "couldn't install xorg.conf.example"
- fi
-}
-
-pkg_postinst() {
- switch_opengl_implem
-
- # Bug #135544
- ewarn "Users of reduced blanking now need:"
- ewarn " Option \"ReducedBlanking\""
- ewarn "In the relevant Monitor section(s)."
- ewarn "Make sure your reduced blanking modelines are safe!"
-
- echo
- ewarn "You must rebuild all drivers if upgrading from xorg-server 1.4.1"
- ewarn "or earlier, because the ABI changed. If you cannot start X because"
- ewarn "of module version mismatch errors, this is your problem."
-
- echo
- ewarn "You can generate a list of all installed packages in the x11-drivers"
- ewarn "category using this command:"
- ewarn "emerge portage-utils; qlist -I -C x11-drivers/"
-
- ebeep 5
- epause 10
-}
-
-pkg_postrm() {
- # Get rid of module dir to ensure opengl-update works properly
- if ! has_version x11-base/xorg-server; then
- if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then
- rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules
- fi
- fi
-}
-
-kdrive_setup() {
- local card real_card disable_card kdrive_fbdev kdrive_vesa
-
- einfo "Removing unused kdrive drivers ..."
-
- # Some kdrive servers require fbdev and vesa
- kdrive_fbdev="radeon neomagic sis siliconmotion"
- # Some kdrive servers require just vesa
- kdrive_vesa="chips mach64 mga nv glint r128 via"
-
- for card in ${IUSE_VIDEO_CARDS}; do
- real_card=${card#video_cards_}
-
- # Differences between VIDEO_CARDS name and kdrive server name
- real_card=${real_card/glint/pm2}
- real_card=${real_card/radeon/ati}
- real_card=${real_card/%nv/nvidia}
- real_card=${real_card/siliconmotion/smi}
- real_card=${real_card/%sis/sis300}
-
- disable_card=0
-
- # Check whether it's a valid kdrive server before we waste time
- # on the rest of this
- if ! grep -q -o "\b${real_card}\b" "${S}"/hw/kdrive/Makefile.am; then
- continue
- fi
-
- if ! use ${card}; then
- if use x86; then
- # Some kdrive servers require fbdev and vesa
- for i in ${kdrive_fbdev}; do
- if use video_cards_${i}; then
- if [[ ${real_card} = fbdev ]] \
- || [[ ${real_card} = vesa ]]; then
- continue 2 # Don't disable
- fi
- fi
- done
-
- # Some kdrive servers require just vesa
- for i in ${kdrive_vesa}; do
- if use video_cards_${i}; then
- if [[ ${real_card} = vesa ]]; then
- continue 2 # Don't disable
- fi
- fi
- done
- fi
- disable_card=1
- # Bug #150052
- # fbdev is the only VIDEO_CARDS setting that works on non-x86
- elif ! use x86 \
- && [[ ${real_card} != fbdev ]]; then
- ewarn " $real_card does not work on your architecture; disabling."
- disable_card=1
- fi
-
- if [[ $disable_card = 1 ]]; then
- ebegin " ${real_card}"
- sed -i \
- -e "s:\b${real_card}\b::g" \
- "${S}"/hw/kdrive/Makefile.am \
- || die "sed of ${real_card} failed"
- eend
- fi
-
- done
-}
-
-dynamic_libgl_install() {
- # next section is to setup the dynamic libGL stuff
- ebegin "Moving GL files for dynamic switching"
- dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
- local x=""
- for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri}*; do
- if [ -f ${x} -o -L ${x} ]; then
- mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
- fi
- done
- eend 0
-}
-
-server_based_install() {
- if ! use xorg; then
- rm "${D}"/usr/share/man/man1/Xserver.1x \
- "${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \
- "${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
- "${D}"/usr/share/man/man1/Xserver.1x
- fi
-}
-
-switch_opengl_implem() {
- # Switch to the xorg implementation.
- # Use new opengl-update that will not reset user selected
- # OpenGL interface ...
- echo
-# eselect opengl set --use-old ${OPENGL_DIR}
- eselect opengl set ${OLD_IMPLEM}
-}
-
-ensure_a_server_is_building() {
- for server in ${IUSE_SERVERS}; do
- use ${server} && return;
- done
- eerror "You need to specify at least one server to build."
- eerror "Valid servers are: ${IUSE_SERVERS}."
- die "No servers were specified to build."
-}
diff --git a/x11-base/xorg-server/xorg-server-1.6.5.ebuild b/x11-base/xorg-server/xorg-server-1.6.5.ebuild
deleted file mode 100644
index e0ac25ea7c60..000000000000
--- a/x11-base/xorg-server/xorg-server-1.6.5.ebuild
+++ /dev/null
@@ -1,256 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.6.5.ebuild,v 1.4 2009/11/28 09:14:38 scarabeus Exp $
-
-EAPI="2"
-
-# Must be before x-modular eclass is inherited
-#SNAPSHOT="yes"
-
-inherit x-modular multilib versionator
-
-SRC_URI="${SRC_URI}"
-# mirror://gentoo/${P}-gentoo-patches-01.tar.bz2
-
-OPENGL_DIR="xorg-x11"
-
-DESCRIPTION="X.Org X servers"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-
-IUSE_SERVERS="dmx kdrive xorg"
-IUSE="${IUSE_SERVERS} tslib hal ipv6 minimal nptl sdl"
-
-RDEPEND="
- hal? ( sys-apps/hal )
- tslib? ( >=x11-libs/tslib-1.0 x11-proto/xcalibrateproto )
- dev-libs/openssl
- >=x11-libs/libXfont-1.4.0
- >=x11-libs/xtrans-1.2.3
- >=x11-libs/libXau-1.0.4
- >=x11-libs/libXext-1.0.4
- >=x11-libs/libX11-1.1.5
- >=x11-libs/libxkbfile-1.0.4
- >=x11-libs/libXdmcp-1.0.2
- >=x11-libs/libXmu-1.0.3
- >=x11-libs/libXrender-0.9.4
- >=x11-libs/libXi-1.2.1
- >=x11-libs/pixman-0.14.0
- media-libs/freetype
- >=x11-misc/xbitmaps-1.0.1
- >=x11-misc/xkeyboard-config-1.4
- x11-apps/xkbcomp
- >=x11-apps/iceauth-1.0.2
- >=x11-apps/rgb-1.0.3
- >=x11-apps/xauth-1.0.3
- >=x11-apps/xinit-1.0.8-r3
- >=app-admin/eselect-opengl-1.0.8
- >=x11-libs/libXaw-1.0.5
- >=x11-libs/libXpm-3.5.7
- >=x11-libs/libpciaccess-0.10.3
- dmx? (
- >=x11-libs/libdmx-1.0.2
- >=x11-libs/libXfixes-4.0.3
- )
- !minimal? (
- >=x11-libs/libXtst-1.0.3
- >=x11-libs/libXres-1.0.3
- >=media-libs/mesa-7.3_rc1[nptl=]
- )
- >=x11-libs/libxkbui-1.0.2
- kdrive? ( sdl? ( media-libs/libsdl ) )"
- # Xres is dmx-dependent
- # Xaw is dmx-dependent
- # Xpm is dmx-dependent, pulls in Xt
- # xkbcomp is launched at startup but not checked by ./configure
-DEPEND="${RDEPEND}
- !net-dialup/dtrace
- sys-devel/flex
- >=x11-proto/randrproto-1.2.99.4
- >=x11-proto/renderproto-0.9.3
- >=x11-proto/fixesproto-4
- >=x11-proto/damageproto-1.1
- >=x11-proto/xextproto-7.0.4
- >=x11-proto/xproto-7.0.14
- >=x11-proto/xf86dgaproto-2.0.3
- >=x11-proto/xf86rushproto-1.1.2
- >=x11-proto/xf86vidmodeproto-2.2.2
- >=x11-proto/compositeproto-0.4
- >=x11-proto/recordproto-1.13.2
- >=x11-proto/resourceproto-1.0.2
- >=x11-proto/videoproto-2.2.2
- >=x11-proto/scrnsaverproto-1.1.0
- >=x11-proto/trapproto-3.4.3
- >=x11-proto/xineramaproto-1.1.2
- >=x11-proto/fontsproto-2.0.2
- >=x11-proto/kbproto-1.0.3
- >=x11-proto/inputproto-1.5.0
- >=x11-proto/bigreqsproto-1.0.2
- >=x11-proto/xcmiscproto-1.1.2
- >=x11-proto/glproto-1.4.9
- dmx? ( >=x11-proto/dmxproto-2.2.2 )
- !minimal? (
- >=x11-proto/xf86driproto-2.0.4
- >=x11-proto/dri2proto-2.1
- >=x11-libs/libdrm-2.3
- )"
-
-PDEPEND="xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
-LICENSE="${LICENSE} MIT"
-
-EPATCH_FORCE="yes"
-EPATCH_SUFFIX="patch"
-
-# These have been sent upstream
-#UPSTREAMED_PATCHES=(
-# "${WORKDIR}/patches/"
-# )
-
-PATCHES=(
- "${UPSTREAMED_PATCHES[@]}"
- )
-
-pkg_setup() {
- use minimal || ensure_a_server_is_building
-
- # SDL only available in kdrive build
- if use kdrive && use sdl; then
- conf_opts="${conf_opts} --enable-xsdl"
- else
- conf_opts="${conf_opts} --disable-xsdl"
- fi
-
- # localstatedir is used for the log location; we need to override the default
- # from ebuild.sh
- # sysconfdir is used for the xorg.conf location; same applies
- # --enable-install-setuid needed because sparcs default off
- CONFIGURE_OPTIONS="
- $(use_enable ipv6)
- $(use_enable dmx)
- $(use_enable kdrive)
- $(use_enable tslib)
- $(use_enable tslib xcalibrate)
- $(use_enable !minimal xvfb)
- $(use_enable !minimal xnest)
- $(use_enable !minimal record)
- $(use_enable !minimal xfree86-utils)
- $(use_enable !minimal install-libxf86config)
- $(use_enable !minimal dri)
- $(use_enable !minimal dri2)
- $(use_enable !minimal glx)
- $(use_enable xorg)
- $(use_enable nptl glx-tls)
- $(use_enable hal config-hal)
- --sysconfdir=/etc/X11
- --localstatedir=/var
- --enable-install-setuid
- --with-fontdir=/usr/share/fonts
- --with-xkb-output=/var/lib/xkb
- --without-dtrace
- ${conf_opts}"
-
- # (#121394) Causes window corruption
- filter-flags -fweb
-
- # Incompatible with GCC 3.x SSP on x86, bug #244352
- if use x86 ; then
- if [[ $(gcc-major-version) -lt 4 ]]; then
- filter-flags -fstack-protector
- fi
- fi
-
- OLD_IMPLEM="$(eselect opengl show)"
- eselect opengl set ${OPENGL_DIR}
-}
-
-src_install() {
- x-modular_src_install
-
- dynamic_libgl_install
-
- server_based_install
-
- # Install video mode files for system-config-display
- insinto /usr/share/xorg
- doins hw/xfree86/common/{extra,vesa}modes \
- || die "couldn't install extra modes"
-
- # Bug #151421 - this file is not built with USE="minimal"
- # Bug #151670 - this file is also not build if USE="-xorg"
- if ! use minimal && use xorg; then
- # Install xorg.conf.example
- insinto /etc/X11
- doins hw/xfree86/xorg.conf.example \
- || die "couldn't install xorg.conf.example"
- fi
-}
-
-pkg_postinst() {
- switch_opengl_implem
-
- # Bug #135544
- ewarn "Users of reduced blanking now need:"
- ewarn " Option \"ReducedBlanking\""
- ewarn "In the relevant Monitor section(s)."
- ewarn "Make sure your reduced blanking modelines are safe!"
-
- echo
- ewarn "You must rebuild all drivers if upgrading from xorg-server 1.5"
- ewarn "or earlier, because the ABI changed. If you cannot start X because"
- ewarn "of module version mismatch errors, this is your problem."
-
- echo
- ewarn "You can generate a list of all installed packages in the x11-drivers"
- ewarn "category using this command:"
- ewarn "emerge portage-utils; qlist -I -C x11-drivers/"
-
- ebeep 5
- epause 10
-}
-
-pkg_postrm() {
- # Get rid of module dir to ensure opengl-update works properly
- if ! has_version x11-base/xorg-server; then
- if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then
- rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules
- fi
- fi
-}
-
-dynamic_libgl_install() {
- # next section is to setup the dynamic libGL stuff
- ebegin "Moving GL files for dynamic switching"
- dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
- local x=""
- for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do
- if [ -f ${x} -o -L ${x} ]; then
- mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
- fi
- done
- eend 0
-}
-
-server_based_install() {
- if ! use xorg; then
- rm "${D}"/usr/share/man/man1/Xserver.1x \
- "${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \
- "${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
- "${D}"/usr/share/man/man1/Xserver.1x
- fi
-}
-
-switch_opengl_implem() {
- # Switch to the xorg implementation.
- # Use new opengl-update that will not reset user selected
- # OpenGL interface ...
- echo
- eselect opengl set ${OLD_IMPLEM}
-}
-
-ensure_a_server_is_building() {
- for server in ${IUSE_SERVERS}; do
- use ${server} && return;
- done
- eerror "You need to specify at least one server to build."
- eerror "Valid servers are: ${IUSE_SERVERS}."
- die "No servers were specified to build."
-}
diff --git a/x11-base/xorg-server/xorg-server-1.7.1.ebuild b/x11-base/xorg-server/xorg-server-1.7.1.ebuild
deleted file mode 100644
index 977347b99331..000000000000
--- a/x11-base/xorg-server/xorg-server-1.7.1.ebuild
+++ /dev/null
@@ -1,261 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.7.1.ebuild,v 1.3 2009/11/28 09:14:38 scarabeus Exp $
-
-EAPI="2"
-
-# Must be before x-modular eclass is inherited
-#SNAPSHOT="yes"
-
-inherit x-modular multilib versionator
-
-EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver"
-
-OPENGL_DIR="xorg-x11"
-
-DESCRIPTION="X.Org X servers"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-
-IUSE_SERVERS="dmx kdrive xorg"
-IUSE="${IUSE_SERVERS} tslib hal ipv6 minimal nptl sdl"
-RDEPEND="hal? ( sys-apps/hal )
- tslib? ( >=x11-libs/tslib-1.0 x11-proto/xcalibrateproto )
- dev-libs/openssl
- >=x11-libs/libXfont-1.3.3
- >=x11-libs/xtrans-1.2.2
- >=x11-libs/libXau-1.0.4
- >=x11-libs/libxkbfile-1.0.4
- >=x11-libs/libXdmcp-1.0.2
- >=x11-libs/libpciaccess-0.10.3
- >=x11-libs/pixman-0.15.20
- media-libs/freetype
- >=x11-misc/xbitmaps-1.0.1
- >=x11-misc/xkeyboard-config-1.4
- x11-apps/xkbcomp
- >=x11-apps/iceauth-1.0.2
- >=x11-apps/rgb-1.0.3
- >=x11-apps/xauth-1.0.3
- >=x11-apps/xinit-1.0.8-r3
- >=app-admin/eselect-opengl-1.0.8
- dmx? (
- x11-libs/libXt
- >=x11-libs/libdmx-1.0.99.1
- >=x11-libs/libX11-1.1.5
- >=x11-libs/libXaw-1.0.4
- >=x11-libs/libXext-1.0.5
- >=x11-libs/libXfixes-4.0.3
- >=x11-libs/libXi-1.2.99.1
- >=x11-libs/libXmu-1.0.3
- >=x11-libs/libXtst-1.0.3
- )
- !minimal? (
- >=x11-libs/libX11-1.1.5
- >=x11-libs/libXext-1.0.5
- >=x11-libs/libXres-1.0.3
- >=media-libs/mesa-7.4[nptl=]
- )
- >=x11-libs/libxkbui-1.0.2
- kdrive? (
- >=x11-libs/libXext-1.0.5
- sdl? ( media-libs/libsdl ) )"
- # Xres is dmx-dependent
- # Xaw is dmx-dependent
- # Xpm is dmx-dependent, pulls in Xt
- # xkbcomp is launched at startup but not checked by ./configure
-
-## Deps that don't have a version in configure.ac but do here:
-# x11-proto/resourceproto
-# x11-proto/fontsproto
-# x11-libs/libXau
-# x11-libs/libXfont
-# x11-libs/libXdmcp
-# x11-libs/libXext
-# x11-libs/libX11
-# x11-libs/libXrender
-# x11-libs/libXmu
-# x11-libs/libXfixes
-# x11-libs/libXtst
-# x11-proto/xineramaproto
-# x11-proto/dmxproto
-## Deps that are larger here than in configure.ac
-# x11-libs/libpciaccess-0.8.0
-#
-
-DEPEND="${RDEPEND}
- !!net-dialup/dtrace
- sys-devel/flex
- >=x11-proto/randrproto-1.2.99.3
- >=x11-proto/renderproto-0.11
- >=x11-proto/fixesproto-4.1
- >=x11-proto/damageproto-1.1
- >=x11-proto/xextproto-7.0.99.3
- >=x11-proto/xproto-7.0.13
- >=x11-proto/xf86dgaproto-2.0.99.1
- >=x11-proto/xf86rushproto-1.1.2
- >=x11-proto/xf86vidmodeproto-2.2.99.1
- >=x11-proto/compositeproto-0.4
- >=x11-proto/recordproto-1.13.99.1
- >=x11-proto/resourceproto-1.0.2
- >=x11-proto/videoproto-2.2.2
- >=x11-proto/scrnsaverproto-1.1
- >=x11-proto/trapproto-3.4.3
- >=x11-proto/xineramaproto-1.1.3
- >=x11-proto/fontsproto-2.0.2
- >=x11-proto/kbproto-1.0.3
- >=x11-proto/inputproto-1.9.99.902
- >=x11-proto/bigreqsproto-1.1.0
- >=x11-proto/xcmiscproto-1.2.0
- >=x11-proto/glproto-1.4.9
- dmx? ( >=x11-proto/dmxproto-2.2.99.1 )
- !minimal? (
- >=x11-proto/xf86driproto-2.1.0
- >=x11-proto/dri2proto-2.1
- >=x11-libs/libdrm-2.3.0
- )"
-
-PDEPEND="xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
-
-EPATCH_FORCE="yes"
-EPATCH_SUFFIX="patch"
-
-# These have been sent upstream
-UPSTREAMED_PATCHES=(
- #"${WORKDIR}/patches/"
- )
-
-PATCHES=(
- "${UPSTREAMED_PATCHES[@]}"
- )
-
-pkg_setup() {
- use minimal || ensure_a_server_is_building
-
- # SDL only available in kdrive build
- if use kdrive && use sdl; then
- conf_opts="${conf_opts} --enable-xsdl"
- else
- conf_opts="${conf_opts} --disable-xsdl"
- fi
-
- # localstatedir is used for the log location; we need to override the default
- # from ebuild.sh
- # sysconfdir is used for the xorg.conf location; same applies
- # --enable-install-setuid needed because sparcs default off
- CONFIGURE_OPTIONS="
- $(use_enable ipv6)
- $(use_enable dmx)
- $(use_enable kdrive)
- $(use_enable tslib)
- $(use_enable tslib xcalibrate)
- $(use_enable !minimal xvfb)
- $(use_enable !minimal xnest)
- $(use_enable !minimal record)
- $(use_enable !minimal xfree86-utils)
- $(use_enable !minimal install-libxf86config)
- $(use_enable !minimal dri)
- $(use_enable !minimal dri2)
- $(use_enable !minimal glx)
- $(use_enable xorg)
- $(use_enable nptl glx-tls)
- $(use_enable hal config-hal)
- --sysconfdir=/etc/X11
- --localstatedir=/var
- --enable-install-setuid
- --with-fontdir=/usr/share/fonts
- --with-xkb-output=/var/lib/xkb
- --without-dtrace
- ${conf_opts}"
-
- # (#121394) Causes window corruption
- filter-flags -fweb
-
- # Incompatible with GCC 3.x SSP on x86, bug #244352
- if use x86 ; then
- if [[ $(gcc-major-version) -lt 4 ]]; then
- filter-flags -fstack-protector
- fi
- fi
-
- OLD_IMPLEM="$(eselect opengl show)"
- eselect opengl set ${OPENGL_DIR}
-}
-
-src_install() {
- x-modular_src_install
-
- dynamic_libgl_install
-
- server_based_install
-
- if ! use minimal && use xorg; then
- # Install xorg.conf.example (see bugs #151421 and #151670)
- insinto /etc/X11
- doins hw/xfree86/xorg.conf.example \
- || die "couldn't install xorg.conf.example"
- fi
-}
-
-pkg_postinst() {
- switch_opengl_implem
-
- echo
- ewarn "You must rebuild all drivers if upgrading from xorg-server 1.6"
- ewarn "or earlier, because the ABI changed. If you cannot start X because"
- ewarn "of module version mismatch errors, this is your problem."
-
- echo
- ewarn "You can generate a list of all installed packages in the x11-drivers"
- ewarn "category using this command:"
- ewarn "emerge portage-utils; qlist -I -C x11-drivers/"
-
- ebeep 5
- epause 10
-}
-
-pkg_postrm() {
- # Get rid of module dir to ensure opengl-update works properly
- if ! has_version x11-base/xorg-server; then
- if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then
- rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules
- fi
- fi
-}
-
-dynamic_libgl_install() {
- # next section is to setup the dynamic libGL stuff
- ebegin "Moving GL files for dynamic switching"
- dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
- local x=""
- for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do
- if [ -f ${x} -o -L ${x} ]; then
- mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions
- fi
- done
- eend 0
-}
-
-server_based_install() {
- if ! use xorg; then
- rm "${D}"/usr/share/man/man1/Xserver.1x \
- "${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \
- "${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
- "${D}"/usr/share/man/man1/Xserver.1x
- fi
-}
-
-switch_opengl_implem() {
- # Switch to the xorg implementation.
- # Use new opengl-update that will not reset user selected
- # OpenGL interface ...
- echo
- eselect opengl set ${OLD_IMPLEM}
-}
-
-ensure_a_server_is_building() {
- for server in ${IUSE_SERVERS}; do
- use ${server} && return;
- done
- eerror "You need to specify at least one server to build."
- eerror "Valid servers are: ${IUSE_SERVERS}."
- die "No servers were specified to build."
-}