1 |
mgorny 15/02/27 21:44:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xorg-server-1.17.1-r1.ebuild |
5 |
Log: |
6 |
Add support for multiple "Files" sections as needed for eselect-opengl, bug #541232. |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.834 x11-base/xorg-server/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.834&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?rev=1.834&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/ChangeLog?r1=1.833&r2=1.834 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v |
20 |
retrieving revision 1.833 |
21 |
retrieving revision 1.834 |
22 |
diff -u -r1.833 -r1.834 |
23 |
--- ChangeLog 24 Feb 2015 08:37:45 -0000 1.833 |
24 |
+++ ChangeLog 27 Feb 2015 21:44:56 -0000 1.834 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for x11-base/xorg-server |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.833 2015/02/24 08:37:45 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/ChangeLog,v 1.834 2015/02/27 21:44:56 mgorny Exp $ |
30 |
+ |
31 |
+*xorg-server-1.17.1-r1 (27 Feb 2015) |
32 |
+ |
33 |
+ 27 Feb 2015; Michał Górny <mgorny@g.o> |
34 |
+ +files/xorg-server-1.17-support-multiple-Files-sections.patch, |
35 |
+ +xorg-server-1.17.1-r1.ebuild: |
36 |
+ Add support for multiple "Files" sections as needed for eselect-opengl, bug |
37 |
+ #541232. |
38 |
|
39 |
24 Feb 2015; Agostino Sarubbo <ago@g.o> xorg-server-1.12.4-r4.ebuild, |
40 |
xorg-server-1.15.2-r2.ebuild, xorg-server-1.16.4.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-base/xorg-server/xorg-server-1.17.1-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.17.1-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-base/xorg-server/xorg-server-1.17.1-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: xorg-server-1.17.1-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-1.17.1-r1.ebuild,v 1.1 2015/02/27 21:44:56 mgorny Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
XORG_DOC=doc |
58 |
inherit xorg-2 multilib versionator flag-o-matic |
59 |
EGIT_REPO_URI="git://anongit.freedesktop.org/git/xorg/xserver" |
60 |
|
61 |
DESCRIPTION="X.Org X servers" |
62 |
SLOT="0/${PV}" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
64 |
|
65 |
IUSE_SERVERS="dmx kdrive xephyr xnest xorg xvfb" |
66 |
IUSE="${IUSE_SERVERS} glamor ipv6 minimal nptl selinux +suid systemd tslib +udev unwind wayland" |
67 |
|
68 |
CDEPEND=">=app-admin/eselect-opengl-1.3.0 |
69 |
dev-libs/openssl |
70 |
media-libs/freetype |
71 |
>=x11-apps/iceauth-1.0.2 |
72 |
>=x11-apps/rgb-1.0.3 |
73 |
>=x11-apps/xauth-1.0.3 |
74 |
x11-apps/xkbcomp |
75 |
>=x11-libs/libdrm-2.4.46 |
76 |
>=x11-libs/libpciaccess-0.12.901 |
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/libxshmfence-1.1 |
82 |
>=x11-libs/pixman-0.27.2 |
83 |
>=x11-libs/xtrans-1.3.5 |
84 |
>=x11-misc/xbitmaps-1.0.1 |
85 |
>=x11-misc/xkeyboard-config-2.4.1-r3 |
86 |
dmx? ( |
87 |
x11-libs/libXt |
88 |
>=x11-libs/libdmx-1.0.99.1 |
89 |
>=x11-libs/libX11-1.1.5 |
90 |
>=x11-libs/libXaw-1.0.4 |
91 |
>=x11-libs/libXext-1.0.99.4 |
92 |
>=x11-libs/libXfixes-5.0 |
93 |
>=x11-libs/libXi-1.2.99.1 |
94 |
>=x11-libs/libXmu-1.0.3 |
95 |
x11-libs/libXrender |
96 |
>=x11-libs/libXres-1.0.3 |
97 |
>=x11-libs/libXtst-1.0.99.2 |
98 |
) |
99 |
glamor? ( |
100 |
media-libs/libepoxy |
101 |
>=media-libs/mesa-10.3.4-r1[egl,gbm] |
102 |
!x11-libs/glamor |
103 |
) |
104 |
kdrive? ( |
105 |
>=x11-libs/libXext-1.0.5 |
106 |
x11-libs/libXv |
107 |
) |
108 |
xephyr? ( |
109 |
x11-libs/libxcb |
110 |
x11-libs/xcb-util |
111 |
x11-libs/xcb-util-image |
112 |
x11-libs/xcb-util-keysyms |
113 |
x11-libs/xcb-util-renderutil |
114 |
x11-libs/xcb-util-wm |
115 |
) |
116 |
!minimal? ( |
117 |
>=x11-libs/libX11-1.1.5 |
118 |
>=x11-libs/libXext-1.0.5 |
119 |
>=media-libs/mesa-10.3.4-r1[nptl=] |
120 |
) |
121 |
tslib? ( >=x11-libs/tslib-1.0 ) |
122 |
udev? ( >=virtual/udev-150 ) |
123 |
unwind? ( sys-libs/libunwind ) |
124 |
wayland? ( |
125 |
>=dev-libs/wayland-1.3.0 |
126 |
media-libs/libepoxy |
127 |
) |
128 |
>=x11-apps/xinit-1.3.3-r1 |
129 |
systemd? ( |
130 |
sys-apps/dbus |
131 |
sys-apps/systemd |
132 |
)" |
133 |
|
134 |
DEPEND="${CDEPEND} |
135 |
sys-devel/flex |
136 |
>=x11-proto/bigreqsproto-1.1.0 |
137 |
>=x11-proto/compositeproto-0.4 |
138 |
>=x11-proto/damageproto-1.1 |
139 |
>=x11-proto/fixesproto-5.0 |
140 |
>=x11-proto/fontsproto-2.1.3 |
141 |
>=x11-proto/glproto-1.4.17-r1 |
142 |
>=x11-proto/inputproto-2.2.99.1 |
143 |
>=x11-proto/kbproto-1.0.3 |
144 |
>=x11-proto/randrproto-1.4.0 |
145 |
>=x11-proto/recordproto-1.13.99.1 |
146 |
>=x11-proto/renderproto-0.11 |
147 |
>=x11-proto/resourceproto-1.2.0 |
148 |
>=x11-proto/scrnsaverproto-1.1 |
149 |
>=x11-proto/trapproto-3.4.3 |
150 |
>=x11-proto/videoproto-2.2.2 |
151 |
>=x11-proto/xcmiscproto-1.2.0 |
152 |
>=x11-proto/xextproto-7.2.99.901 |
153 |
>=x11-proto/xf86dgaproto-2.0.99.1 |
154 |
>=x11-proto/xf86rushproto-1.1.2 |
155 |
>=x11-proto/xf86vidmodeproto-2.2.99.1 |
156 |
>=x11-proto/xineramaproto-1.1.3 |
157 |
>=x11-proto/xproto-7.0.26 |
158 |
>=x11-proto/presentproto-1.0 |
159 |
>=x11-proto/dri3proto-1.0 |
160 |
dmx? ( |
161 |
>=x11-proto/dmxproto-2.2.99.1 |
162 |
doc? ( |
163 |
|| ( |
164 |
www-client/links |
165 |
www-client/lynx |
166 |
www-client/w3m |
167 |
) |
168 |
) |
169 |
) |
170 |
!minimal? ( |
171 |
>=x11-proto/xf86driproto-2.1.0 |
172 |
>=x11-proto/dri2proto-2.8 |
173 |
)" |
174 |
|
175 |
RDEPEND="${CDEPEND} |
176 |
selinux? ( sec-policy/selinux-xserver ) |
177 |
!x11-drivers/xf86-video-modesetting |
178 |
" |
179 |
|
180 |
PDEPEND=" |
181 |
xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )" |
182 |
|
183 |
REQUIRED_USE="!minimal? ( |
184 |
|| ( ${IUSE_SERVERS} ) |
185 |
) |
186 |
xephyr? ( kdrive )" |
187 |
|
188 |
#UPSTREAMED_PATCHES=( |
189 |
# "${WORKDIR}/patches/" |
190 |
#) |
191 |
|
192 |
PATCHES=( |
193 |
"${UPSTREAMED_PATCHES[@]}" |
194 |
"${FILESDIR}"/${PN}-1.17-ia64-fix_inx_outx.patch |
195 |
"${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch |
196 |
# needed for new eselect-opengl, bug #541232 |
197 |
"${FILESDIR}"/${PN}-1.17-support-multiple-Files-sections.patch |
198 |
) |
199 |
|
200 |
pkg_pretend() { |
201 |
# older gcc is not supported |
202 |
[[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \ |
203 |
die "Sorry, but gcc earlier than 4.0 will not work for xorg-server." |
204 |
} |
205 |
|
206 |
src_configure() { |
207 |
# localstatedir is used for the log location; we need to override the default |
208 |
# from ebuild.sh |
209 |
# sysconfdir is used for the xorg.conf location; same applies |
210 |
# NOTE: fop is used for doc generating ; and i have no idea if gentoo |
211 |
# package it somewhere |
212 |
XORG_CONFIGURE_OPTIONS=( |
213 |
$(use_enable ipv6) |
214 |
$(use_enable dmx) |
215 |
$(use_enable glamor) |
216 |
$(use_enable kdrive) |
217 |
$(use_enable kdrive kdrive-kbd) |
218 |
$(use_enable kdrive kdrive-mouse) |
219 |
$(use_enable kdrive kdrive-evdev) |
220 |
$(use_enable suid install-setuid) |
221 |
$(use_enable tslib) |
222 |
$(use_enable unwind libunwind) |
223 |
$(use_enable wayland xwayland) |
224 |
$(use_enable !minimal record) |
225 |
$(use_enable !minimal xfree86-utils) |
226 |
$(use_enable !minimal install-libxf86config) |
227 |
$(use_enable !minimal dri) |
228 |
$(use_enable !minimal dri2) |
229 |
$(use_enable !minimal glx) |
230 |
$(use_enable xephyr) |
231 |
$(use_enable xnest) |
232 |
$(use_enable xorg) |
233 |
$(use_enable xvfb) |
234 |
$(use_enable nptl glx-tls) |
235 |
$(use_enable udev config-udev) |
236 |
$(use_with doc doxygen) |
237 |
$(use_with doc xmlto) |
238 |
$(use_with systemd systemd-daemon) |
239 |
$(use_enable systemd systemd-logind) |
240 |
--enable-libdrm |
241 |
--sysconfdir="${EPREFIX}"/etc/X11 |
242 |
--localstatedir="${EPREFIX}"/var |
243 |
--with-fontrootdir="${EPREFIX}"/usr/share/fonts |
244 |
--with-xkb-output="${EPREFIX}"/var/lib/xkb |
245 |
--disable-config-hal |
246 |
--disable-linux-acpi |
247 |
--without-dtrace |
248 |
--without-fop |
249 |
--with-os-vendor=Gentoo |
250 |
--with-sha1=libcrypto |
251 |
) |
252 |
|
253 |
xorg-2_src_configure |
254 |
} |
255 |
|
256 |
src_install() { |
257 |
xorg-2_src_install |
258 |
|
259 |
server_based_install |
260 |
|
261 |
if ! use minimal && use xorg; then |
262 |
# Install xorg.conf.example into docs |
263 |
dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example |
264 |
fi |
265 |
|
266 |
newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup |
267 |
newinitd "${FILESDIR}"/xdm.initd-11 xdm |
268 |
newconfd "${FILESDIR}"/xdm.confd-4 xdm |
269 |
|
270 |
# install the @x11-module-rebuild set for Portage |
271 |
insinto /usr/share/portage/config/sets |
272 |
newins "${FILESDIR}"/xorg-sets.conf xorg.conf |
273 |
} |
274 |
|
275 |
pkg_postinst() { |
276 |
# sets up libGL and DRI2 symlinks if needed (ie, on a fresh install) |
277 |
eselect opengl set xorg-x11 --use-old |
278 |
} |
279 |
|
280 |
pkg_postrm() { |
281 |
# Get rid of module dir to ensure opengl-update works properly |
282 |
if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then |
283 |
rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules |
284 |
fi |
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 |
} |