speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] API - Provide version macros for major/minor/micro versions


From: Jeremy Whiting
Subject: [PATCH] API - Provide version macros for major/minor/micro versions
Date: Mon, 18 May 2015 17:38:48 -0600

After git clean -xfd then applying this patch to speech-dispatcher-0-8
branch here I get this result from make:

make
echo 0.8.2-19-g3aff-dirty > .version-t && mv .version-t .version
make  all-recursive
make[1]: Entering directory '/home/jeremy/devel/other/speechd'
Making all in include
make[2]: Entering directory '/home/jeremy/devel/other/speechd/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/jeremy/devel/other/speechd/include'
Making all in src
make[2]: Entering directory '/home/jeremy/devel/other/speechd/src'
Making all in common
make[3]: Entering directory '/home/jeremy/devel/other/speechd/src/common'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  "-I../../include/" -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -Wall -I/usr/include/glib-2.0 -I/u
sr/lib/glib-2.0/include  -DGETTEXT_PACKAGE=\"speech-dispatcher\"
-DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT
libcommon_la-fdsetconv.lo -MD -MP -MF .deps/libcommon_la-fdsetconv.Tpo
-c
-o libcommon_la-fdsetconv.lo `test -f 'fdsetconv.c' || echo './'`fdsetconv.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGETTEXT_P
ACKAGE=\"speech-dispatcher\" -DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2 -MT libcommon_la-fdsetconv.lo -MD -MP -MF
.deps/libcommon_la-fdsetconv.Tpo -c fdsetconv.c  -fPIC -DPIC -o
.libs/l
ibcommon_la-fdsetconv.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGETTEXT_P
ACKAGE=\"speech-dispatcher\" -DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2 -MT libcommon_la-fdsetconv.lo -MD -MP -MF
.deps/libcommon_la-fdsetconv.Tpo -c fdsetconv.c -o
libcommon_la-fdsetco
nv.o >/dev/null 2>&1
mv -f .deps/libcommon_la-fdsetconv.Tpo .deps/libcommon_la-fdsetconv.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  "-I../../include/" -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -Wall -I/usr/include/glib-2.0 -I/u
sr/lib/glib-2.0/include  -DGETTEXT_PACKAGE=\"speech-dispatcher\"
-DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT
libcommon_la-spd_getline.lo -MD -MP -MF
.deps/libcommon_la-spd_getline.Tp
o -c -o libcommon_la-spd_getline.lo `test -f 'spd_getline.c' || echo
'./'`spd_getline.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGETTEXT_P
ACKAGE=\"speech-dispatcher\" -DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2 -MT libcommon_la-spd_getline.lo -MD -MP -MF
.deps/libcommon_la-spd_getline.Tpo -c spd_getline.c  -fPIC -DPIC -o .
libs/libcommon_la-spd_getline.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGETTEXT_P
ACKAGE=\"speech-dispatcher\" -DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2 -MT libcommon_la-spd_getline.lo -MD -MP -MF
.deps/libcommon_la-spd_getline.Tpo -c spd_getline.c -o libcommon_la-s
pd_getline.o >/dev/null 2>&1
mv -f .deps/libcommon_la-spd_getline.Tpo .deps/libcommon_la-spd_getline.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  "-I../../include/" -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -Wall -I/usr/include/glib-2.0 -I/u
sr/lib/glib-2.0/include  -DGETTEXT_PACKAGE=\"speech-dispatcher\"
-DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -MT
libcommon_la-i18n.lo -MD -MP -MF .deps/libcommon_la-i18n.Tpo -c -o
libcom
mon_la-i18n.lo `test -f 'i18n.c' || echo './'`i18n.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGETTEXT_P
ACKAGE=\"speech-dispatcher\" -DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2 -MT libcommon_la-i18n.lo -MD -MP -MF
.deps/libcommon_la-i18n.Tpo -c i18n.c  -fPIC -DPIC -o
.libs/libcommon_la-i18
n.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGETTEXT_P
ACKAGE=\"speech-dispatcher\" -DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2 -MT libcommon_la-i18n.lo -MD -MP -MF
.deps/libcommon_la-i18n.Tpo -c i18n.c -o libcommon_la-i18n.o
>/dev/null 2>&1
mv -f .deps/libcommon_la-i18n.Tpo .deps/libcommon_la-i18n.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DGETTEXT_PACKAGE=\"speech-dispatcher\"
-DLOCALEDIR=\"/usr/local/share/locale\"
-g -O2   -o libcommon.la  libcommon_la-fdsetconv.lo
libcommon_la-spd_getline.lo libcommon_la-i18n.lo -lglib-2.0  -lltdl
-lpthread -lm
libtool: link: ar cru .libs/libcommon.a .libs/libcommon_la-fdsetconv.o
.libs/libcommon_la-spd_getline.o .libs/libcommon_la-i18n.o
libtool: link: ranlib .libs/libcommon.a
libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s
"../libcommon.la" "libcommon.la" )
make[3]: Leaving directory '/home/jeremy/devel/other/speechd/src/common'
Making all in server
make[3]: Entering directory '/home/jeremy/devel/other/speechd/src/server'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-speechd.o -MD -MP -MF
.deps/speech_dispatcher-speechd.Tpo -c -o speech_dispatcher-speechd.o
`test -f 'speechd.c' || echo './'`speechd.c
speechd.c: In function ?main?:
speechd.c:936:2: warning: ?g_thread_init? is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:265)
[-Wdeprecated-declarations]
 g_thread_init(NULL);
 ^
