Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Sep 2015 22:48:37 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396198 - in head/games/anki: . files
Message-ID:  <201509052248.t85MmbLC095652@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Sep  5 22:48:36 2015
New Revision: 396198
URL: https://svnweb.freebsd.org/changeset/ports/396198

Log:
  games/anki: update to 2.0.32
  
  PR:		202908
  Submitted by:	Bert Burgemeister <trebbu@googlemail.com> (maintainer)
  
  ChangeLog:
  - Fixed a syncing bug that could lead to lost reviews and sanity
    check errors when deleting a filtered deck before syncing.
  - Make default note type titles consistent (thanks to Soren).
  - Load saved searches in alphabetical order (thanks to Houssam).
  - Fix some fields not being renamed in template when renaming
    field (thanks to Dave).
  - Fixed an error message that could occur in add-ons (thanks to Thomas) .
  - Add a few more media types in the file selector (thanks to Jonathan).
  - Report an error if an add-on download is corrupt.
  - Fix sync error being shown twice.
  - Updated translations, thanks to the translators.

Modified:
  head/games/anki/Makefile   (contents, props changed)
  head/games/anki/distinfo   (contents, props changed)
  head/games/anki/files/patch-Makefile   (contents, props changed)
  head/games/anki/pkg-plist   (contents, props changed)

Modified: head/games/anki/Makefile
==============================================================================
--- head/games/anki/Makefile	Sat Sep  5 22:48:23 2015	(r396197)
+++ head/games/anki/Makefile	Sat Sep  5 22:48:36 2015	(r396198)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	anki
-PORTVERSION=	2.0.31
-PORTREVISION=	1
+PORTVERSION=	2.0.32
 CATEGORIES=	games python
 MASTER_SITES=	http://ankisrs.net/download/mirror/
 DIST_SUBDIR=	python
@@ -28,25 +27,21 @@ RUN_DEPENDS=	lame:${PORTSDIR}/audio/lame
 USES=		desktop-file-utils python:2 shared-mime-info shebangfix tar:tgz
 SHEBANG_FILES=	tools/build_ui.sh tools/tests.sh
 USE_QT4=	network_run webkit_run
-
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
+NLS_USES=	gettext-runtime gettext-tools
 
-NLS_USES=	gettext-runtime:run
+NO_ARCH=	yes
 
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e \
-		's|^Categories=.*|Categories=Education;Languages;KDE;Qt;Game;|' \
-		${WRKSRC}/${PORTNAME}.desktop
 	@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|; \
 		s|/usr/share/anki|${DATADIR}|' \
 		${WRKSRC}/runanki
 	@${REINPLACE_CMD} -e \
 		's|/usr/share/anki/locale|${PREFIX}/share/locale|' \
 		${WRKSRC}/anki/lang.py
-	@${FIND} ${WRKSRC} -name "*.bak" -delete -or -name "*.orig" -delete
 
 .if ! ${PORT_OPTIONS:MNLS}
 	@${REINPLACE_CMD} -i '' '/mkdir -p qt-locale/,/cp -av locale/s/^/#/' \

Modified: head/games/anki/distinfo
==============================================================================
--- head/games/anki/distinfo	Sat Sep  5 22:48:23 2015	(r396197)
+++ head/games/anki/distinfo	Sat Sep  5 22:48:36 2015	(r396198)
@@ -1,2 +1,2 @@
-SHA256 (python/anki-2.0.31.tgz) = 4b969629255b00db9a9eb8a2fd70271cc41c92c47752eb1c78e8609ff025be2f
-SIZE (python/anki-2.0.31.tgz) = 3329290
+SHA256 (python/anki-2.0.32.tgz) = 398f00d9ab7da811548813e19b6da192f07d5c1c7e4486de508040ecc1abb93c
+SIZE (python/anki-2.0.32.tgz) = 3353186

Modified: head/games/anki/files/patch-Makefile
==============================================================================
--- head/games/anki/files/patch-Makefile	Sat Sep  5 22:48:23 2015	(r396197)
+++ head/games/anki/files/patch-Makefile	Sat Sep  5 22:48:36 2015	(r396198)
@@ -1,12 +1,12 @@
---- ./Makefile.orig	2013-12-09 03:51:52.000000000 +0100
-+++ ./Makefile	2013-12-12 21:03:24.000000000 +0100
+--- Makefile.orig	2013-12-09 02:51:52 UTC
++++ Makefile
 @@ -1,4 +1,4 @@
 -PREFIX=/usr
 +PREFIX=/usr/local
  
  all:
  	@echo "You can run Anki with ./runanki"
-@@ -6,24 +6,31 @@
+@@ -6,24 +6,28 @@ all:
  	@echo "Uninstall with 'sudo make uninstall'"
  
  install:
@@ -36,9 +36,6 @@
 +	cp -av anki.1 ${DESTDIR}${PREFIX}/man/man1/
 +	mkdir -p ${DESTDIR}${PREFIX}/share/mime/packages/
 +	cp -av anki.xml ${DESTDIR}${PREFIX}/share/mime/packages/
-+#	xdg-mime install anki.xml --novendor
-+#	xdg-mime default anki.desktop application/x-anki
-+#	xdg-mime default anki.desktop application/x-apkg
  	@echo
  	@echo "Install complete."
  

Modified: head/games/anki/pkg-plist
==============================================================================
--- head/games/anki/pkg-plist	Sat Sep  5 22:48:23 2015	(r396197)
+++ head/games/anki/pkg-plist	Sat Sep  5 22:48:36 2015	(r396198)
@@ -728,6 +728,7 @@ share/applications/anki.desktop
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/anki.mo
 %%NLS%%share/locale/ro/LC_MESSAGES/anki.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/anki.mo
+%%NLS%%share/locale/sco/LC_MESSAGES/anki.mo
 %%NLS%%share/locale/sk/LC_MESSAGES/anki.mo
 %%NLS%%share/locale/sl/LC_MESSAGES/anki.mo
 %%NLS%%share/locale/sr/LC_MESSAGES/anki.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509052248.t85MmbLC095652>