diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b69a9a5..0000000 --- a/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -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 diff --git a/anki-2.0.3-noupdate.patch b/anki-2.0.3-noupdate.patch deleted file mode 100644 index b895f94..0000000 --- a/anki-2.0.3-noupdate.patch +++ /dev/null @@ -1,17 +0,0 @@ -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=[], diff --git a/anki-make-git-snapshot.sh b/anki-make-git-snapshot.sh deleted file mode 100644 index b794244..0000000 --- a/anki-make-git-snapshot.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/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 - diff --git a/anki.appdata.xml b/anki.appdata.xml deleted file mode 100644 index 3805d8f..0000000 --- a/anki.appdata.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - anki.desktop - CC0 - -

- 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. -

-

- 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. -

-

For example:

- -
- - http://chkr.fedorapeople.org/screenshots/anki/anki-review1.png - http://chkr.fedorapeople.org/screenshots/anki/anki-deck-browser.png - http://chkr.fedorapeople.org/screenshots/anki/anki-review2.png - http://chkr.fedorapeople.org/screenshots/anki/anki-browser.png - http://chkr.fedorapeople.org/screenshots/anki/anki-statistics.png - - http://ankisrs.net/ - chkr@fedoraproject.org -
diff --git a/anki.spec b/anki.spec deleted file mode 100644 index 53d70c7..0000000 --- a/anki.spec +++ /dev/null @@ -1,333 +0,0 @@ -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - -Name: anki -Version: 2.0.33 -Release: 1%{?dist} -Summary: Flashcard program for using space repetition learning - -Group: Amusements/Games -License: AGPLv3+ and GPLv3+ and MIT and BSD -URL: http://ankisrs.net/ -Source0: http://ankisrs.net/download/mirror/anki-%{version}.tgz -Source1: anki.svg -Source2: anki.appdata.xml - -# Config change: don't check for new updates. -Patch0: anki-2.0.3-noupdate.patch -BuildRequires: python2-devel, python-setuptools, python-sqlalchemy -BuildRequires: desktop-file-utils, PyQt4, python-simplejson -Requires: hicolor-icon-theme -Requires: qt4, PyQt4 -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 -%setup -q -mv thirdparty/send2trash . -rm -rf thirdparty -%patch0 -p1 -b .noupdate - -%build - -%install -mkdir -p %{buildroot}%{_datadir}/%{name} -rm -f aqt/*.noupdate -rm -f aqt/*.fix-browserview -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 Nov 30 2015 Christian Krause - 2.0.33-1 -- Update to new upstream version 2.0.33 (BZ 1270574) -- Correct files list entry for LICENSE files - -* Sun Apr 05 2015 Christian Krause - 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 - 2.0.31-1 -- Update to new upstream version 2.0.31 (BZ 1144973) - -* Wed Jul 30 2014 Christian Krause - 2.0.28-1 -- Update to new upstream version 2.0.28 (BZ 1123961) - -* Tue Jul 08 2014 Rex Dieter 2.0.26-3 -- optimize mimeinfo scriptlet - -* Sat Jun 07 2014 Fedora Release Engineering - 2.0.26-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue May 20 2014 Christian Krause - 2.0.26-1 -- Update to new upstream version 2.0.26 (BZ 1090863) -- Add appdata - -* Fri Apr 18 2014 Christian Krause - 2.0.25-1 -- Update to new upstream version 2.0.25 (BZ 1087211) - -* Fri Jan 31 2014 Christian Krause - 2.0.22-1 -- Update to new upstream version 2.0.22 (BZ 1057013) - -* Tue Jan 14 2014 Christian Krause - 2.0.20-2 -- Fix typo in changelog - -* Tue Jan 14 2014 Christian Krause - 2.0.20-1 -- Update to new upstream version 2.0.20 (BZ 1040134) - -* Wed Nov 20 2013 Christian Krause - 2.0.18-1 -- Update to new upstream version 2.0.18 (BZ 1027704) - -* Fri Nov 01 2013 Christian Krause - 2.0.16-1 -- Update to new upstream version 2.0.16 - -* Fri Oct 11 2013 Christian Krause - 2.0.13-1 -- Update to new upstream version 2.0.13 - -* Sun Aug 04 2013 Christian Krause - 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 - 2.0.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Mon Jun 24 2013 Christian Krause - 2.0.11-1 -- Update to new upstream version 2.0.11 (BZ 973523) - -* Mon Jun 03 2013 Christian Krause - 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 - 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 - 2.0.8-1 -- Update to new upstream version 2.0.8 - -* Sat Feb 02 2013 Christian Krause - 2.0.7-1 -- Update to new upstream version 2.0.7 - -* Thu Jan 10 2013 Christian Krause - 2.0.4-1 -- Update to anki-2.0.4 (based on work from Christophe Fergeau ) -- 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 - 1.2.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sun Jul 01 2012 Christian Krause - 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 - 1.2.9-4 -- Remove python-sqlite2 dep as anki will work with the stdlib sqlite3 module - -* Thu Jan 12 2012 Fedora Release Engineering - 1.2.9-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Sun Jul 24 2011 Christian Krause - 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 - 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 - 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 - 1.2.8-1 -- Update to new upstream version 1.2.8 (BZ 691342) - -* Sun Feb 27 2011 Christian Krause - 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 - 1.2.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Feb 05 2011 Christian Krause - 1.2.6-1 -- Update to new upstream version 1.2.6 (BZ 665163) - -* Thu Jan 27 2011 Christian Krause - 1.2.5-1 -- Update to new upstream version 1.2.5 (BZ 665163) - -* Sun Jan 23 2011 Christian Krause - 1.2.4-1 -- Update to new upstream version 1.2.4 (BZ 665163) - -* Fri Jan 14 2011 Christian Krause - 1.2.2-1 -- Update to new upstream version 1.2.2 (BZ 665163) - -* Tue Dec 14 2010 Christian Krause - 1.1.10-1 -- Update to new upstream version 1.1.10 (BZ 655939) - -* Sat Aug 21 2010 Christian Krause - 1.0.1-1 -- Update to new upstream version 1.0.1 - -* Mon Aug 02 2010 Christian Krause - 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 - 0.9.9.8.6-5 -- Generalized generation of anki.lang to support any python 2.* release - -* Wed Jul 21 2010 David Malcolm - 0.9.9.8.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Thu May 13 2010 Christian Krause - 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 - 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 - 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 - 0.9.9.8.5-3.git20100120 -- Update to git snapshot -- Includes fix for BZ 546331 - -* Fri Jul 24 2009 Fedora Release Engineering - 0.9.9.8.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sun Jul 12 2009 Christian Krause - 0.9.9.8.5-1 -- Update to new upstream version 0.9.9.8.5 - -* Thu Jul 02 2009 Christian Krause - 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 - 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 - 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 - 0.9.9.7.8-2 -- Bump release - -* Wed May 06 2009 Christian Krause - 0.9.9.7.8-1 -- Update to new upstream version 0.9.9.7.8 - -* Sat Apr 11 2009 Christian Krause - 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 - 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 - 0.9.9.6-4 -- Bump release - -* Fri Feb 27 2009 Christian Krause - 0.9.9.6-3 -- Proper packaging of locale files - -* Fri Feb 13 2009 Christian Krause - 0.9.9.6-2 -- Fixed license field -- Install unihan.db - -* Wed Feb 11 2009 Christian Krause - 0.9.9.6-1 -- First spec file for anki diff --git a/anki.svg b/anki.svg deleted file mode 100644 index 7a24e83..0000000 --- a/anki.svg +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/generate-anki-tarball.sh b/generate-anki-tarball.sh deleted file mode 100755 index 9a261a7..0000000 --- a/generate-anki-tarball.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/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 - diff --git a/sources b/sources deleted file mode 100644 index e00d32d..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -5df370dd19c71a76cdce448104824cf7 anki-2.0.33.tgz