mv -f .deps/speech_dispatcher-speechd.Tpo .deps/speech_dispatcher-speechd.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-server.o -MD -MP -MF
.deps/speech_dispatcher-server.Tpo -c -o speech_dispatcher-server.o `t
est -f 'server.c' || echo './'`server.c
mv -f .deps/speech_dispatcher-server.Tpo .deps/speech_dispatcher-server.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-history.o -MD -MP -MF
.deps/speech_dispatcher-history.Tpo -c -o speech_dispatcher-history.o
`test -f 'history.c' || echo './'`history.c
history.c: In function ?history_say_id?:
history.c:302:25: warning: variable ?new? set but not used
[-Wunused-but-set-variable]
 TSpeechDMessage *msg, *new;
                        ^
mv -f .deps/speech_dispatcher-history.Tpo .deps/speech_dispatcher-history.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-module.o -MD -MP -MF
.deps/speech_dispatcher-module.Tpo -c -o speech_dispatcher-module.o `t
est -f 'module.c' || echo './'`module.c
mv -f .deps/speech_dispatcher-module.Tpo .deps/speech_dispatcher-module.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-configuration.o -MD -MP -MF
.deps/speech_dispatcher-configuration.Tpo -c -o speech_dispatch
er-configuration.o `test -f 'configuration.c' || echo './'`configuration.c
mv -f .deps/speech_dispatcher-configuration.Tpo
.deps/speech_dispatcher-configuration.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-parse.o -MD -MP -MF
.deps/speech_dispatcher-parse.Tpo -c -o speech_dispatcher-parse.o
`test
-f 'parse.c' || echo './'`parse.c
mv -f .deps/speech_dispatcher-parse.Tpo .deps/speech_dispatcher-parse.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-set.o -MD -MP -MF
.deps/speech_dispatcher-set.Tpo -c -o speech_dispatcher-set.o `test -f
's
et.c' || echo './'`set.c
mv -f .deps/speech_dispatcher-set.Tpo .deps/speech_dispatcher-set.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-alloc.o -MD -MP -MF
.deps/speech_dispatcher-alloc.Tpo -c -o speech_dispatcher-alloc.o
`test
-f 'alloc.c' || echo './'`alloc.c
mv -f .deps/speech_dispatcher-alloc.Tpo .deps/speech_dispatcher-alloc.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-compare.o -MD -MP -MF
.deps/speech_dispatcher-compare.Tpo -c -o speech_dispatcher-compare.o
`test -f 'compare.c' || echo './'`compare.c
mv -f .deps/speech_dispatcher-compare.Tpo .deps/speech_dispatcher-compare.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-speaking.o -MD -MP -MF
.deps/speech_dispatcher-speaking.Tpo -c -o speech_dispatcher-speakin
g.o `test -f 'speaking.c' || echo './'`speaking.c
speaking.c: In function ?speaking_stop_all?:
speaking.c:444:6: warning: variable ?gid? set but not used
[-Wunused-but-set-variable]
 int gid = -1;
     ^
speaking.c: In function ?is_sb_speaking?:
speaking.c:665:6: warning: variable ?ret? set but not used
[-Wunused-but-set-variable]
 int ret;
     ^
mv -f .deps/speech_dispatcher-speaking.Tpo .deps/speech_dispatcher-speaking.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-options.o -MD -MP -MF
.deps/speech_dispatcher-options.Tpo -c -o speech_dispatcher-options.o
`test -f 'options.c' || echo './'`options.c
mv -f .deps/speech_dispatcher-options.Tpo .deps/speech_dispatcher-options.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-output.o -MD -MP -MF
.deps/speech_dispatcher-output.Tpo -c -o speech_dispatcher-output.o `t
est -f 'output.c' || echo './'`output.c
output.c: In function ?output_get_voices?:
output.c:285:6: warning: variable ?ret? set but not used
[-Wunused-but-set-variable]
 int ret = 0;
     ^
