Compare commits

..

No commits in common. "rawhide" and "f25" have entirely different histories.

10 changed files with 217 additions and 146 deletions

4
.gitignore vendored
View file

@ -4,7 +4,3 @@ emacspeak-29.0.tar.bz2
/emacspeak-38.0.tar.bz2
/emacspeak-39.0.tar.bz2
/emacspeak-40.0.tar.bz2
/emacspeak-45.0.tar.bz2
/emacspeak-54.0.tar.bz2
/emacspeak-59.0.tar.bz2
/emacspeak-60.0.tar.bz2

View file

@ -0,0 +1,8 @@
--- emacspeak-36.0/servers/32-outloud~ 2012-03-21 02:29:26.000000000 +0900
+++ emacspeak-36.0/servers/32-outloud 2012-07-30 12:33:39.103341892 +0900
@@ -1,4 +1,4 @@
-#!/usr/bin/tclsh8.4_ia32
+#!/usr/bin/tclsh
# Keywords: Emacspeak, ViaVoice Outloud , TCL
# {{{ LCD Entry:

View file

@ -0,0 +1,12 @@
diff -up emacspeak-38.0/lisp/dtk-speak.el~ emacspeak-38.0/lisp/dtk-speak.el
--- emacspeak-38.0/lisp/dtk-speak.el~ 2013-03-31 01:54:21.000000000 +0900
+++ emacspeak-38.0/lisp/dtk-speak.el 2013-10-24 13:08:04.981021180 +0900
@@ -66,7 +66,7 @@
(declare-function emacspeak-queue-auditory-icon "emacspeak-sounds.el" (icon))
;;;###autoload
(defvar dtk-program
- (or (getenv "DTK_PROGRAM" ) "dtk-exp")
+ (or (getenv "DTK_PROGRAM" ) "espeak")
"The program to use to talk to the speech engine.
Possible choices at present:
dtk-exp For the Dectalk Express.

View file

@ -0,0 +1,12 @@
--- emacspeak-38.0/servers/espeak~ 2013-01-19 11:11:34.000000000 +0900
+++ emacspeak-38.0/servers/espeak 2013-10-23 18:47:39.235790079 +0900
@@ -516,8 +516,7 @@
if {[info exists server_p]} {
set tts(input) sock0
}
-set servers [file dirname $argv0]
-set tclTTS $servers/linux-espeak
+set tclTTS /usr/lib/emacspeak/servers/linux-espeak
load $tclTTS/tclespeak.so
if {[file exists /proc/asound]} {
set tts(play) /usr/bin/aplay

View file

@ -0,0 +1,13 @@
--- emacspeak-38.0/servers/linux-espeak/Makefile~ 2010-12-04 10:51:42.000000000 +0900
+++ emacspeak-38.0/servers/linux-espeak/Makefile 2013-10-23 18:15:02.237436971 +0900
@@ -4,9 +4,7 @@
PREFIX = /usr
LIBPARENTDIR = ${PREFIX}/share/emacs/site-lisp
LIBDIR =$(LIBPARENTDIR)/emacspeak/servers/linux-espeak
-TCL_VERSION = 8.4
-TCL_INCLUDE= /usr/include/tcl$(TCL_VERSION)
-CXXFLAGS+= -g -O2 -fPIC -DPIC -pedantic -ansi -Wall -Wno-long-long -I$(TCL_INCLUDE)
+CXXFLAGS+= -g -O2 -fPIC -DPIC -pedantic -ansi -Wall -Wno-long-long
LIBS= -ltcl$(TCL_VERSION) -lespeak

View file

@ -0,0 +1,80 @@
Index: lisp/amixer.el
===================================================================
--- lisp/amixer.el (revision 8448)
+++ lisp/amixer.el (working copy)
@@ -19,8 +19,8 @@
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
-;;; along with GNU Emacs; see the file COPYING. If not, write to
-;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
;;}}}
;;{{{ introduction
Index: lisp/cd-tool.el
===================================================================
--- lisp/cd-tool.el (revision 8448)
+++ lisp/cd-tool.el (working copy)
@@ -19,8 +19,8 @@
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
-;;; along with GNU Emacs; see the file COPYING. If not, write to
-;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
;;}}}
;;{{{ introduction
Index: lisp/g-client/org2blogger.el
===================================================================
--- lisp/g-client/org2blogger.el (revision 8448)
+++ lisp/g-client/org2blogger.el (working copy)
@@ -18,9 +18,8 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to
-;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; along with this program; if not, write to the Free Software
+;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
;;;_ , Commentary:
Index: lisp/tapestry.el
===================================================================
--- lisp/tapestry.el (revision 8448)
+++ lisp/tapestry.el (working copy)
@@ -13,10 +13,9 @@
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
-;;; A copy of the GNU General Public License can be obtained from this
-;;; program's author (send electronic mail to kyle@uunet.uu.net) or from
-;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
-;;; 02139, USA.
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program; if not, write to the Free Software
+;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
;;;
;;; Send bug reports to kyle@uunet.uu.net.
Index: lisp/xml-parse.el
===================================================================
--- lisp/xml-parse.el (revision 8448)
+++ lisp/xml-parse.el (working copy)
@@ -21,9 +21,8 @@
;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; along with this program; if not, write to the Free Software
+;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
;;; Commentary:
;;

View file

@ -0,0 +1,11 @@
--- emacspeak-36.0/info/Makefile~ 2012-03-21 02:29:45.000000000 +0900
+++ emacspeak-36.0/info/Makefile 2012-07-25 19:17:27.057135666 +0900
@@ -28,7 +28,7 @@
install: emacspeak.info
if test -x /sbin/install-info ; then \
- install-info emacspeak.info /etc/info-dir; \
+ /sbin/install-info emacspeak.info $(infodir)/info-dir; \
fi
$(INSTALL) -m 644 *.info* $(DESTDIR)$(infodir)

View file

@ -0,0 +1,11 @@
--- emacspeak-40.0/servers/linux-espeak/tclespeak.cpp~ 2013-12-04 12:10:09.000000000 +0900
+++ emacspeak-40.0/servers/linux-espeak/tclespeak.cpp 2014-11-07 15:09:42.245472100 +0900
@@ -180,7 +180,7 @@
set tts(last_index) $x}");
//>
- return TCL_OK;
+ return rc;
}
int GetRate(ClientData handle, Tcl_Interp *interp, int objc,

View file

@ -1,26 +1,38 @@
Summary: Emacs Speech interface
Name: emacspeak
Version: 60.0
Release: 3%{?dist}
Version: 40.0
Release: 6%{?dist}
# main lisp files are GPL2+
License: GPL-2.0-or-later AND BSD-3-Clause
Source: https://github.com/tvraman/emacspeak/releases/download/%{version}/%{name}-%{version}.tar.bz2
# lisp/atom-blogger and lisp/g-client are BSD
License: GPLv2+ and BSD
Source: http://emacspeak.googlecode.com/files/emacspeak-%{version}.tar.bz2
Source10: emacspeak-filter-deps.sh
%global __perl_requires %{SOURCE10}
URL: http://emacspeak.sourceforge.net/
Requires(post): info
Requires(preun): info
BuildRequires: emacs
BuildRequires: espeak-ng-devel
BuildRequires: gcc-c++
BuildRequires: perl-interpreter
BuildRequires: espeak-devel
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: texinfo
BuildRequires: tcl-devel < 1:9
BuildRequires: make
BuildRequires: tcl-devel
Requires: emacs(bin) >= %{_emacs_version}
Requires: espeak
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: tclx
Patch0: emacspeak-install-info-dir.patch
Patch1: emacspeak-36.0-tclsh8.4_ia32.patch
Patch2: emacspeak-38.0-espeak-tcl.patch
Patch3: emacspeak-38.0-espeak-libdir.patch
Patch4: emacspeak-38.0-default-espeak.patch
Patch5: emacspeak-38.0-update-FSF-address.patch
Patch6: emacspeak-tclespeak-unused-var.patch
%description
%description
Emacspeak is a speech interface that allows visually impaired users to
interact independently and efficiently with the computer. Emacspeak has
dramatically changed how the author and hundreds of blind and visually
dramatically changed how the author and hundreds of blind and visually
impaired users around the world interact with the personal computer and
the Internet. A rich suite of task-oriented speech-enabled tools provides
efficient speech-enabled access to the evolving semantic WWW.
@ -30,156 +42,72 @@ opens up the Internet to visually impaired users around the world.
%prep
%setup -q
%patch0 -p1 -b .0-infodir
%patch1 -p1 -b .1-tclsh
%patch2 -p1 -b .2-tcl
%patch3 -p1 -b .3-libdir
%patch4 -p1 -b .4-espeak
%patch5 -p0 -b .5-fsf
%patch6 -p1 -b .6-unused
for i in `find . -type f -exec grep -q /usr/bin/tcl$ '{}' ';' -print` ; do
sed -i -e "s%#!/usr/bin/tcl$%#!/usr/bin/tclsh\npackage require Tclx%" $i
done
sed -i -e "s%#!/usr/bin/python2.4$%#!/usr/bin/python%" servers/python/HTTPSpeaker.py
chmod a-x etc/COPYRIGHT
%build
# use set_build_flags when available for F27 etc
CXXFLAGS="${CXXFLAGS:-%__global_cxxflags}" ; export CXXFLAGS ; \
LDFLAGS="${LDFLAGS:-%__global_ldflags}" ; export LDFLAGS
make emacspeak
make espeak
make config SRC=`pwd`
make
make CXXFLAGS="%{optflags} -fPIC -DPIC" -C servers/linux-espeak
%install
mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak
cp -pr bash-utils etc lisp media servers sounds stumpwm xsl %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak/
make install prefix=%{buildroot}%{_prefix} infodir=%{buildroot}%{_infodir}
rm -f %{buildroot}%{_infodir}/*dir
sed -i -e "s|%{buildroot}||g" %{buildroot}%{_bindir}/emacspeak
make -C servers/native-espeak install LIBPARENTDIR=%{buildroot}%{_libdir}
ln -sf %{_libdir}/emacspeak/servers/native-espeak/tclespeak.so %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak/servers/native-espeak/
mkdir -p %{buildroot}%{_bindir}
sed -e "s/FLAVOR/emacs/" -e "s!ELCDIR!%{_datadir}/emacs/site-lisp/emacspeak!" etc/emacspeak.sh > %{buildroot}%{_bindir}/emacspeak
chmod 0755 %{buildroot}%{_bindir}/emacspeak
mkdir -p %{buildroot}%{_infodir}
cp -p info/*.info* %{buildroot}%{_infodir}
make -C servers/linux-espeak install LIBPARENTDIR=%{buildroot}%{_prefix}/lib
# remove unwanted data files
( cd %{buildroot}%{_datadir}/emacs/site-lisp/emacspeak
rm etc/bootstrap.sh
rm -r etc/pickup-c
rm sounds/emacspeak.mp3
rm -r realaudio
# user-guide is in docs
rm -r user-guide install-guide
rm -r servers/*outloud*
rm -r servers/*dtk*
rm servers/mac
rm servers/native-espeak/tclespeak.{cpp,o}
rm servers/linux-espeak/{Makefile,tclespeak.cpp}
# zero length
# rpmlint complains about zero length files
[ -s etc/tips.html ] || rm etc/tips.html
find -name .nosearch -delete
rm -r servers/python
rm -r lisp/g-client/python
rm etc/COPYRIGHT
chmod a-x servers/.servers servers/tts-lib.tcl
find \( -name .nosearch -o -name Makefile \) -delete
)
%files
%license etc/COPYRIGHT
%doc README*
%{_bindir}/emacspeak
%post
/sbin/install-info %{_infodir}/emacspeak.info.gz %{_infodir}/dir --section "Accessibility" || :
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/emacspeak.info.gz %{_infodir}/dir --section "Accessibility" || :
fi
%files
%doc etc/COPYRIGHT
%doc user-guide/*.html
%doc install-guide
%{_datadir}/emacs/site-lisp/emacspeak/
%{_libdir}/emacspeak
%{_bindir}/*
%{_prefix}/lib/emacspeak
%{_infodir}/*
%changelog
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 60.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 60.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Jan 14 2025 Jens Petersen <petersen@redhat.com> - 60.0-1
- Update to 60.0
- https://tvraman.github.io/emacspeak/blog/Announce-60.html
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 59.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Feb 29 2024 Parag Nemade <pnemade AT fedoraproject DOT org> - 59.0-3
- Migrate existing license tag to SPDX expression
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 59.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Jens Petersen <petersen@redhat.com> - 59.0-1
- update to 59.0
- http://tvraman.github.io/emacspeak/blog/Announce-59.html
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 54.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 54.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 54.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 54.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 54.0-5
- Perl 5.36 rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 54.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 54.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jun 29 2021 Jens Petersen <petersen@redhat.com> - 54.0-2
- drop the dependency on espeak
* Tue Jun 29 2021 Jens Petersen <petersen@redhat.com> - 54.0-1
- update to 54
- https://github.com/tvraman/emacspeak/blob/54.0/etc/NEWS-54.0
- build with the espeak-ng library
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 45.0-11
- Perl 5.34 rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 45.0-8
- Perl 5.32 rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 45.0-5
- Perl 5.30 rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 45.0-2
- Perl 5.28 rebuild
* Mon Feb 19 2018 Jens Petersen <petersen@redhat.com> - 45.0-1
- update to 45.0
* Mon Feb 19 2018 Jens Petersen <petersen@redhat.com> - 40.0-12
- BR gcc-c++
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 40.0-8
- Perl 5.26 rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 40.0-6
- Perl 5.24 rebuild

View file

@ -1 +1 @@
SHA512 (emacspeak-60.0.tar.bz2) = f48040f2dfaf7cb67d779d219c59477aaddb9c8b400666e5e9d9850e75575d5276f5b596ab1e8976057e5078d914a610cd537068ccc748e6c45aef64b02eaba9
652bfd76e94643d5a1f3afeab688da5c emacspeak-40.0.tar.bz2