Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478380 - www-client/chromium: Install ChromeVox extension for visually impaired users
Summary: www-client/chromium: Install ChromeVox extension for visually impaired users
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-27 18:49 UTC by Mike Gilbert
Modified: 2024-08-12 00:40 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-07-27 18:49:49 UTC
ChromeVox is a Chrome screen reader extension by Google.

http://www.chromevox.com/

William and Chris mentioned in IRC that it would be nice for visually impaired users to have a way to install ChromeVox without having to visit the Chrome Store.

I found these instructions for auto-installing extensions:

https://developer.chrome.com/extensions/external_extensions.html

Using the instructions, I created this JSON file which will cause ChromeVox to be installed when you launch Chromium. It just needs to be placed in /usr/lib/chromium/extensions.

http://dev.gentoo.org/~floppym/chromium/kgejglhpjiefppelpmljglcjbhoiplfn.json

We just need to figure out a good way of deploying this JSON file. A few choices:

1. Create an ebuild for it.
2. Add a use flag for www-client/chromium and install it from there.
3. Have chromium install a bash script to create the JSON file at runtime.

Personally, I prefer the first option.

Any further thoughts, comments, objections?
Comment 1 William Hubbs gentoo-dev 2013-07-27 18:54:36 UTC
Yes, I think the ebuild would be the best option, under app-accessibility. If you want I'll write one. We would just put the json in ${FILESDIR} and install it.
Comment 2 Chris Brannon (RETIRED) gentoo-dev 2013-07-27 19:12:59 UTC
I'd vote for the global accessibility use flag, but I do think that the
ebuild is viable.
Comment 3 William Hubbs gentoo-dev 2013-07-27 19:14:55 UTC
Thinking this over, if the chromium and chrome ebuilds use the global
accessibility use flag to install this json file, that would be the most
automatic way to do this, so that is what I support now as well.
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2013-07-27 23:58:39 UTC
For a separate ebuild, there is no need to put it in files/ the one line can be echo'd into the file direct from the ebuild.  Same for a use flag trigger in chromium.  It'll save another inode ;)


My favorites are in order:

USE flag in chromium
ebuild
installer script (python or bash)  (could be easily expanded to install a choice of any popular extensions available)  Then the user can install them if/when they want. rebuilds, not necessary.
Comment 5 Mike Gilbert gentoo-dev 2013-07-31 02:46:14 UTC
A USE flag (accessibility) on the chromium and google-chrome ebuilds works for me.

phajdan.jr: Do you have any suggestions/objections?
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-07-31 04:28:22 UTC
(In reply to Mike Gilbert from comment #5)
> A USE flag (accessibility) on the chromium and google-chrome ebuilds works
> for me.
> 
> phajdan.jr: Do you have any suggestions/objections?

Sounds good to me.
Comment 7 Matt Jolly gentoo-dev 2024-08-12 00:40:37 UTC
I'm not sure how feasible this is.

At some point since the last update the extension got merged into the main Chromium source tree (References easily as far back as 69.x.y.z).

It appears to be linked to both building with `nacl` and the `chromeos` target[1].

I'm not sure what _else_ this enables, but we explicitly disable `nacl` in the build due to an old bug[2].

What I imagine the steps forward look like:

a. Find out if nacl still works. (pnacl was removed in 2022; our comment is probably obselete?)
b. patch the build to enable ChromeVox as a feature independent of ChromeOS builds
c. test
d. ???
e. PROFIT!

I'm willing to see what we can do to make this available but don't really have the time at the moment. Patches welcome!

1: https://github.com/chromium/chromium/blob/main/docs/accessibility/os/chromevox_on_desktop_linux.md
2: https://bugs.chromium.org/p/chromium/issues/detail?id=269560