mv -f .deps/speech_dispatcher-output.Tpo .deps/speech_dispatcher-output.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-sem_functions.o -MD -MP -MF
.deps/speech_dispatcher-sem_functions.Tpo -c -o speech_dispatch
er-sem_functions.o `test -f 'sem_functions.c' || echo './'`sem_functions.c
mv -f .deps/speech_dispatcher-sem_functions.Tpo
.deps/speech_dispatcher-sem_functions.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include/
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -pthread
-I/usr/include
/glib-2.0 -I/usr/lib/glib-2.0/include
-DSYS_CONF=\"/usr/local/etc/speech-dispatcher\"
-DSND_DATA=\"/usr/local/share/sounds/speech-dispatcher\"
-DMODULEBINDIR=\"/usr/local/lib/speech-dispat
cher-modules\" -D_GNU_SOURCE -DDEFAULT_AUDIO_METHOD=\"pulse\"  -Wall
-g -O2 -MT speech_dispatcher-index_marking.o -MD -MP -MF
.deps/speech_dispatcher-index_marking.Tpo -c -o speech_dispatch
er-index_marking.o `test -f 'index_marking.c' || echo './'`index_marking.c
mv -f .deps/speech_dispatcher-index_marking.Tpo
.deps/speech_dispatcher-index_marking.Po
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2
-rdynamic  -o speech-dispatcher speech_dispatcher-speechd.o
speech_dispatcher-server.o speech_dispatcher-history.o speech_disp
atcher-module.o speech_dispatcher-configuration.o
speech_dispatcher-parse.o speech_dispatcher-set.o
speech_dispatcher-alloc.o speech_dispatcher-compare.o
speech_dispatcher-speaking.o speech
_dispatcher-options.o speech_dispatcher-output.o
speech_dispatcher-sem_functions.o speech_dispatcher-index_marking.o
../../src/common/libcommon.la -ldotconf  -lglib-2.0
-Wl,--export-dynami
c -lgmodule-2.0 -pthread -lglib-2.0  -lgthread-2.0 -pthread -lglib-2.0
  -lltdl -lpthread -lm
