1 |
chithanh 13/06/02 01:25:44 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xorg-server-1.14.1.901.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.744 x11-base/xorg-server/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.744&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.744&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?r1=1.743&r2=1.744 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v |
20 |
retrieving revision 1.743 |
21 |
retrieving revision 1.744 |
22 |
diff -u -r1.743 -r1.744 |
23 |
--- ChangeLog 22 Apr 2013 12:42:10 -0000 1.743 |
24 |
+++ ChangeLog 2 Jun 2013 01:25:44 -0000 1.744 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-base/xorg-server |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.743 2013/04/22 12:42:10 chithanh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.744 2013/06/02 01:25:44 chithanh Exp $ |
30 |
+ |
31 |
+*xorg-server-1.14.1.901 (02 Jun 2013) |
32 |
+ |
33 |
+ 02 Jun 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
34 |
+ +xorg-server-1.14.1.901.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
22 Apr 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
38 |
-files/xdm.confd-3, -files/xdm.initd-3, -files/xdm.initd-5, |
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-base/xorg-server/xorg-server-1.14.1.901.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.14.1.901.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.14.1.901.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xorg-server-1.14.1.901.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 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.14.1.901.ebuild,v 1.1 2013/06/02 01:25:44 chithanh Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
XORG_DOC=doc |
56 |
XORG_EAUTORECONF=yes |
57 |
inherit xorg-2 multilib versionator flag-o-matic |
58 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver" |
59 |
|
60 |
DESCRIPTION="X.Org X servers" |
61 |
SLOT="0/${PV}" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
63 |
|
64 |
IUSE_SERVERS="dmx kdrive xnest xorg xvfb" |
65 |
IUSE="${IUSE_SERVERS} ipv6 minimal nptl selinux +suid tslib +udev" |
66 |
|
67 |
RDEPEND=">=app-admin/eselect-opengl-1.0.8 |
68 |
dev-libs/openssl |
69 |
media-libs/freetype |
70 |
>=x11-apps/iceauth-1.0.2 |
71 |
>=x11-apps/rgb-1.0.3 |
72 |
>=x11-apps/xauth-1.0.3 |
73 |
x11-apps/xkbcomp |
74 |
>=x11-libs/libdrm-2.4.20 |
75 |
>=x11-libs/libpciaccess-0.12.901 |
76 |
>=x11-libs/libXau-1.0.4 |
77 |
>=x11-libs/libXdmcp-1.0.2 |
78 |
>=x11-libs/libXfont-1.4.2 |
79 |
>=x11-libs/libxkbfile-1.0.4 |
80 |
>=x11-libs/pixman-0.27.2 |
81 |
>=x11-libs/xtrans-1.2.2 |
82 |
>=x11-misc/xbitmaps-1.0.1 |
83 |
>=x11-misc/xkeyboard-config-2.4.1-r3 |
84 |
dmx? ( |
85 |
x11-libs/libXt |
86 |
>=x11-libs/libdmx-1.0.99.1 |
87 |
>=x11-libs/libX11-1.1.5 |
88 |
>=x11-libs/libXaw-1.0.4 |
89 |
>=x11-libs/libXext-1.0.99.4 |
90 |
>=x11-libs/libXfixes-5.0 |
91 |
>=x11-libs/libXi-1.2.99.1 |
92 |
>=x11-libs/libXmu-1.0.3 |
93 |
x11-libs/libXrender |
94 |
>=x11-libs/libXres-1.0.3 |
95 |
>=x11-libs/libXtst-1.0.99.2 |
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-8[nptl=] |
105 |
) |
106 |
tslib? ( >=x11-libs/tslib-1.0 ) |
107 |
udev? ( >=virtual/udev-150 ) |
108 |
>=x11-apps/xinit-1.3 |
109 |
selinux? ( sec-policy/selinux-xserver )" |
110 |
|
111 |
DEPEND="${RDEPEND} |
112 |
sys-devel/flex |
113 |
>=x11-proto/bigreqsproto-1.1.0 |
114 |
>=x11-proto/compositeproto-0.4 |
115 |
>=x11-proto/damageproto-1.1 |
116 |
>=x11-proto/fixesproto-5.0 |
117 |
>=x11-proto/fontsproto-2.0.2 |
118 |
>=x11-proto/glproto-1.4.16 |
119 |
>=x11-proto/inputproto-2.2.99.1 |
120 |
>=x11-proto/kbproto-1.0.3 |
121 |
>=x11-proto/randrproto-1.4.0 |
122 |
>=x11-proto/recordproto-1.13.99.1 |
123 |
>=x11-proto/renderproto-0.11 |
124 |
>=x11-proto/resourceproto-1.2.0 |
125 |
>=x11-proto/scrnsaverproto-1.1 |
126 |
>=x11-proto/trapproto-3.4.3 |
127 |
>=x11-proto/videoproto-2.2.2 |
128 |
>=x11-proto/xcmiscproto-1.2.0 |
129 |
>=x11-proto/xextproto-7.1.99 |
130 |
>=x11-proto/xf86dgaproto-2.0.99.1 |
131 |
>=x11-proto/xf86rushproto-1.1.2 |
132 |
>=x11-proto/xf86vidmodeproto-2.2.99.1 |
133 |
>=x11-proto/xineramaproto-1.1.3 |
134 |
>=x11-proto/xproto-7.0.22 |
135 |
dmx? ( |
136 |
>=x11-proto/dmxproto-2.2.99.1 |
137 |
doc? ( |
138 |
|| ( |
139 |
www-client/links |
140 |
www-client/lynx |
141 |
www-client/w3m |
142 |
) |
143 |
) |
144 |
) |
145 |
!minimal? ( |
146 |
>=x11-proto/xf86driproto-2.1.0 |
147 |
>=x11-proto/dri2proto-2.8 |
148 |
)" |
149 |
|
150 |
PDEPEND=" |
151 |
xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
152 |
|
153 |
REQUIRED_USE="!minimal? ( |
154 |
|| ( ${IUSE_SERVERS} ) |
155 |
)" |
156 |
|
157 |
#UPSTREAMED_PATCHES=( |
158 |
# "${WORKDIR}/patches/" |
159 |
#) |
160 |
|
161 |
PATCHES=( |
162 |
"${UPSTREAMED_PATCHES[@]}" |
163 |
"${FILESDIR}"/${PN}-1.12-disable-acpi.patch |
164 |
) |
165 |
|
166 |
pkg_pretend() { |
167 |
# older gcc is not supported |
168 |
[[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \ |
169 |
die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
170 |
} |
171 |
|
172 |
src_configure() { |
173 |
# localstatedir is used for the log location; we need to override the default |
174 |
# from ebuild.sh |
175 |
# sysconfdir is used for the xorg.conf location; same applies |
176 |
# NOTE: fop is used for doc generating ; and i have no idea if gentoo |
177 |
# package it somewhere |
178 |
XORG_CONFIGURE_OPTIONS=( |
179 |
$(use_enable ipv6) |
180 |
$(use_enable dmx) |
181 |
$(use_enable kdrive) |
182 |
$(use_enable kdrive kdrive-kbd) |
183 |
$(use_enable kdrive kdrive-mouse) |
184 |
$(use_enable kdrive kdrive-evdev) |
185 |
$(use_enable suid install-setuid) |
186 |
$(use_enable tslib) |
187 |
$(use_enable !minimal record) |
188 |
$(use_enable !minimal xfree86-utils) |
189 |
$(use_enable !minimal install-libxf86config) |
190 |
$(use_enable !minimal dri) |
191 |
$(use_enable !minimal dri2) |
192 |
$(use_enable !minimal glx) |
193 |
$(use_enable xnest) |
194 |
$(use_enable xorg) |
195 |
$(use_enable xvfb) |
196 |
$(use_enable nptl glx-tls) |
197 |
$(use_enable udev config-udev) |
198 |
$(use_with doc doxygen) |
199 |
$(use_with doc xmlto) |
200 |
--enable-libdrm |
201 |
--sysconfdir="${EPREFIX}"/etc/X11 |
202 |
--localstatedir="${EPREFIX}"/var |
203 |
--with-fontrootdir="${EPREFIX}"/usr/share/fonts |
204 |
--with-xkb-output="${EPREFIX}"/var/lib/xkb |
205 |
--disable-config-hal |
206 |
--without-dtrace |
207 |
--without-fop |
208 |
--with-os-vendor=Gentoo |
209 |
) |
210 |
|
211 |
# Xorg-server requires includes from OS mesa which are not visible for |
212 |
# users of binary drivers. |
213 |
mkdir -p "${T}/mesa-symlinks/GL" |
214 |
for i in gl glx glxmd glxproto glxtokens; do |
215 |
ln -s "${EROOT}usr/$(get_libdir)/opengl/xorg-x11/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die |
216 |
done |
217 |
for i in glext glxext; do |
218 |
ln -s "${EROOT}usr/$(get_libdir)/opengl/global/include/$i.h" "${T}/mesa-symlinks/GL/$i.h" || die |
219 |
done |
220 |
append-cppflags "-I${T}/mesa-symlinks" |
221 |
|
222 |
xorg-2_src_configure |
223 |
} |
224 |
|
225 |
src_install() { |
226 |
xorg-2_src_install |
227 |
|
228 |
dynamic_libgl_install |
229 |
|
230 |
server_based_install |
231 |
|
232 |
if ! use minimal && use xorg; then |
233 |
# Install xorg.conf.example into docs |
234 |
dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
235 |
fi |
236 |
|
237 |
newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
238 |
newinitd "${FILESDIR}"/xdm.initd-9 xdm |
239 |
newconfd "${FILESDIR}"/xdm.confd-4 xdm |
240 |
|
241 |
# install the @x11-module-rebuild set for Portage |
242 |
insinto /usr/share/portage/config/sets |
243 |
newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
244 |
} |
245 |
|
246 |
pkg_postinst() { |
247 |
# sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
248 |
eselect opengl set xorg-x11 --use-old |
249 |
|
250 |
if [[ ${PV} != 9999 && $(get_version_component_range 2 ${REPLACING_VERSIONS}) != $(get_version_component_range 2 ${PV}) ]]; then |
251 |
ewarn "You must rebuild all drivers if upgrading from <xorg-server-$(get_version_component_range 1-2)" |
252 |
ewarn "because the ABI changed. If you cannot start X because" |
253 |
ewarn "of module version mismatch errors, this is your problem." |
254 |
|
255 |
echo |
256 |
ewarn "You can rebuild all installed packages in the x11-drivers" |
257 |
ewarn "category using this command:" |
258 |
ewarn " emerge @x11-module-rebuild" |
259 |
fi |
260 |
|
261 |
if use udev && has_version virtual/udev[-keymap]; then |
262 |
ewarn "virtual/udev was built without keymap support. This may cause input device" |
263 |
ewarn "autoconfiguration to fail." |
264 |
fi |
265 |
} |
266 |
|
267 |
pkg_postrm() { |
268 |
# Get rid of module dir to ensure opengl-update works properly |
269 |
if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
270 |
rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules |
271 |
fi |
272 |
} |
273 |
|
274 |
dynamic_libgl_install() { |
275 |
# next section is to setup the dynamic libGL stuff |
276 |
ebegin "Moving GL files for dynamic switching" |
277 |
dodir /usr/$(get_libdir)/opengl/xorg-x11/extensions |
278 |
local x="" |
279 |
for x in "${ED}"/usr/$(get_libdir)/xorg/modules/extensions/lib{glx,dri,dri2}*; do |
280 |
if [ -f ${x} -o -L ${x} ]; then |
281 |
mv -f ${x} "${ED}"/usr/$(get_libdir)/opengl/xorg-x11/extensions |
282 |
fi |
283 |
done |
284 |
eend 0 |
285 |
} |
286 |
|
287 |
server_based_install() { |
288 |
if ! use xorg; then |
289 |
rm "${ED}"/usr/share/man/man1/Xserver.1x \ |
290 |
"${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \ |
291 |
"${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \ |
292 |
"${ED}"/usr/share/man/man1/Xserver.1x |
293 |
fi |
294 |
} |