summaryrefslogtreecommitdiff
path: root/misc/py-anki2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-12-31 17:47:21 +0000
committerwiz <wiz@pkgsrc.org>2013-12-31 17:47:21 +0000
commit00c4552cea592d1b7cce7a78568782af6b10ec5d (patch)
treedf2467e9f7d17832b0700e593f8da672b318ad7e /misc/py-anki2
parenta5908d62d04cadf31a7caee679ff9a867033292b (diff)
downloadpkgsrc-00c4552cea592d1b7cce7a78568782af6b10ec5d.tar.gz
Update to 2.0.20:
Changes in 2.0.20 Fixed a bug where "check media" could incorrectly report media as unused when the media filenames were encoding incorrectly. Changes in 2.0.19 When resizing columns in the browser, move the others. Fix a bug in the "reschedule as new" feature that could lead to cards ending up in an inconsistent state in some circumstances. Fix card layout screen jumping to original tab when flipping. Fix an error in syncing when time passed between connections. Fix a bug in "check media". When rescheduling in the browser, automatically remove from a filtered deck instead of ignoring filtered cards. Same with buried/suspended. If a non-media URL is pasted in, paste it verbatim instead of ignoring it. Change import default for new users to ignore duplicates, instead of updating them. Fix a bug in the pasting of certain image links. Fix a error that could occur on Windows when switching profiles or syncing. Add a more description error message to certain network issues. Fix an issue with media resyncing on Macs. Fix the message that displays when the clock is incorrect. Add an option to the preferences to disable compression of backups for slow computers. Fix an install error on FreeBSD.
Diffstat (limited to 'misc/py-anki2')
-rw-r--r--misc/py-anki2/Makefile4
-rw-r--r--misc/py-anki2/distinfo10
-rw-r--r--misc/py-anki2/patches/patch-Makefile13
3 files changed, 14 insertions, 13 deletions
diff --git a/misc/py-anki2/Makefile b/misc/py-anki2/Makefile
index 6de4f610b96..b004b6bd6ac 100644
--- a/misc/py-anki2/Makefile
+++ b/misc/py-anki2/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2013/11/18 19:46:14 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2013/12/31 17:47:21 wiz Exp $
-DISTNAME= anki-2.0.18
+DISTNAME= anki-2.0.20
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:C/anki/anki2/}
CATEGORIES= misc x11
MASTER_SITES= http://ankisrs.net/download/mirror/
diff --git a/misc/py-anki2/distinfo b/misc/py-anki2/distinfo
index 12e2a06d6b9..99e3cb2eea7 100644
--- a/misc/py-anki2/distinfo
+++ b/misc/py-anki2/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2013/11/18 19:46:14 wiz Exp $
+$NetBSD: distinfo,v 1.15 2013/12/31 17:47:21 wiz Exp $
-SHA1 (anki-2.0.18.tgz) = 62203c105bfbd6c993de0808bd88f93905fd9586
-RMD160 (anki-2.0.18.tgz) = 4b422c0ae24ecc97b8aa60f7809cacc968c3462d
-Size (anki-2.0.18.tgz) = 3179157 bytes
-SHA1 (patch-Makefile) = aec4f2bc649f6173d4a5c87b559e825a2462748e
+SHA1 (anki-2.0.20.tgz) = 73e4a293d60a3b47b6ccc2a057e098e91e9edb3e
+RMD160 (anki-2.0.20.tgz) = 8224257c6255e22bcd7f894b9585614663fd4ba7
+Size (anki-2.0.20.tgz) = 3187458 bytes
+SHA1 (patch-Makefile) = 7148ed542b1f1be4e75274a82fda4863bf40f861
diff --git a/misc/py-anki2/patches/patch-Makefile b/misc/py-anki2/patches/patch-Makefile
index 52ed1f6b01b..6ace2ee17b2 100644
--- a/misc/py-anki2/patches/patch-Makefile
+++ b/misc/py-anki2/patches/patch-Makefile
@@ -1,16 +1,17 @@
-$NetBSD: patch-Makefile,v 1.2 2013/01/21 14:35:22 wiz Exp $
+$NetBSD: patch-Makefile,v 1.3 2013/12/31 17:47:21 wiz Exp $
Do not hardcode '/local'.
---- Makefile.orig 2012-12-21 08:57:14.000000000 +0000
+--- Makefile.orig 2013-12-09 02:51:52.000000000 +0000
+++ Makefile
-@@ -10,19 +10,16 @@ install:
+@@ -10,20 +10,17 @@ install:
mkdir -p ${DESTDIR}${PREFIX}/share/anki
cp -av * ${DESTDIR}${PREFIX}/share/anki/
cd ${DESTDIR}${PREFIX}/share/anki && (\
- mv runanki ${DESTDIR}${PREFIX}/local/bin/anki;\
+ mv runanki ${DESTDIR}${PREFIX}/bin/anki;\
- mv anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/;\
+ test -d ${DESTDIR}${PREFIX}/share/pixmaps &&\
+ mv anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/;\
mv anki.desktop ${DESTDIR}${PREFIX}/share/applications;\
mv anki.1 ${DESTDIR}${PREFIX}/share/man/man1/)
- xdg-mime install anki.xml --novendor
@@ -23,6 +24,6 @@ Do not hardcode '/local'.
rm -rf ${DESTDIR}${PREFIX}/share/anki
- rm -rf ${DESTDIR}${PREFIX}/local/bin/anki
+ rm -rf ${DESTDIR}${PREFIX}/bin/anki
- rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.{xpm,png}
+ rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.xpm
+ rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.png
rm -rf ${DESTDIR}${PREFIX}/share/applications/anki.desktop
- rm -rf ${DESTDIR}${PREFIX}/share/man/man1/anki.1