Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/, x11-wm/xpra/files/
Date: Sun, 18 Jul 2021 10:43:27
Message-Id: 1626604968.eb9e0c13c683f840add259c55d87467d2e750cbb.conikost@gentoo
1 commit: eb9e0c13c683f840add259c55d87467d2e750cbb
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 10:42:48 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 10:42:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9e0c13
7
8 x11-wm/xpra: drop old version
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 x11-wm/xpra/Manifest | 2 -
14 x11-wm/xpra/files/xpra-2.0-suid-warning.patch | 11 --
15 x11-wm/xpra/files/xpra-4.0.3-suid-warning.patch | 12 --
16 x11-wm/xpra/xpra-3.0.5-r2.ebuild | 147 ---------------------
17 x11-wm/xpra/xpra-4.1.3.ebuild | 168 ------------------------
18 5 files changed, 340 deletions(-)
19
20 diff --git a/x11-wm/xpra/Manifest b/x11-wm/xpra/Manifest
21 index 59734fa8ff1..384b7becefb 100644
22 --- a/x11-wm/xpra/Manifest
23 +++ b/x11-wm/xpra/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST xpra-3.0.5.tar.xz 2752016 BLAKE2B a36d6a4ebb0b14665014da92d510c0d5f978c96db653709ddc09a1015426d6ac6f71f9a221db68ee1114c95eeaca6600f9e49102ce9f936d9b0ee298ac432647 SHA512 3dbc122ebc8c4aa67154acfe92668ac364d8469022b03e28946d763e4d396f8c707690b2a4dbf07b55545259a53b46c9dd94e6e40131289ccc3dce6a88107681
26 -DIST xpra-4.1.3.tar.gz 3850971 BLAKE2B b5f5a0546c785762974f27650408cb83fdfa2ac8a5b5dd8c6b08a9978ff17a0dfc85f95fde405689a19517ef66bcc7aefc1dad71acc2dda7883ed38d3c22b91c SHA512 e401793ae9a4539d39bc161be4d34af2dca81c78f189664d8ebdefff99d413d364d4ceb37dd776b027b206119da81957ef7436a727c00d3ad5895a3c90742e39
27 DIST xpra-4.2.1.tar.gz 3878766 BLAKE2B c537b54b8ea5cc1ad2909eeccf61eba59a518165eb72c7d4984d26f378e4babca997c2f6cf78f5ba947edbc4ad6c4085c86793aad9b01f1fca2b22b1daaabda9 SHA512 553d8c11f1a77a2a58cbad7df0d899c611e21eb01dad3516f99f1fb9cc7a4507ba7557807b62ddea7101ca01bab123962a34b9c3369db06d1bb318debd91dc55
28 DIST xpra-4.2.tar.gz 4057304 BLAKE2B 17b6a95f7ce24a311c39d09291d9570285c30f25c2d935389cb380c2fce698acd984821e69acaabd66368e76b5beddd01803a68d6a16dd930dd2fa3289532f10 SHA512 261d46c04ce70686f41873c5c0c115e462e3b2501c58ab05fb2904f4700454c5fb8124d0faf86fe5e982872f19a4b90b941f8aff4790f7206602d6030c005353
29
30 diff --git a/x11-wm/xpra/files/xpra-2.0-suid-warning.patch b/x11-wm/xpra/files/xpra-2.0-suid-warning.patch
31 deleted file mode 100644
32 index 806694f2431..00000000000
33 --- a/x11-wm/xpra/files/xpra-2.0-suid-warning.patch
34 +++ /dev/null
35 @@ -1,11 +0,0 @@
36 ---- xpra-2.0/xpra/scripts/config.py
37 -+++ xpra-2.0/xpra/scripts/config.py
38 -@@ -127,7 +127,7 @@
39 - xorg_stat = os.stat(xorg_bin)
40 - if (xorg_stat.st_mode & stat.S_ISUID)!=0:
41 - if (xorg_stat.st_mode & stat.S_IROTH)==0:
42 -- warn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
43 -+ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
44 - return get_Xvfb_command()
45 - debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
46 - use_wrapper = True
47
48 diff --git a/x11-wm/xpra/files/xpra-4.0.3-suid-warning.patch b/x11-wm/xpra/files/xpra-4.0.3-suid-warning.patch
49 deleted file mode 100644
50 index ae590110f1c..00000000000
51 --- a/x11-wm/xpra/files/xpra-4.0.3-suid-warning.patch
52 +++ /dev/null
53 @@ -1,12 +0,0 @@
54 -diff -Nuar a/xpra/scripts/config.py b/xpra/scripts/config.py
55 ---- a/xpra/scripts/config.py 2020-05-10 19:00:55.000000000 +0200
56 -+++ b/xpra/scripts/config.py 2020-06-07 18:35:49.361899872 +0200
57 -@@ -150,7 +150,7 @@
58 - if (xorg_stat.st_mode & stat.S_ISUID)!=0:
59 - if (xorg_stat.st_mode & stat.S_IROTH)==0:
60 - if warn:
61 -- warn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
62 -+ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
63 - return get_Xvfb_command()
64 - debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
65 - use_wrapper = True
66
67 diff --git a/x11-wm/xpra/xpra-3.0.5-r2.ebuild b/x11-wm/xpra/xpra-3.0.5-r2.ebuild
68 deleted file mode 100644
69 index 1371e2b78d8..00000000000
70 --- a/x11-wm/xpra/xpra-3.0.5-r2.ebuild
71 +++ /dev/null
72 @@ -1,147 +0,0 @@
73 -# Copyright 1999-2021 Gentoo Authors
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -PYTHON_COMPAT=( python3_{7,8,9} )
79 -DISTUTILS_USE_SETUPTOOLS=no
80 -inherit xdg distutils-r1 flag-o-matic user tmpfiles prefix
81 -
82 -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
83 -HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
84 -SRC_URI="http://xpra.org/src/${P}.tar.xz"
85 -
86 -LICENSE="GPL-2 BSD"
87 -SLOT="0"
88 -KEYWORDS="amd64 x86"
89 -IUSE="+client +clipboard csc cups dbus ffmpeg jpeg +lz4 lzo opengl pillow pulseaudio server sound test vpx webcam webp"
90 -
91 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
92 - || ( client server )
93 - cups? ( dbus )
94 - opengl? ( client )
95 -"
96 -
97 -COMMON_DEPEND="${PYTHON_DEPS}
98 - dev-python/pygobject:3[${PYTHON_USEDEP}]
99 - x11-libs/gtk+:3[introspection]
100 - x11-libs/libX11
101 - x11-libs/libXcomposite
102 - x11-libs/libXdamage
103 - x11-libs/libXfixes
104 - x11-libs/libXrandr
105 - x11-libs/libXtst
106 - x11-libs/libxkbfile
107 - csc? ( >=media-video/ffmpeg-1.2.2:0= )
108 - ffmpeg? ( >=media-video/ffmpeg-3.2.2:0=[x264,x265] )
109 - jpeg? ( media-libs/libjpeg-turbo )
110 - opengl? ( dev-python/pyopengl )
111 - pulseaudio? (
112 - media-sound/pulseaudio
113 - media-plugins/gst-plugins-pulse:1.0
114 - )
115 - sound? ( media-libs/gstreamer:1.0
116 - media-libs/gst-plugins-base:1.0
117 - dev-python/gst-python:1.0 )
118 - vpx? ( media-libs/libvpx media-video/ffmpeg )
119 - webp? ( media-libs/libwebp )
120 -"
121 -RDEPEND="${COMMON_DEPEND}
122 - dev-python/netifaces[${PYTHON_USEDEP}]
123 - dev-python/rencode[${PYTHON_USEDEP}]
124 - dev-python/pillow[jpeg?,${PYTHON_USEDEP}]
125 - virtual/ssh
126 - x11-apps/xmodmap
127 - cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
128 - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
129 - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
130 - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
131 - opengl? (
132 - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
133 - )
134 - server? ( x11-base/xorg-server[-minimal,xvfb]
135 - x11-drivers/xf86-input-void
136 - )
137 - webcam? ( dev-python/numpy[${PYTHON_USEDEP}]
138 - media-libs/opencv[python]
139 - dev-python/pyinotify[${PYTHON_USEDEP}] )"
140 -DEPEND="${COMMON_DEPEND}
141 - virtual/pkgconfig
142 - >=dev-python/cython-0.16[${PYTHON_USEDEP}]"
143 -
144 -RESTRICT="!test? ( test )"
145 -
146 -PATCHES=(
147 - "${FILESDIR}"/${PN}-3.0.2_ignore-gentoo-no-compile.patch
148 - "${FILESDIR}"/${PN}-2.0-suid-warning.patch
149 - "${FILESDIR}"/${PN}-3.0.2-ldconfig.patch
150 -)
151 -
152 -src_install() {
153 - distutils-r1_src_install
154 -
155 - mkdir -p "${ED}/usr/share/metainfo" || die
156 - mv "${ED}/usr/share/appdata/"* "${ED}/usr/share/metainfo/" || die
157 - rmdir "${ED}/usr/share/appdata" || die
158 -}
159 -
160 -pkg_postinst() {
161 - enewgroup ${PN}
162 - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
163 -
164 - xdg_pkg_postinst
165 -}
166 -
167 -python_prepare_all() {
168 - hprefixify -w '/os.path/' setup.py
169 - hprefixify tmpfiles.d/xpra.conf xpra/server/server_util.py \
170 - xpra/platform{/xposix,}/paths.py xpra/scripts/server.py
171 -
172 - distutils-r1_python_prepare_all
173 -}
174 -
175 -python_configure_all() {
176 - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \
177 - -i setup.py || die
178 -
179 - mydistutilsargs=(
180 - --without-PIC
181 - --without-Xdummy
182 - $(use_with client)
183 - $(use_with clipboard)
184 - $(use_with csc csc_swscale)
185 - --without-csc_libyuv
186 - --without-cuda_rebuild
187 - --without-cuda_kernels
188 - $(use_with cups printing)
189 - --without-debug
190 - $(use_with dbus)
191 - $(use_with ffmpeg dec_avcodec2)
192 - $(use_with ffmpeg enc_ffmpeg)
193 - $(use_with ffmpeg enc_x264)
194 - $(use_with ffmpeg enc_x265)
195 - --without-gtk2
196 - --with-gtk3
197 - --without-html5
198 - $(use_with jpeg jpeg_encoder)
199 - $(use_with jpeg jpeg_decoder)
200 - --without-mdns
201 - --without-minify
202 - $(use_with opengl)
203 - $(use_with server shadow)
204 - $(use_with server)
205 - $(use_with sound)
206 - --with-strict
207 - $(use_with vpx)
208 - --with-warn
209 - $(use_with webcam)
210 - $(use_with webp)
211 - --with-x11
212 - )
213 -
214 - # see https://www.xpra.org/trac/ticket/1080
215 - # and http://trac.cython.org/ticket/395
216 - append-cflags -fno-strict-aliasing
217 -
218 - export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra"
219 -}
220
221 diff --git a/x11-wm/xpra/xpra-4.1.3.ebuild b/x11-wm/xpra/xpra-4.1.3.ebuild
222 deleted file mode 100644
223 index db407cd0db7..00000000000
224 --- a/x11-wm/xpra/xpra-4.1.3.ebuild
225 +++ /dev/null
226 @@ -1,168 +0,0 @@
227 -# Copyright 1999-2021 Gentoo Authors
228 -# Distributed under the terms of the GNU General Public License v2
229 -
230 -EAPI=7
231 -
232 -PYTHON_COMPAT=( python3_{7,8,9} )
233 -DISTUTILS_SINGLE_IMPL=yes
234 -DISTUTILS_USE_SETUPTOOLS=no
235 -inherit xdg distutils-r1 tmpfiles prefix udev
236 -
237 -DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
238 -HOMEPAGE="https://xpra.org/"
239 -SRC_URI="https://xpra.org/src/${P}.tar.gz"
240 -
241 -LICENSE="GPL-2 BSD"
242 -SLOT="0"
243 -KEYWORDS="~amd64 ~x86"
244 -IUSE="brotli +client +clipboard csc cups dbus doc ffmpeg jpeg +lz4 lzo minimal opengl pillow pulseaudio server sound test vpx webcam webp"
245 -
246 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
247 - || ( client server )
248 - cups? ( dbus )
249 - opengl? ( client )
250 -"
251 -
252 -DEPEND="
253 - ${PYTHON_DEPS}
254 - $(python_gen_cond_dep '
255 - dev-python/pygobject:3[${PYTHON_USEDEP},cairo]
256 - opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] )
257 - sound? ( dev-python/gst-python:1.0[${PYTHON_USEDEP}] )
258 - ')
259 - x11-libs/gtk+:3[introspection]
260 - x11-libs/libX11
261 - x11-libs/libXcomposite
262 - x11-libs/libXdamage
263 - x11-libs/libXfixes
264 - x11-libs/libXrandr
265 - x11-libs/libXtst
266 - x11-libs/libxkbfile
267 - brotli? ( app-arch/brotli )
268 - csc? ( >=media-video/ffmpeg-1.2.2:0= )
269 - ffmpeg? ( >=media-video/ffmpeg-3.2.2:0=[x264,x265] )
270 - jpeg? ( media-libs/libjpeg-turbo )
271 - pulseaudio? (
272 - media-sound/pulseaudio
273 - media-plugins/gst-plugins-pulse:1.0
274 - )
275 - sound? (
276 - media-libs/gstreamer:1.0
277 - media-libs/gst-plugins-base:1.0
278 - )
279 - vpx? ( media-libs/libvpx media-video/ffmpeg )
280 - webp? ( media-libs/libwebp )
281 -"
282 -RDEPEND="
283 - ${DEPEND}
284 - $(python_gen_cond_dep '
285 - dev-python/netifaces[${PYTHON_USEDEP}]
286 - dev-python/rencode[${PYTHON_USEDEP}]
287 - dev-python/pillow[jpeg?,${PYTHON_USEDEP}]
288 - cups? ( dev-python/pycups[${PYTHON_USEDEP}] )
289 - dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
290 - lz4? ( dev-python/lz4[${PYTHON_USEDEP}] )
291 - lzo? ( >=dev-python/python-lzo-0.7.0[${PYTHON_USEDEP}] )
292 - opengl? (
293 - client? ( dev-python/pyopengl_accelerate[${PYTHON_USEDEP}] )
294 - )
295 - webcam? (
296 - dev-python/numpy[${PYTHON_USEDEP}]
297 - dev-python/pyinotify[${PYTHON_USEDEP}]
298 - media-libs/opencv[${PYTHON_USEDEP},python]
299 - )
300 - ')
301 - acct-group/xpra
302 - virtual/ssh
303 - x11-apps/xmodmap
304 - server? (
305 - x11-base/xorg-server[-minimal,xvfb]
306 - x11-drivers/xf86-input-void
307 - )
308 -"
309 -BDEPEND="
310 - virtual/pkgconfig
311 - $(python_gen_cond_dep '
312 - >=dev-python/cython-0.16[${PYTHON_USEDEP}]
313 - ')
314 - doc? ( app-text/pandoc )
315 -"
316 -
317 -RESTRICT="!test? ( test )"
318 -
319 -PATCHES=(
320 - "${FILESDIR}"/${PN}-3.0.2_ignore-gentoo-no-compile.patch
321 - "${FILESDIR}"/${PN}-3.0.2-ldconfig.patch
322 - "${FILESDIR}"/${PN}-4.0.3-suid-warning.patch
323 -)
324 -
325 -pkg_postinst() {
326 - tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
327 -
328 - xdg_pkg_postinst
329 -}
330 -
331 -python_prepare_all() {
332 - hprefixify -w '/os.path/' setup.py
333 - hprefixify tmpfiles.d/xpra.conf xpra/server/server_util.py \
334 - xpra/platform{/xposix,}/paths.py xpra/scripts/server.py
335 -
336 - sed -r -e "/\bdoc_dir =/s:/${PN}\":/${PF}/html\":" \
337 - -i setup.py || die
338 -
339 - if use minimal; then
340 - sed -r -e 's/^(pam|scripts|xdg_open)_ENABLED.*/\1_ENABLED=False/' \
341 - -i setup.py || die
342 - fi
343 -
344 - distutils-r1_python_prepare_all
345 -}
346 -
347 -python_configure_all() {
348 - sed -e "/'pulseaudio'/s:DEFAULT_PULSEAUDIO:$(usex pulseaudio True False):" \
349 - -i setup.py || die
350 -
351 - mydistutilsargs=(
352 - --without-PIC
353 - --without-Xdummy
354 - $(use_with client)
355 - $(use_with clipboard)
356 - $(use_with csc csc_swscale)
357 - --without-csc_libyuv
358 - --without-cuda_rebuild
359 - --without-cuda_kernels
360 - $(use_with cups printing)
361 - --without-debug
362 - $(use_with dbus)
363 - $(use_with doc docs)
364 - $(use_with ffmpeg dec_avcodec2)
365 - $(use_with ffmpeg enc_ffmpeg)
366 - $(use_with ffmpeg enc_x264)
367 - $(use_with ffmpeg enc_x265)
368 - --with-gtk3
369 - $(use_with jpeg jpeg_encoder)
370 - $(use_with jpeg jpeg_decoder)
371 - --without-mdns
372 - $(use_with opengl)
373 - $(use_with server shadow)
374 - $(use_with server)
375 - $(use_with sound)
376 - --with-strict
377 - $(use_with vpx)
378 - --with-warn
379 - $(use_with webcam)
380 - $(use_with webp)
381 - --with-x11
382 - )
383 -
384 - export XPRA_SOCKET_DIRS="${EPREFIX}/run/xpra"
385 -}
386 -
387 -python_install_all() {
388 - distutils-r1_python_prepare_all
389 -
390 - # Move udev dir to the right place.
391 - local dir=$(get_udevdir)
392 - dodir "${dir%/*}"
393 - mv -vnT "${ED}"/usr/lib/udev "${ED}${dir}" || die
394 -}