Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-base/xorg-server/, x11-base/xorg-server/files/
Date: Sun, 20 Jan 2019 05:43:25
Message-Id: 1547962987.4c14dca574c964ff238b45966d6d756fe01220d6.mattst88@gentoo
1 commit: 4c14dca574c964ff238b45966d6d756fe01220d6
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 20 05:35:41 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 20 05:43:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c14dca5
7
8 x11-base/xorg-server: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-base/xorg-server/Manifest | 1 -
13 .../files/xorg-server-1.19.4-sysmacros.patch | 36 ----
14 ...t-pick-sRGB-config-for-32-bit-RGBA-visual.patch | 39 ----
15 x11-base/xorg-server/metadata.xml | 1 -
16 x11-base/xorg-server/xorg-server-1.19.5-r2.ebuild | 224 ---------------------
17 5 files changed, 301 deletions(-)
18
19 diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
20 index 3bc38c0e6c1..4dc15913393 100644
21 --- a/x11-base/xorg-server/Manifest
22 +++ b/x11-base/xorg-server/Manifest
23 @@ -1,2 +1 @@
24 -DIST xorg-server-1.19.5.tar.bz2 5965044 BLAKE2B 23375793ea4459a962f412440e307081ce2acd3c646e5db4d1bfac20e267bcbb1752ba8f6de66df06d25eaf92d1b55082a80eced0d44c257a757d5926ca6a7f3 SHA512 928dea5850b98cd815004cfa133eca23cfa9521920c934c68a92787f2cae13cca1534eee772a4fb74b8ae8cb92662b5d68b95b834c8aa8ec57cd57cb4e5dd45c
25 DIST xorg-server-1.20.3.tar.bz2 6205000 BLAKE2B 9fc8acf1812d0aa4800941dd1846060f91edf1e7ebc92b35e8c2028266d88d3ab3ba14e95f535e5ee41941f8e20769ee75723ba609f5653d4892f97bc5cf91c4 SHA512 ee44554f86df4297f54c5871fe7a18954eeef4338775a25f36d6577b279c4775f61128da71b86cfaeadcc080838d6749dede138d4db178866579da2056543fba
26
27 diff --git a/x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch b/x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch
28 deleted file mode 100644
29 index 8a3cb769292..00000000000
30 --- a/x11-base/xorg-server/files/xorg-server-1.19.4-sysmacros.patch
31 +++ /dev/null
32 @@ -1,36 +0,0 @@
33 -From 7d097c0c38ab82115a1e56489bfe09f9f01b24de Mon Sep 17 00:00:00 2001
34 -From: Mart Raudsepp <leio@g.o>
35 -Date: Wed, 11 Oct 2017 16:11:49 +0300
36 -Subject: [PATCH] config/udev: Add sys/sysmacros.h include for major/minor
37 - functions for new glibc
38 -
39 -Commits d732c36597fa and 84e3b96b5313 added the include to some files, but
40 -missed config/udev.c, where the major and minor functions are used as well.
41 -This should be Linux-only, so we don't need the sys/mkdev.h case here for
42 -Solaris.
43 -
44 -Signed-off-by: Mart Raudsepp <leio@g.o>
45 ----
46 -https://bugs.gentoo.org/633530
47 -https://patchwork.freedesktop.org/patch/181800/
48 -
49 - config/udev.c | 3 +++
50 - 1 file changed, 3 insertions(+)
51 -
52 -diff --git a/config/udev.c b/config/udev.c
53 -index 932f230..b3b8d0f 100644
54 ---- a/config/udev.c
55 -+++ b/config/udev.c
56 -@@ -30,6 +30,9 @@
57 - #include <libudev.h>
58 - #include <ctype.h>
59 - #include <unistd.h>
60 -+#ifdef HAVE_SYS_SYSMACROS_H
61 -+#include <sys/sysmacros.h>
62 -+#endif
63 -
64 - #include "input.h"
65 - #include "inputstr.h"
66 ---
67 -2.10.2
68 -
69
70 diff --git a/x11-base/xorg-server/files/xorg-server-1.19.5-glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch b/x11-base/xorg-server/files/xorg-server-1.19.5-glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch
71 deleted file mode 100644
72 index d7e5e511e5d..00000000000
73 --- a/x11-base/xorg-server/files/xorg-server-1.19.5-glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch
74 +++ /dev/null
75 @@ -1,39 +0,0 @@
76 -From c2954b16c8730c7ed8441fd8dba25900f3aed265 Mon Sep 17 00:00:00 2001
77 -From: =?UTF-8?q?Tapani=20P=C3=A4lli?= <tapani.palli@×××××.com>
78 -Date: Tue, 28 Nov 2017 09:23:29 +0200
79 -Subject: [PATCH] glx: do not pick sRGB config for 32-bit RGBA visual
80 -MIME-Version: 1.0
81 -Content-Type: text/plain; charset=UTF-8
82 -Content-Transfer-Encoding: 8bit
83 -
84 -This fixes blending issues seen with kwin and gnome-shell when
85 -32bit visual has sRGB capability set.
86 -
87 -Reviewed-by: Adam Jackson <ajax@××××××.com>
88 -Signed-off-by: Tapani Pälli <tapani.palli@×××××.com>
89 -Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103699
90 -Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103646
91 -Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103655
92 ----
93 - glx/glxscreens.c | 5 +++++
94 - 1 file changed, 5 insertions(+)
95 -
96 -diff --git a/glx/glxscreens.c b/glx/glxscreens.c
97 -index 73444152a..596d972e0 100644
98 ---- a/glx/glxscreens.c
99 -+++ b/glx/glxscreens.c
100 -@@ -271,6 +271,11 @@ pickFBConfig(__GLXscreen * pGlxScreen, VisualPtr visual)
101 - /* If it's the 32-bit RGBA visual, demand a 32-bit fbconfig. */
102 - if (visual->nplanes == 32 && config->rgbBits != 32)
103 - continue;
104 -+ /* If it's the 32-bit RGBA visual, do not pick sRGB capable config.
105 -+ * This can cause issues with compositors that are not sRGB aware.
106 -+ */
107 -+ if (visual->nplanes == 32 && config->sRGBCapable == GL_TRUE)
108 -+ continue;
109 - /* Can't use the same FBconfig for multiple X visuals. I think. */
110 - if (config->visualID != 0)
111 - continue;
112 ---
113 -2.17.0
114 -
115
116 diff --git a/x11-base/xorg-server/metadata.xml b/x11-base/xorg-server/metadata.xml
117 index 8c8c243082e..74e52195b25 100644
118 --- a/x11-base/xorg-server/metadata.xml
119 +++ b/x11-base/xorg-server/metadata.xml
120 @@ -9,7 +9,6 @@
121 <flag name="dmx">Build the Distributed Multiheaded X server</flag>
122 <flag name="glamor">Enable Glamor OpenGL 2D acceleration</flag>
123 <flag name="kdrive">Build the kdrive X servers</flag>
124 - <flag name="tslib">Build with tslib support for touchscreen devices</flag>
125 <flag name="unwind">Enable libunwind usage for backtraces</flag>
126 <flag name="xcsecurity">Build Security extension</flag>
127 <flag name="xnest">Build the Xnest server</flag>
128
129 diff --git a/x11-base/xorg-server/xorg-server-1.19.5-r2.ebuild b/x11-base/xorg-server/xorg-server-1.19.5-r2.ebuild
130 deleted file mode 100644
131 index 26685badc18..00000000000
132 --- a/x11-base/xorg-server/xorg-server-1.19.5-r2.ebuild
133 +++ /dev/null
134 @@ -1,224 +0,0 @@
135 -# Copyright 1999-2018 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI=5
139 -
140 -XORG_DOC=doc
141 -inherit xorg-2 multilib versionator flag-o-matic
142 -EGIT_REPO_URI="https://anongit.freedesktop.org/git/xorg/xserver.git"
143 -
144 -DESCRIPTION="X.Org X servers"
145 -SLOT="0/${PV}"
146 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
147 -
148 -IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
149 -IUSE="${IUSE_SERVERS} debug +glamor ipv6 libressl minimal selinux +suid systemd tslib +udev unwind xcsecurity"
150 -
151 -CDEPEND=">=app-eselect/eselect-opengl-1.3.0
152 - !libressl? ( dev-libs/openssl:0= )
153 - libressl? ( dev-libs/libressl:0= )
154 - >=x11-apps/iceauth-1.0.2
155 - >=x11-apps/rgb-1.0.3
156 - >=x11-apps/xauth-1.0.3
157 - x11-apps/xkbcomp
158 - >=x11-libs/libdrm-2.4.46
159 - >=x11-libs/libpciaccess-0.12.901
160 - >=x11-libs/libXau-1.0.4
161 - >=x11-libs/libXdmcp-1.0.2
162 - >=x11-libs/libXfont2-2.0.1
163 - >=x11-libs/libxkbfile-1.0.4
164 - >=x11-libs/libxshmfence-1.1
165 - >=x11-libs/pixman-0.27.2
166 - >=x11-libs/xtrans-1.3.5
167 - >=x11-misc/xbitmaps-1.0.1
168 - >=x11-misc/xkeyboard-config-2.4.1-r3
169 - dmx? (
170 - x11-libs/libXt
171 - >=x11-libs/libdmx-1.0.99.1
172 - >=x11-libs/libX11-1.1.5
173 - >=x11-libs/libXaw-1.0.4
174 - >=x11-libs/libXext-1.0.99.4
175 - >=x11-libs/libXfixes-5.0
176 - >=x11-libs/libXi-1.2.99.1
177 - >=x11-libs/libXmu-1.0.3
178 - x11-libs/libXrender
179 - >=x11-libs/libXres-1.0.3
180 - >=x11-libs/libXtst-1.0.99.2
181 - )
182 - glamor? (
183 - media-libs/libepoxy[X]
184 - >=media-libs/mesa-10.3.4-r1[egl,gbm]
185 - !x11-libs/glamor
186 - )
187 - kdrive? (
188 - >=x11-libs/libXext-1.0.5
189 - x11-libs/libXv
190 - )
191 - xephyr? (
192 - x11-libs/libxcb[xkb]
193 - x11-libs/xcb-util
194 - x11-libs/xcb-util-image
195 - x11-libs/xcb-util-keysyms
196 - x11-libs/xcb-util-renderutil
197 - x11-libs/xcb-util-wm
198 - )
199 - !minimal? (
200 - >=x11-libs/libX11-1.1.5
201 - >=x11-libs/libXext-1.0.5
202 - >=media-libs/mesa-10.3.4-r1
203 - )
204 - tslib? ( >=x11-libs/tslib-1.0 )
205 - udev? ( >=virtual/udev-150 )
206 - unwind? ( sys-libs/libunwind )
207 - wayland? (
208 - >=dev-libs/wayland-1.3.0
209 - media-libs/libepoxy
210 - >=dev-libs/wayland-protocols-1.1
211 - )
212 - >=x11-apps/xinit-1.3.3-r1
213 - systemd? (
214 - sys-apps/dbus
215 - sys-apps/systemd
216 - )"
217 -
218 -DEPEND="${CDEPEND}
219 - sys-devel/flex
220 - x11-base/xorg-proto
221 - dmx? (
222 - doc? (
223 - || (
224 - www-client/links
225 - www-client/lynx
226 - www-client/w3m
227 - )
228 - )
229 - )"
230 -
231 -RDEPEND="${CDEPEND}
232 - selinux? ( sec-policy/selinux-xserver )
233 - !x11-drivers/xf86-video-modesetting
234 -"
235 -
236 -PDEPEND="
237 - xorg? ( >=x11-base/xorg-drivers-$(get_version_component_range 1-2) )"
238 -
239 -REQUIRED_USE="!minimal? (
240 - || ( ${IUSE_SERVERS} )
241 - )
242 - xephyr? ( kdrive )"
243 -
244 -#UPSTREAMED_PATCHES=(
245 -# "${WORKDIR}/patches/"
246 -#)
247 -
248 -PATCHES=(
249 - "${UPSTREAMED_PATCHES[@]}"
250 - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch
251 - # needed for new eselect-opengl, bug #541232
252 - "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch
253 - "${FILESDIR}"/${PN}-1.19.4-sysmacros.patch #633530
254 - "${FILESDIR}"/${PN}-1.19.5-glx-do-not-pick-sRGB-config-for-32-bit-RGBA-visual.patch #653688
255 -)
256 -
257 -pkg_pretend() {
258 - # older gcc is not supported
259 - [[ "${MERGE_TYPE}" != "binary" && $(gcc-major-version) -lt 4 ]] && \
260 - die "Sorry, but gcc earlier than 4.0 will not work for xorg-server."
261 -}
262 -
263 -pkg_setup() {
264 - if use wayland && ! use glamor; then
265 - ewarn "glamor is necessary for acceleration under Xwayland."
266 - ewarn "Performance may be unacceptable without it."
267 - fi
268 -}
269 -
270 -src_configure() {
271 - # localstatedir is used for the log location; we need to override the default
272 - # from ebuild.sh
273 - # sysconfdir is used for the xorg.conf location; same applies
274 - # NOTE: fop is used for doc generating; and I have no idea if Gentoo
275 - # package it somewhere
276 - XORG_CONFIGURE_OPTIONS=(
277 - $(use_enable ipv6)
278 - $(use_enable debug)
279 - $(use_enable dmx)
280 - $(use_enable glamor)
281 - $(use_enable kdrive)
282 - $(use_enable kdrive kdrive-kbd)
283 - $(use_enable kdrive kdrive-mouse)
284 - $(use_enable kdrive kdrive-evdev)
285 - $(use_enable suid install-setuid)
286 - $(use_enable tslib)
287 - $(use_enable unwind libunwind)
288 - $(use_enable wayland xwayland)
289 - $(use_enable !minimal record)
290 - $(use_enable !minimal xfree86-utils)
291 - $(use_enable !minimal dri)
292 - $(use_enable !minimal dri2)
293 - $(use_enable !minimal glx)
294 - $(use_enable xcsecurity)
295 - $(use_enable xephyr)
296 - $(use_enable xnest)
297 - $(use_enable xorg)
298 - $(use_enable xvfb)
299 - $(use_enable udev config-udev)
300 - $(use_with doc doxygen)
301 - $(use_with doc xmlto)
302 - $(use_with systemd systemd-daemon)
303 - $(use_enable systemd systemd-logind)
304 - --enable-libdrm
305 - --sysconfdir="${EPREFIX}"/etc/X11
306 - --localstatedir="${EPREFIX}"/var
307 - --with-fontrootdir="${EPREFIX}"/usr/share/fonts
308 - --with-xkb-output="${EPREFIX}"/var/lib/xkb
309 - --disable-config-hal
310 - --disable-linux-acpi
311 - --without-dtrace
312 - --without-fop
313 - --with-os-vendor=Gentoo
314 - --with-sha1=libcrypto
315 - )
316 -
317 - xorg-2_src_configure
318 -}
319 -
320 -src_install() {
321 - xorg-2_src_install
322 -
323 - server_based_install
324 -
325 - if ! use minimal && use xorg; then
326 - # Install xorg.conf.example into docs
327 - dodoc "${AUTOTOOLS_BUILD_DIR}"/hw/xfree86/xorg.conf.example
328 - fi
329 -
330 - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
331 - newinitd "${FILESDIR}"/xdm.initd-11 xdm
332 - newconfd "${FILESDIR}"/xdm.confd-4 xdm
333 -
334 - # install the @x11-module-rebuild set for Portage
335 - insinto /usr/share/portage/config/sets
336 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
337 -}
338 -
339 -pkg_postinst() {
340 - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
341 - eselect opengl set xorg-x11 --use-old
342 -}
343 -
344 -pkg_postrm() {
345 - # Get rid of module dir to ensure opengl-update works properly
346 - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then
347 - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules
348 - fi
349 -}
350 -
351 -server_based_install() {
352 - if ! use xorg; then
353 - rm "${ED}"/usr/share/man/man1/Xserver.1x \
354 - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \
355 - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
356 - "${ED}"/usr/share/man/man1/Xserver.1x
357 - fi
358 -}