--- anki-0.9.9.8.6.orig/libanki/anki/lang.py +++ anki-0.9.9.8.6/libanki/anki/lang.py @@ -33,7 +33,7 @@ def setLang(lang, local=True): base = os.path.dirname(os.path.abspath(__file__)) - localeDir = os.path.join(base, "locale") + localeDir = "/usr/share/locale" if not os.path.exists(localeDir): localeDir = os.path.join( os.path.dirname(sys.argv[0]), "locale") --- anki-0.9.9.8.6.orig/debian/rules +++ anki-0.9.9.8.6/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +build: + +binary: binary-arch binary-indep +binary-arch: + +binary-indep: + dh_testdir + dh_testroot + dh_clean + dh_installdirs usr/bin + dh_install + cp debian/anki-launcher debian/anki/usr/bin/anki + dh_installchangelogs + dh_installdocs README README.development README.translating CREDITS + dh_installmenu + dh_pysupport + dh_installman debian/anki.1 + dh_compress -X.anki + find debian/anki/usr/share -type f -perm -1 -exec chmod a-x {} \; + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +clean: + dh_testdir + dh_testroot + find -name \*.py[co] -exec rm {} \; + dh_clean + +.PHONY: build clean binary binary-arch binary-indep --- anki-0.9.9.8.6.orig/debian/control +++ anki-0.9.9.8.6/debian/control @@ -0,0 +1,32 @@ +Source: anki +Maintainer: Andreas Bombe +Section: misc +Priority: optional +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: python-support (>= 0.6) +Standards-Version: 3.8.4 +Homepage: http://ichi2.net/anki + +Package: anki +Architecture: all +Depends: ${python:Depends}, ${misc:Depends}, + python-qt4 (>= 4.4), python-simplejson (>= 1.7.3), + python-sqlalchemy (>= 0.4.3), python-beautifulsoup +Recommends: python-matplotlib, kakasi +Suggests: dvipng +Description: extensible flashcard learning program + 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. + To do this, it tracks how well you remember each fact, and uses that + information to optimally schedule review times. + . + Besides text, it supports sounds, images and rendering TeX snippets in the + cards. It can synchronize card decks to a server so that you can review the + deck on other computers, a web interface or mobile devices, for which versions + of Anki are also available. Complete card decks offered by other users can be + downloaded the same way. + . + Anki is extensible with plugins which can be downloaded and installed from + the menu. While Anki can be used for studying anything, plugins are available + with special features designed to make studying Japanese and English easier: + integrated dictionary lookups, missing kanji reports, and more. --- anki-0.9.9.8.6.orig/debian/watch +++ anki-0.9.9.8.6/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://code.google.com/p/anki/downloads/list http://anki.googlecode.com/files/anki-(.*)\.tgz --- anki-0.9.9.8.6.orig/debian/anki-launcher +++ anki-0.9.9.8.6/debian/anki-launcher @@ -0,0 +1,8 @@ +#!/usr/bin/python +# Simplified launcher for anki as installed in the Debian system + +import sys +sys.path[0:0] = ['/usr/share/anki'] + +import ankiqt +ankiqt.run() --- anki-0.9.9.8.6.orig/debian/copyright +++ anki-0.9.9.8.6/debian/copyright @@ -0,0 +1,13 @@ +Anki was debianised by Andreas Bombe . It was downloaded from +http://ichi2.net/anki/download/ + +Copyright 2007-2010 Damien Elmes, with contributions by "Lac", "Iroiro" and +"Frostschutz". Translations provided by Laurent Steffan, Andreas Klauer and +"Pcsl". + +License: + # Copyright: Damien Elmes + # License: GNU GPL, version 3 or later; http://www.gnu.org/copyleft/gpl.html + +On Debian systems, the complete text of the GNU General Public License version 3 +can be found in /usr/share/common-licenses/GPL-3. --- anki-0.9.9.8.6.orig/debian/compat +++ anki-0.9.9.8.6/debian/compat @@ -0,0 +1 @@ +7 --- anki-0.9.9.8.6.orig/debian/anki.xpm +++ anki-0.9.9.8.6/debian/anki.xpm @@ -0,0 +1,291 @@ +/* XPM */ +static char * anki_xpm[] = { +"32 32 256 2", +" c None", +". c #525252", +"+ c #515151", +"@ c #505050", +"# c #4F4F4F", +"$ c #4D4D4D", +"% c #4B4B4B", +"& c #4A4A4A", +"* c #494949", +"= c #484848", +"- c #474747", +"; c #464646", +"> c #454545", +", c #444444", +"' c #424242", +") c #404040", +"! c #595959", +"~ c #5E5E5E", +"{ c #707070", +"] c #787878", +"^ c #7C7C7C", +"/ c #7B7B7B", +"( c #7A7A7A", +"_ c #797979", +": c #777777", +"< c #767676", +"[ c #757575", +"} c #747474", +"| c #737373", +"1 c #727272", +"2 c #6D6D6D", +"3 c #606060", +"4 c #636363", +"5 c #828282", +"6 c #808080", +"7 c #7F7F7F", +"8 c #7E7E7E", +"9 c #7D7D7D", +"0 c #6C6C6C", +"a c #616161", +"b c #898989", +"c c #888888", +"d c #868686", +"e c #848484", +"f c #818181", +"g c #989898", +"h c #656565", +"i c #646464", +"j c #8A8A8A", +"k c #8E8E8E", +"l c #8C8C8C", +"m c #858585", +"n c #838383", +"o c #929292", +"p c #A7A7A7", +"q c #949494", +"r c #C7C7C7", +"s c #E8E9E9", +"t c #6E6E6E", +"u c #696969", +"v c #959595", +"w c #939393", +"x c #919191", +"y c #8F8F8F", +"z c #999999", +"A c #F6FBFE", +"B c #DFEFFB", +"C c #E6F1F9", +"D c #BADEF5", +"E c #D4E9F7", +"F c #A5A5A5", +"G c #575757", +"H c #979797", +"I c #969696", +"J c #8D8D8D", +"K c #8B8B8B", +"L c #878787", +"M c #E5EFF5", +"N c #97CDF1", +"O c #8DC8EF", +"P c #7ABFED", +"Q c #D4EAF9", +"R c #C6C6C6", +"S c #5B5B5B", +"T c #9E9E9E", +"U c #9C9C9C", +"V c #9B9B9B", +"W c #E5E7E8", +"X c #B4DAF5", +"Y c #90C9F0", +"Z c #94CBF1", +"` c #ABD6F3", +" . c #E4F2FB", +".. c #D6D7D7", +"+. c #5F5F5F", +"@. c #A2A2A2", +"#. c #A0A0A0", +"$. c #9F9F9F", +"%. c #9D9D9D", +"&. c #9A9A9A", +"*. c #B5B5B5", +"=. c #E8F3FA", +"-. c #AED8F4", +";. c #A9D5F3", +">. c #ADD7F4", +",. c #CDE7F8", +"'. c #EAF5FC", +"). c #E7E7E7", +"!. c #626262", +"~. c #909090", +"{. c #A1A1A1", +"]. c #D8D8D8", +"^. c #EFF2F3", +"/. c #ECF1F4", +"(. c #E8F3FC", +"_. c #F0F0F0", +":. c #B6B6B6", +"<. c #666666", +"[. c #010101", +"}. c #686868", +"|. c #A9A9A9", +"1. c #B0B0B0", +"2. c #E9EAEA", +"3. c #F7FBFD", +"4. c #D7D7D7", +"5. c #6A6A6A", +"6. c #000000", +"7. c #5D5D5D", +"8. c #585858", +"9. c #A8A8A8", +"0. c #E1E1E1", +"a. c #ACACAC", +"b. c #5A5A5A", +"c. c #717171", +"d. c #EEF0F1", +"e. c #CCCCCC", +"f. c #565656", +"g. c #676767", +"h. c #C9C9C9", +"i. c #AAD6F4", +"j. c #DBEBF6", +"k. c #ADADAD", +"l. c #6F6F6F", +"m. c #ECF3F7", +"n. c #4CA9E7", +"o. c #4EAAE7", +"p. c #D2E9F9", +"q. c #319CE3", +"r. c #118CDF", +"s. c #E4E4E4", +"t. c #C2C2C2", +"u. c #C0C0C0", +"v. c #C8C8C8", +"w. c #EEEFF0", +"x. c #9DD0F2", +"y. c #2998E2", +"z. c #1C91E0", +"A. c #92CBF0", +"B. c #96CDF1", +"C. c #98CEF1", +"D. c #99CEF1", +"E. c #F0F8FD", +"F. c #5C5C5C", +"G. c #ECECEC", +"H. c #EEF5F9", +"I. c #C1E1F7", +"J. c #93CBF0", +"K. c #58AEE9", +"L. c #3BA0E5", +"M. c #2F9AE3", +"N. c #2596E2", +"O. c #1990E0", +"P. c #108BDF", +"Q. c #0686DD", +"R. c #47A6E7", +"S. c #E9EFF3", +"T. c #171717", +"U. c #DBEDFA", +"V. c #70BAEB", +"W. c #67B6EA", +"X. c #5BB0E8", +"Y. c #52ABE7", +"Z. c #45A5E6", +"`. c #3CA1E5", +" + c #309BE3", +".+ c #2796E2", +"++ c #50ABE8", +"@+ c #DCEDF9", +"#+ c #A5A6A6", +"$+ c #4C4C4C", +"%+ c #0F0F0F", +"&+ c #ECEDEE", +"*+ c #E1F1FB", +"=+ c #94CBF0", +"-+ c #7ABEED", +";+ c #6EB9EB", +">+ c #64B4EA", +",+ c #58AEE8", +"'+ c #4FAAE7", +")+ c #43A4E5", +"!+ c #3FA2E5", +"~+ c #CBE6F8", +"{+ c #D0D0D0", +"]+ c #101010", +"^+ c #F1F6FA", +"/+ c #B7DCF5", +"(+ c #84C4EE", +"_+ c #7BBFED", +":+ c #6FB9EB", +"<+ c #66B5EA", +"[+ c #5AAFE8", +"}+ c #5BAFE8", +"|+ c #F1F5F7", +"1+ c #6B6B6B", +"2+ c #D1D1D1", +"3+ c #E2F1FB", +"4+ c #8EC8F0", +"5+ c #82C2EE", +"6+ c #78BEED", +"7+ c #6CB8EB", +"8+ c #63B3EA", +"9+ c #D5EBF9", +"0+ c #B9B9B9", +"a+ c #545454", +"b+ c #111111", +"c+ c #C5C5C5", +"d+ c #E7F4FC", +"e+ c #A5D3F3", +"f+ c #AAD5F4", +"g+ c #ACD7F4", +"h+ c #8FC9F0", +"i+ c #CACACA", +"j+ c #ECF6FC", +"k+ c #C2E1F6", +"l+ c #CBE5F7", +"m+ c #F0F7FD", +"n+ c #F9FCFE", +"o+ c #C7E4F7", +"p+ c #B1D9F4", +"q+ c #F1F8FC", +"r+ c #121212", +"s+ c #CFCFCF", +"t+ c #F5FAFD", +"u+ c #EFF7FC", +"v+ c #F3F3F4", +"w+ c #F1F1F1", +"x+ c #0D0D0D", +"y+ c #BFBFBF", +"z+ c #FDFEFE", +"A+ c #EBEBEB", +"B+ c #AEAEAE", +"C+ c #040404", +"D+ c #1B1B1B", +"E+ c #A3A3A3", +"F+ c #0E0E0E", +"G+ c #020202", +" ", +" . + @ # $ $ % & * = - ; > , ' ' ) ", +" ! ~ { ] ^ / ( _ _ ] : < [ } | | 1 2 3 $ ' ", +" 4 / 5 6 7 8 9 ^ / ( ( _ ] : < [ } } | 0 % ", +" a ^ b c d e 5 f 6 7 8 9 ^ / ( _ 9 g f < [ h & ", +" i j k l j c d m n 5 f 6 o p q j r s g _ ] t + ", +" u v w x y k l j b d m n z A B C D E F ^ / } G ", +" 0 z H I q o x y J K b L j M N O P Q R 6 8 < S ", +" { T U V z H I q o x y J y W X Y Z ` ...o ( +. ", +" } @.#.$.%.U &.g H v w x *.=.-.;.>.,.'.).T 9 !. ", +" @ ~.o g T {.$.%.U &.g %.].^./.(.Q _.:.K L 6 <. ", +" [.+.!.}.2 ] c T #.T U %.|.1.1.2.3.4.o J K e 5. ", +" 6.3 ~ 7.S ! 8.S t L w T T %.V 9.0.a.q w x b t ", +" 6.4 !.3 +.7.S b.c.! a { e U $.%.9.V g H v J 1 ", +" 6.<.h 4 !.3 +.~.d.e.0 G f.! } w T $.%.U &.o < ", +" 6.5.}.g.h 4 !.h.i.j.k.b.! G f.3 [ &.@.#.$.I ( ", +" 6.2 0 5.u g.l.m.n.o.=.m 7.b.! G f.! 1 w {.V 8 ", +" 6.{ l.2 0 5.z p.q.r.Z s.t.u.u.a.l.G f.~ : V 5 ", +" 6.} [ J T v.w.x.y.z.z.A.B.C.D.E.*.S b.8.G G F. ", +" 6./ 1.G.H.I.J.K.L.M.N.O.P.Q.R.S.~.~ 7.S b.* T. ", +" 6.d ].U.O V.W.X.Y.Z.`. +.+++@+#+h !.3 ~ 7.$+%+ ", +" 6.8 &.&+*+=+-+;+>+,+'+)+!+~+{+2 g.h i !.3 # ]+ ", +" 6.f 6 K v.^+/+(+_+:+<+[+}+|+z 1+5.}.g.h i . ]+ ", +" 6.e n f m 2+3+N 4+5+6+7+8+9+0+l.2 1+5.}.g.a+b+ ", +" 6.c L m e c+d+-.e+f+g+h+_+g+2.} c.l.t 0 1+8.b+ ", +" 6.K j c L i+j+k+l+m+n+ .o+p+q+b } 1 c.l.t b.r+ ", +" 6.7 J l j s+t+u+v+0+~.*.4._.w+L ] < } | c.G x+ ", +" 6.a x y J y+z+A+B+d e 5 L V V 8 / _ ] < [ & C+ ", +" D+[ o x H E+y K b c d e n f 6 8 ^ / _ g.F+ ", +" G+D+4 n o x y k l K b c d m n 5 7 | $ D+6. ", +" 6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6.6. ", +" "}; --- anki-0.9.9.8.6.orig/debian/anki.NEWS +++ anki-0.9.9.8.6/debian/anki.NEWS @@ -0,0 +1,8 @@ +anki (0.9.9.8.6-1) unstable; urgency=low + + Special support for Japanese and Chinese was removed from the anki source + distribution. These and many other features are now available in the form + of plugins that can be downloaded and installed by anki. The download + option can be found in the menu under File->Download->Shared Plugin. + + -- Andreas Bombe Fri, 26 Feb 2010 04:14:47 +0100 --- anki-0.9.9.8.6.orig/debian/anki.install +++ anki-0.9.9.8.6/debian/anki.install @@ -0,0 +1,12 @@ +ankiqt/__init__.py usr/share/anki/ankiqt +ankiqt/config.py usr/share/anki/ankiqt +icons_rc.py usr/share/anki/ankiqt +ankiqt/forms/*.py usr/share/anki/ankiqt/forms +ankiqt/ui/*.py usr/share/anki/ankiqt/ui +libanki/anki/*.py usr/share/anki/anki +libanki/anki/importing/*.py usr/share/anki/anki/importing + +ankiqt/locale/*/ usr/share/locale +libanki/anki/locale/*/ usr/share/locale +debian/anki.xpm usr/share/pixmaps +anki.desktop usr/share/applications --- anki-0.9.9.8.6.orig/debian/anki.1 +++ anki-0.9.9.8.6/debian/anki.1 @@ -0,0 +1,52 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH ANKI 1 "August 11, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +anki \- flashcard program for language learning +.SH DESCRIPTION +\fBAnki\fP 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. +To do this, it tracks how well you remember each fact, and uses that +information to optimally schedule review times. With a minimal amount of +effort, you can greatly increase the amount of material you remember, making +study more productive, and more fun. + +Anki is based on a theory called \fIspaced repetition\fP. In simple terms, it means +that each time you review some material, you should wait longer than last time +before reviewing it again. This maximizes the time spent studying difficult +material and minimizes the time spent reviewing things you already know. The +concept is simple, but the vast majority of memory trainers and flashcard +programs out there either avoid the concept all together, or implement +inflexible and suboptimal methods that were originally designed for pen and +paper. + +Anki's primary target is people studying Japanese, and Japanese native speakers +studying English. However, it can be used to remember anything at all, and +there are some users who are studying Chinese and possibly other languages with +it. +.SH OPTIONS +.B anki +does not take command line options. Its interface is entirely graphical. +.SH SEE ALSO +Anki home page: +.br +Community support thread: +.SH AUTHOR +anki was written by Damien Elmes . +.PP +This manual page was written by Nicholas Breen , +for the Debian project (but may be used by others). --- anki-0.9.9.8.6.orig/debian/changelog +++ anki-0.9.9.8.6/debian/changelog @@ -0,0 +1,165 @@ +anki (0.9.9.8.6-2~lucid1) lucid-proposed; urgency=low + + * Backport from maverick to fix FTBFS (LP: #550145) + + -- Mackenzie Morgan Mon, 31 May 2010 15:55:50 -0400 + +anki (0.9.9.8.6-2) unstable; urgency=low + + * Add Depends on python-beautifulsoup, it is not as optional as the + README suggests (Closes: 571725) + * Remove Build-Depends-Indep on python-sqlalchemy, another one no + longer needed since unihan.db is not built anymore + + -- Andreas Bombe Sun, 28 Feb 2010 01:33:51 +0100 + +anki (0.9.9.8.6-1) unstable; urgency=low + + * Imported Upstream version 0.9.9.8.6 + * Update debian/watch with new source location at Google code + * debian/rules: Remove dh_desktop, it no longer does anything + * debian/rules: Add ${misc:Depends} to Depends as Lintian suggests + * Remove build, install and associated Build-Depends of Unihan + database, support moved from source distribution to plugins (Closes: + 551235) + * debian/control: Remove dependencies on python-pysqlite2, Python >= + 2.5 is sufficient (Closes: 569636) + * debian/control: Increase minimum required version of python- + sqlalchemy to 0.4.3 + * debian/control: Bump Standards-Version to 3.8.4, no changes + necessary + * debian/compat, debian/control: Use debhelper compat level 7 + * Add debian/anki.NEWS with information about removed language support + and downloadable plugins that replace it + * debian/rules: Remove executable flag from all files to be installed + under usr/share for tidiness + * debian/control: Update package description to reflect current state + + -- Andreas Bombe Fri, 26 Feb 2010 13:20:48 +0100 + +anki (0.9.9.7.8-1) unstable; urgency=low + + * Imported Upstream version 0.9.9.7.8 + * Upstream release contains fix/workaround for segfault occuring with Qt + Plastique theme in a specific situation (closes: #518749) + * No support for local sample files anymore, no more repackaging of + upstream source needed; remove the notice from debian/copyright and the + dh_installexamples invocation from debian/rules + * debian/control: Bump Standards-Version to 3.8.1, no changes + necessary + + -- Andreas Bombe Fri, 08 May 2009 03:05:49 +0200 + +anki (0.9.9.6-1) unstable; urgency=low + + * New upstream release + * Starting with 0.9.9.5 anki supports SQLAlchemy 0.5 + + -- Andreas Bombe Mon, 16 Feb 2009 02:31:21 +0100 + +anki (0.9.9.4-1) unstable; urgency=low + + * New upstream release (closes: #507825) + * Always grabbing sound device should be fixed with this upstream release + (closes: #502800) + * debian/watch: updated download URL + * debian/anki.install: ankiqt/icons_rc.py is now a symlink, install the file + from the new location + * debian/control: remove duplicate Section header from binary stanza + + -- Andreas Bombe Mon, 05 Jan 2009 01:01:56 +0100 + +anki (0.9.7.8-1) unstable; urgency=low + + * New upstream release (closes: #496475) + * Deck properties scheduling settings bug fixed with new upstream version + (closes: #497093) + * Add script for repackaging source + * debian/rules: remove commands to move upstream debian/ files out of the + way, upstream releases without debian/ now + + -- Andreas Bombe Sun, 14 Sep 2008 04:08:20 +0200 + +anki (0.9.6-1) unstable; urgency=low + + * New upstream release + * Event handler treatment of objects fixed in upstream release (closes: + #486295) + * Uncloseable dialogs fixed in upstream release (closes: #483315) + * debian/control: update python-qt4 dependency for anki from >= 4.2 to >= + 4.4 + * debian/control: Standards-Version bumped to 3.8.0, no changes necessary + * anki.desktop: Upstream removed obsolete encoding field, patching no longer + necessary + * Upstream removed shell bangs from all Python modules except + ankiqt/__init__.py so only that one still needs patching + + -- Andreas Bombe Fri, 18 Jul 2008 03:42:08 +0200 + +anki (0.9.5.7-1) unstable; urgency=low + + * New upstream release + + -- Andreas Bombe Sun, 06 Apr 2008 17:05:49 +0200 + +anki (0.9.5.5-1) unstable; urgency=low + + * New upstream release now licensed under GPL 3 or later + * debian/copyright: adapt to upstream relicense + * debian/rules: install CREDITS as documentation + * debian/rules: move upstream debian/ files out of the way on build and + restore in clean, file removals aren't recorded in Debian diffs + + -- Andreas Bombe Mon, 31 Mar 2008 00:29:22 +0200 + +anki (0.9.5.4-2) unstable; urgency=low + + * Add python-sqlite2 to Build-Depends-Indep, now it really builds in a clean + chroot and fixes the FTBFS + + -- Andreas Bombe Tue, 11 Mar 2008 14:12:35 +0100 + +anki (0.9.5.4-1) unstable; urgency=low + + * New upstream release + * debian/control: add Suggests dvipng, it's used for rendering LaTeX + snippets + * debian/control: add python-sqlalchemy to Build-Depends-Indep, fixes FTBFS + (closes: #470334) + + -- Andreas Bombe Mon, 10 Mar 2008 22:52:15 +0100 + +anki (0.9.5.2-1) unstable; urgency=low + + * New upstream release fixes some serious bugs with card intervals + * debian/rules: clean target now also removes all .pyc and .pyo files + generated during a possible execution of the uninstalled anki + + -- Andreas Bombe Fri, 29 Feb 2008 01:07:37 +0100 + +anki (0.9.5-2) unstable; urgency=low + + * debian/control: Forgot to add python-pysqlite2 to Depends, required for + Python versions < 2.5 (closes: #468347) + + -- Andreas Bombe Thu, 28 Feb 2008 16:33:12 +0100 + +anki (0.9.5-1) unstable; urgency=low + + * New upstream release + * Remove shell bangs from all Python modules that had them for aesthetic + reasons, no lintian warnings anymore + * debian/rules: remove execute permissions from ankiqt/__init__.py for the + same reason + * ankiqt/ui/main.py: make setupAutoUpdate() return without doing anything to + avoid bugging the user about new upstream versions on every start + * debian/control: move all build depends except debhelper to + Build-Depends-Indep + + -- Andreas Bombe Thu, 28 Feb 2008 02:31:56 +0100 + +anki (0.9.4-1) unstable; urgency=low + + * Initial release. (closes: #452067) + + -- Andreas Bombe Mon, 25 Feb 2008 00:28:52 +0100 --- anki-0.9.9.8.6.orig/debian/anki.menu +++ anki-0.9.9.8.6/debian/anki.menu @@ -0,0 +1,3 @@ +?package(anki):needs="X11" section="Applications/Education"\ + title="Anki" command="/usr/bin/anki"\ + icon="/usr/share/pixmaps/anki.xpm" --- anki-0.9.9.8.6.orig/ankiqt/ui/main.py +++ anki-0.9.9.8.6/ankiqt/ui/main.py @@ -2037,7 +2037,7 @@ locale.setlocale(locale.LC_ALL, '') except: pass - languageDir=os.path.join(ankiqt.modDir, "locale") + languageDir="/usr/share/locale" self.languageTrans = gettext.translation('ankiqt', languageDir, languages=[self.config["interfaceLang"]], fallback=True) @@ -2416,6 +2416,7 @@ ########################################################################## def setupAutoUpdate(self): + return # do not lookup latest upstream version in Debian packaged anki self.autoUpdate = ui.update.LatestVersionFinder(self) self.connect(self.autoUpdate, SIGNAL("newVerAvail"), self.newVerAvail) self.connect(self.autoUpdate, SIGNAL("clockIsOff"), self.clockIsOff)