1 |
commit: 72fa09342e0ed9d66cdb34e3fa2c1b659480b85d |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 08:42:00 2020 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 01:54:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fa0934 |
7 |
|
8 |
net-misc/chrome-remote-desktop: drop old versions |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
net-misc/chrome-remote-desktop/Manifest | 3 - |
13 |
.../chrome-remote-desktop-63.0.3239.17-r1.ebuild | 126 ------------------- |
14 |
.../chrome-remote-desktop-77.0.3865.32.ebuild | 137 -------------------- |
15 |
.../chrome-remote-desktop-80.0.3987.18.ebuild | 138 --------------------- |
16 |
4 files changed, 404 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/chrome-remote-desktop/Manifest b/net-misc/chrome-remote-desktop/Manifest |
19 |
index 6df6827ca92..0be22072255 100644 |
20 |
--- a/net-misc/chrome-remote-desktop/Manifest |
21 |
+++ b/net-misc/chrome-remote-desktop/Manifest |
22 |
@@ -1,4 +1 @@ |
23 |
-DIST chrome-remote-desktop_63.0.3239.17_amd64.deb 19026074 BLAKE2B 9a62d317768d6c0ab3cf3c6e7c5dea074133cc7c5d2b04ffdc1e0f9877f5f606c044ebab7b230914eba2ade51d2805fb1267f7b1731fa36235495a8192eb3c48 SHA512 2843deb7817217c8b8e41931b1e9ef0fdfb40c6a4ceb1bc69499aed16cc729d7ed64f88200c9bb2366a768f294a164da2360ed2b9654d1626696bcf0403e347a |
24 |
-DIST chrome-remote-desktop_77.0.3865.32_amd64.deb 35724698 BLAKE2B 25828e144d88072fde7a7e50cd278df1a90b94e0281038239d67e2369eaf93e82897cbda4624cffe34f045b185437a892671541eeb685b80a912733380e3afb8 SHA512 1181592536b9313ca136ce280c8349e3d7325b2bfa116714adc4fcb4d4b4f8659cb53cba134d2476b696fa73f55eefbc0a255f6cc76fb1a93eecfff42eb1d425 |
25 |
-DIST chrome-remote-desktop_80.0.3987.18_amd64.deb 27188594 BLAKE2B 10dbb9364195da2d648d1087360ad7d2845b51d2517eef7e793f6b004d27a4a4331c6b7138db0dcee6d220ca2758549562ddbb1ab176a30dae8ae35744fceb31 SHA512 6aee7482ee9dbbc46dabf132c3ab4f610a568de7bb476e1dfdfd19a3ae30fa5d3ac8b9469699e5f0ecea436a3d565252d0a86818f27c7c095d9c6db5859d35a6 |
26 |
DIST chrome-remote-desktop_88.0.4324.33_amd64.deb 33645072 BLAKE2B 5fc565c3a27307e46ff307ad2e68a9a390b5fb86be9d3d8bb5f82f3d22013f70af18002c888d5df82956b6f33b3397cf2cb8b9a7e4c07db480ead81abbb5743c SHA512 0cf6ebe8ce916874be79255faf870b20df892ce4825902996685416cedd8d8ef52215e7f278301fd6ff11e2cbc3b2e82078d7b0ee23ab35669760b1102d5827e |
27 |
|
28 |
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 4c61d6b3d16..00000000000 |
31 |
--- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,126 +0,0 @@ |
34 |
-# Copyright 1999-2019 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ |
38 |
-# Fetch the Release file: |
39 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release |
40 |
-# Which gives you the Packages file: |
41 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages |
42 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages |
43 |
-# And finally gives you the file name: |
44 |
-# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb |
45 |
-# |
46 |
-# Use curl to find the answer: |
47 |
-# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename |
48 |
- |
49 |
-EAPI="5" |
50 |
- |
51 |
-PYTHON_COMPAT=( python2_7 ) |
52 |
-PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" |
53 |
- |
54 |
-inherit unpacker eutils python-single-r1 l10n |
55 |
- |
56 |
-DESCRIPTION="access remote computers via Chrome!" |
57 |
-PLUGIN_URL="https://chrome.google.com/remotedesktop" |
58 |
-HOMEPAGE="https://support.google.com/chrome/answer/1649523 ${PLUGIN_URL}" |
59 |
-BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" |
60 |
-SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" |
61 |
- |
62 |
-LICENSE="google-chrome" |
63 |
-SLOT="0" |
64 |
-KEYWORDS="-* amd64" |
65 |
-IUSE="xrandr" |
66 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
67 |
-RESTRICT="bindist mirror" |
68 |
- |
69 |
-# All the libs this package links against. |
70 |
-RDEPEND="app-admin/sudo |
71 |
- ${PYTHON_DEPS} |
72 |
- >=dev-libs/expat-2 |
73 |
- dev-libs/glib:2 |
74 |
- dev-libs/nspr |
75 |
- dev-libs/nss |
76 |
- dev-python/psutil |
77 |
- gnome-base/gconf:2 |
78 |
- media-libs/fontconfig |
79 |
- media-libs/freetype:2 |
80 |
- sys-devel/gcc |
81 |
- sys-libs/glibc |
82 |
- sys-libs/pam |
83 |
- x11-apps/xdpyinfo |
84 |
- x11-apps/setxkbmap |
85 |
- x11-libs/cairo |
86 |
- x11-libs/gtk+:2 |
87 |
- x11-libs/libX11 |
88 |
- x11-libs/libXdamage |
89 |
- x11-libs/libXext |
90 |
- x11-libs/libXfixes |
91 |
- x11-libs/libXi |
92 |
- x11-libs/libXrandr |
93 |
- x11-libs/libXtst |
94 |
- x11-libs/pango" |
95 |
-# Settings we just need at runtime. |
96 |
-# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb. |
97 |
-RDEPEND+=" |
98 |
- xrandr? ( x11-apps/xrandr ) |
99 |
- x11-base/xorg-server[xvfb]" |
100 |
-DEPEND="" |
101 |
- |
102 |
-S=${WORKDIR} |
103 |
- |
104 |
-QA_PREBUILT="/opt/google/chrome-remote-desktop/*" |
105 |
- |
106 |
-src_prepare() { |
107 |
- epatch "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 |
108 |
- cd opt/google/chrome-remote-desktop |
109 |
- python_fix_shebang chrome-remote-desktop |
110 |
- |
111 |
- cd remoting_locales |
112 |
- rm fake-bidi* || die |
113 |
- PLOCALES=${PLOCALES//_/-} l10n_find_plocales_changes "${PWD}" '' '.pak' |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die |
118 |
- rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; } |
119 |
- l10n_for_each_disabled_locale_do rm_pak |
120 |
- popd >/dev/null |
121 |
- |
122 |
- insinto /etc |
123 |
- doins -r etc/opt |
124 |
- |
125 |
- insinto /opt |
126 |
- doins -r opt/google |
127 |
- chmod a+rx "${ED}"/opt/google/${PN}/* || die |
128 |
- fperms +s /opt/google/${PN}/user-session |
129 |
- |
130 |
- dodir /etc/pam.d |
131 |
- dosym system-remote-login /etc/pam.d/${PN} |
132 |
- |
133 |
- dodoc usr/share/doc/${PN}/changelog* |
134 |
- |
135 |
- newinitd "${FILESDIR}"/${PN}.rc ${PN} |
136 |
- newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
137 |
-} |
138 |
- |
139 |
-pkg_postinst() { |
140 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
141 |
- elog "Two ways to launch the server:" |
142 |
- elog "(1) access an existing desktop" |
143 |
- elog " (a) install the Chrome plugin on the server & client:" |
144 |
- elog " ${PLUGIN_URL}" |
145 |
- elog " (b) on the server, run the Chrome plugin & enable remote access" |
146 |
- elog " (c) on the client, connect to the server" |
147 |
- elog "(2) headless system" |
148 |
- elog " (a) install the Chrome plugin on the client:" |
149 |
- elog " ${PLUGIN_URL}" |
150 |
- elog " (b) run ${EPREFIX}opt/google/chrome-remote-desktop/start-host --help to get the auth URL" |
151 |
- elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field" |
152 |
- elog " (d) run start-host again, and past the code when asked for an authorization code" |
153 |
- elog " (e) on the client, connect to the server" |
154 |
- elog |
155 |
- elog "Configuration settings you might want to be aware of:" |
156 |
- elog " ~/.${PN}-session - shell script to start your session" |
157 |
- elog " /etc/init.d/${PN} - script to auto-restart server" |
158 |
- fi |
159 |
-} |
160 |
|
161 |
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-77.0.3865.32.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-77.0.3865.32.ebuild |
162 |
deleted file mode 100644 |
163 |
index ea0b20823e0..00000000000 |
164 |
--- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-77.0.3865.32.ebuild |
165 |
+++ /dev/null |
166 |
@@ -1,137 +0,0 @@ |
167 |
-# Copyright 1999-2019 Gentoo Authors |
168 |
-# Distributed under the terms of the GNU General Public License v2 |
169 |
- |
170 |
-# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ |
171 |
-# Fetch the Release file: |
172 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release |
173 |
-# Which gives you the Packages file: |
174 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages |
175 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages |
176 |
-# And finally gives you the file name: |
177 |
-# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb |
178 |
-# |
179 |
-# Use curl to find the answer: |
180 |
-# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename |
181 |
- |
182 |
-EAPI="6" |
183 |
- |
184 |
-PYTHON_COMPAT=( python2_7 ) |
185 |
-PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" |
186 |
- |
187 |
-inherit unpacker eutils python-single-r1 l10n |
188 |
- |
189 |
-DESCRIPTION="access remote computers via Chrome!" |
190 |
-PLUGIN_URL="https://chrome.google.com/remotedesktop" |
191 |
-HOMEPAGE="https://support.google.com/chrome/answer/1649523 ${PLUGIN_URL}" |
192 |
-BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" |
193 |
-SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" |
194 |
- |
195 |
-LICENSE="google-chrome" |
196 |
-SLOT="0" |
197 |
-KEYWORDS="-* ~amd64" |
198 |
-IUSE="xrandr" |
199 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
200 |
-RESTRICT="bindist mirror" |
201 |
- |
202 |
-# All the libs this package links against. |
203 |
-RDEPEND="app-admin/sudo |
204 |
- ${PYTHON_DEPS} |
205 |
- >=dev-libs/expat-2 |
206 |
- dev-libs/glib:2 |
207 |
- dev-libs/nspr |
208 |
- dev-libs/nss |
209 |
- dev-python/psutil |
210 |
- gnome-base/gconf:2 |
211 |
- media-libs/fontconfig |
212 |
- media-libs/freetype:2 |
213 |
- sys-devel/gcc |
214 |
- sys-libs/glibc |
215 |
- sys-libs/pam |
216 |
- x11-apps/xdpyinfo |
217 |
- x11-apps/setxkbmap |
218 |
- x11-libs/cairo |
219 |
- x11-libs/gtk+:2 |
220 |
- x11-libs/libX11 |
221 |
- x11-libs/libXdamage |
222 |
- x11-libs/libXext |
223 |
- x11-libs/libXfixes |
224 |
- x11-libs/libXi |
225 |
- x11-libs/libXrandr |
226 |
- x11-libs/libXtst |
227 |
- x11-libs/pango" |
228 |
-# Settings we just need at runtime. |
229 |
-# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb. |
230 |
-# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked. |
231 |
-# - The Xorg invocation uses absolute paths with -logfile & -config which are rejected. |
232 |
-# - The config takes over the active display in addition to starting up a virtual one. |
233 |
-RDEPEND+=" |
234 |
- xrandr? ( x11-apps/xrandr ) |
235 |
- x11-base/xorg-server[xvfb]" |
236 |
-DEPEND="" |
237 |
- |
238 |
-S=${WORKDIR} |
239 |
- |
240 |
-QA_PREBUILT="/opt/google/chrome-remote-desktop/*" |
241 |
- |
242 |
-PATCHES=( |
243 |
- "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 |
244 |
-) |
245 |
- |
246 |
-src_prepare() { |
247 |
- default |
248 |
- |
249 |
- gunzip usr/share/doc/${PN}/*.gz || die |
250 |
- |
251 |
- cd opt/google/chrome-remote-desktop |
252 |
- python_fix_shebang chrome-remote-desktop |
253 |
- |
254 |
- cd remoting_locales |
255 |
- rm fake-bidi* || die |
256 |
- PLOCALES=${PLOCALES//_/-} l10n_find_plocales_changes "${PWD}" '' '.pak' |
257 |
-} |
258 |
- |
259 |
-src_install() { |
260 |
- pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die |
261 |
- rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; } |
262 |
- l10n_for_each_disabled_locale_do rm_pak |
263 |
- popd >/dev/null |
264 |
- |
265 |
- insinto /etc |
266 |
- doins -r etc/opt |
267 |
- dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754 |
268 |
- |
269 |
- insinto /opt |
270 |
- doins -r opt/google |
271 |
- chmod a+rx "${ED}"/opt/google/${PN}/* || die |
272 |
- fperms +s /opt/google/${PN}/user-session |
273 |
- |
274 |
- dodir /etc/pam.d |
275 |
- dosym system-remote-login /etc/pam.d/${PN} |
276 |
- |
277 |
- dodoc usr/share/doc/${PN}/changelog* |
278 |
- |
279 |
- newinitd "${FILESDIR}"/${PN}.rc ${PN} |
280 |
- newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
281 |
-} |
282 |
- |
283 |
-pkg_postinst() { |
284 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
285 |
- elog "Two ways to launch the server:" |
286 |
- elog "(1) access an existing desktop" |
287 |
- elog " (a) install the Chrome plugin on the server & client:" |
288 |
- elog " ${PLUGIN_URL}" |
289 |
- elog " (b) on the server, run the Chrome plugin & enable remote access" |
290 |
- elog " (c) on the client, connect to the server" |
291 |
- elog "(2) headless system" |
292 |
- elog " (a) install the Chrome plugin on the client:" |
293 |
- elog " ${PLUGIN_URL}" |
294 |
- elog " (b) run ${EPREFIX}opt/google/chrome-remote-desktop/start-host --help to get the auth URL" |
295 |
- elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field" |
296 |
- elog " (d) run start-host again, and past the code when asked for an authorization code" |
297 |
- elog " (e) on the client, connect to the server" |
298 |
- elog |
299 |
- elog "Configuration settings you might want to be aware of:" |
300 |
- elog " ~/.${PN}-session - shell script to start your session" |
301 |
- elog " /etc/init.d/${PN} - script to auto-restart server" |
302 |
- fi |
303 |
-} |
304 |
|
305 |
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-80.0.3987.18.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-80.0.3987.18.ebuild |
306 |
deleted file mode 100644 |
307 |
index a4c723ac7f2..00000000000 |
308 |
--- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-80.0.3987.18.ebuild |
309 |
+++ /dev/null |
310 |
@@ -1,138 +0,0 @@ |
311 |
-# Copyright 1999-2020 Gentoo Authors |
312 |
-# Distributed under the terms of the GNU General Public License v2 |
313 |
- |
314 |
-# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/ |
315 |
-# Fetch the Release file: |
316 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release |
317 |
-# Which gives you the Packages file: |
318 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages |
319 |
-# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages |
320 |
-# And finally gives you the file name: |
321 |
-# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb |
322 |
-# |
323 |
-# Use curl to find the answer: |
324 |
-# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename |
325 |
- |
326 |
-EAPI="7" |
327 |
- |
328 |
-PYTHON_COMPAT=( python2_7 ) |
329 |
-PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" |
330 |
- |
331 |
-inherit unpacker eutils python-single-r1 l10n |
332 |
- |
333 |
-DESCRIPTION="access remote computers via Chrome!" |
334 |
-PLUGIN_URL="https://chrome.google.com/remotedesktop" |
335 |
-HOMEPAGE="https://support.google.com/chrome/answer/1649523 |
336 |
- https://chrome.google.com/remotedesktop" |
337 |
-BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}" |
338 |
-SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" |
339 |
- |
340 |
-LICENSE="google-chrome" |
341 |
-SLOT="0" |
342 |
-KEYWORDS="-* ~amd64" |
343 |
-IUSE="xrandr" |
344 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
345 |
-RESTRICT="bindist mirror" |
346 |
- |
347 |
-# All the libs this package links against. |
348 |
-RDEPEND="app-admin/sudo |
349 |
- ${PYTHON_DEPS} |
350 |
- >=dev-libs/expat-2 |
351 |
- dev-libs/glib:2 |
352 |
- dev-libs/nspr |
353 |
- dev-libs/nss |
354 |
- dev-python/psutil |
355 |
- gnome-base/gconf:2 |
356 |
- media-libs/fontconfig |
357 |
- media-libs/freetype:2 |
358 |
- sys-devel/gcc |
359 |
- sys-libs/glibc |
360 |
- sys-libs/pam |
361 |
- x11-apps/xdpyinfo |
362 |
- x11-apps/setxkbmap |
363 |
- x11-libs/cairo |
364 |
- x11-libs/gtk+:2 |
365 |
- x11-libs/libX11 |
366 |
- x11-libs/libXdamage |
367 |
- x11-libs/libXext |
368 |
- x11-libs/libXfixes |
369 |
- x11-libs/libXi |
370 |
- x11-libs/libXrandr |
371 |
- x11-libs/libXtst |
372 |
- x11-libs/pango" |
373 |
-# Settings we just need at runtime. |
374 |
-# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb. |
375 |
-# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked. |
376 |
-# - The Xorg invocation uses absolute paths with -logfile & -config which are rejected. |
377 |
-# - The config takes over the active display in addition to starting up a virtual one. |
378 |
-RDEPEND+=" |
379 |
- xrandr? ( x11-apps/xrandr ) |
380 |
- x11-base/xorg-server[xvfb]" |
381 |
-DEPEND="" |
382 |
- |
383 |
-S=${WORKDIR} |
384 |
- |
385 |
-QA_PREBUILT="/opt/google/chrome-remote-desktop/*" |
386 |
- |
387 |
-PATCHES=( |
388 |
- "${FILESDIR}"/${PN}-44.0.2403.44-always-sudo.patch #541708 |
389 |
-) |
390 |
- |
391 |
-src_prepare() { |
392 |
- default |
393 |
- |
394 |
- gunzip usr/share/doc/${PN}/*.gz || die |
395 |
- |
396 |
- cd opt/google/chrome-remote-desktop |
397 |
- python_fix_shebang chrome-remote-desktop |
398 |
- |
399 |
- cd remoting_locales |
400 |
- rm fake-bidi* || die |
401 |
- PLOCALES=${PLOCALES//_/-} l10n_find_plocales_changes "${PWD}" '' '.pak' |
402 |
-} |
403 |
- |
404 |
-src_install() { |
405 |
- pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die |
406 |
- rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; } |
407 |
- l10n_for_each_disabled_locale_do rm_pak |
408 |
- popd >/dev/null |
409 |
- |
410 |
- insinto /etc |
411 |
- doins -r etc/opt |
412 |
- dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754 |
413 |
- |
414 |
- insinto /opt |
415 |
- doins -r opt/google |
416 |
- chmod a+rx "${ED}"/opt/google/${PN}/* || die |
417 |
- fperms +s /opt/google/${PN}/user-session |
418 |
- |
419 |
- dodir /etc/pam.d |
420 |
- dosym system-remote-login /etc/pam.d/${PN} |
421 |
- |
422 |
- dodoc usr/share/doc/${PN}/changelog* |
423 |
- |
424 |
- newinitd "${FILESDIR}"/${PN}.rc ${PN} |
425 |
- newconfd "${FILESDIR}"/${PN}.conf.d ${PN} |
426 |
-} |
427 |
- |
428 |
-pkg_postinst() { |
429 |
- if [[ -z ${REPLACING_VERSIONS} ]] ; then |
430 |
- elog "Two ways to launch the server:" |
431 |
- elog "(1) access an existing desktop" |
432 |
- elog " (a) install the Chrome plugin on the server & client:" |
433 |
- elog " ${PLUGIN_URL}" |
434 |
- elog " (b) on the server, run the Chrome plugin & enable remote access" |
435 |
- elog " (c) on the client, connect to the server" |
436 |
- elog "(2) headless system" |
437 |
- elog " (a) install the Chrome plugin on the client:" |
438 |
- elog " ${PLUGIN_URL}" |
439 |
- elog " (b) run ${EPREFIX}/opt/google/chrome-remote-desktop/start-host --help to get the auth URL" |
440 |
- elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field" |
441 |
- elog " (d) run start-host again, and past the code when asked for an authorization code" |
442 |
- elog " (e) on the client, connect to the server" |
443 |
- elog |
444 |
- elog "Configuration settings you might want to be aware of:" |
445 |
- elog " ~/.${PN}-session - shell script to start your session" |
446 |
- elog " /etc/init.d/${PN} - script to auto-restart server" |
447 |
- fi |
448 |
-} |