Skip to content

Commit

Permalink
Don't check in espeakdata.zip to version control every time it changes.
Browse files Browse the repository at this point in the history
The espeakdata.zip file is a generated file that can be recreated
by running the `make android` command. It takes up ~ 900 Kb of space
and changes significantly every time it is built.
  • Loading branch information
rhdunn committed Mar 3, 2013
1 parent 6594f08 commit 932907d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -15,6 +15,9 @@ android/icons/*.png

libttsespeak.so

android/res/raw/espeakdata.zip
android/res/raw/espeakdata_version

# autotools

AUTHORS
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -126,6 +126,7 @@ espeak-data/phontab: src/espeakedit espeak-data/dir.stamp espeak-data/dictsource
##### android language data packs:

android/res/raw/espeakdata.zip: espeak-data/dir.stamp espeak-data/phontab dictionaries
mkdir -pv android/res/raw
rm -f $@
find espeak-data/{intonations,phondata,phonindex,phontab} | zip -@ $@
find espeak-data/*_dict | zip -@ $@
Expand Down
21 changes: 10 additions & 11 deletions README.md
Expand Up @@ -12,7 +12,7 @@ configured correctly:
2. Android NDK
3. Eclipse
4. Android Developer Tools (ADT) for Eclipse
5. wxWidgets 2.8 (for espeakedit if building the `espeak-data` zip files)
5. wxWidgets 2.8 (for espeakedit when building `android/res/raw/espeakdata.zip`)

## Fetching the Sources

Expand All @@ -27,16 +27,15 @@ The Android port uses the `ucd-tools` submodule. You can fetch this by running:

$ cd android
$ ndk-build
2. Open Eclipse.
3. Create a new workspace.
4. Import the espeak folder as an exising Android project.
5. Build the espeak apk within Eclipse.

In order to build the `espeakdata.zip` file in `android/res/raw`, you need to run the following commands:

$ ./autogen.sh
$ ./configure --prefix=/usr
$ make android
2. Build the `android/res/raw/espeakdata.zip` file by running:

$ ./autogen.sh
$ ./configure --prefix=/usr
$ make android
3. Open Eclipse.
4. Create a new workspace.
5. Import the espeak folder as an exising Android project.
6. Build the espeak apk within Eclipse.

## Installing

Expand Down
Binary file removed android/res/raw/espeakdata.zip
Binary file not shown.
1 change: 0 additions & 1 deletion android/res/raw/espeakdata_version

This file was deleted.

0 comments on commit 932907d

Please sign in to comment.