libtool: link: gcc -Wall -g -O2 -rdynamic -o speech-dispatcher
speech_dispatcher-speechd.o speech_dispatcher-server.o
speech_dispatcher-history.o speech_dispatcher-module.o
speech_dispatche
r-configuration.o speech_dispatcher-parse.o speech_dispatcher-set.o
speech_dispatcher-alloc.o speech_dispatcher-compare.o
speech_dispatcher-speaking.o speech_dispatcher-options.o speech_dis
patcher-output.o speech_dispatcher-sem_functions.o
speech_dispatcher-index_marking.o -Wl,--export-dynamic -pthread
-pthread  ../../src/common/.libs/libcommon.a -ldotconf -lgmodule-2.0
-lgth
read-2.0 -lglib-2.0 -lltdl -lpthread -lm -pthread
make[3]: Leaving directory '/home/jeremy/devel/other/speechd/src/server'
Making all in audio
make[3]: Entering directory '/home/jeremy/devel/other/speechd/src/audio'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../../include/  -I/usr/include/alsa    -g -O2 -MT sp
d_alsa_la-alsa.lo -MD -MP -MF .deps/spd_alsa_la-alsa.Tpo -c -o
spd_alsa_la-alsa.lo `test -f 'alsa.c' || echo './'`alsa.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-I/usr/include/alsa -g -O2 -MT spd_alsa_la-alsa.lo -MD -MP -MF .deps/
spd_alsa_la-alsa.Tpo -c alsa.c  -fPIC -DPIC -o .libs/spd_alsa_la-alsa.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-I/usr/include/alsa -g -O2 -MT spd_alsa_la-alsa.lo -MD -MP -MF .deps/
spd_alsa_la-alsa.Tpo -c alsa.c -o spd_alsa_la-alsa.o >/dev/null 2>&1
mv -f .deps/spd_alsa_la-alsa.Tpo .deps/spd_alsa_la-alsa.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -module
-avoid-version  -o spd_alsa.la -rpath /usr/local/lib/speech-dispatcher
spd_alsa_la-alsa.lo -lasound  -lglib-2.0  -lltdl -lp
thread -lm
libtool: link: gcc -shared  -fPIC -DPIC  .libs/spd_alsa_la-alsa.o
-lasound -lglib-2.0 -lltdl -lpthread -lm  -g -O2   -Wl,-soname
-Wl,spd_alsa.so -o .libs/spd_alsa.so
libtool: link: ar cru .libs/spd_alsa.a  spd_alsa_la-alsa.o
libtool: link: ranlib .libs/spd_alsa.a
libtool: link: ( cd ".libs" && rm -f "spd_alsa.la" && ln -s
"../spd_alsa.la" "spd_alsa.la" )
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../../include/     -g -O2 -MT spd_libao_la-libao.lo
-MD -MP -MF .deps/spd_libao_la-libao.Tpo -c -o spd_libao_la-libao.lo
`test -f 'libao.c' || echo './'`libao.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-g -O2 -MT spd_libao_la-libao.lo -MD -MP -MF .deps/spd_libao_la-libao
.Tpo -c libao.c  -fPIC -DPIC -o .libs/spd_libao_la-libao.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-g -O2 -MT spd_libao_la-libao.lo -MD -MP -MF .deps/spd_libao_la-libao
.Tpo -c libao.c -o spd_libao_la-libao.o >/dev/null 2>&1
mv -f .deps/spd_libao_la-libao.Tpo .deps/spd_libao_la-libao.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -module
-avoid-version  -o spd_libao.la -rpath
/usr/local/lib/speech-dispatcher spd_libao_la-libao.lo -lao
-lglib-2.0  -lltdl -lpt
hread -lm
libtool: link: gcc -shared  -fPIC -DPIC  .libs/spd_libao_la-libao.o
-lao -lglib-2.0 -lltdl -lpthread -lm  -g -O2   -Wl,-soname
-Wl,spd_libao.so -o .libs/spd_libao.so
libtool: link: ar cru .libs/spd_libao.a  spd_libao_la-libao.o
libtool: link: ranlib .libs/spd_libao.a
libtool: link: ( cd ".libs" && rm -f "spd_libao.la" && ln -s
"../spd_libao.la" "spd_libao.la" )
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../../include/   -g -O2 -MT spd_oss_la-oss.lo -MD -M
P -MF .deps/spd_oss_la-oss.Tpo -c -o spd_oss_la-oss.lo `test -f
'oss.c' || echo './'`oss.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-g -O2 -MT spd_oss_la-oss.lo -MD -MP -MF .deps/spd_oss_la-oss.Tpo -c
oss.c  -fPIC -DPIC -o .libs/spd_oss_la-oss.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-g -O2 -MT spd_oss_la-oss.lo -MD -MP -MF .deps/spd_oss_la-oss.Tpo -c
oss.c -o spd_oss_la-oss.o >/dev/null 2>&1
mv -f .deps/spd_oss_la-oss.Tpo .deps/spd_oss_la-oss.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -module
-avoid-version  -o spd_oss.la -rpath /usr/local/lib/speech-dispatcher
spd_oss_la-oss.lo -lglib-2.0  -lltdl -lpthread -lm
libtool: link: gcc -shared  -fPIC -DPIC  .libs/spd_oss_la-oss.o
-lglib-2.0 -lltdl -lpthread -lm  -g -O2   -Wl,-soname -Wl,spd_oss.so
-o .libs/spd_oss.so
libtool: link: ar cru .libs/spd_oss.a  spd_oss_la-oss.o
libtool: link: ranlib .libs/spd_oss.a
libtool: link: ( cd ".libs" && rm -f "spd_oss.la" && ln -s
"../spd_oss.la" "spd_oss.la" )
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I../../include/  -D_REENTRANT    -g -O2 -MT spd_pulse
_la-pulse.lo -MD -MP -MF .deps/spd_pulse_la-pulse.Tpo -c -o
spd_pulse_la-pulse.lo `test -f 'pulse.c' || echo './'`pulse.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-D_REENTRANT -g -O2 -MT spd_pulse_la-pulse.lo -MD -MP -MF .deps/spd_p
ulse_la-pulse.Tpo -c pulse.c  -fPIC -DPIC -o .libs/spd_pulse_la-pulse.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../../include/
-D_REENTRANT -g -O2 -MT spd_pulse_la-pulse.lo -MD -MP -MF .deps/spd_p
ulse_la-pulse.Tpo -c pulse.c -o spd_pulse_la-pulse.o >/dev/null 2>&1
mv -f .deps/spd_pulse_la-pulse.Tpo .deps/spd_pulse_la-pulse.Plo
/bin/sh ../../libtool  --tag=CC   --mode=link gcc  -g -O2 -module
-avoid-version  -o spd_pulse.la -rpath
/usr/local/lib/speech-dispatcher spd_pulse_la-pulse.lo -lpulse-simple
-lpulse  -lgli
b-2.0  -lltdl -lpthread -lm
libtool: link: gcc -shared  -fPIC -DPIC  .libs/spd_pulse_la-pulse.o
-lpulse-simple -lpulse -lglib-2.0 -lltdl -lpthread -lm  -g -O2
-Wl,-soname -Wl,spd_pulse.so -o .libs/spd_pulse.so
libtool: link: ar cru .libs/spd_pulse.a  spd_pulse_la-pulse.o
libtool: link: ranlib .libs/spd_pulse.a
libtool: link: ( cd ".libs" && rm -f "spd_pulse.la" && ln -s
"../spd_pulse.la" "spd_pulse.la" )
make[3]: Leaving directory '/home/jeremy/devel/other/speechd/src/audio'
Making all in modules
make[3]: Entering directory '/home/jeremy/devel/other/speechd/src/modules'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT dummy.o -MD -MP -MF
.deps/dummy.Tpo -c -o dummy.o dummy.c
mv -f .deps/dummy.Tpo .deps/dummy.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT spd_audio.o -MD -MP
-MF .deps/spd_audio.Tpo -c -o spd_audio.o spd_audio
.c
mv -f .deps/spd_audio.Tpo .deps/spd_audio.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT module_main.o -MD -MP
-MF .deps/module_main.Tpo -c -o module_main.o mod
ule_main.c
module_main.c: In function ?main?:
module_main.c:80:2: warning: ?g_thread_init? is deprecated (declared
at /usr/include/glib-2.0/glib/deprecated/gthread.h:265)
[-Wdeprecated-declarations]
 g_thread_init(NULL);
 ^
