]> git.pld-linux.org Git - packages/espeak.git/blame - speak-ac_am.patch
- up to 1.16
[packages/espeak.git] / speak-ac_am.patch
CommitLineData
a84aa1f3 1diff -Nur o.speak-1.14-source/Makefile.am n.speak-1.14-source/Makefile.am
2--- o.speak-1.14-source/Makefile.am 1970-01-01 01:00:00.000000000 +0100
3+++ n.speak-1.14-source/Makefile.am 2006-09-23 20:28:28.000000000 +0200
c89570ce 4@@ -0,0 +1,5 @@
5+SUBDIRS = src
6+pkgdatadir = $(datadir)/espeak-data
7+install-data-local:
8+ install -d $(DESTDIR)$(pkgdatadir)
9+ cp -Rf espeak-data/* $(DESTDIR)$(pkgdatadir)
a84aa1f3 10diff -Nur o.speak-1.14-source/configure.ac n.speak-1.14-source/configure.ac
11--- o.speak-1.14-source/configure.ac 1970-01-01 01:00:00.000000000 +0100
12+++ n.speak-1.14-source/configure.ac 2006-09-23 20:45:27.000000000 +0200
c89570ce 13@@ -0,0 +1,43 @@
14+# -*- Autoconf -*-
15+# Process this file with autoconf to produce a configure script.
16+
17+AC_PREREQ(2.59)
a84aa1f3 18+AC_INIT(speak, 1.14, )
c89570ce 19+AM_INIT_AUTOMAKE
20+AC_CONFIG_SRCDIR([src/speak.cpp])
21+AC_CONFIG_HEADER([config.h])
22+
23+# Checks for programs.
24+AC_PROG_CXX
25+AC_PROG_CC
a84aa1f3 26+AC_PROG_LIBTOOL
c89570ce 27+
28+# Checks for libraries.
c89570ce 29+AC_CHECK_LIB([portaudio], [main])
30+
31+# Checks for header files.
32+AC_HEADER_STDC
33+AC_CHECK_HEADERS([locale.h stdlib.h string.h unistd.h wchar.h wctype.h portaudio.h])
34+
35+# Checks for typedefs, structures, and compiler characteristics.
36+AC_C_CONST
37+AC_C_RESTRICT
38+AC_HEADER_STDBOOL
39+
40+# Checks for library functions.
41+AC_FUNC_CLOSEDIR_VOID
42+AC_FUNC_MALLOC
43+AC_FUNC_MEMCMP
44+AC_FUNC_REALLOC
45+AC_TYPE_SIGNAL
46+AC_FUNC_STAT
47+AC_CHECK_FUNCS([memset pow setlocale sqrt strchr Pa_IsStreamActive])
48+
49+if test "$datadir" = "\${prefix}/share" ; then
50+ datadirectory=$ac_default_prefix/share
51+else
a84aa1f3 52+ datadirectory="$datadir/espeak-data"
c89570ce 53+fi
a84aa1f3 54+AC_DEFINE_UNQUOTED(PATH_ESPEAK_DATA, "$datadirectory", [data directory])
c89570ce 55+AC_CONFIG_FILES([Makefile src/Makefile])
56+AC_OUTPUT
a84aa1f3 57diff -Nur o.speak-1.14-source/src/Makefile.am n.speak-1.14-source/src/Makefile.am
58--- o.speak-1.14-source/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100
f505e100 59+++ n.speak-1.14-source/src/Makefile.am 2006-09-23 22:18:52.000000000 +0200
a84aa1f3 60@@ -0,0 +1,19 @@
61+AM_CXXFLAGS = -Wall -pedantic -fno-exceptions
62+
c89570ce 63+bin_PROGRAMS = speak
a84aa1f3 64+speak_SOURCES = speak.cpp
65+speak_LDADD = libespeak.la
c89570ce 66+
a84aa1f3 67+lib_LTLIBRARIES = libespeak.la
68+
69+libespeak_la_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp \
70+ readclause.cpp setlengths.cpp \
71+ synthdata.cpp synthesize.cpp translate.cpp tr_english.cpp \
72+ tr_languages.cpp voices.cpp wavegen.cpp
73+
f505e100 74+libespeak_la_LDFLAGS = -version-info 2:14:1
a84aa1f3 75+
80fe419f 76+
479411be 77+# libespeak_la_CXXFLAGS = $(AM_CXXFLAGS) -fvisibility=hidden
a84aa1f3 78+
79+include_HEADERS = speak_lib.h
80diff -Nur o.speak-1.14-source/src/speech.h n.speak-1.14-source/src/speech.h
81--- o.speak-1.14-source/src/speech.h 2006-09-21 20:00:41.000000000 +0200
82+++ n.speak-1.14-source/src/speech.h 2006-09-23 19:54:14.000000000 +0200
83@@ -36,7 +36,10 @@
c89570ce 84 #endif
85
a84aa1f3 86 // will look for espeak_data directory here, and also in user's home directory
87+#include "config.h"
88+#ifndef PATH_ESPEAK_DATA
89 #define PATH_ESPEAK_DATA "/usr/share/espeak-data"
90+#endif
c89570ce 91
a84aa1f3 92 typedef unsigned short USHORT;
93 typedef unsigned char UCHAR;
f505e100 94
This page took 0.089685 seconds and 4 git commands to generate.