pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/speech-dispatcher
Module Name: pkgsrc
Committed By: nia
Date: Thu Nov 28 16:18:54 UTC 2019
Modified Files:
pkgsrc/audio/speech-dispatcher: Makefile PLIST distinfo
Added Files:
pkgsrc/audio/speech-dispatcher/patches: patch-src_modules_espeak.c
Log Message:
speech-dispatcher: Various fixes.
- Add some missing dependencies.
- Use libao for sound output so more backends are available.
- Install config files to the proper location.
- Install info fiels to the proper location.
This now actually works without tweaks.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/speech-dispatcher/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/speech-dispatcher/PLIST \
pkgsrc/audio/speech-dispatcher/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/speech-dispatcher/patches/patch-src_modules_espeak.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/speech-dispatcher/Makefile
diff -u pkgsrc/audio/speech-dispatcher/Makefile:1.9 pkgsrc/audio/speech-dispatcher/Makefile:1.10
--- pkgsrc/audio/speech-dispatcher/Makefile:1.9 Thu Nov 28 13:38:06 2019
+++ pkgsrc/audio/speech-dispatcher/Makefile Thu Nov 28 16:18:54 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2019/11/28 13:38:06 nia Exp $
+# $NetBSD: Makefile,v 1.10 2019/11/28 16:18:54 nia Exp $
DISTNAME= speech-dispatcher-0.8.4
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://devel.freebsoft.org/pub/projects/speechd/
@@ -15,8 +15,20 @@ USE_LIBTOOL= yes
USE_TOOLS+= intltool pkg-config
USE_TOOLS+= msgfmt msgmerge xgettext
+INFO_FILES= yes
+
+# To avoid PLIST complexity, let the libao package select the most
+# fitting audio backend for the platform.
+CONFIGURE_ARGS+= --with-libao
+CONFIGURE_ARGS+= --without-alsa
+CONFIGURE_ARGS+= --without-nas
+CONFIGURE_ARGS+= --without-oss
+CONFIGURE_ARGS+= --without-pulse
+
PKGCONFIG_OVERRIDE+= speech-dispatcher.pc.in
+PKG_SYSCONFSUBDIR= speech-dispatcher
+
CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/clients/emacs.conf \
${PKG_SYSCONFDIR}/clients/emacs.conf
CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/cicero.conf \
@@ -48,10 +60,12 @@ CONF_FILES+= ${PREFIX}/share/examples/sp
CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/speechd.conf \
${PKG_SYSCONFDIR}/speechd.conf
+.include "../../audio/espeak/buildlink3.mk"
+.include "../../audio/flite/buildlink3.mk"
+.include "../../audio/libao/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
-.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../devel/dotconf/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/speech-dispatcher/PLIST
diff -u pkgsrc/audio/speech-dispatcher/PLIST:1.1 pkgsrc/audio/speech-dispatcher/PLIST:1.2
--- pkgsrc/audio/speech-dispatcher/PLIST:1.1 Wed Jul 20 11:51:58 2016
+++ pkgsrc/audio/speech-dispatcher/PLIST Thu Nov 28 16:18:54 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/11/28 16:18:54 nia Exp $
bin/spd-say
bin/spdsend
bin/speech-dispatcher
@@ -7,14 +7,19 @@ include/speech-dispatcher/libspeechd_ver
include/speech-dispatcher/spd_audio_plugin.h
include/speech-dispatcher/speechd_defines.h
include/speech-dispatcher/speechd_types.h
+info/spd-say.info
+info/speech-dispatcher-cs.info
+info/speech-dispatcher.info
+info/ssip.info
lib/libspeechd.la
lib/pkgconfig/speech-dispatcher.pc
lib/speech-dispatcher-modules/sd_cicero
lib/speech-dispatcher-modules/sd_dummy
+lib/speech-dispatcher-modules/sd_espeak
lib/speech-dispatcher-modules/sd_festival
+lib/speech-dispatcher-modules/sd_flite
lib/speech-dispatcher-modules/sd_generic
-lib/speech-dispatcher/spd_oss.la
-lib/speech-dispatcher/spd_pulse.la
+lib/speech-dispatcher/spd_libao.la
share/examples/speech-dispatcher/clients/emacs.conf
share/examples/speech-dispatcher/modules/cicero.conf
share/examples/speech-dispatcher/modules/dtk-generic.conf
@@ -30,11 +35,6 @@ share/examples/speech-dispatcher/modules
share/examples/speech-dispatcher/modules/pico-generic.conf
share/examples/speech-dispatcher/modules/swift-generic.conf
share/examples/speech-dispatcher/speechd.conf
-share/info/dir
-share/info/spd-say.info
-share/info/speech-dispatcher-cs.info
-share/info/speech-dispatcher.info
-share/info/ssip.info
share/sounds/speech-dispatcher/dummy-message.wav
share/speech-dispatcher/conf/clients/emacs.conf
share/speech-dispatcher/conf/modules/cicero.conf
Index: pkgsrc/audio/speech-dispatcher/distinfo
diff -u pkgsrc/audio/speech-dispatcher/distinfo:1.1 pkgsrc/audio/speech-dispatcher/distinfo:1.2
--- pkgsrc/audio/speech-dispatcher/distinfo:1.1 Wed Jul 20 11:51:58 2016
+++ pkgsrc/audio/speech-dispatcher/distinfo Thu Nov 28 16:18:54 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2019/11/28 16:18:54 nia Exp $
SHA1 (speech-dispatcher-0.8.4.tar.gz) = 0acef5da6a128f329d0edaaf5cec64e408e534f1
RMD160 (speech-dispatcher-0.8.4.tar.gz) = e2dbbc41169087a5f0ec15dc4bb5f429aa209d1c
@@ -7,3 +7,4 @@ Size (speech-dispatcher-0.8.4.tar.gz) =
SHA1 (patch-config_Makefile.in) = dd58a389bc9820d85e4fe912faff7e2cf969fa8e
SHA1 (patch-config_clients_Makefile.in) = 4c172a7c33336343b88707ae17702c80c97c28f5
SHA1 (patch-config_modules_Makefile.in) = 566c25934686d56c8e9a54cf520d121c9458bfae
+SHA1 (patch-src_modules_espeak.c) = c86d1ae94334d491d7dba2cd94a3a9aea03ebd59
Added files:
Index: pkgsrc/audio/speech-dispatcher/patches/patch-src_modules_espeak.c
diff -u /dev/null pkgsrc/audio/speech-dispatcher/patches/patch-src_modules_espeak.c:1.1
--- /dev/null Thu Nov 28 16:18:54 2019
+++ pkgsrc/audio/speech-dispatcher/patches/patch-src_modules_espeak.c Thu Nov 28 16:18:54 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_espeak.c,v 1.1 2019/11/28 16:18:54 nia Exp $
+
+Fix path to espeak header file
+
+--- src/modules/espeak.c.orig 2016-04-17 22:05:32.000000000 +0000
++++ src/modules/espeak.c
+@@ -37,7 +37,7 @@
+ #include <semaphore.h>
+
+ /* espeak header file */
+-#include <espeak/speak_lib.h>
++#include <speak_lib.h>
+ #ifndef ESPEAK_API_REVISION
+ #define ESPEAK_API_REVISION 1
+ #endif
Home |
Main Index |
Thread Index |
Old Index