[oe-commits] org.oe.dev speech-dispatcher: fix configure.in for c++

woglinde2 commit oe at amethyst.openembedded.net
Sun Jul 20 12:33:11 UTC 2008


speech-dispatcher: fix configure.in for c++
* we have a little patch that has support for espeak
* the autoconf macros AC_LANG_PUSH/POP is used with c++, but it is not
checked if c++ is available
* tweak configure_fix.patch to support this
* bug 4391 was reported by ant and is fixed now
* bump PR

Author: woglinde2 at openembedded.org
Branch: org.openembedded.dev
Revision: bd40bda8858164c7f6d35494b85fbc1df9474e4d
ViewMTN: http://monotone.openembedded.org/revision/info/bd40bda8858164c7f6d35494b85fbc1df9474e4d
Files:
1
packages/speech-dispatcher/files/configure_fix.patch
packages/speech-dispatcher/speech-dispatcher_0.6.6.bb
Diffs:

#
# mt diff -r2a7417705304d30a2ce03bf6fdf67c1b27682b9c -rbd40bda8858164c7f6d35494b85fbc1df9474e4d
#
#
#
# patch "packages/speech-dispatcher/files/configure_fix.patch"
#  from [414e2b325a6a6f7240beb5f7ad791b83dc462295]
#    to [db5e0011b85cf14b8e0ef1607a9eb112d559c93a]
# 
# patch "packages/speech-dispatcher/speech-dispatcher_0.6.6.bb"
#  from [a925ce6224d9321377cd2532c8d0678d21df0710]
#    to [2e70147586c6cb534c648efa86ef649576961a53]
#
============================================================
--- packages/speech-dispatcher/files/configure_fix.patch	414e2b325a6a6f7240beb5f7ad791b83dc462295
+++ packages/speech-dispatcher/files/configure_fix.patch	db5e0011b85cf14b8e0ef1607a9eb112d559c93a
@@ -1,8 +1,16 @@
-Index: speech-dispatcher-0.6.5/configure.in
+Index: speech-dispatcher-0.6.6/configure.in
 ===================================================================
---- speech-dispatcher-0.6.5.orig/configure.in	2008-03-10 23:11:42.000000000 +0000
-+++ speech-dispatcher-0.6.5/configure.in	2008-03-10 23:14:02.000000000 +0000
-@@ -134,12 +134,15 @@
+--- speech-dispatcher-0.6.6.orig/configure.in	2008-07-20 13:10:44.208894676 +0200
++++ speech-dispatcher-0.6.6/configure.in	2008-07-20 13:11:16.946093820 +0200
+@@ -5,6 +5,7 @@
+ 
+ dnl progs
+ AC_PROG_CC
++AC_PROG_CXX
+ 
+ dnl info
+ AM_INIT_AUTOMAKE("speech-dispatcher", "`cat version.sh|grep '^VERSION'|awk -F= '{print $2}'`")
+@@ -134,12 +135,15 @@
  AC_SUBST(ibmtts_include)
  
  dnl check for espeak support
@@ -18,10 +26,10 @@ Index: speech-dispatcher-0.6.5/configure
  AC_ARG_WITH(espeak, AS_HELP_STRING(--with-espeak, Compile with espeak support),
  		 if test $withval = "no"; then 
  		    echo "Forced compilation without espeak support."; 
-Index: speech-dispatcher-0.6.5/src/modules/Makefile.am
+Index: speech-dispatcher-0.6.6/src/modules/Makefile.am
 ===================================================================
---- speech-dispatcher-0.6.5.orig/src/modules/Makefile.am	2008-03-10 23:18:50.000000000 +0000
-+++ speech-dispatcher-0.6.5/src/modules/Makefile.am	2008-03-10 23:25:39.000000000 +0000
+--- speech-dispatcher-0.6.6.orig/src/modules/Makefile.am	2008-07-20 13:10:51.768895801 +0200
++++ speech-dispatcher-0.6.6/src/modules/Makefile.am	2008-07-20 13:10:57.665559805 +0200
 @@ -8,6 +8,7 @@
  EXTRA_DIST = module_main.c module_utils_addvoice.c festival_client.c festival_client.h
  
@@ -32,15 +40,15 @@ Index: speech-dispatcher-0.6.5/src/modul
  if ibmtts_support
 @@ -45,6 +46,6 @@
  sd_cicero_SOURCES = cicero.c module_utils.c module_utils.h
- sd_cicero_LDADD = -lm -lpthread -ldotconf @glib_libs@
+ sd_cicero_LDADD = -lpthread -ldotconf @glib_libs@ @gthread_libs@
  
 -sd_espeak_SOURCES = espeak.c module_utils.c module_utils.h
 +sd_espeak_SOURCES = espeak.c module_utils.c module_utils.h dummy.cpp
  sd_espeak_LDFLAGS = -rpath '$(spdlibdir)'
- sd_espeak_LDADD = -lsdaudio -lm -lespeak -lpthread -ldotconf @SNDFILE_LIBS@ @gthread_libs@
-Index: speech-dispatcher-0.6.5/src/modules/dummy.cpp
+ sd_espeak_LDADD = -lsdaudio -lespeak -lpthread -ldotconf @glib_libs@ @SNDFILE_LIBS@ @gthread_libs@
+Index: speech-dispatcher-0.6.6/src/modules/dummy.cpp
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ speech-dispatcher-0.6.5/src/modules/dummy.cpp	2008-03-10 23:26:50.000000000 +0000
++++ speech-dispatcher-0.6.6/src/modules/dummy.cpp	2008-07-20 13:10:57.668895216 +0200
 @@ -0,0 +1 @@
 +
============================================================
--- packages/speech-dispatcher/speech-dispatcher_0.6.6.bb	a925ce6224d9321377cd2532c8d0678d21df0710
+++ packages/speech-dispatcher/speech-dispatcher_0.6.6.bb	2e70147586c6cb534c648efa86ef649576961a53
@@ -5,7 +5,7 @@ RPROVIDES_${PN} += "speechd"
 DEPENDS = "espeak flite pulseaudio libdotconf glib-2.0"
 RPROVIDES_${PN} += "speechd"
 
-PR = "r0"
+PR = "r1"
 
 inherit autotools update-rc.d
 






More information about the Openembedded-commits mailing list