mv -f .deps/module_main.Tpo .deps/module_main.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT module_utils.o -MD
-MP -MF .deps/module_utils.Tpo -c -o module_utils.o
module_utils.c
mv -f .deps/module_utils.Tpo .deps/module_utils.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT
module_utils_addvoice.o -MD -MP -MF .deps/module_utils_addvoice.Tpo -c
-o module_utils_addvoice.o module_utils_addvoice.c
mv -f .deps/module_utils_addvoice.Tpo .deps/module_utils_addvoice.Po
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2   -o
sd_dummy dummy.o spd_audio.o module_main.o module_utils.o
module_utils_addvoice.o ../../src/common/libcommon.la -dlopen f
orce -dlopen ../audio/spd_pulse.la -dlopen ../audio/spd_libao.la
-dlopen ../audio/spd_alsa.la -dlopen ../audio/spd_oss.la -lsndfile
-ldotconf  -lglib-2.0  -lgthread-2.0 -pthread -lglib-2.0
 -lltdl -lpthread -lm
libtool: link: rm -f .libs/sd_dummy.nm .libs/sd_dummy.nmS .libs/sd_dummy.nmT
libtool: link: rm -f ".libs/sd_dummy.nmI"
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "sd_dummyS.c")
libtool: link: rm -f ".libs/sd_dummyS.c" ".libs/sd_dummy.nm"
".libs/sd_dummy.nmS" ".libs/sd_dummy.nmT" ".libs/sd_dummy.nmI"
libtool: link: gcc -Wall -g -O2 -o sd_dummy dummy.o spd_audio.o
module_main.o module_utils.o module_utils_addvoice.o .libs/sd_dummyS.o
-pthread -Wl,--export-dynamic  ../../src/common/.libs/
libcommon.a -lsndfile -ldotconf -lgthread-2.0 -lglib-2.0 -lltdl
-lpthread -lm -pthread
libtool: link: rm -f ".libs/sd_dummyS.o"
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT generic.o -MD -MP -MF
.deps/generic.Tpo -c -o generic.o generic.c
mv -f .deps/generic.Tpo .deps/generic.Po
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2   -o
sd_generic generic.o spd_audio.o module_main.o module_utils.o
module_utils_addvoice.o ../../src/common/libcommon.la -dlop
en force -dlopen ../audio/spd_pulse.la -dlopen ../audio/spd_libao.la
-dlopen ../audio/spd_alsa.la -dlopen ../audio/spd_oss.la -lsndfile
-ldotconf  -lglib-2.0  -lgthread-2.0 -pthread -lglib
-2.0  -lltdl -lpthread -lm
libtool: link: rm -f .libs/sd_generic.nm .libs/sd_generic.nmS
.libs/sd_generic.nmT
libtool: link: rm -f ".libs/sd_generic.nmI"
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "sd_genericS.c")
libtool: link: rm -f ".libs/sd_genericS.c" ".libs/sd_generic.nm"
".libs/sd_generic.nmS" ".libs/sd_generic.nmT" ".libs/sd_generic.nmI"
libtool: link: gcc -Wall -g -O2 -o sd_generic generic.o spd_audio.o
module_main.o module_utils.o module_utils_addvoice.o
.libs/sd_genericS.o -pthread -Wl,--export-dynamic  ../../src/common/
.libs/libcommon.a -lsndfile -ldotconf -lgthread-2.0 -lglib-2.0 -lltdl
-lpthread -lm -pthread
libtool: link: rm -f ".libs/sd_genericS.o"
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT festival.o -MD -MP
-MF .deps/festival.Tpo -c -o festival.o festival.c
festival.c: In function ?cache_debug_foreach_list_score?:
festival.c:966:9: warning: variable ?t? set but not used
[-Wunused-but-set-variable]
 time_t t;
        ^
mv -f .deps/festival.Tpo .deps/festival.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT festival_client.o -MD
-MP -MF .deps/festival_client.Tpo -c -o festival_
client.o festival_client.c
mv -f .deps/festival_client.Tpo .deps/festival_client.Po
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2   -o
sd_festival festival.o festival_client.o spd_audio.o module_main.o
module_utils.o ../../src/common/libcommon.la -dlopen f
orce -dlopen ../audio/spd_pulse.la -dlopen ../audio/spd_libao.la
-dlopen ../audio/spd_alsa.la -dlopen ../audio/spd_oss.la -lsndfile
-ldotconf  -lglib-2.0  -lgthread-2.0 -pthread -lglib-2.0
  -lltdl -lpthread -lm
