Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581754 - net-misc/chrome-remote-desktop does not work for chromium
Summary: net-misc/chrome-remote-desktop does not work for chromium
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2016-05-01 19:57 UTC by Garry Filakhtov
Modified: 2019-09-14 07:11 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix the problem (chrome-remote-desktop-49.0.2623.40.ebuild.patch,1.01 KB, patch)
2016-05-01 20:01 UTC, Garry Filakhtov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garry Filakhtov 2016-05-01 19:57:17 UTC
chrome-remote-desktop does not work with chromium. When you try to share your desktop it asks to download and install plugin. 

Reproducible: Always

Steps to Reproduce:
1. emerge chromium
2. emerge chrome-remote-desktop
3. Install chrome remote desktop extension from web store
4. Try to share your pc with someone
Actual Results:  
Popup is shown, asking to download and install remote desktop package before proceeding.

Expected Results:  
Sharing simply works.
Comment 1 Garry Filakhtov 2016-05-01 20:01:22 UTC
Created attachment 432868 [details, diff]
Patch to fix the problem

This is simple patch, which creates "chromium" flag and fixes the problem by symlinking /etc/opt/chrome/native-messaging-hosts to /etc/chromium-messaging-hosts when enabled.

It is that simple, because chromium just uses another search path for plugins.
Comment 2 SpanKY gentoo-dev 2016-05-03 00:16:50 UTC
Comment on attachment 432868 [details, diff]
Patch to fix the problem

there's no need for a USE flag, nor does RDEPEND-ing on a browser make sense.  just always create the symlink in src_install.
Comment 3 Pacho Ramos gentoo-dev 2018-04-02 10:38:07 UTC
[master 83741cb2668] net-misc/chrome-remote-desktop: Fix multiple bugs
 1 file changed, 4 insertions(+)
Comment 4 Pacho Ramos gentoo-dev 2018-04-02 10:44:17 UTC
I reverted this as the file is only present when chromium is installed... and a QA warning is shown then when it's not there
Comment 5 SpanKY gentoo-dev 2019-09-14 07:11:43 UTC
(In reply to Pacho Ramos from comment #4)
> I reverted this as the file is only present when chromium is installed...
> and a QA warning is shown then when it's not there

not sure what you mean.  /etc/opt/chrome/native-messaging-hosts is installed by this package, so creating a symlink at /etc/chromium/native-messaging-hosts to point to it shouldn't result in a broken warning.

i've readded it unconditionally in the new chrome-remote-desktop-77.0.3865.32 version.