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