Bug 207556 - accessibility/orca: Add accessibility/py3-speech-dispatcher to BUILD_DEPENDS
Summary: accessibility/orca: Add accessibility/py3-speech-dispatcher to BUILD_DEPENDS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-28 11:59 UTC by Peter Laursen
Modified: 2016-07-04 06:35 UTC (History)
4 users (show)

See Also:
rakuco: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Laursen 2016-02-28 11:59:26 UTC
Orca requires speech-dispatcher both as a BUILD_DEPENDS and as a RUN_DEPENDS.
If py3-speech-dispatcher is not detected during the configure stage, Orca is unable to produce any speech output, meaning that people who are completely blind are unable to use the Gnome desktop after logging in.
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2016-02-28 15:10:29 UTC
Over to maintainer.
Comment 2 Koop Mast freebsd_committer freebsd_triage 2016-03-01 23:29:52 UTC
All the orca files are installed regardless if the python3 bindings of speech-dispatch are installed or not. And unless I read the configure wrong it only does reporting if speech-dispatcher is available on build-time or not.

the speechdispatcherfactory.py file has the following:

[code]
try:
    import speechd
except:
    _speechd_available = False
else:
    _speechd_available = True
    try:
        getattr(speechd, "CallbackType")
    except AttributeError:
        _speechd_version_ok = False
    else:
        _speechd_version_ok = True
[/code]

So it check on run-time if speech-dispatcher is available or not. Could you be more specific why you think orca is miss-configured?
Comment 3 Peter Laursen 2016-03-02 06:48:37 UTC
Hi,
Thanks for getting back to me.
While it is true that all Orca files are installed regardless of the speech-dispatcher bindings, Orca itself does not detect speech dispatcher unless it's present at configure time.
When you launch Orca, the first thing it shows Is "Speech unavailable" unless it finds the bindings during, say, BUILD_DEPENDS.
(My build machine is sadly turned off at present, so I cannot provide you with the Poudriere log).
If you are able to find a log of the currently built package, you will see that, very close to the bottom, it states Use Speech-dispatcher: no).
If the Python bindings are present, for example, as a build dependency, Orca will use Speech Dispatcher and Orca is able to speak. This, in turn, enables blind people to use the desktop without too much trouble.

I hope the above makes sense.
All the best,

Peter.
Comment 4 Peter Laursen 2016-03-02 06:59:52 UTC
I found a public build log from a FreeBSD package cluster.
A small snippet of the log is below (pertaining to the bug at hand, only).
[code]
config.status: executing default commands
config.status: executing po/stamp-it commands 

NOTE: Braille support requires BrlTTY >= 3.9 and BrlAPI >= 0.5.1.
NOTE: Speech support requires speech-dispatcher >= 0.8. 
Use speech-dispatcher: no 
Use brltty: no 
Use liblouis: no
[/code]
The complete build log resides at:
http://package19.nyi.freebsd.org/data/103i386-default-build-as-user/409902/logs/orca-3.18.2.log

All the best,

Peter.
Comment 5 Peter Laursen 2016-07-04 06:35:05 UTC
I don't know exactly what happened since I filed this bug, but apparently, the public packages now includes speech support with Orca, meaning that we can now use the desktop. Therefore, I'll mark this bug as closed and fixed. (If possible)