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: Mon, 07 Feb 2022 19:03:39
Message-Id: 1644260600.192cd367fdac6e5c91e1ced438115e943b182d8f.mattst88@gentoo
1 commit: 192cd367fdac6e5c91e1ced438115e943b182d8f
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 19:00:58 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 19:03:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=192cd367
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 x11-base/xorg-server/xorg-server-21.1.2-r4.ebuild | 185 ----------------------
14 2 files changed, 186 deletions(-)
15
16 diff --git a/x11-base/xorg-server/Manifest b/x11-base/xorg-server/Manifest
17 index 8a613afcb333..cf36eef6ed94 100644
18 --- a/x11-base/xorg-server/Manifest
19 +++ b/x11-base/xorg-server/Manifest
20 @@ -1,3 +1,2 @@
21 DIST xorg-server-1.20.14.tar.xz 5178288 BLAKE2B e60cbb6f3023639598d518fb53e3df3a2aced8f8950279f3a1642ad0a9545bea756574c4d41383cba966dc76c317859065b2290c8420668547f26f1d6e508da3 SHA512 be3dc32cce7d55d7e38c5f6557027f13f39224c76cc83e5800555d5ce89dbdc3731773a2d186a5b97db9fc8731a2b2dd6e9829af2b01ee2559246d4aef7c4963
22 -DIST xorg-server-21.1.2.tar.xz 4967784 BLAKE2B 352c8717dbbceb547e84610db3983bcfc83d4d72f02f6658ce6c7faa88821a60b401824e76a02bbce617d6646cd474a21823a4b7b75270512bbfd37957dff18d SHA512 6d7a0d29d5be09f80ed505c4d6ae964795127525a0ab73a4eab4f601788ab3627033143e5aeb4c2565c6683dd3402084d13acab5554606fbd519c4aec0a79def
23 DIST xorg-server-21.1.3.tar.xz 4955948 BLAKE2B 1907007e4131378ead2b8757e84e8e9403148c9b3cdffc68d7c54faf5ab0efa6b594b635940fce8af4b8334e4a1c67984f59fc2f3642e48b54eb2f2dcc7fd8f5 SHA512 cf5fed023eadda62ae732f8c4d427c272ebe005188341290f3d03147042c103b00cbb94d86a0256da815fb9b9a3da315c21a05ee0c926c1a2ff0c54ab0c0638b
24
25 diff --git a/x11-base/xorg-server/xorg-server-21.1.2-r4.ebuild b/x11-base/xorg-server/xorg-server-21.1.2-r4.ebuild
26 deleted file mode 100644
27 index b68bfec9fdd3..000000000000
28 --- a/x11-base/xorg-server/xorg-server-21.1.2-r4.ebuild
29 +++ /dev/null
30 @@ -1,185 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -XORG_TARBALL_SUFFIX="xz"
37 -XORG_EAUTORECONF="no"
38 -inherit xorg-3 meson
39 -EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/xserver.git"
40 -
41 -DESCRIPTION="X.Org X servers"
42 -SLOT="0/${PV}"
43 -if [[ ${PV} != 9999* ]]; then
44 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
45 -fi
46 -
47 -IUSE_SERVERS="xephyr xnest xorg xvfb"
48 -IUSE="${IUSE_SERVERS} debug +elogind minimal selinux suid systemd test +udev unwind xcsecurity"
49 -RESTRICT="!test? ( test )"
50 -
51 -CDEPEND="
52 - media-libs/libglvnd[X]
53 - dev-libs/libbsd
54 - dev-libs/openssl:0=
55 - >=x11-apps/iceauth-1.0.2
56 - >=x11-apps/rgb-1.0.3
57 - >=x11-apps/xauth-1.0.3
58 - x11-apps/xkbcomp
59 - >=x11-libs/libdrm-2.4.89
60 - >=x11-libs/libpciaccess-0.12.901
61 - >=x11-libs/libXau-1.0.4
62 - >=x11-libs/libXdmcp-1.0.2
63 - >=x11-libs/libXfont2-2.0.1
64 - >=x11-libs/libxcvt-0.1.0
65 - >=x11-libs/libxkbfile-1.0.4
66 - >=x11-libs/libxshmfence-1.1
67 - >=x11-libs/pixman-0.27.2
68 - >=x11-misc/xbitmaps-1.0.1
69 - >=x11-misc/xkeyboard-config-2.4.1-r3
70 - >=x11-libs/libXext-1.0.5
71 - x11-libs/libXv
72 - xephyr? (
73 - x11-libs/libxcb[xkb]
74 - x11-libs/xcb-util
75 - x11-libs/xcb-util-image
76 - x11-libs/xcb-util-keysyms
77 - x11-libs/xcb-util-renderutil
78 - x11-libs/xcb-util-wm
79 - )
80 - !minimal? (
81 - >=x11-libs/libX11-1.1.5
82 - >=x11-libs/libXext-1.0.5
83 - >=media-libs/mesa-18[X(+),egl(+),gbm(+)]
84 - >=media-libs/libepoxy-1.5.4[X,egl(+)]
85 - )
86 - udev? ( virtual/libudev:= )
87 - unwind? ( sys-libs/libunwind )
88 - selinux? ( sys-libs/libselinux )
89 - systemd? (
90 - sys-apps/dbus
91 - sys-apps/systemd
92 - )
93 - elogind? (
94 - sys-apps/dbus
95 - sys-auth/elogind[pam]
96 - sys-auth/pambase[elogind]
97 - )
98 - !!x11-drivers/nvidia-drivers[-libglvnd(+)]
99 -"
100 -DEPEND="${CDEPEND}
101 - >=x11-base/xorg-proto-2021.4.99.2
102 - >=x11-libs/xtrans-1.3.5
103 - media-fonts/font-util
104 -"
105 -RDEPEND="${CDEPEND}
106 - !systemd? ( gui-libs/display-manager-init )
107 - selinux? ( sec-policy/selinux-xserver )
108 - xorg? ( >=x11-apps/xinit-1.3.3-r1 )
109 -"
110 -BDEPEND="
111 - sys-devel/flex
112 -"
113 -PDEPEND="
114 - xorg? ( >=x11-base/xorg-drivers-$(ver_cut 1-2) )"
115 -
116 -REQUIRED_USE="!minimal? (
117 - || ( ${IUSE_SERVERS} )
118 - )
119 - elogind? ( udev )
120 - ?? ( elogind systemd )"
121 -
122 -UPSTREAMED_PATCHES=(
123 - "${FILESDIR}"/${P}-fix-resume-logind.patch
124 -)
125 -
126 -PATCHES=(
127 - "${UPSTREAMED_PATCHES[@]}"
128 - "${FILESDIR}"/${PN}-1.12-unloadsubmodule.patch
129 - # needed for new eselect-opengl, bug #541232
130 - "${FILESDIR}"/${PN}-1.18-support-multiple-Files-sections.patch
131 -)
132 -
133 -src_configure() {
134 - # localstatedir is used for the log location; we need to override the default
135 - # from ebuild.sh
136 - # sysconfdir is used for the xorg.conf location; same applies
137 -
138 - local emesonargs=(
139 - --localstatedir "${EPREFIX}/var"
140 - --sysconfdir "${EPREFIX}/etc/X11"
141 - --buildtype $(usex debug debug plain)
142 - -Db_ndebug=$(usex debug false true)
143 - $(meson_use !minimal dri1)
144 - $(meson_use !minimal dri2)
145 - $(meson_use !minimal dri3)
146 - $(meson_use !minimal glamor)
147 - $(meson_use !minimal glx)
148 - $(meson_use udev)
149 - $(meson_use udev udev_kms)
150 - $(meson_use unwind libunwind)
151 - $(meson_use xcsecurity)
152 - $(meson_use xephyr)
153 - $(meson_use xnest)
154 - $(meson_use xorg)
155 - $(meson_use xvfb)
156 - -Ddocs=false
157 - -Ddrm=true
158 - -Ddtrace=false
159 - -Dipv6=true
160 - -Dhal=false
161 - -Dlinux_acpi=false
162 - -Dlinux_apm=false
163 - -Dsecure-rpc=false
164 - -Dsha1=libcrypto
165 - -Dxkb_output_dir="${EPREFIX}/var/lib/xkb"
166 - )
167 -
168 - if [[ ${PV} == 9999 ]] ; then
169 - # Gone in 21.1.x, but not in master.
170 - emesonargs+=( -Dxwayland=false )
171 - fi
172 -
173 - if use systemd || use elogind; then
174 - emesonargs+=(
175 - -Dsystemd_logind=true
176 - $(meson_use suid suid_wrapper)
177 - )
178 - else
179 - emesonargs+=(
180 - -Dsystemd_logind=false
181 - -Dsuid_wrapper=false
182 - )
183 - fi
184 -
185 - meson_src_configure
186 -}
187 -
188 -src_install() {
189 - meson_src_install
190 -
191 - # The meson build system does not support install-setuid
192 - if ! use systemd && ! use elogind; then
193 - if use suid; then
194 - chmod u+s "${ED}"/usr/bin/Xorg
195 - fi
196 - fi
197 -
198 - if ! use xorg; then
199 - rm -f "${ED}"/usr/share/man/man1/Xserver.1x \
200 - "${ED}"/usr/$(get_libdir)/xserver/SecurityPolicy \
201 - "${ED}"/usr/$(get_libdir)/pkgconfig/xorg-server.pc \
202 - "${ED}"/usr/share/man/man1/Xserver.1x || die
203 - fi
204 -
205 - # install the @x11-module-rebuild set for Portage
206 - insinto /usr/share/portage/config/sets
207 - newins "${FILESDIR}"/xorg-sets.conf xorg.conf
208 -}
209 -
210 -pkg_postrm() {
211 - # Get rid of module dir to ensure opengl-update works properly
212 - if [[ -z ${REPLACED_BY_VERSION} && -e ${EROOT}/usr/$(get_libdir)/xorg/modules ]]; then
213 - rm -rf "${EROOT}"/usr/$(get_libdir)/xorg/modules
214 - fi
215 -}