--- yasr-0.6.9.orig/debian/copyright +++ yasr-0.6.9/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Mario Lang on +Tue, 3 Jun 2003 12:30:52 +0200. + +It was downloaded from http://yasr.sourceforge.net/ + +Files: * +Copyright: © 2001-2008 Michael P. Gorse +License: LGPL-2 + +Files: debian/* +Copyright: © 2003-2004 Mario Lang + © 2009 Cyril Brulebois +License: LGPL-2 + +On Debian systems, the complete text of the GNU Library General Public +License version 2 can be found in /usr/share/common-licenses/LGPL-2 file. --- yasr-0.6.9.orig/debian/changelog +++ yasr-0.6.9/debian/changelog @@ -0,0 +1,99 @@ +yasr (0.6.9-3ubuntu1) trusty; urgency=low + + * Use autotools-dev helper for newer arches, resolving FTBFS. + + -- Daniel T Chen Mon, 17 Mar 2014 13:31:29 -0400 + +yasr (0.6.9-3) unstable; urgency=low + + [ Samuel Thibault ] + * debian/patches/40_dectalk_extended_chars: Avoid sending non-7bit + characters to dectalk, thanks Jason White for the patch! + (Closes: Bug#658667). + * control: Bump Standards-Version to 3.9.3 (no changes). + + [ Cyril Brulebois ] + * Switch to dh: + - Bump debhelper build-dep and compat to 8. + - Use override_dh_*. + - Use the quilt sequence, fixing applying/unapplying patches, and + building with build-arch (Closes: #666286). + + -- Samuel Thibault Fri, 08 Jun 2012 23:31:13 +0200 + +yasr (0.6.9-2) unstable; urgency=low + + * debian/control: + - Depend on hardening-check, add myself as uploader. + - Bump Standards-Version to 3.9.2 (no changes needed). + * debian/rules: Set DEB_BUILD_HARDENING=1 to enable hardening. + * debian/patches/20_maxpathlen: Fix hurd build. + * debian/patches/30_conf: Use speech dispatcher by default. + + -- Samuel Thibault Sat, 28 Jan 2012 21:43:29 +0100 + +yasr (0.6.9-1) unstable; urgency=low + + * New upstream release. + * ACK the previous NMU, thanks Ana! + * Update Maintainer/Uploaders: + - Set Debian Accessibility Team as Maintainer. + - Set Mario and myself as Uploaders. + * Switch to debhelper 7: + - Bump debian/compat to 7. + - B-D on debhelper >= 7. + - Get rid of cdbs. + - Introduce quilt as patch system. + - Delete debian/yasr@aclocaldir@ directory in clean. + - Pass --datadir=/etc to ./configure through dh_auto_configure. + * Add a patch to fix openpty() and forkpty() declarations: in addition + to disabling the embedded implementation of those functions, it is + needed to disable the prototypes when HAVE_OPENPTY and HAVE_FORKPTY + are set. Thanks to Peter Green for the patch (Closes: #518863): + - 10_fix_openpty_forkpty_declarations + * debian/copyright: + - Add copyright notices. + * debian/control: + - Bump Standards-Version from 3.7.2 to 3.8.1 (no changes needed). + - Add Homepage field. + - Add Vcs-{Browser,Git} fields. + * debian/docs: + - Install more upstream documentation. + * Add watch file. + + -- Cyril Brulebois Sat, 25 Apr 2009 03:32:33 +0200 + +yasr (0.6.5-1.1) unstable; urgency=high + + * Non-maintainer upload. + * Avoid ship aclocal stuff, patch by Luis Rodrigo Gallardo Cruz. + (Closes: #398107) + * Bumped standards-version to 3.7.2, no changes required. + + -- Ana Beatriz Guerrero Lopez Mon, 20 Nov 2006 02:59:44 +0100 + +yasr (0.6.5-1) unstable; urgency=low + + * New upstream release. + + -- Mario Lang Tue, 9 Mar 2004 16:12:26 +0100 + +yasr (0.6.4-1) unstable; urgency=low + + * New upstream release. + + -- Mario Lang Tue, 26 Aug 2003 13:06:19 +0200 + +yasr (0.6.3-2) unstable; urgency=low + + * Change debian/rules to set cdbs vars after including class/rule + files (Closes: Bug#198243) + + -- Mario Lang Sat, 21 Jun 2003 00:26:06 +0200 + +yasr (0.6.3-1) unstable; urgency=low + + * Initial packaging + + -- Mario Lang Tue, 3 Jun 2003 13:14:54 +0200 + --- yasr-0.6.9.orig/debian/docs +++ yasr-0.6.9/debian/docs @@ -0,0 +1,6 @@ +AUTHORS +BUGS +CREDITS +NEWS +README* +TODO --- yasr-0.6.9.orig/debian/watch +++ yasr-0.6.9/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/yasr/yasr-([0-9.]+).tar.gz --- yasr-0.6.9.orig/debian/control +++ yasr-0.6.9/debian/control @@ -0,0 +1,34 @@ +Source: yasr +Section: admin +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Accessibility Team +Uploaders: Mario Lang , Cyril Brulebois , Samuel Thibault +Build-Depends: debhelper (>= 8), quilt, hardening-wrapper, autotools-dev +Standards-Version: 3.9.3 +Homepage: http://yasr.sourceforge.net/ +Vcs-Browser: http://git.debian.org/?p=collab-maint/yasr.git +Vcs-Git: git://git.debian.org/git/collab-maint/yasr.git + +Package: yasr +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: eflite +Description: General-purpose console screen reader + Yasr is a general-purpose console screen reader for GNU/Linux and + other Unix-like operating systems. The name "yasr" is an acronym that + can stand for either "Yet Another Screen Reader" or "Your All-purpose + Screen Reader". + . + Currently, yasr attempts to support the Speak-out, DEC-talk, BNS, Apollo, + and DoubleTalk synthesizers. It is also able to communicate with + Emacspeak servers and can thus be used with synthesizers not directly + supported, such as Festival Lite (via eflite) or FreeTTS. + . + Yasr is written in C and works by opening a pseudo-terminal and running a + shell, intercepting all input and output. It looks at the escape + sequences being sent and maintains a virtual "window" containing what + it believes to be on the screen. It thus does not use any features + specific to Linux and can be ported to other Unix-like operating + systems without too much trouble. + --- yasr-0.6.9.orig/debian/compat +++ yasr-0.6.9/debian/compat @@ -0,0 +1 @@ +8 --- yasr-0.6.9.orig/debian/rules +++ yasr-0.6.9/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DEB_BUILD_HARDENING=1 + +override_dh_auto_configure: + dh_auto_configure -- --datadir=/etc + +override_dh_clean: + dh_clean + rm -rf debian/yasr@aclocaldir@ + +%: + dh $@ --with quilt,autotools_dev --- yasr-0.6.9.orig/debian/patches/20_maxpathlen +++ yasr-0.6.9/debian/patches/20_maxpathlen @@ -0,0 +1,11 @@ +--- a/yasr/config.c.orig 2011-11-28 03:56:58.764995828 +0100 ++++ a/yasr/config.c 2011-11-28 03:57:00.048967703 +0100 +@@ -60,7 +60,7 @@ + int args, arg[16], *argp; + int i, key, ln = 0, mode = 0; + char *home, *ptr, *s; +- char confname[MAXPATHLEN]; ++ char confname[strlen(PACKAGE_DATA_DIR) + 10 + 1]; + + if ((home = getenv("HOME")) != NULL) + { --- yasr-0.6.9.orig/debian/patches/30_conf +++ yasr-0.6.9/debian/patches/30_conf @@ -0,0 +1,22 @@ +Index: yasr/yasr.conf +=================================================================== +--- yasr.orig/yasr.conf 2008-01-31 14:01:50.000000000 +0100 ++++ yasr/yasr.conf 2012-01-28 21:43:09.027710410 +0100 +@@ -55,13 +55,13 @@ cursor tracking=full + #synthesizer=doubletalk + #synthesizer=bns + #synthesizer=apollo +-synthesizer=emacspeak server +-#synthesizer=speech dispatcher ++#synthesizer=emacspeak server ++synthesizer=speech dispatcher + #synthesizer port=S0 + #synthesizer port=l0 +-synthesizer port=|/usr/local/bin/eflite ++#synthesizer port=|/usr/local/bin/eflite + # Below line appropriate for Speech Dispatcher in its default configuration +-#synthesizer port=127.0.0.1:6560 ++synthesizer port=127.0.0.1:6560 + key echo=off + shell=/bin/bash + special=off --- yasr-0.6.9.orig/debian/patches/10_fix_openpty_forkpty_declarations +++ yasr-0.6.9/debian/patches/10_fix_openpty_forkpty_declarations @@ -0,0 +1,25 @@ +Disable openpty() and forkpty() prototypes when needed. +--- a/yasr/yasr.h ++++ b/yasr/yasr.h +@@ -308,8 +308,10 @@ extern void opt_set(int num, void *val); + extern void opt_queue_empty(int ll); + extern void opt_write(FILE * fp); + ++#ifndef HAVE_OPENPTY + /* openpty.c prototypes */ + extern int openpty(int *, int *, char *, struct termios *, struct winsize *); ++#endif + + /* cfmakeraw.c prototypes */ + extern void cfmakeraw(struct termios *); +@@ -317,8 +319,10 @@ extern void cfmakeraw(struct termios *); + /* login_tty.c prototypes */ + extern int login_tty(int); + ++#ifndef HAVE_FORKPTY + /* forkpty.c prototypes */ + extern int forkpty(int *, char *, struct termios *, struct winsize *); ++#endif + + /* tbc - Would it be more efficient to ensure that "blank" grids always held + ascii 0x20 rather than ascii 0x00? */ --- yasr-0.6.9.orig/debian/patches/series +++ yasr-0.6.9/debian/patches/series @@ -0,0 +1,4 @@ +10_fix_openpty_forkpty_declarations +20_maxpathlen +30_conf +40_dectalk_extended_chars --- yasr-0.6.9.orig/debian/patches/40_dectalk_extended_chars +++ yasr-0.6.9/debian/patches/40_dectalk_extended_chars @@ -0,0 +1,14 @@ +Index: yasr-0.6.9/yasr/tts.c +=================================================================== +--- yasr-0.6.9.orig/yasr/tts.c 2008-02-03 00:10:07.000000000 +1100 ++++ yasr-0.6.9/yasr/tts.c 2012-02-05 10:59:06.059007839 +1100 +@@ -281,6 +281,9 @@ + char *p = synth[tts.synth].unspeakable; + + if (ch < 32) return 1; ++ /* characters with high bit set cause DECTALK to crash */ ++ if (tts.synth == TTS_DECTALK && ch & 0x80) ++ return 1; + while (*p) + { + if (*p++ == ch) return 1;