1 |
commit: 61f019900fa24121bed4e2a53afdb54c28e97d72 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 06:10:59 2019 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 07:10:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f01990 |
7 |
|
8 |
net-misc/chrome-remote-desktop: drop CHROME_REMOTE_DESKTOP_LOG_DIR setting |
9 |
|
10 |
Upstream no longer respects this env var and only writes logs to |
11 |
/tmp without any way to change it. Drop the conf.d setting to |
12 |
avoid confusing people. |
13 |
|
14 |
Also clean up stale randr comments. Latest version dynamically |
15 |
handles things now. |
16 |
|
17 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
18 |
|
19 |
net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d | 7 ------- |
20 |
net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc | 6 ------ |
21 |
2 files changed, 13 deletions(-) |
22 |
|
23 |
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d |
24 |
index db24cdd4ab1..aa3d8919c87 100644 |
25 |
--- a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d |
26 |
+++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d |
27 |
@@ -4,11 +4,4 @@ |
28 |
CHROME_REMOTING_USERS='' |
29 |
|
30 |
# Options to pass to chrome-remote-desktop. Only the -s option is interesting. |
31 |
-# Note: In order to support resizing, you need to: |
32 |
-# (1) Apply this patch to xorg-server (via epatch_user): |
33 |
-# http://patchwork.freedesktop.org/patch/51428/ |
34 |
-# (2) Create a symlink /usr/bin/Xvfb-randr -> Xvfb |
35 |
#OPTIONS='-s 1600x1200 -s 3840x1600' |
36 |
- |
37 |
-# Directory to use for storing log files. |
38 |
-#CHROME_REMOTE_DESKTOP_LOG_DIR='/var/log' |
39 |
|
40 |
diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc |
41 |
index 0604c61c78a..272923ce6af 100644 |
42 |
--- a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc |
43 |
+++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc |
44 |
@@ -32,21 +32,15 @@ for_users() { |
45 |
local user ret msg log |
46 |
msg=$1; shift |
47 |
|
48 |
- : ${CHROME_REMOTE_DESKTOP_LOG_DIR:=/var/log} |
49 |
- |
50 |
for user in ${CHROME_REMOTING_USERS} ; do |
51 |
ebegin "${msg} ${SVCNAME} for ${user}" |
52 |
|
53 |
- log="${CHROME_REMOTE_DESKTOP_LOG_DIR}/${SVCNAME}.${user}.log" |
54 |
- checkpath -f -m 0600 -o "${user}" "${log}" |
55 |
- |
56 |
# We need to background the app as it won't fork until the network |
57 |
# (including DNS) is available. |
58 |
start-stop-daemon \ |
59 |
-b \ |
60 |
-u "${user}" \ |
61 |
-x "${CRD}" \ |
62 |
- -e "CHROME_REMOTE_DESKTOP_LOG_FILE=${log}" \ |
63 |
-- \ |
64 |
${OPTIONS} \ |
65 |
"$@" |