debian/0000755000000000000000000000000012260074714007171 5ustar debian/README.testing0000644000000000000000000000411412231276216011524 0ustar This document describes how one could quickly test if a new package works resonably well. The idea was posted on http://lists.debian.org/debian-accessibility/2013/10/msg00026.html eBook-speaker actually can read you any text (including OCR). So far, I only test it with real ebook. I suggest to download a legally free book, e.g. some work from Edgar Allan Poe: http://www.gutenberg.org/ebooks/32037 http://openlibrary.org/books/OL7044543M/The_works_of_Edgar_Allan_Poe. eBook-speaker needs a console, so start it in a terminal window. You can run eBook-speaker straight without input and it should show you your current directory listing. Moving up and down should allow you to select any file. eBook-speaker is made for 24 lines x 80 chars, if your window is smaller, text might appear funny. Also, I try to keep the packaging such that both ebook-speaker and eBook-speaker work. The former form is preferred by me, the latter by the author of eBook-speaker. paul@wollumbin ~/ $ ebook-speaker - You should get a screen with two info lines of eBook-speaker and then the content of directory where you started eBook-speaker. - Pressing h should bring you the help, then pressing any key should return you to the normal screen. - Pressing Cursor Down should scroll down to the next file - Pressing enter should start the reading and you should be able to hear the text. - Hitting q should quite gracefully. paul@wollumbin ~/ $ ebook-speaker Old_World_Romances.epub - You should get a screen with the content of the book. You will only see at maximum the first 22 chapters of the book even if there are more. - Hitting q should quite gracefully. - Restarting eBook-speaker as before should start where you were the last time you "read" this book. eBook-speaker stores it's current configuration in ~/.eBook-speaker.xml and places bookmarks in ~/.eBook-speaker/ You might want to backup/remove those to restore default settings. (Don't edit while eBook-speaker is running or it will be overwritten.) Lastly, testing if the translations still work is also nice: paul@wollumbin ~/ $ LANGUAGE=nl_NL eBook-speaker debian/control0000644000000000000000000000437712233545347010614 0ustar Source: ebook-speaker Section: sound Priority: optional Maintainer: Debian Accessibility Team Uploaders: Paul Gevers Build-Depends: debhelper (>= 9), dh-autoreconf, libidn11-dev, libcdio-cdda-dev, libcdio-dev, libcdio-paranoia-dev, libmagic-dev, libncurses5-dev, libncursesw5-dev, librsvg2-bin, libsox-dev, libxml2-dev, man2html-base, txt2man Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-a11y/ebook-speaker.git Vcs-Git: git://anonscm.debian.org/pkg-a11y/ebook-speaker.git Homepage: http://jlemmens.nl/ Package: ebook-speaker Architecture: any Multi-Arch: foreign Depends: espeak, ${misc:Depends}, ${shlibs:Depends} Suggests: calibre, ghostscript, libreoffice-writer, tesseract-ocr, pandoc, poppler-utils, sane-utils, unzip, xml2 Description: eBook reader that reads aloud in a synthetic voice This package provides a command-line e-reader that reads out electronic books using speech synthesis. It has a simple user interface appropriate for Braille terminals. . Currently the following formats are supported (some formats need additional packages as suggested by this package): ASCII text ASCII mail text Broadband eBooks (BBeB) Composite Document File (Microsoft Office Word) EPUB ebook data GIF image data ISO-8859 text JPEG image data Microsoft Reader eBook Data Microsoft Word 2007+ Mobipocket E-book MS Windows HtmlHelp Data Netpbm PPM data OpenDocument Text PDF document PNG image data Rich Text Format UTF-8 Unicode mail text UTF-8 Unicode text WordPerfect Package: ebook-speaker-dbg Architecture: any Section: debug Priority: extra Depends: ebook-speaker (= ${binary:Version}), ${misc:Depends} Description: ebook-speaker debugging symbols This package contains the debugging symbols for ebook-speaker. . Ebook-speaker provides a command-line e-reader that reads out electronic books using speech synthesis. It has a simple user interface appropriate for Braille terminals. debian/compat0000644000000000000000000000000212224476012010364 0ustar 9 debian/ebook-speaker.manpages0000644000000000000000000000002412217476054013436 0ustar man/eBook-speaker.1 debian/ebook-speaker.lintian-overrides0000644000000000000000000000036012217650160015274 0ustar # eBook-speaker.1 is created by txt2man, so simply put, it is out of our hands # I still should file a bug there, but the maintainer does not seem very active ebook-speaker: hyphen-used-as-minus-sign usr/share/man/man1/eBook-speaker.1.gz:* debian/watch0000644000000000000000000000032712233545350010223 0ustar # See uscan(1) for format # Compulsory line, this is a version 3 file version=3 opts=versionmangle=s/^(\d\.\d)$/$1\.0/ http://jlemmens.nl/homepage/ \ (?:.*/)?e[bB]{1}ook-speaker-([\d\.]+)\.tar\.[bg]{1}z[2]{0,1} debian/rules0000755000000000000000000000136512225034670010254 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export CFLAGS = -Wall $(shell xml2-config --cflags) $(shell dpkg-buildflags --get CFLAGS) ICONSDIR=debian/icons/hicolor %: dh $@ --with autoreconf override_dh_clean: rm -rf $(ICONSDIR) dh_clean override_dh_auto_build: dh_auto_build # Building icons for size in 48 72 ; do \ mkdir -p $(ICONSDIR)/$${size}x$${size}/apps ; \ rsvg-convert --width $$size --height $$size doc/eBook-speaker.svg \ --output $(ICONSDIR)/$${size}x$${size}/apps/eBook-speaker.png ; done mkdir -p $(ICONSDIR)/scalable/apps gzip -c9 doc/eBook-speaker.svg > $(ICONSDIR)/scalable/apps/eBook-speaker.svgz override_dh_strip: dh_strip --dbg-package=ebook-speaker-dbg debian/clean0000644000000000000000000000005312217476053010200 0ustar doc/eBook-speaker.html man/eBook-speaker.1 debian/ebook-speaker.docs0000644000000000000000000000010112231266466012567 0ustar debian/README.testing doc/eBook-speaker.html doc/Readme doc/TODO debian/changelog0000644000000000000000000001101512260074320011032 0ustar ebook-speaker (2.7.1-1) unstable; urgency=low [ Samuel Thibault ] * Bump Standards-Version to 3.9.5 (no changes). [ Paul Gevers ] * New upstream release - Drop patch * Add patch to add NAME section to man page (thanks lintian) * Update watch file for different case. -- Paul Gevers Sun, 29 Dec 2013 19:52:25 +0100 ebook-speaker (2.5.3-1) unstable; urgency=low * New upstream release - Drop patches * Add symlinks for new translations * Improve i18n for Debian (new patch) * Add README.testing to ease group packaging -- Paul Gevers Mon, 21 Oct 2013 21:09:09 +0200 ebook-speaker (2.5.1-1) unstable; urgency=low * New upstream release * Drop obsolete patch (now upstream) * Depend on debhelper > 9 to drop hardening wrapper * Small style changes in d/rules * Add patch to Makefile.am to swap the order of the doc and man directory, as doc depends on man. * Add keywords to the desktop file (thanks lintian) -- Paul Gevers Tue, 08 Oct 2013 18:12:16 +0200 ebook-speaker (2.5.0-1) unstable; urgency=low * New upstream release * Remove patches * Build, install and register html version of man pages * Install menu item (got lost a long time ago) * Update upstream website address * Make sure that translations work by symlinking eBook-speaker case * Add lintian override for hyphens, they come from txt2man -- Paul Gevers Sun, 22 Sep 2013 22:03:59 +0200 ebook-speaker (2.4.0-1) unstable; urgency=low * New upstream release * Update d/* files for new upstream layout and build system * Remove obsolete patches - ebook-speaker now does something useful without arguments * Update d/copyright for new upstream source, including autoconf stuff * Update dependencies * Add 3 new patches to fix minor build issues - Allow prefix from configure to pass to the program - html building from man page is broken, disable completely - gettext domain is lowercase in current build system * Fix typo in man page (thanks lintian) * Update Vcs-* files to canonical location (thanks lintian) -- Paul Gevers Sat, 27 Jul 2013 10:06:35 +0200 ebook-speaker (2.3.2-2) unstable; urgency=low * Upload to unstable * New patches: - fix_build_on_non_linux.patch to prevent build failure on non-linux by not loading unneeded header files - dont_add_desktop_to_menu.patch to prevent the menu item to appear as it does not do anything useful (Closes: #704726) -- Paul Gevers Fri, 24 May 2013 21:48:57 +0200 ebook-speaker (2.3.2-1) experimental; urgency=low [ Samuel Thibault ] * Remove DM-Upload-Allowed field, Paul is a DD now. [ Paul Gevers ] * New upstream release - Update d/copyright to conform with new years and content - Update d/control with build dependencies and suggest, removed recommends * Remove patches, code changed completely * Update d/watch to make sure source is found * Update my e-mail address * Automate installation of all languages in d/rules and d/*.install * Update Standard to 3.9.4 (no changes needed) * Create and install scalable and fixed icons (72x72 and 48x48) -- Paul Gevers Sun, 13 Jan 2013 21:15:15 +0100 ebook-speaker (2.0-3) unstable; urgency=low * Add mbrola.patch to allow voices with longer than 5 characters descriptor (Closes: Bug#697350) -- Paul Gevers Wed, 09 Jan 2013 21:02:39 +0100 ebook-speaker (2.0-2) unstable; urgency=low [ Samuel Thibault ] * debian/patches/ncx.patch: New patch to fix parsing ncx files (Closes: Bug#660302). * control: Bump Standards-Version to 3.9.3 (no changes). * debian/patches/realname.patch: New patch to fix realname to really return a valid string. [ Paul Gevers ] * Update d/copyright file with new format URL -- Paul Gevers Sat, 03 Mar 2012 19:55:24 +0100 ebook-speaker (2.0-1) unstable; urgency=low [ Samuel Thibault ] * control: Depend on hardening-check. * rules: Set DEB_BUILD_HARDENING=1 to enable hardening. [ Paul Gevers ] * New upstream release * Add libmagic-dev to build dependencies * Add convlit and zip to recommends for .lit support * Update description for newly supported .lit format * Removed patch: not applicable anymore -- Paul Gevers Fri, 09 Dec 2011 08:58:55 +0100 ebook-speaker (1.2-1) unstable; urgency=low * Initial release (closes: #641899) -- Paul Gevers Sun, 18 Sep 2011 16:56:52 +0200 debian/source/0000755000000000000000000000000011724712507010474 5ustar debian/source/options0000644000000000000000000000044311670361461012112 0ustar # Global options for package building # Paul Gevers, 13 Feb 2011 # See http://raphaelhertzog.com/2011/01/28/3-ways-to-not-clutter-your-debian-source-package-with-autogenerated-files/ # Don't store changes on generated files extend-diff-ignore = "(^|/)(eBook-reader\.1|eBook-reader\.html)$" debian/source/format0000644000000000000000000000001411670361461011701 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001407612217476054011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: eBook-speaker Source: http://web.inter.nl.net/users/lemmensj/ Upstream-Contact: Jos Lemmens Files: * Copyright: © 2011-2013 Jos Lemmens License: GPL-2+ Files: ./doc/ebook-speaker*.svg Copyright: The Oxygen Icon Theme Copyright (C) 2007 Nuno Pinheiro Copyright (C) 2007 David Vignoni Copyright (C) 2007 David Miller Copyright (C) 2007 Johann Ollivier Lapeyre Copyright (C) 2007 Kenneth Wimer Copyright (C) 2007 Riccardo Iaconelli and others copyright © 2012-2013 Paul Gevers Comment: These icons are based on the accessories-text-editor.svgz icon from the oxygen-icons-4.8-4 package. License: LGPL-3+ Files: ./ABOUT-NLS ./config.guess ./config.sub ./debcomp Copyright: 1992-2012 Free Software Foundation, Inc. License: GPL-2+ Files: ./config.rpath Copyright: 1996 Gordon Matzigkeit 1996-2010 Free Software Foundation, Inc. License: FSF-free Files: ./aclocal.m4 ./config.h.in ./m4/* ./po/Makefile.in.in Makefile.in Copyright: 1996-2010 Free Software Foundation, Inc. Comment: several files are automatically generated License: FSF-free Files: ./src/gettext.h Copyright: 1995-1998, 2000-2002, 2004-2006, 2009 Free Software Foundation, Inc. License: GPL-3+ Files: ./debian/* Copyright: © 2011-2013 Paul Gevers License: GPL-2+ Files: ./install-sh Copyright: 1994 X Consortium License: expat and public-domain Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other deal- ings in this Software without prior written authorization from the X Consor- tium. . FSF changes to this file are in the public domain. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. . This program 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 Library General Public License for more details. . On Debian systems, the complete text of the GNU General Public License, version 3, can be found in /usr/share/common-licenses/GPL-3. License: LGPL-3+ This library 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 3 of the License, or (at your option) any later version. . This library 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 library. If not, see . . On Debian systems, the complete text of the GNU Less General Public License, version 3, can be found in /usr/share/common-licenses/LGPL-3. Comment: The GNU Lesser General Public License or LGPL is written for software libraries in the first place. We expressly want the LGPL to be valid for this artwork library too. . KDE Oxygen theme icons is a special kind of software library, it is an artwork library, it's elements can be used in a Graphical User Interface, or GUI. . Source code, for this library means: - where they exist, SVG; - otherwise, if applicable, the multi-layered formats xcf or psd, or otherwise png. . The LGPL in some sections obliges you to make the files carry notices. With images this is in some cases impossible or hardly useful. . With this library a notice is placed at a prominent place in the directory containing the elements. You may follow this practice. . The exception in section 5 of the GNU Lesser General Public License covers the use of elements of this art library in a GUI. License: FSF-free This file is free software; the Free Software Foundation gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. debian/ebook-speaker.doc-base0000644000000000000000000000044312217650160013315 0ustar Document: ebook-speaker Title: eBook-speaker man page Author: Jos Lemmens Abstract: This man page describes how to use eBook-speaker. Section: Sound Format: HTML Index: /usr/share/doc/ebook-speaker/eBook-speaker.html Files: /usr/share/doc/ebook-speaker/eBook-speaker.html debian/ebook-speaker.menu0000777000000000000000000000000012217650160017135 2../doc/eBook-speaker.menuustar debian/ebook-speaker.install0000644000000000000000000000022412225027752013307 0ustar src/eBook-speaker usr/bin/ doc/eBook-speaker.desktop usr/share/applications/ debian/icons usr/share usr/share/locale/*/LC_MESSAGES/ebook-speaker.mo debian/ebook-speaker.links0000644000000000000000000000134012226000306012744 0ustar usr/bin/eBook-speaker usr/bin/ebook-speaker usr/share/locale/de/LC_MESSAGES/ebook-speaker.mo usr/share/locale/de/LC_MESSAGES/eBook-speaker.mo usr/share/locale/en@boldquot/LC_MESSAGES/ebook-speaker.mo usr/share/locale/en@boldquot/LC_MESSAGES/eBook-speaker.mo usr/share/locale/en@quot/LC_MESSAGES/ebook-speaker.mo usr/share/locale/en@quot/LC_MESSAGES/eBook-speaker.mo usr/share/locale/es/LC_MESSAGES/ebook-speaker.mo usr/share/locale/es/LC_MESSAGES/eBook-speaker.mo usr/share/locale/fr/LC_MESSAGES/ebook-speaker.mo usr/share/locale/fr/LC_MESSAGES/eBook-speaker.mo usr/share/locale/nl/LC_MESSAGES/ebook-speaker.mo usr/share/locale/nl/LC_MESSAGES/eBook-speaker.mo usr/share/man/man1/eBook-speaker.1.gz usr/share/man/man1/ebook-speaker.1.gz debian/patches/0000755000000000000000000000000012260074253010616 5ustar debian/patches/add_NAME_section_to_man.patch0000644000000000000000000000066012260074253016252 0ustar Description: man page was missing a NAME section due to missing section name (thanks Lintian) Author: Paul Gevers Forwarded: Jos Lemmens --- a/doc/eBook-speaker.txt +++ b/doc/eBook-speaker.txt @@ -1,3 +1,4 @@ +NAME eBook-speaker - read aloud eBooks and other text formats using a software speech-synthesizer SYNOPSIS eBook-speaker [eBook_file | -s] [-d ALSA_sound_device] [-t TTS_command] debian/patches/series0000644000000000000000000000003612260074057012034 0ustar add_NAME_section_to_man.patch