]> git.pld-linux.org Git - packages/espeak.git/blob - espeak-ac_am.patch
- dropped
[packages/espeak.git] / espeak-ac_am.patch
1 diff -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
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)
10 diff -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
13 @@ -0,0 +1,45 @@
14 +#                                               -*- Autoconf -*-
15 +# Process this file with autoconf to produce a configure script.
16 +
17 +AC_PREREQ(2.59)
18 +AC_INIT(espeak, 1.22, )
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
26 +AC_PROG_LIBTOOL
27 +
28 +# Checks for libraries.
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 +AC_C_BIGENDIAN(AC_SUBST(ARCH_BIG,[-DARCH_BIG]),AC_SUBST(ARCH_BIG,[]),)
50 +
51 +if test "$datadir" = "\${prefix}/share" ; then
52 +       datadirectory=$ac_default_prefix/share
53 +else
54 +       datadirectory="$datadir/espeak-data"
55 +fi
56 +AC_DEFINE_UNQUOTED(PATH_ESPEAK_DATA, "$datadirectory", [data directory])
57 +AC_CONFIG_FILES([Makefile src/Makefile])
58 +AC_OUTPUT
59 diff -Nur o.speak-1.14-source/src/Makefile.am n.speak-1.14-source/src/Makefile.am
60 --- o.speak-1.14-source/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100
61 +++ n.speak-1.14-source/src/Makefile.am 2006-09-23 22:18:52.000000000 +0200
62 @@ -0,0 +1,16 @@
63 +AM_CXXFLAGS = -Wall -pedantic -fno-exceptions @ARCH_BIG@
64 +
65 +bin_PROGRAMS = speak
66 +speak_SOURCES = speak.cpp
67 +speak_LDADD = libespeak.la
68 +
69 +lib_LTLIBRARIES = libespeak.la
70 +
71 +libespeak_la_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp \
72 +       numbers.cpp readclause.cpp setlengths.cpp synth_mbrola.cpp \
73 +       synthdata.cpp synthesize.cpp translate.cpp tr_english.cpp \
74 +       tr_languages.cpp voices.cpp wavegen.cpp
75 +
76 +libespeak_la_LDFLAGS = -version-info 2:22:1
77 +
78 +include_HEADERS = speak_lib.h
79 --- espeak-1.17-source/src/speech.h~    2006-11-19 14:47:14.000000000 +0100
80 +++ espeak-1.17-source/src/speech.h     2006-11-19 14:47:57.000000000 +0100
81 @@ -36,8 +36,9 @@
82  #endif
83  
84  // will look for espeak_data directory here, and also in user's home directory
85 +#include "config.h"
86  #ifndef PATH_ESPEAK_DATA
87 -   #define PATH_ESPEAK_DATA  "/usr/share/espeak-data"
88 +#define PATH_ESPEAK_DATA  "/usr/share/espeak-data"
89  #endif
90  
91  typedef unsigned short USHORT;
This page took 0.03098 seconds and 3 git commands to generate.