Project

General

Profile

anki without qt5-webengine

nona - 5 months ago -

Hello,

I would like to install anki (which is available in the repos), but it requires qt5-webengine

    resolving dependencies...
    warning: cannot resolve "qt5-webengine", a dependency of "anki" 
    warning: cannot resolve "python-pyqtwebengine", a dependency of "anki" 
    :: The following package cannot be upgraded due to unresolvable dependencies:
          anki

I have seen other packages which go around such dependencies. How to do it with this? Thanks.


Replies (8)

RE: anki without qt5-webengine - theova - 5 months ago -

Hi,

Thank you for the notification. Before posting a new issue, please have a look at the bug tracker and search for the package name.

There is already an open issue: #1426

nona wrote:

How to do it with this?

One would need to patch the code and modify the program s.t. it doesn't depend on qt5-webengine anymore. However this might not be an easy task.
If you are interested in building libre packages, you can find additional informations here.

RE: anki without qt5-webengine - nona - 5 months ago -

Sorry, I should have searched before, I usually do.

I assume that s.t. = so that

Yes, I am interested. I don't know if I have the drive to modify anki's source to use webkit, but I'll send an e-mail to the developers... who knows, may be they'll do it!

RE: anki without qt5-webengine - nona - 3 months ago -

Good news! I helped towards the liberation of software (for the first time? dunno)
https://anki.tenderapp.com/discussions/ankidesktop/37764-webkit
I attach a PKGBUILD.

This uses lovac42's repository for an Anki alternative called CCBC. Damien Elmes (who I assume is a developer of Anki) seems to be very keen on not migrating.

RE: anki without qt5-webengine - bill-auger - 12 days ago -

this sounds good - have you tried it? - are you familiar with
anki? - will people who like anki be satisfied with CCBC as a
replacement?

we would prefer to get PKGBUILDs and patches on the mailing
list, or attached to an open bug report, if there is one - email
sent to the dev mailing list with [PATCH] in the subject, is
the most likely way to be noticed and handled promptly

or, as in this case, there are two open tickets on the bug
tracker for anki

https://labs.parabola.nu/issues/1426
https://labs.parabola.nu/issues/1830

RE: anki without qt5-webengine - nona - 12 days ago -

Short: will later create bug report and [PATCH]. See this: https://www.notabug.org/broncodev/ccbc-pkgbuild

Detailed:
I had to make some changes (that was my little contribution). You can check the results on this repository: https://www.notabug.org/broncodev/ccbc-pkgbuild . I try to fix things as I discover that they are broken. The thing that I haven't been able to solve is how to record audio. I have not taken the time to contact lovac42 to let him know about my changes, but I did send him a message when I started with them with the link to the repo.

CCBC is basically the same as Anki. If it works, people can just replace Anki with it. The conditional is big, because I could not even use it when I got the link to the project the first time.

I will follow on the [PATCH] thing, but then I would first contact lovac42 and let him know of my changes. My contributions consist in using https://github.com/rferrazz/pyqt4topyqt5.git and some other rules implemented in the PKGBUILD with sed for the migration.

I did not want to create a bug report, because https://labs.parabola.nu/issues/1426 already existed, and I often feel that I create bug reports which should not be bug reports. At the time of my initial writing, things seemed to point to the wish to revert Anki to 2.0, which did not go in line with what I intended (because I want the voice recording feature and have it up to date). On top of that, when lovac42 posted that "these are personal pet projects" did not give me enough confidence to share it back to Parabola.

RE: anki without qt5-webengine - bill-auger - 12 days ago -

not all tickets on the bug tracker need to be bug reports -
there is a selector where you can choose to denote it as a
"packaging request" - that would be the most appropriate
protocol for a new package

RE: anki without qt5-webengine - theova - 12 days ago -

nona: Cool that are great news. Congrats! I would be willing to test Anki app :)

RE: anki without qt5-webengine - nona - 11 days ago -

theova wrote:

nona: Cool that are great news. Congrats! I would be willing to test Anki app :)

Thanks. Remember, I am mainly using lovac42's and pyqt4topyqt5 projects (may be you want to thank them). Let me know if you can build from the repo: https://www.notabug.org/broncodev/ccbc-pkgbuild . It works for me. As I said, the voice recording and may be other features that I never use are still not working :) .

Praise the freedom!

    (1-8/8)