Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/teamviewer/
Date: Mon, 29 Nov 2021 07:33:39
Message-Id: 1638170330.07278bf3751a485ac1d97ff77a2ddf5f935299d8.juippis@gentoo
1 commit: 07278bf3751a485ac1d97ff77a2ddf5f935299d8
2 Author: Martin Dummer <martin.dummer <AT> gmx <DOT> net>
3 AuthorDate: Sun Nov 21 21:07:28 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 29 07:18:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07278bf3
7
8 net-misc/teamviewer: remove old
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Martin Dummer <martin.dummer <AT> gmx.net>
12 Closes: https://github.com/gentoo/gentoo/pull/23022
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 net-misc/teamviewer/Manifest | 6 -
16 net-misc/teamviewer/teamviewer-15.19.3-r2.ebuild | 159 ----------------------
17 net-misc/teamviewer/teamviewer-15.20.6.ebuild | 163 -----------------------
18 3 files changed, 328 deletions(-)
19
20 diff --git a/net-misc/teamviewer/Manifest b/net-misc/teamviewer/Manifest
21 index ea2291495672..59af4b539082 100644
22 --- a/net-misc/teamviewer/Manifest
23 +++ b/net-misc/teamviewer/Manifest
24 @@ -1,9 +1,3 @@
25 -DIST teamviewer_15.19.3_amd64.tar.xz 59343000 BLAKE2B 8f5e39d87d8badfda16f6fbb0cdc9b5c6e4a26e38a62612dd2bb12ba1c997f4210308dc6746795f771b486be6467ab0044d6c0a6e3d301bf3ce1f1dd8025c01e SHA512 88cbc0c7c5bef0813b4d8cd99e12e5fc6bcfc44ca43302439182d3eb4e01e85b03a2edc1135613b9b878ad61a0dff5df8efcd8b276b6f2b7ab255d72d754e396
26 -DIST teamviewer_15.19.3_i386.tar.xz 62513708 BLAKE2B 959286f2e265204f703c9e6efcb8ca0fecc039763da22506330fabe3e449e076d21922d443670f02429cf07d74869431f2fe521e88822b266ce4ef78800114fe SHA512 9bdad9c2c2aba500ad29a6eb84ad104cd4d621f63be47e6a7755c3907e25c0c19404afa2489c83779977d54ff93568433affa4267d715ae142ba946efe7ae5dd
27 -DIST teamviewer_15.20.6_amd64.tar.xz 59943100 BLAKE2B 8d7c92056b72df1eb027c3ecbb136f6f6eeb7202a03eabfa98f31984bb40d9781352c2e3d89f3d6c67caeb6d256bd6fe526b56cabff6b5b83a22fae1e972eef3 SHA512 53cd255f6ffc88c6e4fb4a3e540971df2e9c3314638cd18b9823dd58841b2e0a4fb4774030871cc8362d9669dc5f6bec6a0936ddfa6f6aa4f6802ca5a37170a2
28 -DIST teamviewer_15.20.6_arm64.tar.xz 60154904 BLAKE2B 4b5079c90b7fb1d4468de0e726382b9faf1b7fdfd873b4000f6a43ec81eaea2f1ed40c642e736d2539318e4d4a67b9bc876868da7ca5c6f6ba9246b100a32b9a SHA512 b021b144b68a5cdb7f5186a6cff1d9bc41909272c9f9cb0d2fea81b820a1a0b669e5cf2a5576923575493dcde0b3b87917637dae5633c83754fc45651afc60fd
29 -DIST teamviewer_15.20.6_armhf.tar.xz 54563324 BLAKE2B b47fae120033f28472d1b3b1f69ed45a60e9c03c2032a263c274851e067809fd9527c02ab5f505fc417358c75fd93bdbfa94db1f9285d9b62678a1c265fa65a8 SHA512 a971ff53bdcaa045d8e69fd80e9e217f478e5d3488f6a41fe9c108bc7eb15f046c51510b482ea00515317181bc501ad22a8ca18507441040f0cde27f86936faa
30 -DIST teamviewer_15.20.6_i386.tar.xz 63206124 BLAKE2B f25fe894873d932786caf09a8ac64cb7d80ff850bb4290159868f3ef75b4bf8026fca4baf0cf9951c0ff69e05613a45c6c8b5ab33c8d3b05bd6a14d297fe9f8a SHA512 c41b0e9a5e1dec10ffcf493e135d6bc52dec501520e5cd35654538dd754f5eb409bd934375925da7b0b8f05004c6f38beefa8e44c95e776c5f99880fb430f648
31 DIST teamviewer_15.21.4_amd64.tar.xz 59986736 BLAKE2B cfc437d5af70ff67358642ef7283a7d6c7be5fc49519f36ce9da962105ad194e3e4c485d993535f4f8979c37c01515ae0221a7f18f397b6ac74f1935ec4834d2 SHA512 49b060326a41951655763480b995dbd4d51d00f71262daae85b025d4fb69548a52601fba9520668f1292cb635a2434f081ec2f2eacceae5e03c88bba9b80b8bf
32 DIST teamviewer_15.21.4_arm64.tar.xz 60252416 BLAKE2B 54895af7df588a03d136029c39f3107a4a634bc60f2d032d02e87e31ec11730cddc033895ac15ca4b2050500bcca1cfed484561459146b051ccc2c865230bfe6 SHA512 4640362b54e3a25962ccb29ea436d0928f19433ef07a946e515f972ba130932ce6bcf3ed403178f39e70735bf881bae56f56ce38fe8c4547b6a09d7ba859243b
33 DIST teamviewer_15.21.4_armhf.tar.xz 54634980 BLAKE2B 152a42be4dc340f567034f2425c8a92c600000d1219f8d5ddaf0af78e3a720990d6375ee2724d3e8728958fce890a427d3ac0f36643a1af68f43f253cf43eac4 SHA512 fcb6551c47ed5d14a1b39540d93b50da7bc559a49dae907c406e10a15a29609514488a752ddfeefd10e0f5a00d0ec3a551d811cf421a1d7f46461a2507a385c4
34
35 diff --git a/net-misc/teamviewer/teamviewer-15.19.3-r2.ebuild b/net-misc/teamviewer/teamviewer-15.19.3-r2.ebuild
36 deleted file mode 100644
37 index ac275a91ce85..000000000000
38 --- a/net-misc/teamviewer/teamviewer-15.19.3-r2.ebuild
39 +++ /dev/null
40 @@ -1,159 +0,0 @@
41 -# Copyright 1999-2021 Gentoo Authors
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -EAPI=7
45 -
46 -MY_MAJOR="$(ver_cut 1)"
47 -MY_P="${PN}${MY_MAJOR}"
48 -inherit desktop systemd xdg
49 -
50 -DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
51 -HOMEPAGE="https://www.teamviewer.com"
52 -SRC_URI="amd64? ( https://dl.tvcdn.de/download/linux/version_${MY_MAJOR}x/${PN}_${PV}_amd64.tar.xz )
53 - x86? ( https://dl.tvcdn.de/download/linux/version_${MY_MAJOR}x/${PN}_${PV}_i386.tar.xz )"
54 -
55 -LICENSE="TeamViewer MIT"
56 -SLOT="0"
57 -KEYWORDS="-* ~amd64 ~x86"
58 -
59 -# Unpack will fail without app-arch/xz-utils[extra-filters], bug #798027
60 -BDEPEND="app-arch/xz-utils[extra-filters]"
61 -
62 -RDEPEND="
63 - dev-libs/nss
64 - dev-libs/nspr
65 - media-libs/fontconfig
66 - media-libs/freetype
67 - media-libs/libglvnd[X]
68 - sys-apps/dbus
69 - sys-apps/util-linux
70 - sys-libs/zlib:0/1[minizip]
71 - !sys-auth/consolekit
72 - x11-libs/libICE
73 - x11-libs/libSM
74 - x11-libs/libxcb
75 - x11-libs/libxkbcommon[X]
76 - x11-libs/libXcomposite
77 - x11-libs/libXcursor
78 - x11-libs/libXdamage
79 - x11-libs/libXext
80 - x11-libs/libXfixes
81 - x11-libs/libXrandr
82 - x11-libs/libXrender
83 - x11-libs/libXScrnSaver
84 - x11-libs/libXi
85 - x11-libs/libXtst
86 - x11-libs/libX11
87 - x11-libs/xcb-util-image
88 - x11-libs/xcb-util-keysyms
89 - x11-libs/xcb-util-renderutil
90 - x11-libs/xcb-util-wm
91 -"
92 -
93 -# For consolekit incompatibility see https://forums.gentoo.org/viewtopic-p-8332956.html#8332956
94 -
95 -RESTRICT="bindist mirror"
96 -
97 -# Silence QA messages
98 -QA_PREBUILT="opt/${MY_P}/*"
99 -
100 -S="${WORKDIR}"/teamviewer
101 -
102 -src_prepare() {
103 - default
104 -
105 - # Switch operation mode from 'portable' to 'installed'
106 - sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die
107 -
108 - sed -i \
109 - -e "/^ExecStart/s/${PN}/${MY_P}/" \
110 - tv_bin/script/teamviewerd.service || die
111 -}
112 -
113 -src_install() {
114 - local dst="/opt/${MY_P}" # install destination
115 -
116 - # Quirk:
117 - # Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
118 - # archives. It will trip the 'emerge @preserved-libs' logic on amd64
119 - # when changing the ABI of one of its dependencies. According to the
120 - # TeamViewer devs, this binary is an unused remnant of previous Wine-
121 - # based builds and will be removed in future releases anyway
122 - rm tv_bin/script/libdepend
123 -
124 - insinto ${dst}
125 - doins -r tv_bin
126 -
127 - # Set permissions for executables and libraries
128 - local exe
129 - for exe in $(find tv_bin -type f -executable -or -name '*.so'); do
130 - fperms 755 ${dst}/${exe}
131 - done
132 -
133 - # No slotting here, binary expects this service path
134 - newinitd "${FILESDIR}"/teamviewerd15.init teamviewerd
135 - systemd_dounit tv_bin/script/teamviewerd.service
136 -
137 - insinto /usr/share/dbus-1/services
138 - doins tv_bin/script/com.teamviewer.TeamViewer.service
139 - doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service
140 -
141 - insinto /usr/share/polkit-1/actions
142 - doins tv_bin/script/com.teamviewer.TeamViewer.policy
143 -
144 - local size
145 - for size in 16 24 32 48 256; do
146 - newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png teamviewer.png
147 - done
148 -
149 - dodoc -r doc
150 -
151 - # Make docs available in expected location
152 - dosym ../../usr/share/doc/${PF}/doc ${dst}/doc
153 -
154 - # We need to keep docs uncompressed, bug #778617
155 - docompress -x /usr/share/doc/${PF}/.
156 -
157 - keepdir /etc/${MY_P}
158 - dosym ../../etc/${MY_P} ${dst}/config
159 -
160 - # Create directory and symlink for log files (NOTE: according to Team-
161 - # Viewer devs, all paths are hard-coded in the binaries; therefore
162 - # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
163 - # <major-version>')
164 - keepdir /var/log/${MY_P}
165 - dosym ../../var/log/${MY_P} ${dst}/logfiles
166 -
167 - dodir /opt/bin
168 - dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
169 - dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
170 -
171 - make_desktop_entry teamviewer "TeamViewer ${MY_MAJOR}" teamviewer
172 -}
173 -
174 -pkg_postinst() {
175 - xdg_pkg_postinst
176 -
177 - if [[ -z "${REPLACING_VERSIONS}" ]]; then
178 - # This is a new installation
179 -
180 - elog "Please note that parallel installation of multiple versions of"
181 - elog "TeamViewer is currently not supported at runtime. Bug #621818"
182 - elog ""
183 - elog "Before using TeamViewer, you need to start its daemon:"
184 - elog "OpenRC:"
185 - elog "# /etc/init.d/teamviewerd start"
186 - elog "# rc-update add teamviewerd default"
187 - elog
188 - elog "Systemd:"
189 - elog "# systemctl start teamviewerd.service"
190 - elog "# systemctl enable teamviewerd.service"
191 - elog
192 - elog "To display additional command line options simply run:"
193 - elog "$ teamviewer help"
194 - elog
195 - elog "Most likely TeamViewer will work normally only on systems with systemd"
196 - elog "or elogind. See this thread for additional info:"
197 - elog "https://forums.gentoo.org/viewtopic-p-8332956.html#8332956"
198 - fi
199 -}
200
201 diff --git a/net-misc/teamviewer/teamviewer-15.20.6.ebuild b/net-misc/teamviewer/teamviewer-15.20.6.ebuild
202 deleted file mode 100644
203 index 156bef4ed7c7..000000000000
204 --- a/net-misc/teamviewer/teamviewer-15.20.6.ebuild
205 +++ /dev/null
206 @@ -1,163 +0,0 @@
207 -# Copyright 1999-2021 Gentoo Authors
208 -# Distributed under the terms of the GNU General Public License v2
209 -
210 -EAPI=7
211 -
212 -inherit desktop optfeature systemd xdg
213 -
214 -MY_MAJOR="$(ver_cut 1)"
215 -MY_P="${PN}${MY_MAJOR}"
216 -DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet"
217 -HOMEPAGE="https://www.teamviewer.com"
218 -MY_URI="https://dl.tvcdn.de/download/linux/version_${MY_MAJOR}x/${PN}_${PV}"
219 -SRC_URI="amd64? ( ${MY_URI}_amd64.tar.xz )
220 - arm? ( ${MY_URI}_armhf.tar.xz )
221 - arm64? ( ${MY_URI}_arm64.tar.xz )
222 - x86? ( ${MY_URI}_i386.tar.xz )"
223 -S="${WORKDIR}"/teamviewer
224 -
225 -LICENSE="TeamViewer MIT"
226 -SLOT="0"
227 -KEYWORDS="-* ~amd64 ~x86"
228 -RESTRICT="bindist mirror"
229 -
230 -# Unpack will fail without app-arch/xz-utils[extra-filters], bug #798027
231 -BDEPEND="app-arch/xz-utils[extra-filters]"
232 -
233 -RDEPEND="
234 - dev-libs/glib:2
235 - dev-libs/nspr
236 - dev-libs/nss
237 - media-libs/fontconfig
238 - media-libs/freetype
239 - media-libs/libglvnd[X]
240 - sys-apps/dbus
241 - sys-apps/util-linux
242 - sys-libs/zlib:0/1[minizip]
243 - x11-libs/libICE
244 - x11-libs/libSM
245 - x11-libs/libX11
246 - x11-libs/libXScrnSaver
247 - x11-libs/libXcomposite
248 - x11-libs/libXcursor
249 - x11-libs/libXdamage
250 - x11-libs/libXext
251 - x11-libs/libXfixes
252 - x11-libs/libXi
253 - x11-libs/libXrandr
254 - x11-libs/libXrender
255 - x11-libs/libXtst
256 - x11-libs/libxcb
257 - x11-libs/libxkbcommon[X]
258 - x11-libs/xcb-util-image
259 - x11-libs/xcb-util-keysyms
260 - x11-libs/xcb-util-renderutil
261 - x11-libs/xcb-util-wm
262 -"
263 -# For consolekit incompatibility see https://forums.gentoo.org/viewtopic-p-8332956.html#8332956
264 -
265 -QA_PREBUILT="opt/${MY_P}/*"
266 -
267 -src_prepare() {
268 - default
269 -
270 - # Switch operation mode from 'portable' to 'installed'
271 - sed -e "s/TAR_NI/TAR_IN/g" -i tv_bin/script/tvw_config || die
272 -
273 - sed -i \
274 - -e "/^ExecStart/s|${PN}|${MY_P}|" \
275 - -e "/^PIDFile/s|/var/run/|/run/|" \
276 - tv_bin/script/teamviewerd.service || die
277 -}
278 -
279 -src_install() {
280 - local dst="/opt/${MY_P}" # install destination
281 -
282 - # Quirk:
283 - # Remove Intel 80386 32-bit ELF binary 'libdepend' present in all
284 - # archives. It will trip the 'emerge @preserved-libs' logic on amd64
285 - # when changing the ABI of one of its dependencies. According to the
286 - # TeamViewer devs, this binary is an unused remnant of previous Wine-
287 - # based builds and will be removed in future releases anyway
288 - rm tv_bin/script/libdepend || die
289 -
290 - insinto ${dst}
291 - doins -r tv_bin
292 -
293 - # Set permissions for executables and libraries
294 - local exe
295 - for exe in $(find tv_bin -type f -executable -or -name '*.so' || die); do
296 - fperms +x ${dst}/${exe}
297 - done
298 -
299 - newinitd "${FILESDIR}"/teamviewerd15.init teamviewerd
300 - systemd_dounit tv_bin/script/teamviewerd.service
301 -
302 - insinto /usr/share/dbus-1/services
303 - doins tv_bin/script/com.teamviewer.TeamViewer.service
304 - doins tv_bin/script/com.teamviewer.TeamViewer.Desktop.service
305 -
306 - insinto /usr/share/polkit-1/actions
307 - doins tv_bin/script/com.teamviewer.TeamViewer.policy
308 -
309 - local size
310 - for size in 16 24 32 48 256; do
311 - newicon -s ${size} tv_bin/desktop/teamviewer_${size}.png teamviewer.png
312 - done
313 -
314 - dodoc -r doc
315 -
316 - # Make docs available in expected location
317 - dosym ../../usr/share/doc/${PF}/doc ${dst}/doc
318 -
319 - # We need to keep docs uncompressed, bug #778617
320 - docompress -x /usr/share/doc/${PF}/.
321 -
322 - keepdir /etc/${MY_P}
323 - dosym ../../etc/${MY_P} ${dst}/config
324 -
325 - # Create directory and symlink for log files (NOTE: according to Team-
326 - # Viewer devs, all paths are hard-coded in the binaries; therefore
327 - # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
328 - # <major-version>')
329 - keepdir /var/log/${MY_P}
330 - dosym ../../var/log/${MY_P} ${dst}/logfiles
331 -
332 - dodir /opt/bin
333 - dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd
334 - dosym ${dst}/tv_bin/script/teamviewer /opt/bin/teamviewer
335 -
336 - make_desktop_entry teamviewer "TeamViewer ${MY_MAJOR}"
337 -}
338 -
339 -pkg_postinst() {
340 - xdg_pkg_postinst
341 -
342 - ewarn
343 - ewarn "Please note that the teamviewer gui works only when started from"
344 - ewarn "a session initiated by a display manager." #799137
345 - optfeature_header "Install one of the following display managers:"
346 - optfeature "an example display manager" x11-misc/cdm gnome-base/gdm gui-apps/gtkgreet x11-misc/lightdm lxde-base/lxdm sys-apps/qingy x11-misc/sddm x11-misc/slim x11-misc/wdm x11-apps/xdm
347 -
348 - if [[ -z ${REPLACING_VERSIONS} ]]; then
349 - elog
350 - elog "Please note that parallel installation of multiple versions of"
351 - elog "TeamViewer is currently not supported at runtime. Bug #621818"
352 - elog
353 - elog "Before using TeamViewer, you need to start its daemon:"
354 - elog "OpenRC:"
355 - elog "# /etc/init.d/teamviewerd start"
356 - elog "# rc-update add teamviewerd default"
357 - elog
358 - elog "Systemd:"
359 - elog "# systemctl start teamviewerd.service"
360 - elog "# systemctl enable teamviewerd.service"
361 - elog
362 - elog "To display additional command line options simply run:"
363 - elog "$ teamviewer help"
364 - elog
365 - elog "Most likely TeamViewer will work normally only on systems with systemd"
366 - elog "or elogind. See this thread for additional info:"
367 - elog "https://forums.gentoo.org/viewtopic-p-8332956.html#8332956"
368 - fi
369 -}