SOURCES (AC-branch): espeak-ac_am.patch (NEW) - up to 1.19 (copied...

twittner twittner at pld-linux.org
Sat Jan 27 15:02:59 CET 2007


Author: twittner                     Date: Sat Jan 27 14:02:59 2007 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- up to 1.19 (copied from HEAD)

---- Files affected:
SOURCES:
   espeak-ac_am.patch (NONE -> 1.6.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/espeak-ac_am.patch
diff -u /dev/null SOURCES/espeak-ac_am.patch:1.6.2.1
--- /dev/null	Sat Jan 27 15:02:59 2007
+++ SOURCES/espeak-ac_am.patch	Sat Jan 27 15:02:54 2007
@@ -0,0 +1,91 @@
+diff -Nur o.speak-1.14-source/Makefile.am n.speak-1.14-source/Makefile.am
+--- o.speak-1.14-source/Makefile.am	1970-01-01 01:00:00.000000000 +0100
++++ n.speak-1.14-source/Makefile.am	2006-09-23 20:28:28.000000000 +0200
+@@ -0,0 +1,5 @@
++SUBDIRS = src
++pkgdatadir = $(datadir)/espeak-data
++install-data-local:
++	install -d $(DESTDIR)$(pkgdatadir)
++	cp -Rf espeak-data/* $(DESTDIR)$(pkgdatadir)
+diff -Nur o.speak-1.14-source/configure.ac n.speak-1.14-source/configure.ac
+--- o.speak-1.14-source/configure.ac	1970-01-01 01:00:00.000000000 +0100
++++ n.speak-1.14-source/configure.ac	2006-09-23 20:45:27.000000000 +0200
+@@ -0,0 +1,45 @@
++#                                               -*- Autoconf -*-
++# Process this file with autoconf to produce a configure script.
++
++AC_PREREQ(2.59)
++AC_INIT(espeak, 1.19, )
++AM_INIT_AUTOMAKE
++AC_CONFIG_SRCDIR([src/speak.cpp])
++AC_CONFIG_HEADER([config.h])
++
++# Checks for programs.
++AC_PROG_CXX
++AC_PROG_CC
++AC_PROG_LIBTOOL
++
++# Checks for libraries.
++AC_CHECK_LIB([portaudio], [main])
++
++# Checks for header files.
++AC_HEADER_STDC
++AC_CHECK_HEADERS([locale.h stdlib.h string.h unistd.h wchar.h wctype.h portaudio.h])
++
++# Checks for typedefs, structures, and compiler characteristics.
++AC_C_CONST
++AC_C_RESTRICT
++AC_HEADER_STDBOOL
++
++# Checks for library functions.
++AC_FUNC_CLOSEDIR_VOID
++AC_FUNC_MALLOC
++AC_FUNC_MEMCMP
++AC_FUNC_REALLOC
++AC_TYPE_SIGNAL
++AC_FUNC_STAT
++AC_CHECK_FUNCS([memset pow setlocale sqrt strchr Pa_IsStreamActive])
++
++AC_C_BIGENDIAN(AC_SUBST(ARCH_BIG,[-DARCH_BIG]),AC_SUBST(ARCH_BIG,[]),)
++
++if test "$datadir" = "\${prefix}/share" ; then
++	datadirectory=$ac_default_prefix/share
++else
++	datadirectory="$datadir/espeak-data"
++fi
++AC_DEFINE_UNQUOTED(PATH_ESPEAK_DATA, "$datadirectory", [data directory])
++AC_CONFIG_FILES([Makefile src/Makefile])
++AC_OUTPUT
+diff -Nur o.speak-1.14-source/src/Makefile.am n.speak-1.14-source/src/Makefile.am
+--- o.speak-1.14-source/src/Makefile.am	1970-01-01 01:00:00.000000000 +0100
++++ n.speak-1.14-source/src/Makefile.am	2006-09-23 22:18:52.000000000 +0200
+@@ -0,0 +1,16 @@
++AM_CXXFLAGS = -Wall -pedantic -fno-exceptions @ARCH_BIG@
++
++bin_PROGRAMS = speak
++speak_SOURCES = speak.cpp
++speak_LDADD = libespeak.la
++
++lib_LTLIBRARIES = libespeak.la
++
++libespeak_la_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp \
++	numbers.c readclause.cpp setlengths.cpp \
++	synthdata.cpp synthesize.cpp translate.cpp tr_english.cpp \
++	tr_languages.cpp voices.cpp wavegen.cpp
++
++libespeak_la_LDFLAGS = -version-info 2:19:1
++
++include_HEADERS = speak_lib.h
+--- espeak-1.17-source/src/speech.h~	2006-11-19 14:47:14.000000000 +0100
++++ espeak-1.17-source/src/speech.h	2006-11-19 14:47:57.000000000 +0100
+@@ -36,8 +36,9 @@
+ #endif
+ 
+ // will look for espeak_data directory here, and also in user's home directory
++#include "config.h"
+ #ifndef PATH_ESPEAK_DATA
+-   #define PATH_ESPEAK_DATA  "/usr/share/espeak-data"
++#define PATH_ESPEAK_DATA  "/usr/share/espeak-data"
+ #endif
+ 
+ typedef unsigned short USHORT;
================================================================


More information about the pld-cvs-commit mailing list