Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715624 - app-misc/anki detects recent version of media-video/mpv as "too old"
Summary: app-misc/anki detects recent version of media-video/mpv as "too old"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-31 14:18 UTC by inasprecali
Modified: 2020-06-12 07:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info app-misc/anki (emergeinfo.txt,19.03 KB, text/plain)
2020-03-31 14:18 UTC, inasprecali
Details
Pop-up window showing error. (ankimpverror.png.xz,15.66 KB, application/x-xz)
2020-03-31 14:18 UTC, inasprecali
Details
Add emerge --info media-video/mpv for completeness (emergeinfo-mpv.txt,19.30 KB, text/plain)
2020-03-31 14:20 UTC, inasprecali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description inasprecali 2020-03-31 14:18:06 UTC
Created attachment 627944 [details]
emerge --info app-misc/anki

After that latest stable media-video/mpv update to version 0.32.0-r1, anki (version app-mics/anki-2.1.13-r1) fails to find mpv when trying to play audio from cards. If run from a console, it prints "mpv too old, reverting to mplayer", and when trying to effectively play audio from a card, the attached pop-up window appears.
While the problem did arise after a mpv update, it's unlikely to be the culprit, since mpv itself works fine. It seems that anki itself has problems detecting the version, incorrectly labelling it as "too old" when it's not.
Comment 1 inasprecali 2020-03-31 14:18:47 UTC
Created attachment 627946 [details]
Pop-up window showing error.
Comment 2 inasprecali 2020-03-31 14:20:51 UTC
Created attachment 627948 [details]
Add emerge --info media-video/mpv for completeness
Comment 4 inasprecali 2020-06-04 13:15:05 UTC
(In reply to cburroughs from comment #3)
> NOTE: This is resolved upstream in 2.1.20
> 
> https://github.com/ankitects/anki/commit/
> ccd715013609133c55e83924734efa78abc03326
> 
> https://anki.tenderapp.com/discussions/ankidesktop/38186-mpvprocesserror-
> unable-to-start-process

Then this means that this bug is effectively a duplicate of https://bugs.gentoo.org/700010
Please bump to a more recent version.
Comment 5 Larry the Git Cow gentoo-dev 2020-06-12 07:00:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf4348280a355c7def871019405fc563730ed7c

commit bbf4348280a355c7def871019405fc563730ed7c
Author:     Chris Burroughs <chris.burroughs@gmail.com>
AuthorDate: 2019-11-08 02:37:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-12 06:59:45 +0000

    app-misc/anki: bump to 2.1.15 and modernize ebuild
    
     - claiming maintainer timeout to update version and fix bugs, --juippis
    
     * Bump to EAPI 7
     * Enable python 3.{7,8} support
     * Fix missing test dependencies
     * Add missing jsonschema dependency
     * Backport argument fix to allow mpv versions > 0.31 to be used by anki
     * Correct and expand LICENSE
     * Resolve NonexistentDeps DEPEND warning (leftover from PyQtWebEngine split,
       but no version of PyQt5 with a webengine use flag is still in the tree.)
     * Use default pkg_setup from eclass and rely on default value for S variable
     * Clarify optional runtime dependencies needed (mpv OR mplayer)
     * Move optional runtime dependencies to optfeature
     * Adjust SRC_URL after upstream re-arranging
    
    NOTE: The upstream LICENSE includes "Qt's bundled translations: LGPL3", but
    since we are building from source that is not directly included.  More recent
    upstream versions have clarified this in the LICENSE file.
    
    Bug: https://bugs.gentoo.org/625894
    Bug: https://bugs.gentoo.org/645314
    Bug: https://bugs.gentoo.org/651472
    Bug: https://bugs.gentoo.org/688798
    Closes: https://bugs.gentoo.org/700010
    Closes: https://bugs.gentoo.org/715624
    Bug: https://bugs.gentoo.org/722502
    Bug: https://bugs.gentoo.org/724482
    Bug: https://bugs.gentoo.org/724990
    Closes: https://bugs.gentoo.org/726522
    
    Signed-off-by: Chris Burroughs <chris.burroughs@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16054
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/anki/Manifest                         |  1 +
 app-misc/anki/anki-2.1.15.ebuild               | 93 ++++++++++++++++++++++++++
 app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 +++++++
 3 files changed, 120 insertions(+)