From 0caaae1b65f8d17dae5d3e9e1ac514c5fe9b501d Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Sat, 13 Mar 2021 20:10:42 +1300 Subject: [PATCH] Update newly-tested build instructions. --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a7c5684..6dbaddc 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,8 @@ I want browsers to be simple and easy to audit or write your own. See the wiki for webdev documentation. ## Installation/Running -1. Install `espeak-ng`, `zlib1g-dev`, `ghc`, `cabal-install`. (Debian package names listed here) -2. Install the C libraries `espeak-ng` & `sndfile` (on Debian: `libespeak-ng-dev` & `libsndfile1-dev`) -3. `cabal install`: - * `xml-conduit-stylist` - * `stylist` - * `hurl` - * TODO any others? +1. Install `gstreamer1.0-pocketsphinx` `zlib1g-dev`, `ghc`, `cabal-install`. (Debian package names listed here) +2. Install the C libraries `espeak-ng`, `sndfile`, `gstreamer1.0`, & `openssl` (on Debian: `libespeak-ng-dev`, `libsndfile1-dev`, `libgstreamer1.0-dev`, & `libssl-dev`) +3. If you've installed Haskell via e.g. GhcUp, you may need to edit `src/Types.hs` so that `buildDir` is assigned to the absolute path to the Rhapsode repository being built. This is used to know where to find the datafiles. 4. (OPTIONAL) Add `~/.cabal/bin/` to your path if it isn't already. -5. Run Rhapsode with `cabal run https://example.com/ | espeak-ng -mb1`, where "https://example.com/" can/should be replaced any valid URL. Or if you followed step 3, you can replace "cabal run" with "rhapsode". +5. Run Rhapsode with `cabal run https://example.com/`, where "https://example.com/" can/should be replaced any valid URL. Or if you followed step 3, you can replace "cabal run" with "rhapsode". -- 2.30.2