rpms/anki/devel 0001-don-t-specify-an-input-index-by-default.patch, NONE, 1.1 anki.spec, 1.16, 1.17
chkr
chkr at fedoraproject.org
Thu May 13 21:25:22 UTC 2010
Author: chkr
Update of /cvs/pkgs/rpms/anki/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12388
Modified Files:
anki.spec
Added Files:
0001-don-t-specify-an-input-index-by-default.patch
Log Message:
* Thu May 13 2010 Christian Krause <chkr at fedoraproject.org> - 0.9.9.8.6-3
- Add pyaudio as requirement for audio recording
- Add upstream patch to prevent anki hanging during audio recording
0001-don-t-specify-an-input-index-by-default.patch:
sound.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- NEW FILE 0001-don-t-specify-an-input-index-by-default.patch ---
>From 554d7021e0f413186e0124a264fcb3c59ef92bad Mon Sep 17 00:00:00 2001
From: Damien Elmes <git at ichi2.net>
Date: Wed, 21 Apr 2010 13:31:59 +0900
Subject: [PATCH] don't specify an input index by default
---
anki/sound.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/anki/sound.py b/anki/sound.py
index 9943a83..2272bd2 100644
--- a/anki/sound.py
+++ b/anki/sound.py
@@ -238,7 +238,7 @@ try:
PYAU_FORMAT = pyaudio.paInt16
PYAU_CHANNELS = 1
PYAU_RATE = 44100
- PYAU_INPUT_INDEX = 0
+ PYAU_INPUT_INDEX = None
except:
pass
--
1.6.2.5
Index: anki.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anki/devel/anki.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- anki.spec 28 Feb 2010 18:02:52 -0000 1.16
+++ anki.spec 13 May 2010 21:25:22 -0000 1.17
@@ -2,7 +2,7 @@
Name: anki
Version: 0.9.9.8.6
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Flashcard program for using space repetition learning
Group: Amusements/Games
@@ -23,6 +23,8 @@ Source1: generate-anki-tarball.sh
Patch0: anki-0.9.9.8.6-noupdate.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=567672
Patch1: 0001-Fix-crash-with-enabled-sys-tray-icon.patch
+# Upstream patch to prevent anki hanging during audio recording
+Patch2: 0001-don-t-specify-an-input-index-by-default.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, python-setuptools, python-sqlalchemy
BuildRequires: desktop-file-utils, PyQt4
@@ -30,6 +32,7 @@ Requires: qt4, PyQt4
Requires: python-sqlalchemy, python-simplejson, python-sqlite2
Requires: python-matplotlib
Requires: pygame, python-BeautifulSoup
+Requires: pyaudio
BuildArch: noarch
%description
@@ -41,6 +44,9 @@ as possible. Anki is based on a theory c
%setup -q
%patch0 -p1 -b .noupdate
%patch1 -p1 -b .trayicon_crash
+pushd libanki
+%patch2 -p1 -b .pyaudio_fix
+popd
%build
pushd libanki
@@ -110,6 +116,10 @@ rm -rf %{buildroot}
%{_datadir}/pixmaps/%{name}.png
%changelog
+* Thu May 13 2010 Christian Krause <chkr at fedoraproject.org> - 0.9.9.8.6-3
+- Add pyaudio as requirement for audio recording
+- Add upstream patch to prevent anki hanging during audio recording
+
* Sun Feb 28 2010 Christian Krause <chkr at fedoraproject.org> - 0.9.9.8.6-2
- Add a patch to fix a crash when sys tray icon is enabled (BZ 567672)
More information about the scm-commits
mailing list