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/
Date: Thu, 31 Dec 2020 16:59:19
Message-Id: 1609433933.742cbbb13e8f4b7ae4849311aef7be500c39868a.mattst88@gentoo
1 commit: 742cbbb13e8f4b7ae4849311aef7be500c39868a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 31 16:53:24 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 31 16:58:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=742cbbb1
7
8 x11-base/xorg-server: Drop old versions
9
10 Bug: https://bugs.gentoo.org/757882
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 x11-base/xorg-server/Manifest | 1 -
14 x11-base/xorg-server/metadata.xml | 1 -
15 x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild | 238 ----------------------
16 3 files changed, 240 deletions(-)
17
18 diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
19 index 08a6911abe0..dd5b3cd6b31 100644
20 --- a/x11-base/xorg-server/Manifest
21 +++ b/x11-base/xorg-server/Manifest
22 @@ -1,2 +1 @@
23 DIST xorg-server-1.20.10.tar.bz2 6307058 BLAKE2B 13306e5f4f7f2b4531f2af5103337defa1d441bff78f20ea4d564a7d046ee546406812b6836fe94ca9323189382754270989b2ac7ded8950ddb2b15562c6ff21 SHA512 a07bee380bb72f2117fe6f831a6e4aded19bea1f2b36e42a019a30348e98d6fe65c0617cf819be9c6b405502f88cafb829df30aab32393774b71f1418a4cefae
24 -DIST xorg-server-1.20.8.tar.bz2 6309640 BLAKE2B 0dadd3a7afdb768bcd79f99f3670f7efcb919c43ea88870c93df598b080fbbec48f88cfa996fb7bff2363cffe70d42d9b154855691a64ddb26156f1b378512a0 SHA512 ab0ec0fcbf490c61558b9297f61b58fd2dedb676c78bef6431dc9166054743b43a0091b88a8b3f4e81d1f539909440ee7e188a298cefabe13ea89159639cd805
25
26 diff --git a/x11-base/xorg-server/metadata.xml b/x11-base/xorg-server/metadata.xml
27 index 2e8d8799f90..30e7cd9f41e 100644
28 --- a/x11-base/xorg-server/metadata.xml
29 +++ b/x11-base/xorg-server/metadata.xml
30 @@ -9,7 +9,6 @@
31 <flag name="dmx">Build the Distributed Multiheaded X server</flag>
32 <flag name="elogind">Use elogind to get control over framebuffer when running as regular user</flag>
33 <flag name="kdrive">Build the kdrive X servers</flag>
34 - <flag name="libglvnd">Use libglvnd for dispatch.</flag>
35 <flag name="unwind">Enable libunwind usage for backtraces</flag>
36 <flag name="xcsecurity">Build Security extension</flag>
37 <flag name="xephyr">Build the Xephyr server</flag>
38
39 diff --git a/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild b/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild
40 deleted file mode 100644
41 index 46acb8e62ec..00000000000
42 --- a/x11-base/xorg-server/xorg-server-1.20.8-r1.ebuild
43 +++ /dev/null
44 @@ -1,238 +0,0 @@
45 -# Copyright 1999-2020 Gentoo Authors
46 -# Distributed under the terms of the GNU General Public License v2
47 -
48 -EAPI=7
49 -
50 -XORG_DOC=doc
51 -inherit xorg-3 multilib flag-o-matic toolchain-funcs
52 -EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git"
53 -
54 -DESCRIPTION="X.Org X servers"
55 -SLOT="0/${PV}"
56 -if [[ ${PV} != 9999* ]]; then
57 - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
58 -fi
59 -
60 -IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
61 -IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl +libglvnd minimal selinux suid systemd +udev unwind xcsecurity"
62 -
63 -CDEPEND="libglvnd? (
64 - media-libs/libglvnd[X]
65 - !app-eselect/eselect-opengl
66 - !!x11-drivers/nvidia-drivers[-libglvnd(-)]
67 - )
68 - !libglvnd? ( >=app-eselect/eselect-opengl-1.3.0 )
69 - !libressl? ( dev-libs/openssl:0= )
70 - libressl? ( dev-libs/libressl:0= )
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.89
76 - >=x11-libs/libpciaccess-0.12.901
77 - >=x11-libs/libXau-1.0.4
78 - >=x11-libs/libXdmcp-1.0.2
79 - >=x11-libs/libXfont2-2.0.1
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 - kdrive? (
100 - >=x11-libs/libXext-1.0.5
101 - x11-libs/libXv
102 - )
103 - xephyr? (
104 - x11-libs/libxcb[xkb]
105 - x11-libs/xcb-util
106 - x11-libs/xcb-util-image
107 - x11-libs/xcb-util-keysyms
108 - x11-libs/xcb-util-renderutil
109 - x11-libs/xcb-util-wm
110 - )
111 - !minimal? (
112 - >=x11-libs/libX11-1.1.5
113 - >=x11-libs/libXext-1.0.5
114 - >=media-libs/mesa-18[X(+),egl,gbm]
115 - >=media-libs/libepoxy-1.5.4[X,egl(+)]
116 - )
117 - udev? ( virtual/libudev:= )
118 - unwind? ( sys-libs/libunwind )
119 - wayland? (
120 - >=dev-libs/wayland-1.3.0
121 - >=media-libs/libepoxy-1.5.4[egl(+)]
122 - >=dev-libs/wayland-protocols-1.18
123 - )
124 - >=x11-apps/xinit-1.3.3-r1
125 - systemd? (
126 - sys-apps/dbus
127 - sys-apps/systemd
128 - )
129 - elogind? (
130 - sys-apps/dbus
131 - sys-auth/elogind[pam]
132 - sys-auth/pambase[elogind]
133 - )
134 - "
135 -
136 -DEPEND="${CDEPEND}
137 - sys-devel/flex
138 - >=x11-base/xorg-proto-2018.4
139 - dmx? (
140 - doc? (
141 - || (
142 - www-client/links
143 - www-client/lynx
144 - www-client/w3m
145 - )
146 - )
147 - )"
148 -
149 -RDEPEND="${CDEPEND}
150 - selinux? ( sec-policy/selinux-xserver )
151 -"
152 -
153 -PDEPEND="
154 - xorg? ( >=x11-base/xorg-drivers-$(ver_cut 1-2) )"
155 -
156 -REQUIRED_USE="!minimal? (
157 - || ( ${IUSE_SERVERS} )
158 - )
159 - elogind? ( udev )
160 - ?? ( elogind systemd )
161 - minimal? ( !wayland )
162 - xephyr? ( kdrive )"
163 -
164 -UPSTREAMED_PATCHES=(
165 -)
166 -
167 -PATCHES=(
168 - "${UPSTREAMED_PATCHES[@]}"
169 - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch
170 - # needed for new eselect-opengl, bug #541232
171 - "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch
172 -)
173 -
174 -pkg_setup() {
175 - if use wayland && use minimal; then
176 - ewarn "glamor is necessary for acceleration under Xwayland."
177 - ewarn "Performance may be unacceptable without it."
178 - ewarn "Build with USE=-minimal to enable glamor."
179 - fi
180 -
181 - # localstatedir is used for the log location; we need to override the default
182 - # from ebuild.sh
183 - # sysconfdir is used for the xorg.conf location; same applies
184 - # NOTE: fop is used for doc generating; and I have no idea if Gentoo
185 - # package it somewhere
186 - XORG_CONFIGURE_OPTIONS=(
187 - $(use_enable ipv6)
188 - $(use_enable debug)
189 - $(use_enable dmx)
190 - $(use_enable kdrive)
191 - $(use_enable unwind libunwind)
192 - $(use_enable wayland xwayland)
193 - $(use_enable !minimal record)
194 - $(use_enable !minimal xfree86-utils)
195 - $(use_enable !minimal dri)
196 - $(use_enable !minimal dri2)
197 - $(use_enable !minimal dri3)
198 - $(use_enable !minimal glamor)
199 - $(use_enable !minimal glx)
200 - $(use_enable xcsecurity)
201 - $(use_enable xephyr)
202 - $(use_enable xnest)
203 - $(use_enable xorg)
204 - $(use_enable xvfb)
205 - $(use_enable udev config-udev)
206 - $(use_with doc doxygen)
207 - $(use_with doc xmlto)
208 - $(use_with systemd systemd-daemon)
209 - --enable-libdrm
210 - --sysconfdir="${EPREFIX}"/etc/X11
211 - --localstatedir="${EPREFIX}"/var
212 - --with-fontrootdir="${EPREFIX}"/usr/share/fonts
213 - --with-xkb-output="${EPREFIX}"/var/lib/xkb
214 - --disable-config-hal
215 - --disable-linux-acpi
216 - --without-dtrace
217 - --without-fop
218 - --with-os-vendor=Gentoo
219 - --with-sha1=libcrypto
220 - CPP="$(tc-getPROG CPP cpp)"
221 - )
222 -
223 - if use systemd || use elogind; then
224 - XORG_CONFIGURE_OPTIONS+=(
225 - "--enable-systemd-logind"
226 - "--disable-install-setuid"
227 - "$(use_enable suid suid-wrapper)"
228 - )
229 - else
230 - XORG_CONFIGURE_OPTIONS+=(
231 - "--disable-systemd-logind"
232 - "--disable-suid-wrapper"
233 - "$(use_enable suid install-setuid)"
234 - )
235 - fi
236 -}
237 -
238 -src_install() {
239 - xorg-3_src_install
240 -
241 - server_based_install
242 -
243 - if ! use minimal && use xorg; then
244 - # Install xorg.conf.example into docs
245 - dodoc "${S}"/hw/xfree86/xorg.conf.example
246 - fi
247 -
248 - newinitd "${FILESDIR}"/xdm-setup.initd-1 xdm-setup
249 - newinitd "${FILESDIR}"/xdm.initd-11 xdm
250 - newconfd "${FILESDIR}"/xdm.confd-4 xdm
251 -
252 - # install the @x11-module-rebuild set for Portage
253 - insinto /usr/share/portage/config/sets
254 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
255 -
256 - find "${ED}"/var -type d -empty -delete || die
257 -}
258 -
259 -pkg_postinst() {
260 - if ! use minimal; then
261 - # sets up libGL and DRI2 symlinks if needed (ie, on a fresh install)
262 - if ! use libglvnd; then
263 - eselect opengl set xorg-x11 --use-old
264 - fi
265 - fi
266 -}
267 -
268 -pkg_postrm() {
269 - # Get rid of module dir to ensure opengl-update works properly
270 - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then
271 - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules
272 - fi
273 -}
274 -
275 -server_based_install() {
276 - if ! use xorg; then
277 - rm "${ED}"/usr/share/man/man1/Xserver.1x \
278 - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \
279 - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
280 - "${ED}"/usr/share/man/man1/Xserver.1x
281 - fi
282 -}