pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/eflite
Module Name: pkgsrc
Committed By: wiz
Date: Sun Feb 25 22:00:09 UTC 2024
Added Files:
pkgsrc/audio/eflite: DESCR Makefile PLIST distinfo
pkgsrc/audio/eflite/patches: patch-Makefile.in patch-fs.c
patch-soccon.c patch-sockopen.c
Log Message:
audio/eflite: import eflite-0.0.0.86
Packaged in wip by adr
Eflite is a speech server which allows screen readers like Emacspeak
or Yasrs to interact with the speech sinthesizer Flite.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/eflite/DESCR pkgsrc/audio/eflite/Makefile \
pkgsrc/audio/eflite/PLIST pkgsrc/audio/eflite/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/eflite/patches/patch-Makefile.in \
pkgsrc/audio/eflite/patches/patch-fs.c \
pkgsrc/audio/eflite/patches/patch-soccon.c \
pkgsrc/audio/eflite/patches/patch-sockopen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/audio/eflite/DESCR
diff -u /dev/null pkgsrc/audio/eflite/DESCR:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/DESCR Sun Feb 25 22:00:09 2024
@@ -0,0 +1,2 @@
+Eflite is a speech server which allows screen readers like Emacspeak
+or Yasrs to interact with the speech sinthesizer Flite.
Index: pkgsrc/audio/eflite/Makefile
diff -u /dev/null pkgsrc/audio/eflite/Makefile:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/Makefile Sun Feb 25 22:00:09 2024
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2024/02/25 22:00:09 wiz Exp $
+
+COMMITS= 86
+DISTNAME= eflite-0.0.0.${COMMITS}
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mgorse/}
+GITHUB_TAG= 21b950b64c268626351f98625fa1344b37881f1a
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/mgorse/eflite
+COMMENT= Speech server for screen readers using Festival Lite
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c
+USE_TOOLS= gmake autoconf automake autoreconf
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS+= CFLAGS="${CFLAGS} -DDO_WAVE_CANCEL"
+CONFIGURE_ARGS+= LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+= DESTDIR="${DESTDIR}"
+
+BUILD_TARGET= eflite
+
+pre-configure:
+ set -e; cd ${WRKSRC} && autoreconf -fi
+
+.include "../../audio/flite/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/eflite/PLIST
diff -u /dev/null pkgsrc/audio/eflite/PLIST:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/PLIST Sun Feb 25 22:00:09 2024
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/25 22:00:09 wiz Exp $
+bin/eflite
Index: pkgsrc/audio/eflite/distinfo
diff -u /dev/null pkgsrc/audio/eflite/distinfo:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/distinfo Sun Feb 25 22:00:09 2024
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2024/02/25 22:00:09 wiz Exp $
+
+BLAKE2s (eflite-0.0.0.86-21b950b64c268626351f98625fa1344b37881f1a.tar.gz) = 2e755246d7528c943ee5a7f1c946ac6577e2a82fb12ca62879058b8f69bcd7f3
+SHA512 (eflite-0.0.0.86-21b950b64c268626351f98625fa1344b37881f1a.tar.gz) =
1e8e272aebdce1723dd83c50f1f7c62f83f93491fc19548ec4ae40faccdcc60d7e3d0ee66c6df7922f110ae3bdca0a9b27dde6792589af25bf8cc5995698e222
+Size (eflite-0.0.0.86-21b950b64c268626351f98625fa1344b37881f1a.tar.gz) = 32390 bytes
+SHA1 (patch-Makefile.in) = f77c612548471c3465860afc9568426ee5faaca8
+SHA1 (patch-fs.c) = 21dc050709e9038b74159a4d614dac4b462eaf06
+SHA1 (patch-soccon.c) = 33074b1d582738919e7df5a735e204f2aefdfb90
+SHA1 (patch-sockopen.c) = 750cb4431307c182692a0a59e105c5be8e32e539
Index: pkgsrc/audio/eflite/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/audio/eflite/patches/patch-Makefile.in:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/patches/patch-Makefile.in Sun Feb 25 22:00:09 2024
@@ -0,0 +1,36 @@
+$NetBSD: patch-Makefile.in,v 1.1 2024/02/25 22:00:09 wiz Exp $
+
+Add DEFS to CFLAGS (for string.h)
+Use DESTDIR in install target
+
+--- Makefile.in.orig 2024-01-14 23:55:06.000000000 +0000
++++ Makefile.in
+@@ -4,7 +4,7 @@
+ # Do not hand edit.
+
+ CC = @CC@
+-CFLAGS = @CFLAGS@
++CFLAGS = @CFLAGS@ @DEFS@
+ CPPFLAGS = @CPPFLAGS@
+ DEFS = @DEFS@
+ LDFLAGS = @LDFLAGS@
+@@ -18,8 +18,8 @@ FL_LEX = @FL_LEX@
+ exec_prefix = @exec_prefix@
+ prefix = @prefix@
+ EXEEXT = @EXEEXT@
+-INSTALLBINDIR = @bindir@
+-INSTALLLIBDIR = @libdir@
++INSTALLBINDIR = $(DESTDIR)/@bindir@
++INSTALLLIBDIR = $(DESTDIR)@libdir@
+
+ #CFLAGS+= -DDEBUG=2
+ #CFLAGS+= -DDO_WAVE_CANCEL
+@@ -52,7 +52,7 @@ ifneq (,$(wildcard *.o))
+ endif
+
+ install: eflite
+- mkdir -p $(exec_prefix)/bin && install -c -m 0755 $< $(exec_prefix)/bin
++ mkdir -p $(INSTALLBINDIR) && install -c -m 0755 $< $(INSTALLBINDIR)
+
+ test: eflite
+ ./eflite -f eflite_test.txt
Index: pkgsrc/audio/eflite/patches/patch-fs.c
diff -u /dev/null pkgsrc/audio/eflite/patches/patch-fs.c:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/patches/patch-fs.c Sun Feb 25 22:00:09 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-fs.c,v 1.1 2024/02/25 22:00:09 wiz Exp $
+
+Remove useless operator (typo)
+
+--- fs.c.orig 2024-02-25 17:04:42.792873829 +0000
++++ fs.c
+@@ -902,7 +902,7 @@ static int s_clear(synth_t *s)
+ {
+ wave_thread_cancel = 1;
+ #ifdef DO_WAVE_CANCEL
+-- pthread_cancel(wave_thread);
++ pthread_cancel(wave_thread);
+ #endif
+ pthread_cond_signal(&wave_condition); // necessary because we inhibit cancellation while waiting
+ }
Index: pkgsrc/audio/eflite/patches/patch-soccon.c
diff -u /dev/null pkgsrc/audio/eflite/patches/patch-soccon.c:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/patches/patch-soccon.c Sun Feb 25 22:00:09 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-soccon.c,v 1.1 2024/02/25 22:00:09 wiz Exp $
+
+Add string.h inclusion when needed
+
+--- soccon.c.orig 2024-01-14 23:55:06.000000000 +0000
++++ soccon.c
+@@ -10,6 +10,9 @@
+ #include <arpa/inet.h>
+ #include <sys/un.h>
+ #include <unistd.h>
++#ifdef HAVE_STRING_H
++# include <string.h>
++#endif
+
+ int sockconnect_unix(const char *fname)
+ {
Index: pkgsrc/audio/eflite/patches/patch-sockopen.c
diff -u /dev/null pkgsrc/audio/eflite/patches/patch-sockopen.c:1.1
--- /dev/null Sun Feb 25 22:00:09 2024
+++ pkgsrc/audio/eflite/patches/patch-sockopen.c Sun Feb 25 22:00:09 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-sockopen.c,v 1.1 2024/02/25 22:00:09 wiz Exp $
+
+Add string.h inclusion when needed
+
+--- sockopen.c.orig 2024-01-14 23:55:06.000000000 +0000
++++ sockopen.c
+@@ -11,6 +11,9 @@
+ #include <sys/stat.h>
+ #include <sys/un.h>
+ #include <syslog.h>
++#ifdef HAVE_STRING_H
++# include <string.h>
++#endif
+
+ int sockopen_unix(const char *fname)
+ {
Home |
Main Index |
Thread Index |
Old Index