libtool: link: rm -f .libs/sd_festival.nm .libs/sd_festival.nmS
.libs/sd_festival.nmT
libtool: link: rm -f ".libs/sd_festival.nmI"
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "sd_festivalS.c")
libtool: link: rm -f ".libs/sd_festivalS.c" ".libs/sd_festival.nm"
".libs/sd_festival.nmS" ".libs/sd_festival.nmT"
".libs/sd_festival.nmI"
libtool: link: gcc -Wall -g -O2 -o sd_festival festival.o
festival_client.o spd_audio.o module_main.o module_utils.o
.libs/sd_festivalS.o -pthread -Wl,--export-dynamic
../../src/common/.li
bs/libcommon.a -lsndfile -ldotconf -lgthread-2.0 -lglib-2.0 -lltdl
-lpthread -lm -pthread
libtool: link: rm -f ".libs/sd_festivalS.o"
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT cicero.o -MD -MP -MF
.deps/cicero.Tpo -c -o cicero.o cicero.c
mv -f .deps/cicero.Tpo .deps/cicero.Po
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2   -o
sd_cicero cicero.o spd_audio.o module_main.o module_utils.o
../../src/common/libcommon.la -dlopen force -dlopen ../audio/
spd_pulse.la -dlopen ../audio/spd_libao.la -dlopen
../audio/spd_alsa.la -dlopen ../audio/spd_oss.la -lsndfile  -ldotconf
-lglib-2.0  -lgthread-2.0 -pthread -lglib-2.0  -lltdl -lpthread -lm

libtool: link: rm -f .libs/sd_cicero.nm .libs/sd_cicero.nmS .libs/sd_cicero.nmT
libtool: link: rm -f ".libs/sd_cicero.nmI"
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "sd_ciceroS.c")
libtool: link: rm -f ".libs/sd_ciceroS.c" ".libs/sd_cicero.nm"
".libs/sd_cicero.nmS" ".libs/sd_cicero.nmT" ".libs/sd_cicero.nmI"
libtool: link: gcc -Wall -g -O2 -o sd_cicero cicero.o spd_audio.o
module_main.o module_utils.o .libs/sd_ciceroS.o -pthread
-Wl,--export-dynamic  ../../src/common/.libs/libcommon.a -lsndfile
-ldotconf -lgthread-2.0 -lglib-2.0 -lltdl -lpthread -lm -pthread
libtool: link: rm -f ".libs/sd_ciceroS.o"
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../include
-DDATADIR=\"/usr/local/share/sounds/speech-dispatcher\" -D_GNU_SOURCE
-DPLUGIN_DIR="\"/usr/local/lib/speech-dispatcher\""  -I/usr/include/gl
ib-2.0 -I/usr/lib/glib-2.0/include  -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include     -Wall -g -O2 -MT espeak.o -MD -MP -MF
.deps/espeak.Tpo -c -o espeak.o espeak.c
espeak.c: In function ?module_init?:
espeak.c:233:3: warning: ?g_thread_init? is deprecated (declared at
/usr/include/glib-2.0/glib/deprecated/gthread.h:265)
[-Wdeprecated-declarations]
  g_thread_init(NULL);
  ^
espeak.c: In function ?synth_callback?:
espeak.c:793:11: warning: variable ?result? set but not used
[-Wunused-but-set-variable]
 gboolean result = FALSE;
          ^
mv -f .deps/espeak.Tpo .deps/espeak.Po
/bin/sh ../../libtool  --tag=CC   --mode=link gcc -Wall -g -O2   -o
sd_espeak espeak.o spd_audio.o module_main.o module_utils.o
../../src/common/libcommon.la -dlopen force -dlopen ../audio/
spd_pulse.la -dlopen ../audio/spd_libao.la -dlopen
../audio/spd_alsa.la -dlopen ../audio/spd_oss.la -lespeak  -lsndfile
-ldotconf  -lglib-2.0  -lgthread-2.0 -pthread -lglib-2.0  -lltdl -lp
thread -lm
libtool: link: rm -f .libs/sd_espeak.nm .libs/sd_espeak.nmS .libs/sd_espeak.nmT
libtool: link: rm -f ".libs/sd_espeak.nmI"
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "sd_espeakS.c")
libtool: link: rm -f ".libs/sd_espeakS.c" ".libs/sd_espeak.nm"
".libs/sd_espeak.nmS" ".libs/sd_espeak.nmT" ".libs/sd_espeak.nmI"
libtool: link: gcc -Wall -g -O2 -o sd_espeak espeak.o spd_audio.o
module_main.o module_utils.o .libs/sd_espeakS.o -pthread
-Wl,--export-dynamic  ../../src/common/.libs/libcommon.a -lespeak
-lsndfile -ldotconf -lgthread-2.0 -lglib-2.0 -lltdl -lpthread -lm -pthread
libtool: link: rm -f ".libs/sd_espeakS.o"
make[3]: Leaving directory '/home/jeremy/devel/other/speechd/src/modules'
Making all in api
make[3]: Entering directory '/home/jeremy/devel/other/speechd/src/api'
Making all in c
make[4]: Entering directory '/home/jeremy/devel/other/speechd/src/api/c'
Makefile:400: *** Recursive variable 'srcdir' references itself
(eventually).  Stop.
make[4]: Leaving directory '/home/jeremy/devel/other/speechd/src/api/c'
Makefile:431: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/jeremy/devel/other/speechd/src/api'
Makefile:429: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/jeremy/devel/other/speechd/src'
Makefile:534: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jeremy/devel/other/speechd'
Makefile:443: recipe for target 'all' failed
make: *** [all] Error 2

