[Midnightbsd-cvs] mports [24635] trunk/accessibility: remove old accessibility ports.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Nov 21 20:50:21 EST 2018
Revision: 24635
http://svnweb.midnightbsd.org/mports/?rev=24635
Author: laffer1
Date: 2018-11-21 20:50:21 -0500 (Wed, 21 Nov 2018)
Log Message:
-----------
remove old accessibility ports. add yasr and eflite
Modified Paths:
--------------
trunk/accessibility/Makefile
Added Paths:
-----------
trunk/accessibility/eflite/
trunk/accessibility/eflite/Makefile
trunk/accessibility/eflite/distinfo
trunk/accessibility/eflite/files/
trunk/accessibility/eflite/files/es.conf.sample
trunk/accessibility/eflite/files/patch-Makefile.in
trunk/accessibility/eflite/pkg-descr
trunk/accessibility/eflite/pkg-plist
trunk/accessibility/yasr/
trunk/accessibility/yasr/Makefile
trunk/accessibility/yasr/distinfo
trunk/accessibility/yasr/files/
trunk/accessibility/yasr/files/patch-yasr__main.c
trunk/accessibility/yasr/files/pkg-message.in
trunk/accessibility/yasr/pkg-descr
Removed Paths:
-------------
trunk/accessibility/at-spi/
trunk/accessibility/at-spi-reference/
trunk/accessibility/atk-reference/
trunk/accessibility/gnome-mag/
trunk/accessibility/gnome-speech/
Modified: trunk/accessibility/Makefile
===================================================================
--- trunk/accessibility/Makefile 2018-11-22 01:43:12 UTC (rev 24634)
+++ trunk/accessibility/Makefile 2018-11-22 01:50:21 UTC (rev 24635)
@@ -2,17 +2,13 @@
COMMENT = Ports to help disabled users
-SUBDIR += at-spi
-SUBDIR += at-spi-reference
SUBDIR += at-spi2-atk
SUBDIR += at-spi2-core
SUBDIR += atk
-SUBDIR += atk-reference
SUBDIR += atkmm
SUBDIR += caribou
SUBDIR += dasher
-SUBDIR += gnome-mag
-SUBDIR += gnome-speech
+SUBDIR += eflite
SUBDIR += gok
SUBDIR += linux-f10-atk
SUBDIR += mousetweaks
@@ -21,5 +17,6 @@
SUBDIR += py3-atspi
SUBDIR += qt4-accessible
SUBDIR += speech-dispatcher
+SUBDIR += yasr
.include <bsd.port.subdir.mk>
Added: trunk/accessibility/eflite/Makefile
===================================================================
--- trunk/accessibility/eflite/Makefile (rev 0)
+++ trunk/accessibility/eflite/Makefile 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,57 @@
+# $MidnightBSD$
+
+PORTNAME= eflite
+PORTVERSION= 0.4.1
+CATEGORIES= accessibility
+MASTER_SITES= SF
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Speech server for Festival Lite used by yasr and Emacspeak
+
+BUILD_DEPENDS= flite:audio/flite
+RUN_DEPENDS= flite:audio/flite
+
+LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake
+GNU_CONFIGURE= yes
+ALL_TARGET= eflite
+
+CONFIGURE_ARGS+= --with-audio=freebsd
+.if defined(FL_LANG)
+CONFIGURE_ARGS+= --with-lang=${FL_LANG}
+.endif
+.if defined(FL_LEX)
+CONFIGURE_ARGS+= --with-lex=${FL_LEX}
+.endif
+.if defined(FL_VOX)
+CONFIGURE_ARGS+= --with-vox=${FL_VOX}
+.else
+CONFIGURE_ARGS+= --with-vox=cmu_us_kal16
+.endif
+
+CONFIGURE_ENV+= flite_dir=${LOCALBASE}
+
+PLIST_FILES= bin/eflite
+PORTDOCS= AUTHORS CREDITS ChangeLog INSTALL README
+
+OPTIONS_DEFINE= DOCS
+
+pre-fetch:
+.ifdef!(FL_LANG || FL_LEX || FL_VOX)
+ @${ECHO_MSG} "===> You can set FL_LANG, FL_LEX and/or FL_VOX"
+ @${ECHO_MSG} " to link the appropriate libflite_* libraries"
+ @${ECHO_MSG} " (i.e. \"make FL_VOX=cmu_us_kal\".)"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/es\.conf|${PREFIX}/etc/es.conf|' ${WRKSRC}/es.c
+ @${REINPLACE_CMD} -e 's|/etc/es\.conf|${PREFIX}/etc/es.conf|;s|sockname|socketfile|g' ${WRKSRC}/INSTALL
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/es.conf.sample ${STAGEDIR}${PREFIX}/etc
+
+.include <bsd.port.mk>
Property changes on: trunk/accessibility/eflite/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/eflite/distinfo
===================================================================
--- trunk/accessibility/eflite/distinfo (rev 0)
+++ trunk/accessibility/eflite/distinfo 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,2 @@
+SHA256 (eflite-0.4.1.tar.gz) = 91ad85855e55a3fc3b97a1a525db5fd1d211d54342bbfc88d1026813104f1721
+SIZE (eflite-0.4.1.tar.gz) = 63192
Property changes on: trunk/accessibility/eflite/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/eflite/files/es.conf.sample
===================================================================
--- trunk/accessibility/eflite/files/es.conf.sample (rev 0)
+++ trunk/accessibility/eflite/files/es.conf.sample 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,7 @@
+socketfile=/tmp/es.socket
+punct_some=@#$%^&_[]{}\|
+punct_all=!@#$%^&*()-=_+[]\|{};':",./<>?
+speech_volume=1000
+tone_volume=8192
+speaker_tones=1
+soundcard_tones=1
Property changes on: trunk/accessibility/eflite/files/es.conf.sample
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/eflite/files/patch-Makefile.in
===================================================================
--- trunk/accessibility/eflite/files/patch-Makefile.in (rev 0)
+++ trunk/accessibility/eflite/files/patch-Makefile.in 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,21 @@
+--- Makefile.in.orig 2007-01-19 00:01:09 UTC
++++ Makefile.in
+@@ -34,7 +34,7 @@ eflite: fs.o es.o soccon.o sockopen.o to
+ $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) $(FLITE_LIBS) $(AUDIOLIBS)
+
+ fs.o: fs.c
+- $(CC) $(CFLAGS) @AUDIODEFS@ -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(subst cmu_us_kal16,cmu_us_kal,$(FL_VOX)) -DSTANDALONE -DEFLITE -c -o $@ $<
++ $(CC) $(CFLAGS) @AUDIODEFS@ -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(FL_VOX) -DSTANDALONE -DEFLITE -c -o $@ $<
+
+ tone.o: tone.c
+ $(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $<
+@@ -55,7 +55,8 @@ ifneq (,$(wildcard *.o))
+ endif
+
+ install: eflite
+- mkdir -p $(exec_prefix)/bin && install -c -m 0755 $< $(exec_prefix)/bin
++ mkdir -p $(DESTDIR)$(exec_prefix)/bin
++ $(BSD_INSTALL_PROGRAM) $< $(DESTDIR)$(exec_prefix)/bin
+
+ test: eflite
+ ./eflite -f eflite_test.txt
Property changes on: trunk/accessibility/eflite/files/patch-Makefile.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/eflite/pkg-descr
===================================================================
--- trunk/accessibility/eflite/pkg-descr (rev 0)
+++ trunk/accessibility/eflite/pkg-descr 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,12 @@
+EFlite is a speech server for Emacspeak and other screen readers that allows
+them to interface with Festival Lite, a free text-to-speech engine developed at
+the CMU Speech Center as an off-shoot of Festival. EFlite is still in beta,
+but I have been using it successfully with Yasr to get speech on my notebook
+under Linux without having to lug my Speak-out around. It uses Festival Lite's
+code to interface with the sound driver and, therefore, should work with some
+versions of ALSA, but I have only tested it with the OSS sound drivers so far.
+Michael P. Gorse
+mgorse at alum.wpi.edu
+mgorse at users.sf.net
+
+WWW: http://eflite.sourceforge.net/
Property changes on: trunk/accessibility/eflite/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/eflite/pkg-plist
===================================================================
--- trunk/accessibility/eflite/pkg-plist (rev 0)
+++ trunk/accessibility/eflite/pkg-plist 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1 @@
+ at sample etc/es.conf.sample
Property changes on: trunk/accessibility/eflite/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/yasr/Makefile
===================================================================
--- trunk/accessibility/yasr/Makefile (rev 0)
+++ trunk/accessibility/yasr/Makefile 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,40 @@
+# $MidnightBSD$
+
+PORTNAME= yasr
+PORTVERSION= 0.6.9
+CATEGORIES= accessibility
+MASTER_SITES= SF
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= General-purpose console screen reader
+
+LICENSE= lgpl
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake
+GNU_CONFIGURE= yes
+PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
+ README-br README-de README-es README-fr README-ru
+SUB_FILES= pkg-message
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
+
+PLIST_FILES= bin/yasr \
+ man/man1/yasr.1.gz \
+ %%DATADIR%%/yasr.conf \
+ %%NLS%%share/locale/es/LC_MESSAGES/yasr.mo \
+ %%NLS%%share/locale/fr/LC_MESSAGES/yasr.mo
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/bin/bash|/bin/csh|' ${WRKSRC}/yasr.conf
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>
Property changes on: trunk/accessibility/yasr/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/yasr/distinfo
===================================================================
--- trunk/accessibility/yasr/distinfo (rev 0)
+++ trunk/accessibility/yasr/distinfo 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,2 @@
+SHA256 (yasr-0.6.9.tar.gz) = 41f17cfab8e88824a8dc1476602a0944b9030a8f8da2538a7a6549e3534e3bdf
+SIZE (yasr-0.6.9.tar.gz) = 235768
Property changes on: trunk/accessibility/yasr/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/yasr/files/patch-yasr__main.c
===================================================================
--- trunk/accessibility/yasr/files/patch-yasr__main.c (rev 0)
+++ trunk/accessibility/yasr/files/patch-yasr__main.c 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,14 @@
+--- yasr/main.c.orig 2007-09-23 00:46:58 UTC
++++ yasr/main.c
+@@ -24,11 +24,7 @@
+
+ #include "yasr.h"
+ #include "term.h"
+-#include <utmp.h>
+-#ifdef HAVE_UTMPX_H
+ #include <utmpx.h>
+-#endif
+-#define UTMP_HACK
+ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
Property changes on: trunk/accessibility/yasr/files/patch-yasr__main.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/yasr/files/pkg-message.in
===================================================================
--- trunk/accessibility/yasr/files/pkg-message.in (rev 0)
+++ trunk/accessibility/yasr/files/pkg-message.in 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,26 @@
+==============================================================================
+
+Yasr requires a text-to-speech engine to work. FreeBSD offers two: Festival
+and FLite (Festival Lite). Edit the system configuration file
+%%DATADIR%%/yasr.conf
+or user configuration file ~/.yasr.conf and set "synthesizer" and
+"synthesizer port".
+
+NOTE: To use FLite requires the Emacspeak speech server eflite to be
+installed.
+
+EXAMPLES:
+
+Festival
+ synthesizer=festival
+ sythesizer port=|%%LOCALBASE%%/bin/festival
+Festival running as a server
+ synthesizer=festival
+ synthesizer port=127.0.0.1:1314
+FLite
+ synthesizer=Emacspeak server
+ synthesizer port=|%%LOCALBASE%%/bin/eflite
+
+See man page for more information.
+
+==============================================================================
Property changes on: trunk/accessibility/yasr/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/accessibility/yasr/pkg-descr
===================================================================
--- trunk/accessibility/yasr/pkg-descr (rev 0)
+++ trunk/accessibility/yasr/pkg-descr 2018-11-22 01:50:21 UTC (rev 24635)
@@ -0,0 +1,9 @@
+YASR ("Yet Another Screen Reader") is an attempt at a lightweight,
+portable screen reader. It works by opening a shell in a pty and
+intercepting all user input/output, maintaining a window of what
+should be on the screen by looking at the codes and text sent to the
+screen. It thus uses no Linuxisms such as /dev/vcsa0 and does not
+necessarily need to be setuid root (the only requirement being that
+the user be able to access the tts device).
+
+WWW: http://yasr.sourceforge.net/
Property changes on: trunk/accessibility/yasr/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list