Compare commits

..

1 commit

Author SHA1 Message Date
Christian Krause
45b991e68c Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541)
Use separate send2trash python module instead of the bundled one (BZ 1173410)
Disable internal CA store in favor of global one (BZ 1497504)
Use correct shebang for python2 (BZ 1478302)
Use %autosetup
2018-04-12 00:45:00 +02:00
11 changed files with 823 additions and 1 deletions

36
.gitignore vendored Normal file
View file

@ -0,0 +1,36 @@
anki-0.9.9.8.6-nosamples.tgz
anki-1.0.tgz
anki-1.0.1.tgz
/anki-1.1.0.tgz
/anki-1.1.3.tgz
/anki-1.1.10.tgz
/anki-1.2.2.tgz
/anki-1.2.4.tgz
/anki-1.2.5.tgz
/anki-1.2.6.tgz
/anki-1.2.7.tgz
/anki-1.2.8.tgz
/anki-1.2.9.tgz
/anki-1.2.11.tgz
/anki-2.0.4.tgz
/anki-2.0.6.tgz
/anki-2.0.7.tgz
/anki-2.0.8.tgz
/anki-2.0.9.tgz
/anki-2.0.11.tgz
/anki-2.0.12.tgz
/anki-2.0.13.tgz
/anki-2.0.16.tgz
/anki-2.0.18.tgz
/anki-2.0.20.tgz
/anki-2.0.22.tgz
/anki-2.0.25.tgz
/anki-2.0.26.tgz
/anki-2.0.28.tgz
/anki-2.0.31.tgz
/anki-2.0.32.tgz
/anki-2.0.33.tgz
/anki-2.0.36.tgz
/anki-2.0.39-source.tgz
/anki-2.0.43-source.tgz
/anki-2.0.50-source.tgz

17
anki-2.0.3-noupdate.patch Normal file
View file

