blob: fde43f999002fe856cee3d57abcc40d5b8be01a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-x11/xorg-x11-7.4.ebuild,v 1.8 2008/12/16 16:25:48 jer Exp $
inherit eutils
DESCRIPTION="An X11 implementation maintained by the X.Org Foundation (meta package)"
HOMEPAGE="http://xorg.freedesktop.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
# Collision protect will scream bloody murder if we install over old versions
RDEPEND="!<=x11-base/xorg-x11-6.9"
# Server
RDEPEND="${RDEPEND}
>=x11-base/xorg-server-1.5.2"
# Applications
RDEPEND="${RDEPEND}
>=x11-apps/appres-1.0.1
>=x11-apps/bitmap-1.0.3
>=x11-apps/iceauth-1.0.2
>=x11-apps/luit-1.0.3
>=x11-apps/mkfontdir-1.0.4
>=x11-apps/mkfontscale-1.0.5
>=x11-apps/sessreg-1.0.4
>=x11-apps/setxkbmap-1.0.4
>=x11-apps/smproxy-1.0.2
>=x11-apps/x11perf-1.5
>=x11-apps/xauth-1.0.3
>=x11-apps/xbacklight-1.1
>=x11-apps/xcmsdb-1.0.1
>=x11-apps/xcursorgen-1.0.2
>=x11-apps/xdpyinfo-1.0.3
>=x11-apps/xdriinfo-1.0.2
>=x11-apps/xev-1.0.3
>=x11-apps/xf86dga-1.0.2
>=x11-apps/xgamma-1.0.2
>=x11-apps/xhost-1.0.2
>=x11-misc/xinput-1.3.0
>=x11-apps/xkbcomp-1.0.5
>=x11-apps/xkbevd-1.0.2
>=x11-apps/xkbutils-1.0.1
>=x11-apps/xkill-1.0.1
>=x11-apps/xlsatoms-1.0.1
>=x11-apps/xlsclients-1.0.1
>=x11-apps/xmodmap-1.0.3
>=x11-apps/xpr-1.0.2
>=x11-apps/xprop-1.0.4
>=x11-apps/xrandr-1.2.3
>=x11-apps/xrdb-1.0.5
>=x11-apps/xrefresh-1.0.2
>=x11-apps/xset-1.0.4
>=x11-apps/xsetmode-1.0.0
>=x11-apps/xsetroot-1.0.2
>=x11-apps/xvinfo-1.0.2
>=x11-apps/xwd-1.0.2
>=x11-apps/xwininfo-1.0.4
>=x11-apps/xwud-1.0.1
"
# Libraries
# AppleWM, WindowsWM, and dmx removed from upstream list
RDEPEND="${RDEPEND}
>=x11-libs/libFS-1.0.1
>=x11-libs/libICE-1.0.4
>=x11-libs/libSM-1.1.0
>=x11-libs/libX11-1.1.5
>=x11-libs/libXScrnSaver-1.1.3
>=x11-libs/libXau-1.0.4
>=x11-libs/libXaw-1.0.4
>=x11-libs/libXcomposite-0.4.0
>=x11-libs/libXcursor-1.1.9
>=x11-libs/libXdamage-1.1.1
>=x11-libs/libXdmcp-1.0.2
>=x11-libs/libXext-1.0.4
>=x11-libs/libXfixes-4.0.3
>=x11-libs/libXfont-1.3.3
>=x11-libs/libXfontcache-1.0.4
>=x11-libs/libXft-2.1.13
>=x11-libs/libXi-1.1.3
>=x11-libs/libXinerama-1.0.3
>=x11-libs/libXmu-1.0.4
>=x11-libs/libXpm-3.5.7
>=x11-libs/libXrandr-1.2.3
>=x11-libs/libXrender-0.9.4
>=x11-libs/libXres-1.0.3
>=x11-libs/libXt-1.0.5
>=x11-libs/libXtst-1.0.3
>=x11-libs/libXv-1.0.4
>=x11-libs/libXvMC-1.0.4
>=x11-libs/libXxf86dga-1.0.2
>=x11-libs/libXxf86misc-1.0.1
>=x11-libs/libXxf86vm-1.0.2
>=x11-libs/libfontenc-1.0.4
>=x11-libs/libpciaccess-0.10.3
>=x11-libs/libxkbfile-1.0.5
>=x11-libs/xtrans-1.2.2
"
# Protocol headers
# AppleWM, WindowsWM, and dmx removed from upstream list
DEPEND="${DEPEND}
>=x11-proto/bigreqsproto-1.0.2
>=x11-proto/compositeproto-0.4
>=x11-proto/damageproto-1.1.0
>=x11-proto/evieext-1.0.2
>=x11-proto/fixesproto-4.0
>=x11-proto/fontcacheproto-0.1.2
>=x11-proto/fontsproto-2.0.2
>=x11-proto/glproto-1.4.9
>=x11-proto/inputproto-1.4.4
>=x11-proto/kbproto-1.0.3
>=x11-proto/randrproto-1.2.1
>=x11-proto/recordproto-1.13.2
>=x11-proto/renderproto-0.9.3
>=x11-proto/resourceproto-1.0.2
>=x11-proto/scrnsaverproto-1.1.0
>=x11-proto/trapproto-3.4.3
>=x11-proto/videoproto-2.2.2
>=x11-proto/xcmiscproto-1.1.2
>=x11-proto/xextproto-7.0.3
>=x11-proto/xf86bigfontproto-1.1.2
>=x11-proto/xf86dgaproto-2.0.3
>=x11-proto/xf86driproto-2.0.4
>=x11-proto/xf86miscproto-0.9.2
>=x11-proto/xf86vidmodeproto-2.2.2
>=x11-proto/xineramaproto-1.1.2
>=x11-proto/xproto-7.0.13
"
# Data
RDEPEND="${RDEPEND}
>=x11-misc/xbitmaps-1.0.1
>=x11-themes/xcursor-themes-1.0.1
"
# Utilities
RDEPEND="${RDEPEND}
>=x11-misc/makedepend-1.0.1
>=x11-misc/util-macros-1.1.6-r1
"
# Fonts
RDEPEND="${RDEPEND}
>=media-fonts/font-adobe-100dpi-1.0.0
>=media-fonts/font-adobe-75dpi-1.0.0
>=media-fonts/font-adobe-utopia-100dpi-1.0.1
>=media-fonts/font-adobe-utopia-75dpi-1.0.1
>=media-fonts/font-adobe-utopia-type1-1.0.1
>=media-fonts/font-alias-1.0.1
>=media-fonts/font-arabic-misc-1.0.0
>=media-fonts/font-bh-100dpi-1.0.0
>=media-fonts/font-bh-75dpi-1.0.0
>=media-fonts/font-bh-lucidatypewriter-100dpi-1.0.0
>=media-fonts/font-bh-lucidatypewriter-75dpi-1.0.0
>=media-fonts/font-bh-ttf-1.0.0
>=media-fonts/font-bh-type1-1.0.0
>=media-fonts/font-bitstream-100dpi-1.0.0
>=media-fonts/font-bitstream-75dpi-1.0.0
>=media-fonts/font-bitstream-speedo-1.0.0
>=media-fonts/font-bitstream-type1-1.0.0
>=media-fonts/font-cronyx-cyrillic-1.0.0
>=media-fonts/font-cursor-misc-1.0.0
>=media-fonts/font-daewoo-misc-1.0.0
>=media-fonts/font-dec-misc-1.0.0
>=media-fonts/font-ibm-type1-1.0.0
>=media-fonts/font-isas-misc-1.0.0
>=media-fonts/font-jis-misc-1.0.0
>=media-fonts/font-micro-misc-1.0.0
>=media-fonts/font-misc-cyrillic-1.0.0
>=media-fonts/font-misc-ethiopic-1.0.0
>=media-fonts/font-misc-meltho-1.0.0
>=media-fonts/font-misc-misc-1.0.0
>=media-fonts/font-mutt-misc-1.0.0
>=media-fonts/font-schumacher-misc-1.0.0
>=media-fonts/font-screen-cyrillic-1.0.1
>=media-fonts/font-sony-misc-1.0.0
>=media-fonts/font-sun-misc-1.0.0
>=media-fonts/font-util-1.0.1
>=media-fonts/font-winitzki-cyrillic-1.0.0
>=media-fonts/font-xfree86-type1-1.0.1
>=media-fonts/font-alias-1.0.1
>=media-fonts/font-util-1.0.1
>=media-fonts/encodings-1.0.2
"
# Documentation
RDEPEND="${RDEPEND}
>=app-doc/xorg-sgml-doctools-1.2
>=app-doc/xorg-docs-1.4
"
DEPEND="${RDEPEND}"
src_install() {
# Make /usr/X11R6 a symlink to ../usr.
dodir /usr
dosym ../usr /usr/X11R6
}
pkg_preinst() {
# Check for /usr/X11R6 -> /usr symlink
if [[ -e "${ROOT}usr/X11R6" ]] &&
[[ $(readlink "${ROOT}usr/X11R6") != "../usr" ]]; then
eerror "${ROOT}usr/X11R6 isn't a symlink to ../usr. Please delete it."
ewarn "First, save a list of all the packages installing there:"
ewarn " equery belongs ${ROOT}usr/X11R6 > usr-x11r6-packages"
ewarn "This requires gentoolkit to be installed."
die "${ROOT}usr/X11R6 is not a symlink to ../usr."
fi
# Filter out ModulePath line since it often holds a now-invalid path
# Bug #112924
# For RC3 - filter out RgbPath line since it also seems to break things
XORGCONF="/etc/X11/xorg.conf"
if [[ -e ${ROOT}${XORGCONF} ]]; then
mkdir -p "${D}/etc/X11"
sed "/ModulePath/d" "${ROOT}${XORGCONF}" > "${D}${XORGCONF}"
sed -i "/RgbPath/d" "${D}${XORGCONF}"
fi
}
pkg_postinst() {
elog
elog "Please note that the xcursors are in ${ROOT}usr/share/cursors/${PN}."
elog "Any custom cursor sets should be placed in that directory."
elog
elog "If you wish to set system-wide default cursors, please create"
elog "${ROOT}usr/local/share/cursors/${PN}/default/index.theme"
elog "with content: \"Inherits=theme_name\" so that future"
elog "emerges will not overwrite those settings."
elog
elog "Listening on TCP is disabled by default with startx."
elog "To enable it, edit ${ROOT}usr/bin/startx."
elog
elog "If you encounter any non-configuration issues, please file a bug at"
elog "http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20Linux"
elog "and attach ${ROOT}etc/X11/xorg.conf, ${ROOT}var/log/Xorg.0.log and emerge info"
elog
elog "You can choose which drivers are installed with the VIDEO_CARDS"
elog "and INPUT_DEVICES settings. Set these like any other Portage"
elog "variable in ${ROOT}etc/make.conf or on the command line."
elog
# (#76985)
elog "Visit http://www.gentoo.org/doc/en/index.xml?catid=desktop"
elog "for more information on configuring X."
elog
# Try to get people to read this, pending #11359
ebeep 5
epause 10
}
|