rpms/stardict/devel stardict-3.0.0-espeak.patch, NONE, 1.1 stardict.spec, 1.34, 1.35

Hu Zheng (zhu) fedora-extras-commits at redhat.com
Thu Aug 23 03:18:14 UTC 2007


Author: zhu

Update of /cvs/pkgs/rpms/stardict/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23483

Modified Files:
	stardict.spec 
Added Files:
	stardict-3.0.0-espeak.patch 
Log Message:
3.0.0-3

stardict-3.0.0-espeak.patch:

--- NEW FILE stardict-3.0.0-espeak.patch ---
diff -ru stardict-3.0.0.orig/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp stardict-3.0.0/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp
--- stardict-3.0.0.orig/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp	2007-07-10 15:16:15.000000000 +0800
+++ stardict-3.0.0/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp	2007-08-23 11:09:02.000000000 +0800
@@ -86,7 +86,7 @@
 
 bool stardict_tts_plugin_init(StarDictTtsPlugInObject *obj)
 {
-	espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL);
+	espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0);
 	std::string res = get_cfg_filename();
 	if (!g_file_test(res.c_str(), G_FILE_TEST_EXISTS)) {
 		g_file_set_contents(res.c_str(), "[espeak]\nvoice=\n", -1, NULL);


Index: stardict.spec
===================================================================
RCS file: /cvs/pkgs/rpms/stardict/devel/stardict.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- stardict.spec	23 Aug 2007 02:38:01 -0000	1.34
+++ stardict.spec	23 Aug 2007 03:17:40 -0000	1.35
@@ -5,12 +5,13 @@
 Name:		%{name}
 Summary: 	A powerful dictionary platform written in GTK+2
 Version:	%{version}
-Release:	2%{?dist}
+Release:	3%{?dist}
 Group: 		Applications/System
 License: 	GPL
 URL: 		http://stardict.sourceforge.net
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
 Patch0:		stardict-3.0.0-floatwin.patch
+Patch1:		stardict-3.0.0-espeak.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires: libgnome >= 2.2.0
@@ -41,6 +42,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .floatwin
+%patch1 -p1 -b .espeak
 
 %build
 
@@ -80,8 +82,8 @@
 if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
 
 %changelog
-* Thu Aug 23 2007 Hu Zheng <zhu at redhat.com> - 3.0.0-2
-- Add floatwin patch.
+* Thu Aug 23 2007 Hu Zheng <zhu at redhat.com> - 3.0.0-3
+- Add floatwin and espeak patch.
 
 * Mon Aug 13 2007 Hu Zheng <zhu at redhat.com> - 3.0.0-1
 - Update to upstream.




More information about the fedora-extras-commits mailing list