1 |
chithanh 11/03/30 20:08:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xorg-server-1.10.0.901.ebuild |
5 |
Log: |
6 |
Bump to 1.10.1 prerelease. |
7 |
|
8 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.577 x11-base/xorg-server/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.577&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.577&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?r1=1.576&r2=1.577 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v |
20 |
retrieving revision 1.576 |
21 |
retrieving revision 1.577 |
22 |
diff -u -r1.576 -r1.577 |
23 |
--- ChangeLog 27 Mar 2011 17:23:01 -0000 1.576 |
24 |
+++ ChangeLog 30 Mar 2011 20:08:02 -0000 1.577 |
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.576 2011/03/27 17:23:01 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.577 2011/03/30 20:08:02 chithanh Exp $ |
30 |
+ |
31 |
+*xorg-server-1.10.0.901 (30 Mar 2011) |
32 |
+ |
33 |
+ 30 Mar 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
34 |
+ +xorg-server-1.10.0.901.ebuild: |
35 |
+ Bump to 1.10.1 prerelease. |
36 |
|
37 |
27 Mar 2011; Samuli Suominen <ssuominen@g.o> |
38 |
xorg-server-1.7.7-r1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-base/xorg-server/xorg-server-1.10.0.901.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.10.0.901.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.10.0.901.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xorg-server-1.10.0.901.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.10.0.901.ebuild,v 1.1 2011/03/30 20:08:02 chithanh Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
XORG_DOC=doc |
56 |
inherit xorg-2 multilib versionator |
57 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver" |
58 |
|
59 |
DESCRIPTION="X.Org X servers" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
61 |
|
62 |
IUSE_SERVERS="dmx kdrive xorg" |
63 |
IUSE="${IUSE_SERVERS} ipv6 minimal nptl tslib +udev" |
64 |
|
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.99.4 |
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.99.2 |
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 |
>=x11-apps/xinit-1.3" |
105 |
|
106 |
DEPEND="${RDEPEND} |
107 |
sys-devel/flex |
108 |
>=x11-proto/bigreqsproto-1.1.0 |
109 |
>=x11-proto/compositeproto-0.4 |
110 |
>=x11-proto/damageproto-1.1 |
111 |
>=x11-proto/fixesproto-4.1 |
112 |
>=x11-proto/fontsproto-2.0.2 |
113 |
>=x11-proto/glproto-1.4.11 |
114 |
>=x11-proto/inputproto-1.9.99.902 |
115 |
>=x11-proto/kbproto-1.0.3 |
116 |
>=x11-proto/randrproto-1.2.99.3 |
117 |
>=x11-proto/recordproto-1.13.99.1 |
118 |
>=x11-proto/renderproto-0.11 |
119 |
>=x11-proto/resourceproto-1.0.2 |
120 |
>=x11-proto/scrnsaverproto-1.1 |
121 |
>=x11-proto/trapproto-3.4.3 |
122 |
>=x11-proto/videoproto-2.2.2 |
123 |
>=x11-proto/xcmiscproto-1.2.0 |
124 |
>=x11-proto/xextproto-7.1.99 |
125 |
>=x11-proto/xf86dgaproto-2.0.99.1 |
126 |
>=x11-proto/xf86rushproto-1.1.2 |
127 |
>=x11-proto/xf86vidmodeproto-2.2.99.1 |
128 |
>=x11-proto/xineramaproto-1.1.3 |
129 |
>=x11-proto/xproto-7.0.17 |
130 |
dmx? ( >=x11-proto/dmxproto-2.2.99.1 ) |
131 |
!minimal? ( |
132 |
>=x11-proto/xf86driproto-2.1.0 |
133 |
>=x11-proto/dri2proto-2.3 |
134 |
>=x11-libs/libdrm-2.4.20 |
135 |
)" |
136 |
|
137 |
PDEPEND=" |
138 |
xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
139 |
|
140 |
REQUIRED_USE="!minimal? ( |
141 |
|| ( ${IUSE_SERVERS} ) |
142 |
)" |
143 |
|
144 |
#UPSTREAMED_PATCHES=( |
145 |
# "${WORKDIR}/patches/" |
146 |
#) |
147 |
|
148 |
PATCHES=( |
149 |
"${UPSTREAMED_PATCHES[@]}" |
150 |
"${FILESDIR}"/${PN}-disable-acpi.patch |
151 |
"${FILESDIR}"/${PN}-1.9-nouveau-default.patch |
152 |
) |
153 |
|
154 |
pkg_setup() { |
155 |
xorg-2_pkg_setup |
156 |
|
157 |
# localstatedir is used for the log location; we need to override the default |
158 |
# from ebuild.sh |
159 |
# sysconfdir is used for the xorg.conf location; same applies |
160 |
# --enable-install-setuid needed because sparcs default off |
161 |
# NOTE: fop is used for doc generating ; and i have no idea if gentoo |
162 |
# package it somewhere |
163 |
CONFIGURE_OPTIONS=" |
164 |
$(use_enable ipv6) |
165 |
$(use_enable dmx) |
166 |
$(use_enable kdrive) |
167 |
$(use_enable kdrive kdrive-kbd) |
168 |
$(use_enable kdrive kdrive-mouse) |
169 |
$(use_enable kdrive kdrive-evdev) |
170 |
$(use_enable tslib) |
171 |
$(use_enable tslib xcalibrate) |
172 |
$(use_enable !minimal xvfb) |
173 |
$(use_enable !minimal xnest) |
174 |
$(use_enable !minimal record) |
175 |
$(use_enable !minimal xfree86-utils) |
176 |
$(use_enable !minimal install-libxf86config) |
177 |
$(use_enable !minimal dri) |
178 |
$(use_enable !minimal dri2) |
179 |
$(use_enable !minimal glx) |
180 |
$(use_enable xorg) |
181 |
$(use_enable nptl glx-tls) |
182 |
$(use_enable udev config-udev) |
183 |
$(use_with doc doxygen) |
184 |
$(use_with doc xmlto) |
185 |
--sysconfdir=/etc/X11 |
186 |
--localstatedir=/var |
187 |
--enable-install-setuid |
188 |
--with-fontrootdir=/usr/share/fonts |
189 |
--with-xkb-output=/var/lib/xkb |
190 |
--disable-config-hal |
191 |
--without-dtrace |
192 |
--without-fop |
193 |
--with-os-vendor=Gentoo |
194 |
" |
195 |
|
196 |
# Xorg-server requires includes from OS mesa which are not visible for |
197 |
# users of binary drivers. |
198 |
# Due to the limitations of CONFIGURE_OPTIONS, we have to export this |
199 |
mkdir -p "${T}/mesa-symlinks/GL" |
200 |
for i in gl glx glxmd glxproto glxtokens; do |
201 |
ln -s "${EROOT}usr/$(get_libdir)/opengl/xorg-x11/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die |
202 |
done |
203 |
for i in glext glxext; do |
204 |
ln -s "${EROOT}usr/$(get_libdir)/opengl/global/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die |
205 |
done |
206 |
append-cppflags "-I${T}/mesa-symlinks" |
207 |
|
208 |
# Incompatible with GCC 3.x SSP on x86, bug #244352 |
209 |
if use x86 ; then |
210 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
211 |
filter-flags -fstack-protector |
212 |
fi |
213 |
fi |
214 |
|
215 |
# Incompatible with GCC 3.x CPP, bug #314615 |
216 |
if [[ $(gcc-major-version) -lt 4 ]]; then |
217 |
ewarn "GCC 3.x C preprocessor may cause build failures. Use GCC 4.x" |
218 |
ewarn "or set CPP=cpp-4.3.4 (replace with the actual installed version)" |
219 |
fi |
220 |
|
221 |
# detect if we should inform user about ebuild breakage |
222 |
if ! has_version "x11-base/xorg-server" || |
223 |
has_version "<x11-base/xorg-server-$(get_version_component_range 1-2)"; then |
224 |
INFO="yes" |
225 |
fi |
226 |
} |
227 |
|
228 |
src_install() { |
229 |
xorg-2_src_install |
230 |
|
231 |
dynamic_libgl_install |
232 |
|
233 |
server_based_install |
234 |
|
235 |
if ! use minimal && use xorg; then |
236 |
# Install xorg.conf.example into docs |
237 |
dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
238 |
fi |
239 |
|
240 |
newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
241 |
newinitd "${FILESDIR}"/xdm.initd-3 xdm |
242 |
newconfd "${FILESDIR}"/xdm.confd-3 xdm |
243 |
|
244 |
# install the @x11-module-rebuild set for Portage |
245 |
insinto /usr/share/portage/config/sets |
246 |
newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
247 |
} |
248 |
|
249 |
pkg_postinst() { |
250 |
# sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
251 |
eselect opengl set xorg-x11 --use-old |
252 |
|
253 |
if [[ ${INFO} = yes ]]; then |
254 |
elog "You should consider reading upgrade guide for this release:" |
255 |
elog " http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-$(get_version_component_range 1-2)-upgrade-guide.xml" |
256 |
echo |
257 |
ewarn "You must rebuild all drivers if upgrading from <xorg-server-$(get_version_component_range 1-2)" |
258 |
ewarn "because the ABI changed. If you cannot start X because" |
259 |
ewarn "of module version mismatch errors, this is your problem." |
260 |
|
261 |
echo |
262 |
ewarn "You can generate a list of all installed packages in the x11-drivers" |
263 |
ewarn "category using this command:" |
264 |
ewarn " emerge portage-utils; qlist -I -C x11-drivers/" |
265 |
fi |
266 |
} |
267 |
|
268 |
pkg_postrm() { |
269 |
# Get rid of module dir to ensure opengl-update works properly |
270 |
if ! has_version x11-base/xorg-server; then |
271 |
if [[ -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
272 |
rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules |
273 |
fi |
274 |
fi |
275 |
} |
276 |
|
277 |
dynamic_libgl_install() { |
278 |
# next section is to setup the dynamic libGL stuff |
279 |
ebegin "Moving GL files for dynamic switching" |
280 |
dodir /usr/$(get_libdir)/opengl/xorg-x11/extensions |
281 |
local x="" |
282 |
for x in "${D}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do |
283 |
if [ -f ${x} -o -L ${x} ]; then |
284 |
mv -f ${x} "${D}"/usr/$(get_libdir)/opengl/xorg-x11/extensions |
285 |
fi |
286 |
done |
287 |
eend 0 |
288 |
} |
289 |
|
290 |
server_based_install() { |
291 |
if ! use xorg; then |
292 |
rm "${D}"/usr/share/man/man1/Xserver.1x \ |
293 |
"${D}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
294 |
"${D}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
295 |
"${D}"/usr/share/man/man1/Xserver.1x |
296 |
fi |
297 |
} |