[Lunar-commits] <moonbase> flite: Adjusting the BUILD to fix an install error. Specifically, on every other

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat May 7 16:49:22 CEST 2011


commit 963bf6f65673582ca6509fdd2c4163fe6095d80c
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat May 7 10:49:22 2011 -0400

    flite: Adjusting the BUILD to fix an install error. Specifically, on every other
    
    lin it will install successfully but on the next it will fail with this (even though
    the files are there);
    
    /x86_64-linux-gnu/lib/libflite.so.1 /usr/lib
    cp: failed to preserve ownership for /usr/lib/libflite_cmu_us_kal.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_cmu_time_awb.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_cmu_us_kal16.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_cmu_us_awb.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_cmu_us_rms.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_cmu_us_slt.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_usenglish.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite_cmulex.so: No such file or directory
    cp: failed to preserve ownership for /usr/lib/libflite.so: No such file or directory
    make[1]: *** [install] Error 1
    make: *** [install] Error 2
---
 audio/flite/BUILD   |   16 ++++++++++++++++
 audio/flite/DETAILS |   18 ++++++++++++++++++
 zbeta/flite/BUILD   |   12 ------------
 zbeta/flite/DETAILS |   18 ------------------
 4 files changed, 34 insertions(+), 30 deletions(-)

diff --git a/audio/flite/BUILD b/audio/flite/BUILD
new file mode 100644
index 0000000..540d041
--- /dev/null
+++ b/audio/flite/BUILD
@@ -0,0 +1,16 @@
+(
+
+# Fixes a failed to preserve ownership for the libs it installs. This happens on
+# an every other lin and the error is like this;
+# cp: failed to preserve ownership for /usr/lib/libflite_cmu_us_kal.so: No such file or directory
+  sedit "s:cp -pd:cp -d:g" main/Makefile &&
+
+  # Use best-sounding voice by default - rms.
+  # kal sounds horrible - kal16 is obviously better, as a robot sound.
+  sedit 's:flite_voice_list = flite_set_voice_list();:flite_voice_list = flite_set_voice_list();\n    desired_voice = flite_voice_select("rms");:' main/flite_main.c  &&
+
+  OPTS+=" --with-audio=alsa --enable-shared" &&
+
+  default_build
+
+) > $C_FIFO 2>&1
diff --git a/audio/flite/DETAILS b/audio/flite/DETAILS
new file mode 100644
index 0000000..f69eb9b
--- /dev/null
+++ b/audio/flite/DETAILS
@@ -0,0 +1,18 @@
+          MODULE=flite
+         VERSION=1.4-release
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=http://www.speech.cs.cmu.edu/flite/packed/flite-1.4
+      SOURCE_VFY=sha1:5370eebe917ba2b57dfdbaf15013b99bbe748631
+        WEB_SITE=http://cmuflite.org/
+         ENTERED=20071111
+         UPDATED=20100816
+           SHORT="A small, fast speech-synthesis engine (text-to-speech)"
+           PSAFE=no
+
+cat << EOF
+Flite (festival-lite) is a small, fast run-time speech-synthesis engine
+developed at CMU and primarily designed for small, embedded machines
+and/or large servers. Flite is designed as an alternative synthesis
+engine to Festival for voices built using the FestVox suite of
+voice-building tools.
+EOF
diff --git a/zbeta/flite/BUILD b/zbeta/flite/BUILD
deleted file mode 100644
index cd979e6..0000000
--- a/zbeta/flite/BUILD
+++ /dev/null
@@ -1,12 +0,0 @@
-(
-
-  # Use best-sounding voice by default - rms.
-  # kal sounds horrible - kal16 is obviously better, as a robot sound.
-  sedit 's:flite_voice_list = flite_set_voice_list();:flite_voice_list = flite_set_voice_list();\n    desired_voice = flite_voice_select("rms");:' main/flite_main.c  &&
-
-  # Output to ALSA rather than OSS
-  OPTS+=" --with-audio=alsa --enable-shared"  &&
-
-  default_build
-
-) > $C_FIFO 2>&1
diff --git a/zbeta/flite/DETAILS b/zbeta/flite/DETAILS
deleted file mode 100644
index f69eb9b..0000000
--- a/zbeta/flite/DETAILS
+++ /dev/null
@@ -1,18 +0,0 @@
-          MODULE=flite
-         VERSION=1.4-release
-          SOURCE=$MODULE-$VERSION.tar.bz2
-      SOURCE_URL=http://www.speech.cs.cmu.edu/flite/packed/flite-1.4
-      SOURCE_VFY=sha1:5370eebe917ba2b57dfdbaf15013b99bbe748631
-        WEB_SITE=http://cmuflite.org/
-         ENTERED=20071111
-         UPDATED=20100816
-           SHORT="A small, fast speech-synthesis engine (text-to-speech)"
-           PSAFE=no
-
-cat << EOF
-Flite (festival-lite) is a small, fast run-time speech-synthesis engine
-developed at CMU and primarily designed for small, embedded machines
-and/or large servers. Flite is designed as an alternative synthesis
-engine to Festival for voices built using the FestVox suite of
-voice-building tools.
-EOF


More information about the Lunar-commits mailing list