Not sure what's causing the make error, but without this patch it
builds fine. I'm using gcc 4.9.2 automake 1.15 and make 4.1 in case
that is different than what you're using Luke.

thanks,
Jeremy


On Mon, May 18, 2015 at 10:21 AM, Jeremy Whiting <jpwhiting at kde.org> wrote:
> That should work. I'll give it a try locally to see how well and what
> the results are, etc.
>
> On Thu, May 14, 2015 at 11:33 PM, Luke Yelavich
> <luke.yelavich at canonical.com> wrote:
>> From: Luke Yelavich <themuso at themuso.com>
>>
>> Split the version into major/minor/micro versions and make the
>> split version available to clients using the C API, so they can check
>> for functionality based on the micro version if required.
>> ---
>>  Makefile.am                       |  2 +-
>>  configure.ac                      |  8 ++++++++
>>  split-version.sh                  | 25 +++++++++++++++++++++++++
>>  src/api/c/Makefile.am             | 20 +++++++++++++++++++-
>>  src/api/c/libspeechd.h            |  2 ++
>>  src/api/c/libspeechd_version.h.in | 31 +++++++++++++++++++++++++++++++
>>  6 files changed, 86 insertions(+), 2 deletions(-)
>>  create mode 100755 split-version.sh
>>  create mode 100644 src/api/c/libspeechd_version.h.in
>>
>> diff --git a/Makefile.am b/Makefile.am
>> index 4b59d14..2a36060 100644
>> --- a/Makefile.am
>> +++ b/Makefile.am
>> @@ -7,7 +7,7 @@ BUILT_SOURCES = $(top_srcdir)/.version
>>
>>  SUBDIRS= include src config doc po
>>
>> -EXTRA_DIST= ANNOUNCE BUGS FAQ README.packagers README.translators 
>> README.style build.sh git-version-gen
>> +EXTRA_DIST= ANNOUNCE BUGS FAQ README.packagers README.translators 
>> README.style build.sh git-version-gen split-version.sh
>>
>>  MAINTAINERCLEANFILES=configure
>>
>> diff --git a/configure.ac b/configure.ac
>> index 599b00d..3b9a67a 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -12,6 +12,14 @@ AC_CONFIG_HEADERS([config.h])
>>  IT_PROG_INTLTOOL([0.40.0])
>>  AM_GLIB_GNU_GETTEXT
>>
>> +# Split version number
>> +MAJOR_VERSION="$(./split-version.sh -ma)"
>> +MINOR_VERSION="$(./split-version.sh -mi)"
>> +MICRO_VERSION="$(./split-version.sh -mc)"
>> +AC_SUBST([MAJOR_VERSION])
>> +AC_SUBST([MINOR_VERSION])
>> +AC_SUBST([MICRO_VERSION])
>> +
>>  # Config test suite
>>  AC_CONFIG_TESTDIR(src/tests)
>>
>> diff --git a/split-version.sh b/split-version.sh
>> new file mode 100755
>> index 0000000..c2bc4c7
>> --- /dev/null
>> +++ b/split-version.sh
>> @@ -0,0 +1,25 @@
>> +#!/bin/sh
>> +
>> +# Small script to split out major/minor/micro versions for API version 
>> checks.
>> +VERSION=$(./git-version-gen .tarball-version)
>> +
>> +case "$1" in
>> +       -ma)
>> +               echo $VERSION | cut -f1 -d.
>> +               ;;
>> +       -mi)
>> +               echo $VERSION | cut -f2 -d. | cut -f1 -d~
>> +               ;;
>> +       -mc)
>> +               micro_version=$(echo $VERSION | cut -f3 -d.)
>> +               if test -z "$micro_version"; then
>> +                       echo 0
>> +               else
>> +                       echo $micro_version
>> +               fi
>> +               ;;
>> +       *)
>> +               echo "Usage: $0 [-ma|-mi|-mc]"
>> +               exit 1
>> +               ;;
>> +esac
>> diff --git a/src/api/c/Makefile.am b/src/api/c/Makefile.am
>> index b91fbdf..e92d9ab 100644
>> --- a/src/api/c/Makefile.am
>> +++ b/src/api/c/Makefile.am
>> @@ -1,7 +1,8 @@
>>  ## Process this file with automake to produce Makefile.in
>>
>> -spdinclude_HEADERS = libspeechd.h
>> +spdinclude_HEADERS = libspeechd.h libspeechd_version.h
>>  inc_local = -I$(top_srcdir)/include/
>> +BUILT_SOURCES = libspeechd_version.h
>>
>>  lib_LTLIBRARIES = libspeechd.la
>>  libspeechd_la_SOURCES = libspeechd.c
>> @@ -9,3 +10,20 @@ libspeechd_la_CFLAGS = $(ERROR_CFLAGS)
>>  libspeechd_la_CPPFLAGS = $(inc_local) -D_GNU_SOURCE $(GLIB_CFLAGS) 
>> -DSPD_SPAWN_CMD=\""$(prefix)/bin/speech-dispatcher"\"
>>  libspeechd_la_LDFLAGS = -version-info 
>> $(LIB_SPD_CURRENT):$(LIB_SPD_REVISION):$(LIB_SPD_AGE)
>>  libspeechd_la_LIBADD = $(GLIB_LIBS)
>> +
>> +libspeechd_version.h: $(srcdir)/libspeechd_version.h.in
>> +
>> +CLEANFILES = libspeechd_version.h
>> +
>> +EXTRA_DIST = libspeechd_version.h.in
>> +
>> +libspeechd_version.h: Makefile
>> +       rm -f $@
>> +       srcdir=; \
>> +       test -f ./address@hidden || srcdir=$(srcdir)/; \
>> +       $(edit_version) address@hidden > $@
>> +
>> +edit_version = sed \
>> +               -e 's:address@hidden@]:$(MAJOR_VERSION):' \
>> +               -e 's:address@hidden@]:$(MINOR_VERSION):' \
>> +               -e 's:address@hidden@]:$(MICRO_VERSION):'
>> diff --git a/src/api/c/libspeechd.h b/src/api/c/libspeechd.h
>> index 3c8424d..acb4f8a 100644
>> --- a/src/api/c/libspeechd.h
>> +++ b/src/api/c/libspeechd.h
>> @@ -28,6 +28,8 @@
>>  #include <stddef.h>
>>  #include <pthread.h>
>>
>> +#include "libspeechd_version.h"
>> +
>>  /*
>>   * Since the API includes speechd_types.h directly, we only need this
>>   * include if we are not being included by the API.
>> diff --git a/src/api/c/libspeechd_version.h.in 
>> b/src/api/c/libspeechd_version.h.in
>> new file mode 100644
>> index 0000000..9df8469
>> --- /dev/null
>> +++ b/src/api/c/libspeechd_version.h.in
>> @@ -0,0 +1,31 @@
>> +/*
>> + * libspeechd_version.h - Shared library for easy access to Speech 
>> Dispatcher functions (header)
>> + *
>> + * Copyright (C) 2001, 2002, 2003, 2004 Brailcom, o.p.s.
>> + *
>> + * This is free software; you can redistribute it and/or modify it
>> + * under the terms of the GNU Lesser General Public License as published by
>> + * the Free Software Foundation; either version 2.1, or (at your option)
>> + * any later version.
>> + *
>> + * This software is distributed in the hope that it will be useful,
>> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
>> + * Lesser General Public License for more details.
>> + *
>> + * You should have received a copy of the GNU Lesser General Public License
>> + * along with this package; see the file COPYING.  If not, write to
>> + * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
>> + * Boston, MA 02110-1301, USA.
>> + *
>> + * $Id: libspeechd.h,v 1.29 2008-07-30 09:47:00 hanke Exp $
>> + */
>> +
>> +#ifndef _LIBSPEECHD_VERSION_H
>> +#define _LIBSPEECHD_VERSION_H
>> +
>> +#define LIBSPEECHD_MAJOR_VERSION @LIBSPEECHD_MAJOR_VERSION@
>> +#define LIBSPEECHD_MINOR_VERSION @LIBSPEECHD_MINOR_VERSION@
>> +#define LIBSPEECHD_MICRO_VERSION @LIBSPEECHD_MICRO_VERSION@
>> +
>> +#endif /* ifndef _LIBSPEECHD_VERSION_H */
>> --
>> 2.1.4
>>
>>
>> _______________________________________________
>> Speechd mailing list
>> Speechd at lists.freebsoft.org
>> http://lists.freebsoft.org/mailman/listinfo/speechd



reply via email to

[Prev in Thread] Current Thread [Next in Thread]