1 |
scarabeus 11/01/31 12:00:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xorg-server-1.9.3.902.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.561 x11-base/xorg-server/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.561&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.561&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?r1=1.560&r2=1.561 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v |
20 |
retrieving revision 1.560 |
21 |
retrieving revision 1.561 |
22 |
diff -u -r1.560 -r1.561 |
23 |
--- ChangeLog 22 Jan 2011 18:08:03 -0000 1.560 |
24 |
+++ ChangeLog 31 Jan 2011 12:00:32 -0000 1.561 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-base/xorg-server |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.560 2011/01/22 18:08:03 lxnay Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.561 2011/01/31 12:00:32 scarabeus Exp $ |
30 |
+ |
31 |
+*xorg-server-1.9.3.902 (31 Jan 2011) |
32 |
+ |
33 |
+ 31 Jan 2011; Tomáš Chvátal <scarabeus@g.o> |
34 |
+ +xorg-server-1.9.3.902.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*xorg-server-1.9.3.901-r1 (22 Jan 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-base/xorg-server/xorg-server-1.9.3.902.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.9.3.902.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.9.3.902.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xorg-server-1.9.3.902.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.9.3.902.ebuild,v 1.1 2011/01/31 12:00:32 scarabeus Exp $ |
52 |
|
53 |
EAPI=3 |
54 |
inherit xorg-2 multilib versionator |
55 |
|
56 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver" |
57 |
|
58 |
OPENGL_DIR="xorg-x11" |
59 |
|
60 |
DESCRIPTION="X.Org X servers" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
62 |
|
63 |
IUSE_SERVERS="dmx kdrive xorg" |
64 |
IUSE="${IUSE_SERVERS} doc ipv6 minimal nptl tslib +udev" |
65 |
RDEPEND=">=app-admin/eselect-opengl-1.0.8 |
66 |
dev-libs/openssl |
67 |
media-libs/freetype |
68 |
>=x11-apps/iceauth-1.0.2 |
69 |
>=x11-apps/rgb-1.0.3 |
70 |
>=x11-apps/xauth-1.0.3 |
71 |
x11-apps/xkbcomp |
72 |
>=x11-libs/libpciaccess-0.10.3 |
73 |
>=x11-libs/libXau-1.0.4 |
74 |
>=x11-libs/libXdmcp-1.0.2 |
75 |
>=x11-libs/libXfont-1.4.2 |
76 |
>=x11-libs/libxkbfile-1.0.4 |
77 |
>=x11-libs/pixman-0.15.20 |
78 |
>=x11-libs/xtrans-1.2.2 |
79 |
>=x11-misc/xbitmaps-1.0.1 |
80 |
>=x11-misc/xkeyboard-config-1.4 |
81 |
dmx? ( |
82 |
x11-libs/libXt |
83 |
>=x11-libs/libdmx-1.0.99.1 |
84 |
>=x11-libs/libX11-1.1.5 |
85 |
>=x11-libs/libXaw-1.0.4 |
86 |
>=x11-libs/libXext-1.0.5 |
87 |
>=x11-libs/libXfixes-4.0.3 |
88 |
>=x11-libs/libXi-1.2.99.1 |
89 |
>=x11-libs/libXmu-1.0.3 |
90 |
>=x11-libs/libXres-1.0.3 |
91 |
>=x11-libs/libXtst-1.0.3 |
92 |
) |
93 |
kdrive? ( |
94 |
>=x11-libs/libXext-1.0.5 |
95 |
x11-libs/libXv |
96 |
) |
97 |
!minimal? ( |
98 |
>=x11-libs/libX11-1.1.5 |
99 |
>=x11-libs/libXext-1.0.5 |
100 |
>=media-libs/mesa-7.8_rc[nptl=] |
101 |
) |
102 |
tslib? ( >=x11-libs/tslib-1.0 x11-proto/xcalibrateproto ) |
103 |
udev? ( >=sys-fs/udev-150 )" |
104 |
|
105 |
DEPEND="${RDEPEND} |
106 |
sys-devel/flex |
107 |
>=x11-proto/bigreqsproto-1.1.0 |
108 |
>=x11-proto/compositeproto-0.4 |
109 |
>=x11-proto/damageproto-1.1 |
110 |
>=x11-proto/fixesproto-4.1 |
111 |
>=x11-proto/fontsproto-2.0.2 |
112 |
>=x11-proto/glproto-1.4.11 |
113 |
>=x11-proto/inputproto-1.9.99.902 |
114 |
>=x11-proto/kbproto-1.0.3 |
115 |
>=x11-proto/randrproto-1.2.99.3 |
116 |
>=x11-proto/recordproto-1.13.99.1 |
117 |
>=x11-proto/renderproto-0.11 |
118 |
>=x11-proto/resourceproto-1.0.2 |
119 |
>=x11-proto/scrnsaverproto-1.1 |
120 |
>=x11-proto/trapproto-3.4.3 |
121 |
>=x11-proto/videoproto-2.2.2 |
122 |
>=x11-proto/xcmiscproto-1.2.0 |
123 |
>=x11-proto/xextproto-7.0.99.3 |
124 |
>=x11-proto/xf86dgaproto-2.0.99.1 |
125 |
>=x11-proto/xf86rushproto-1.1.2 |
126 |
>=x11-proto/xf86vidmodeproto-2.2.99.1 |
127 |
>=x11-proto/xineramaproto-1.1.3 |
128 |
>=x11-proto/xproto-7.0.17 |
129 |
dmx? ( >=x11-proto/dmxproto-2.2.99.1 ) |
130 |
doc? ( |
131 |
>=app-doc/doxygen-1.6.1 |
132 |
app-text/xmlto |
133 |
) |
134 |
!minimal? ( |
135 |
>=x11-proto/xf86driproto-2.1.0 |
136 |
>=x11-proto/dri2proto-2.3 |
137 |
>=x11-libs/libdrm-2.4.20 |
138 |
) |
139 |
>=x11-apps/xinit-1.3" |
140 |
|
141 |
PDEPEND=" |
142 |
xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
143 |
|
144 |
EPATCH_FORCE="yes" |
145 |
EPATCH_SUFFIX="patch" |
146 |
|
147 |
# These have been sent upstream |
148 |
UPSTREAMED_PATCHES=( |
149 |
# "${WORKDIR}/patches/" |
150 |
) |
151 |
|
152 |
PATCHES=( |
153 |
"${UPSTREAMED_PATCHES[@]}" |
154 |
"${FILESDIR}"/${PN}-disable-acpi.patch |
155 |
"${FILESDIR}"/${PN}-1.9-nouveau-default.patch |
156 |
) |
157 |
|
158 |
pkg_setup() { |
159 |
xorg-2_pkg_setup |
160 |
|
161 |
use minimal || ensure_a_server_is_building |
162 |
|
163 |
# localstatedir is used for the log location; we need to override the default |
164 |
# from ebuild.sh |
165 |
# sysconfdir is used for the xorg.conf location; same applies |
166 |
# --enable-install-setuid needed because sparcs default off |
167 |
# NOTE: fop is used for doc generating ; and i have no idea if gentoo |
168 |
# package it somewhere |
169 |
CONFIGURE_OPTIONS=" |
170 |
$(use_enable ipv6) |
171 |
$(use_enable dmx) |
172 |
$(use_enable kdrive) |
173 |
$(use_enable kdrive kdrive-kbd) |
174 |
$(use_enable kdrive kdrive-mouse) |
175 |
$(use_enable kdrive kdrive-evdev) |
176 |
$(use_enable tslib) |
177 |
$(use_enable tslib xcalibrate) |
178 |
$(use_enable !minimal xvfb) |
179 |
$(use_enable !minimal xnest) |
180 |
$(use_enable !minimal record) |
181 |
$(use_enable !minimal xfree86-utils) |
182 |
$(use_enable !minimal install-libxf86config) |
183 |
$(use_enable !minimal dri) |
184 |
$(use_enable !minimal dri2) |
185 |
$(use_enable !minimal glx) |
186 |
$(use_enable xorg) |
187 |
$(use_enable nptl glx-tls) |
188 |
$(use_enable udev config-udev) |
189 |
$(use_with doc doxygen) |
190 |
$(use_with doc xmlto) |
191 |
--sysconfdir=/etc/X11 |
192 |
--localstatedir=/var |
193 |
--enable-install-setuid |
194 |
--with-fontrootdir=/usr/share/fonts |
195 |
--with-xkb-output=/var/lib/xkb |
196 |
--disable-config-hal |
197 |
--without-dtrace |
198 |
--without-fop |
199 |
--with-os-vendor=Gentoo |
200 |
${conf_opts}" |
201 |
|
202 |
# Xorg-server requires includes from OS mesa which are not visible for |
203 |
# users of binary drivers. |
204 |
# Due to the limitations of CONFIGURE_OPTIONS, we have to export this |
205 |
mkdir -p "${T}/mesa-symlinks/GL" |
206 |
for i in gl glx glxmd glxproto glxtokens; do |
207 |
ln -s "${EROOT}usr/$(get_libdir)/opengl/xorg-x11/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die |
208 |
done |
209 |
for i in glext glxext; do |
210 |
ln -s "${EROOT}usr/$(get_libdir)/opengl/global/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die |
211 |
done |
212 |
append-cppflags "-I${T}/mesa-symlinks" |
213 |
|
214 |
# (#121394) Causes window corruption |
215 |
filter-flags -fweb |
216 |
|
217 |
# Incompatible with GCC 3.x SSP on x86, bug #244352 |
218 |
if use x86 ; then |
219 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
220 |
filter-flags -fstack-protector |
221 |
fi |
222 |
fi |
223 |
|
224 |
# Incompatible with GCC 3.x CPP, bug #314615 |
225 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
226 |
ewarn "GCC 3.x C preprocessor may cause build failures. Use GCC 4.x" |
227 |
ewarn "or set CPP=cpp-4.3.4 (replace with the actual installed version)" |
228 |
fi |
229 |
|
230 |
# detect if we should inform user about ebuild breakage |
231 |
if ! has_version "x11-base/xorg-server" || |
232 |
has_version "<x11-base/xorg-server-$(get_version_component_range 1-2)"; then |
233 |
INFO="yes" |
234 |
fi |
235 |
} |
236 |
|
237 |
src_install() { |
238 |
xorg-2_src_install |
239 |
|
240 |
dynamic_libgl_install |
241 |
|
242 |
server_based_install |
243 |
|
244 |
if ! use minimal && use xorg; then |
245 |
# Install xorg.conf.example into docs |
246 |
dodoc hw/xfree86/xorg.conf.example \ |
247 |
|| die "couldn't install xorg.conf.example" |
248 |
fi |
249 |
|
250 |
newinitd "${FILESDIR}"/xdm.initd-3 xdm || die "initd file install failed" |
251 |
newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup || die |
252 |
newconfd "${FILESDIR}"/xdm.confd-3 xdm || die |
253 |
|
254 |
# install the @x11-module-rebuild set for Portage |
255 |
insinto /usr/share/portage/config/sets |
256 |
newins "${FILESDIR}"/xorg-sets.conf xorg.conf || die |
257 |
} |
258 |
|
259 |
pkg_postinst() { |
260 |
# sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
261 |
eselect opengl set --use-old xorg-x11 |
262 |
|
263 |
if [[ ${INFO} = yes ]]; then |
264 |
elog "You should consider reading upgrade guide for this release:" |
265 |
elog " http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-$(get_version_component_range 1-2)-upgrade-guide.xml" |
266 |
echo |
267 |
ewarn "You must rebuild all drivers if upgrading from <xorg-server-$(get_version_component_range 1-2)" |
268 |
ewarn "because the ABI changed. If you cannot start X because" |
269 |
ewarn "of module version mismatch errors, this is your problem." |
270 |
|
271 |
echo |
272 |
ewarn "You can generate a list of all installed packages in the x11-drivers" |
273 |
ewarn "category using this command:" |
274 |
ewarn " emerge portage-utils; qlist -I -C x11-drivers/" |
275 |
fi |
276 |
} |
277 |
|
278 |
pkg_postrm() { |
279 |
# Get rid of module dir to ensure opengl-update works properly |
280 |
if ! has_version x11-base/xorg-server; then |
281 |
if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
282 |
rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules |
283 |
fi |
284 |
fi |
285 |
} |
286 |
|
287 |
dynamic_libgl_install() { |
288 |
# next section is to setup the dynamic libGL stuff |
289 |
ebegin "Moving GL files for dynamic switching" |
290 |
dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions |
291 |
local x="" |
292 |
for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do |
293 |
if [ -f ${x} -o -L ${x} ]; then |
294 |
mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/extensions |
295 |
fi |
296 |
done |
297 |
eend 0 |
298 |
} |
299 |
|
300 |
server_based_install() { |
301 |
if ! use xorg; then |
302 |
rm "${D}"/usr/share/man/man1/Xserver.1x \ |
303 |
"${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
304 |
"${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
305 |
"${D}"/usr/share/man/man1/Xserver.1x |
306 |
fi |
307 |
} |
308 |
|
309 |
ensure_a_server_is_building() { |
310 |
for server in ${IUSE_SERVERS}; do |
311 |
use ${server} && return; |
312 |
done |
313 |
eerror "You need to specify at least one server to build." |
314 |
eerror "Valid servers are: ${IUSE_SERVERS}." |
315 |
die "No servers were specified to build." |
316 |
} |