-
-
Notifications
You must be signed in to change notification settings - Fork 678
Updating eSpeak NG
The main authority on build requirements should be <nvda repo root>/include/espeak/Makefile.am
. The *.vcxproj
files
in <nvda repo root>/include/espeak/src/windows/
can also be considered, however these are not always kept up to date.
We dont use the auto make files or the visual studio files, we maintain our own method of building espeak. Modifications will need to be made in <nvda repo root>/nvdaHelper/espeak
-
sconscript
for the build process. -
config.h
to set the eSpeak-ng version that NVDA outputs to the log file.
- Start from a clean branch off of NVDA
master
- Check out the latest NVDA
origin/master
and create a new branch. - Do a git clean to ensure the working directory is clean.
- Check out the latest NVDA
- Ensure submodules are up to date
- Synchronize submodules with
git submodule sync
- Update submodules with
git submodule update --init --recursive
- Synchronize submodules with
- Checkout the new eSpeak-ng revision to try.
- Change to the
include/espeak/
directory - Do
git fetch
to get the latest from the espeak-ng repo - Do
git checkout origin/master
or whichever espeak-ng ref you wish.
- Change to the
- Update our record of the version number and build.
- Change back to the NVDA repo root
- Update the package version in
<nvda repo root>/nvdaHelper/espeak/config.h
you can use<nvda repo root>/include/espeak/src/windows/config.h
to double check this is what you expect. - Update commit / version for espeak in the main NVDA readme.
- Do a build of NVDA
- Run NVDA (set eSpeak-ng as the synthesizer) and test.
- Ensure that the log file contains the new version number for eSpeak-NG
If python crashes while building, check the log. If the last thing is compiling some dictionary try excluding it. This
can be done in <nvda repo root>/nvdaHelper/espeak/sconscript
. Remember to report this to the eSpeak-ng project.
If the build fails, take note of the error, compare the diff of the Makefile.am
file and mirror any changes in our sconscript
file.
Due to problems with emoji support (causing crashes), emoji dictionary files are being excluded from the build, they are deleted prior to compiling the dictionaries in the <nvda repo root>/nvdaHelper/espeak/sconscript
file.
- FAQ
- Application Support
- Connect
- Guides
- Extra Voices
- Log Files And Crash Dumps
- Log Levels (move to userguide / delete?)
This section will be moved to the NVDA repository as a priority
- Internals
- Notes Adding support for aria attributes to browsers
- Using COM with NVDA and Microsoft Word