@ -0,0 +1,17 @@
diff -uNr anki-2.0.3.old/aqt/profiles.py anki-2.0.3/aqt/profiles.py
--- anki-2.0.3.old/aqt/profiles.py 2012-09-05 19:24:05.000000000 +0200
+++ anki-2.0.3/aqt/profiles.py 2012-12-27 19:43:11.369462377 +0100
@@ -18,11 +18,11 @@
metaConf = dict(
ver=0,
- updates=True,
+ updates=False,
created=intTime(),
id=random.randrange(0, 2**63),
lastMsg=-1,
- suppressUpdate=False,
+ suppressUpdate=True,
firstRun=True,
defaultLang=None,
disabledAddons=[],

View file

@ -0,0 +1,18 @@
diff -uNr anki-2.0.50.old/anki/anki anki-2.0.50/anki/anki
--- anki-2.0.50.old/anki/anki 2016-05-12 04:40:52.000000000 +0200
+++ anki-2.0.50/anki/anki 2018-04-11 00:59:13.901232410 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
import os, sys
# system-wide install
diff -uNr anki-2.0.50.old/runanki anki-2.0.50/runanki
--- anki-2.0.50.old/runanki 2016-03-21 08:28:07.000000000 +0100
+++ anki-2.0.50/runanki 2018-04-11 00:58:54.213952994 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
import sys
sys.path.insert(0, "/usr/share/anki")

View file

@ -0,0 +1,12 @@
diff -uNr anki-2.0.50.old/anki/sync.py anki-2.0.50/anki/sync.py
--- anki-2.0.50.old/anki/sync.py 2017-08-27 03:51:01.000000000 +0200
+++ anki-2.0.50/anki/sync.py 2018-04-11 00:30:32.785697476 +0200
@@ -52,7 +52,7 @@
if not os.path.exists(certs):
assert 0, "Your distro has not packaged Anki correctly."
return httplib2.Http(
- timeout=HTTP_TIMEOUT, ca_certs=certs,
+ timeout=HTTP_TIMEOUT,
proxy_info=HTTP_PROXY,
disable_ssl_certificate_validation=not not HTTP_PROXY)

49
anki-make-git-snapshot.sh Normal file
View file

@ -0,0 +1,49 @@
#!/bin/sh
# Usage: sh anki-make-git-snapshot.sh [LIBANKICOMMIT] [ANKIQTCOMMIT] [DATE]
#
# to make a snapshot of the given tag/branch. Defaults to HEAD.
set +x
if [ -z $3 ]; then
DATE=`date +%Y%m%d`
else
DATE=$3
fi
DIRNAME="anki-$DATE"
echo DIRNAME $DIRNAME
echo LIBANKIHEAD ${1:-HEAD}
echo ANKIQTHEAD ${2:-HEAD}
rm -rf $DIRNAME
git clone git://github.com/dae/ankiqt.git $DIRNAME
git clone git://github.com/dae/libanki.git $DIRNAME/libanki
pushd $DIRNAME
git checkout $ANKIQTHEAD
pushd libanki
git checkout $LIBANKIHEAD
popd
popd
ln -s $DIRNAME ankiqt
ln -s $DIRNAME/libanki libanki
bzr clone lp:anki
pushd anki
./update-mos.sh
popd
rm ankiqt
rm libanki
rm -rf anki
rm -rf $DIRNAME/.git $DIRNAME/libanki/.git
rm -rf $DIRNAME/libanki/tests/importing/supermemo*
tar czf $DIRNAME.tgz $DIRNAME
rm -rf $DIRNAME

36
anki.appdata.xml Normal file
View file

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Christian Krause <chkr@fedoraproject.org -->
<application>
<id type="desktop">anki.desktop</id>
<licence>CC0</licence>
<description>
<p>
Anki is a program which makes remembering things easy. Because it's a lot
more efficient than traditional study methods, you can either
greatly decrease your time spent studying, or greatly increase the amount you learn.
</p>
<p>
Anyone who needs to remember things in their daily life can benefit
from Anki. Since it is content-agnostic and supports images, audio,
videos and scientific markup (via LaTeX), the possibilities are endless.
</p>
<p>For example:</p>
<ul>
<li>Learning a language (vocabulary, grammar, phrases, ...)</li>
<li>Studying for medical and law exams</li>
<li>Memorizing people's names and faces</li>
<li>Brushing up on geography</li>
<li>Mastering long poems</li>
<li>Even practicing guitar chords!</li>
</ul>
</description>
<screenshots>
<screenshot type="default" width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-review1.png</screenshot>
<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-deck-browser.png</screenshot>
<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-review2.png</screenshot>
<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-browser.png</screenshot>
<screenshot width="1200" height="675">http://chkr.fedorapeople.org/screenshots/anki/anki-statistics.png</screenshot>
</screenshots>
<url type="homepage">http://ankisrs.net/</url>
<updatecontact>chkr@fedoraproject.org</updatecontact>
</application>

368
anki.spec Normal file
View file

@ -0,0 +1,368 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: anki
Version: 2.0.50
Release: 1%{?dist}
Summary: Flashcard program for using space repetition learning
Group: Amusements/Games
License: AGPLv3+ and GPLv3+ and MIT and BSD
URL: https://apps.ankiweb.net/
Source0: https://apps.ankiweb.net/downloads/current/anki-%{version}-source.tgz
Source1: anki.svg
Source2: anki.appdata.xml
# Config change: don't check for new updates.
Patch0: anki-2.0.3-noupdate.patch
# The supplied CA store does not include the root CAs for the
# add-ons server when SNI is used by python's httplib2
Patch1: anki-2.0.50-use-system-certificates.patch
# Use /usr/bin/python2 as shebang as required by
# https://fedoraproject.org/wiki/Packaging:Python
Patch2: anki-2.0.50-use-python2-shebang.patch
BuildRequires: python2-devel, python-setuptools, python-sqlalchemy
BuildRequires: desktop-file-utils, PyQt4, python-simplejson
Requires: hicolor-icon-theme
Requires: qt4, PyQt4, PyQt4-webkit
Requires: python-sqlalchemy, python-simplejson
Requires: python-matplotlib
Requires: pygame, python-BeautifulSoup, python-httplib2
Requires: pyaudio, sox
BuildArch: noarch
%description
Anki is a program designed to help you remember facts (such as words
and phrases in a foreign language) as easily, quickly and efficiently
as possible. Anki is based on a theory called spaced repetition.
%prep
%autosetup -p 1
mv thirdparty/send2trash .
rm -rf thirdparty
%build
%install
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -R aqt %{buildroot}%{_datadir}/%{name}/
cp -R designer %{buildroot}%{_datadir}/%{name}/
cp -R anki %{buildroot}%{_datadir}/%{name}/
cp -R locale %{buildroot}%{_datadir}/%{name}/
mkdir -p %{buildroot}%{_datadir}/%{name}/thirdparty
cp -R send2trash %{buildroot}%{_datadir}/%{name}/thirdparty/
install -d %{buildroot}%{_bindir}
install -m 755 runanki %{buildroot}%{_bindir}/anki
install -d %{buildroot}%{_pkgdocdir}
install -m 644 LICENSE* %{buildroot}%{_pkgdocdir}/
install -m 644 README* %{buildroot}%{_pkgdocdir}/
install -d %{buildroot}%{_datadir}/mime/packages
install -m 644 anki.xml %{buildroot}%{_datadir}/mime/packages
install -d %{buildroot}%{_datadir}/icons/hicolor/scalable/apps
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
install -d %{buildroot}%{_mandir}/man1
install -m 644 anki.1 %{buildroot}%{_mandir}/man1/
mkdir -p %{buildroot}%{_datadir}/appdata
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/
desktop-file-install \
--remove-category=KDE \
--set-key=Keywords --set-value="learn;education;memorizing;language;flashcard;spaced repetition;" \
--dir %{buildroot}%{_datadir}/applications \
%{name}.desktop
find %{buildroot} -type f -o -type l|sed '
s:'"%{buildroot}"'::
s:\(.*/share/anki/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
s:\(.*/share/anki/locale/qt_\)\([^.]\+\)\(\.qm\):%lang(\2) \1\2\3:
s:^\([^%].*\)::
s:%lang(C) ::
/^$/d' > anki.lang
find %{buildroot}/usr/share/anki/locale -type d|sed '
s:'"%{buildroot}"'::
s:\(.*\):%dir \1:' >>anki.lang
%post
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
/usr/bin/update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%files -f %{name}.lang
%doc LICENSE* README*
%{_bindir}/anki
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/aqt/
%{_datadir}/%{name}/designer/
%{_datadir}/%{name}/anki/
%{_datadir}/%{name}/thirdparty/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.*
%{_datadir}/mime/packages/anki.xml
%{_mandir}/man1/%{name}.*
%{_datadir}/appdata/anki.appdata.xml
%changelog
* Mon Apr 09 2018 Christian Krause <chkr@fedoraproject.org> - 2.0.50-1
- Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541)
- Disable internal CA store in favor of global one (BZ 1497504)
- Use correct shebang for python2 (BZ 1478302)
- Use %%autosetup
* Sat Feb 25 2017 Christian Krause <chkr@fedoraproject.org> - 2.0.43-1
- Update to new upstream version 2.0.43 (BZ 1406760)
- Delete backup file
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sun Jan 22 2017 Christian Krause <chkr@fedoraproject.org> - 2.0.39-1
- Update to new upstream version 2.0.39 (BZ 1406760)
- Update source and project URL
* Mon Sep 26 2016 Dominik Mierzejewski <rpm@greysector.net> - 2.0.36-2
- rebuilt for matplotlib-2.0.0
* Sun Aug 07 2016 Christian Krause <chkr@fedoraproject.org> - 2.0.36-1
- Update to new upstream version 2.0.36 (BZ 1321457)
* Wed Mar 02 2016 Rex Dieter <rdieter@fedoraproject.org> 2.0.33-3
- Requires: PyQt4-webkit
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.33-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Mon Nov 30 2015 Christian Krause <chkr@fedoraproject.org> - 2.0.33-1
- Update to new upstream version 2.0.33 (BZ 1270574)
- Correct files list entry for LICENSE files
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Apr 05 2015 Christian Krause <chkr@fedoraproject.org> - 2.0.32-1
- Update to new upstream version 2.0.32 (BZ 1205471)
- Move icon to %%{_datadir}/icons/hicolor/scalable/apps
- Modify svg icon to use only the subset of the SVG specification
which is implemented by Qt's SVG library
- Add keywords to desktop file
* Mon Nov 03 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.31-1
- Update to new upstream version 2.0.31 (BZ 1144973)
* Wed Jul 30 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.28-1
- Update to new upstream version 2.0.28 (BZ 1123961)
* Tue Jul 08 2014 Rex Dieter <rdieter@fedoraproject.org> 2.0.26-3
- optimize mimeinfo scriptlet
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.26-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue May 20 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.26-1
- Update to new upstream version 2.0.26 (BZ 1090863)
- Add appdata
* Fri Apr 18 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.25-1
- Update to new upstream version 2.0.25 (BZ 1087211)
* Fri Jan 31 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.22-1
- Update to new upstream version 2.0.22 (BZ 1057013)
* Tue Jan 14 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.20-2
- Fix typo in changelog
* Tue Jan 14 2014 Christian Krause <chkr@fedoraproject.org> - 2.0.20-1
- Update to new upstream version 2.0.20 (BZ 1040134)
* Wed Nov 20 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.18-1
- Update to new upstream version 2.0.18 (BZ 1027704)
* Fri Nov 01 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.16-1
- Update to new upstream version 2.0.16
* Fri Oct 11 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.13-1
- Update to new upstream version 2.0.13
* Sun Aug 04 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.12-1
- Update to new upstream version 2.0.12 (BZ 989901)
- Install docs to %%{_pkgdocdir} (BZ 991962)
- Install additional LICENSE file
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Mon Jun 24 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.11-1
- Update to new upstream version 2.0.11 (BZ 973523)
* Mon Jun 03 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.9-1
- Update to new upstream version 2.0.9 (BZ 970052)
- Remove patch (issue was fixed upstream)
* Mon Apr 01 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.8-2
- Add patch to fix filter selection in browser view:
https://anki.lighthouseapp.com/projects/100923/tickets/729-browser-filter-tree-doesnt-filter
* Sun Feb 24 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.8-1
- Update to new upstream version 2.0.8
* Sat Feb 02 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.7-1
- Update to new upstream version 2.0.7
* Thu Jan 10 2013 Christian Krause <chkr@fedoraproject.org> - 2.0.4-1
- Update to anki-2.0.4 (based on work from Christophe Fergeau <cfergeau@redhat.com>)
- Update license to AGPLv3+
- Update noupdate patch
- Add man page
- Add post/postun scripts (needed for MimeType key in anki.desktop and for
/usr/share/mime/packages/anki.xml)
- Spec file cleanup
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Jul 01 2012 Christian Krause <chkr@fedoraproject.org> - 1.2.11-1
- Update to new upstream version 1.2.11 (BZ 819821)
- Remove patch (issue was fixed upstream)
* Wed Feb 8 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.2.9-4
- Remove python-sqlite2 dep as anki will work with the stdlib sqlite3 module
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sun Jul 24 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.9-2
- Add and install svg version of anki's icon
(extracted from anki-1.2.9/icons/anki-logo.svg)
* Thu Jun 30 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.9-1
- Update to new upstream version 1.2.9 (BZ 717584) to fix more
compatibility issues with python-sqlalchemy-0.7.x
- Remove upstreamed patches
- Add patch to avoid unicode error messages on startup
* Tue Jun 28 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.8-2
- Fix FTBFS issue (BZ 715813)
- Adding two upstream patches to support python-sqlalchemy-0.7.x
* Tue Apr 05 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.8-1
- Update to new upstream version 1.2.8 (BZ 691342)
* Sun Feb 27 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.7-1
- Update to new upstream version 1.2.7 (BZ 678848)
- Add sox as requirement for audio recording (BZ 674493)
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Feb 05 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.6-1
- Update to new upstream version 1.2.6 (BZ 665163)
* Thu Jan 27 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.5-1
- Update to new upstream version 1.2.5 (BZ 665163)
* Sun Jan 23 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.4-1
- Update to new upstream version 1.2.4 (BZ 665163)
* Fri Jan 14 2011 Christian Krause <chkr@fedoraproject.org> - 1.2.2-1
- Update to new upstream version 1.2.2 (BZ 665163)
* Tue Dec 14 2010 Christian Krause <chkr@fedoraproject.org> - 1.1.10-1
- Update to new upstream version 1.1.10 (BZ 655939)
* Sat Aug 21 2010 Christian Krause <chkr@fedoraproject.org> - 1.0.1-1
- Update to new upstream version 1.0.1
* Mon Aug 02 2010 Christian Krause <chkr@fedoraproject.org> - 1.0-1
- Update to new upstream version 1.0
- Use original upstream tgz since upstream doesn't ship the problematic
example files anymore
- Remove upstreamed patches
- Update noupdate patch
- Add BR python-simplejson
* Sun Jul 25 2010 Christian Krause <chkr@fedoraproject.org> - 0.9.9.8.6-5
- Generalized generation of anki.lang to support any python 2.* release
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.9.8.6-4
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
* Thu May 13 2010 Christian Krause <chkr@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@fedoraproject.org> - 0.9.9.8.6-2
- Add a patch to fix a crash when sys tray icon is enabled (BZ 567672)
* Fri Feb 19 2010 Christian Krause <chkr@fedoraproject.org> - 0.9.9.8.6-1
- Update to new upstream version
- Remove example files from upstream tarball due to unknown license
- Updated noupdate patch
* Wed Jan 20 2010 Christian Krause <chkr@fedoraproject.org> - 0.9.9.8.5-3.git20100120
- Update to git snapshot
- Includes fix for BZ 546331
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9.8.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun Jul 12 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.8.5-1
- Update to new upstream version 0.9.9.8.5
* Thu Jul 02 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.8.4-1
- Update to new upstream version 0.9.9.8.4
- fix one %%lang tag
* Sun May 24 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.7.9b-1
- Update to new upstream version 0.9.9.7.9b to fix a syncing bug
* Tue May 12 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.7.9-1
- Update to new upstream version 0.9.9.7.9 to fix an update problem of the
statusbar and of the titlebar
* Thu May 07 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.7.8-2
- Bump release
* Wed May 06 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.7.8-1
- Update to new upstream version 0.9.9.7.8
* Sat Apr 11 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.7.4-1
- Update to new upstream version 0.9.9.7.4 (BZ 494598)
- Require python-matplotlib instead of numpy (BZ 495232)
* Wed Apr 01 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.7.1-1
- Update to new upstream version 0.9.9.7.1
- Drop unihaninstall patch (applied upstream)
- Updated noupdate patch
- Use original upstream tgz since upstream doesn't ship the example files
anymore
* Sun Mar 01 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.6-4
- Bump release
* Fri Feb 27 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.6-3
- Proper packaging of locale files
* Fri Feb 13 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.6-2
- Fixed license field
- Install unihan.db
* Wed Feb 11 2009 Christian Krause <chkr@fedoraproject.org> - 0.9.9.6-1
- First spec file for anki

277
anki.svg Normal file
View file

@ -0,0 +1,277 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="33"
height="33"
id="svg3652"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="anki.svg">
<defs
id="defs3654">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3769"
id="linearGradient2973"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
x1="15.5"
y1="5.9497476"
x2="4"
y2="31" />
<linearGradient
id="linearGradient3769"
inkscape:collect="always">
<stop
id="stop3771"
offset="0"
style="stop-color:#3c3c3c;stop-opacity:1" />
<stop
id="stop3773"
offset="1"
style="stop-color:#9e9e9e;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4825"
id="linearGradient2975"
gradientUnits="userSpaceOnUse"
x1="253.74718"
y1="412.82977"
x2="188.00023"
y2="542.33295" />
<linearGradient
id="linearGradient4825">
<stop
id="stop4827"
offset="0"
style="stop-color:#0084dd;stop-opacity:1" />
<stop
id="stop4829"
offset="1"
style="stop-color:white;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4825"
id="linearGradient2977"
gradientUnits="userSpaceOnUse"
x1="253.74718"
y1="412.82977"
x2="188.00023"
y2="542.33295" />
<linearGradient
id="linearGradient3681">
<stop
id="stop3683"
offset="0"
style="stop-color:#0084dd;stop-opacity:1" />
<stop
id="stop3685"
offset="1"
style="stop-color:white;stop-opacity:1" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4843"
id="linearGradient2979"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
x1="247"
y1="441.86218"
x2="292"
y2="282.36218" />
<linearGradient
id="linearGradient4843">
<stop
style="stop-color:white;stop-opacity:0.49411765;"
offset="0"
id="stop4845" />
<stop
style="stop-color:white;stop-opacity:0.25098041;"
offset="1"
id="stop4847" />
</linearGradient>
<linearGradient
y2="282.36218"
x2="292"
y1="441.86218"
x1="247"
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
gradientUnits="userSpaceOnUse"
id="linearGradient3698"
xlink:href="#linearGradient4843"
inkscape:collect="always" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3769"
id="linearGradient3094"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,0.551724)"
x1="15.5"
y1="5.9497476"
x2="4"
y2="31" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4825"
id="linearGradient3096"
gradientUnits="userSpaceOnUse"
x1="253.74718"
y1="412.82977"
x2="188.00023"
y2="542.33295" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4825"
id="linearGradient3098"
gradientUnits="userSpaceOnUse"
x1="253.74718"
y1="412.82977"
x2="188.00023"
y2="542.33295" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4843"
id="linearGradient3100"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.6423)"
x1="247"
y1="441.86218"
x2="292"
y2="282.36218" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4843"
id="linearGradient3103"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.09240924,0,0,0.09240924,-5.65772,-25.1423)"
x1="247"
y1="441.86218"
x2="292"
y2="282.36218" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3769"
id="linearGradient3109"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.954545,0,0,0.965517,1.704545,1020.4139)"
x1="15.5"
y1="5.9497476"
x2="4"
y2="31" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="22.627417"
inkscape:cx="7.6663386"
inkscape:cy="15.935691"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1145"
inkscape:window-x="-2"
inkscape:window-y="-3"
inkscape:window-maximized="1"
inkscape:snap-global="false" />
<metadata
id="metadata3657">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1019.3622)">
<path
style="fill:#000000;fill-opacity:1;stroke:none;display:inline"
d="M 9.625 1.5 C 7.0662299 1.5 5 3.5662299 5 6.125 L 5 26.875 C 5 29.43377 7.0662299 31.5 9.625 31.5 L 23.375 31.5 C 25.93377 31.5 28 29.43377 28 26.875 L 28 6.125 C 28 3.5662299 25.93377 1.5 23.375 1.5 L 9.625 1.5 z "
transform="translate(0,1019.3622)"
id="rect2802" />
<rect
rx="4"
ry="4"
y="1021.8622"
x="6"
height="28"
width="21"
id="rect4875"
style="fill:url(#linearGradient3109);fill-opacity:1;stroke:none" />
<path
sodipodi:type="star"
style="fill:none;stroke:none"
id="path4877"
sodipodi:sides="5"
sodipodi:cx="229"
sodipodi:cy="456"
sodipodi:r1="121.55363"
sodipodi:r2="60.646587"
sodipodi:arg1="0.81345017"
sodipodi:arg2="1.4167054"
inkscape:flatsided="false"
inkscape:rounded="0.36"
inkscape:randomized="0"
d="m 312.50679,544.32837 c -20.28396,20.1643 -45.83498,-32.08006 -74.19864,-28.40036 -29.32333,3.80421 -41.202,60.28859 -67.50841,46.78663 -25.44547,-13.06007 16.34617,-53.50493 4.08171,-79.34329 -12.67942,-26.71258 -70.06997,-20.55523 -65.35797,-49.74645 4.55778,-28.23586 55.93746,-0.9878 76.72126,-20.63649 21.48703,-20.31349 -2.10362,-72.99241 27.11497,-77.53162 28.26233,-4.39065 18.22508,52.89443 43.33464,66.58923 25.95913,14.15816 68.76986,-24.55656 82.11594,1.82928 12.9093,25.52229 -44.67374,33.67836 -49.93898,61.7909 -5.4434,29.06371 44.60573,57.81562 23.63548,78.66217 z"
transform="matrix(0.09169279,0.01148462,-0.01148462,0.09169279,1.24989,991.24215)" />
<path
transform="matrix(0.07507522,4.398431e-4,-4.398431e-4,0.07507522,-2.36792,1006.9382)"
d="m 294.46869,523.45259 c -9.08043,8.81335 -45.57491,-17.76993 -58.10148,-15.97712 -12.52658,1.79282 -40.09949,37.54547 -51.28749,31.63294 -11.18801,-5.91252 2.81678,-48.83551 -2.75921,-60.19499 -5.57599,-11.35947 -48.09928,-26.53469 -45.93342,-39.00218 2.16586,-12.46749 47.31577,-12.41208 56.39619,-21.22544 9.08043,-8.81335 10.3725,-53.9448 22.89908,-55.73762 12.52657,-1.79281 26.42597,41.16443 37.61397,47.07695 11.188,5.91252 54.50984,-6.80503 60.08583,4.55445 5.57599,11.35947 -30.98363,37.85309 -33.14948,50.32059 -2.16586,12.46749 23.31643,49.73906 14.23601,58.55242 z"
inkscape:randomized="0"
inkscape:rounded="0.21"
inkscape:flatsided="false"
sodipodi:arg2="1.428641"
sodipodi:arg1="0.80032243"
sodipodi:r2="52"
sodipodi:r1="94"
sodipodi:cy="456"
sodipodi:cx="229"
sodipodi:sides="5"
id="path4879"
style="fill:url(#linearGradient3096);fill-opacity:1;stroke:#ffffff;stroke-width:15.98369503;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
sodipodi:type="star" />
<path
sodipodi:type="star"
style="fill:url(#linearGradient3098);fill-opacity:1;stroke:#ffffff;stroke-width:24.86989784;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path4889"
sodipodi:sides="5"
sodipodi:cx="229"
sodipodi:cy="456"
sodipodi:r1="94"
sodipodi:r2="52"
sodipodi:arg1="0.80032243"
sodipodi:arg2="1.428641"
inkscape:flatsided="false"
inkscape:rounded="0.21"
inkscape:randomized="0"
d="m 294.46869,523.45259 c -9.08043,8.81335 -45.57491,-17.76993 -58.10148,-15.97712 -12.52658,1.79282 -40.09949,37.54547 -51.28749,31.63294 -11.18801,-5.91252 2.81678,-48.83551 -2.75921,-60.19499 -5.57599,-11.35947 -48.09928,-26.53469 -45.93342,-39.00218 2.16586,-12.46749 47.31577,-12.41208 56.39619,-21.22544 9.08043,-8.81335 10.3725,-53.9448 22.89908,-55.73762 12.52657,-1.79281 26.42597,41.16443 37.61397,47.07695 11.188,5.91252 54.50984,-6.80503 60.08583,4.55445 5.57599,11.35947 -30.98363,37.85309 -33.14948,50.32059 -2.16586,12.46749 23.31643,49.73906 14.23601,58.55242 z"
transform="matrix(0.03131375,-0.02522366,0.02522366,0.03131375,2.32085,1020.069)" />
<path
style="fill:url(#linearGradient3103);fill-opacity:1;stroke:none;display:inline"
d="M 9.625 1.5 C 7.0662299 1.5 5 3.5662 5 6.125 L 5 11.09375 C 13.080118 11.574249 23.411903 16.044761 28 19.625 L 28 6.125 C 28 3.5662 25.933769 1.5 23.375 1.5 L 9.625 1.5 z "
transform="translate(0,1019.3622)"
id="path4881" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

9
generate-anki-tarball.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
VERSION=$1
tar -xzvf anki-$VERSION.tgz
rm -rf anki-$VERSION/libanki/tests/importing/*.xml
tar -czvf anki-$VERSION-nosamples.tgz anki-$VERSION

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (anki-2.0.50-source.tgz) = e4bd27768937534c6d94530b87269e62b348ca68b4e8cc46841ae7197bd8e02f46a6b328ff470a624ff2acdd1a61cd9435aa5dd4fecebd4fa570529c06955bc0