Bug#958853: anki: Upstream new version

2020-04-25 Thread Alberto Fuentes
Package: anki
Version: 2.1.15+dfsg-1
Severity: wishlist

Upstream version is 2.1.22. Almost 9 months of fixes :)

Cheers!



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages anki depends on:
ii  libjs-jquery3.3.1~dfsg-3
ii  libjs-jquery-flot   0.8.3+dfsg-1
ii  libjs-jquery-ui 1.12.1+dfsg-5
ii  libjs-mathjax   2.7.4+dfsg-1
ii  libqt5core5a5.12.5+dfsg-9
ii  python3 3.8.2-3
ii  python3-bs4 4.9.0-1
ii  python3-decorator   4.4.2-2
ii  python3-distro  1.4.0-1
ii  python3-distutils   3.8.2-2
ii  python3-jsonschema  3.0.2-4
ii  python3-markdown3.2.1-1
ii  python3-pyaudio 0.2.11-1.1+b1
ii  python3-pyqt5   5.14.2+dfsg-1+b1
ii  python3-pyqt5.qtwebchannel  5.14.2+dfsg-1+b1
ii  python3-pyqt5.qtwebengine   5.14.0-2+b1
ii  python3-requests2.23.0+dfsg-2
ii  python3-send2trash  1.5.0-2

Versions of packages anki recommends:
ii  python3-matplotlib  3.1.2-2

Versions of packages anki suggests:
pn  dvipng   
ii  lame 3.100-3
ii  mplayer  2:1.3.0-8+b6
ii  mpv  0.32.0-1

-- no debconf information



Bug#958853: anki: Upstream new version

2020-04-26 Thread Julian Gilbey
On Sat, Apr 25, 2020 at 10:15:55PM +0200, Alberto Fuentes wrote:
> Package: anki
> Version: 2.1.15+dfsg-1
> Severity: wishlist
> 
> Upstream version is 2.1.22. Almost 9 months of fixes :)
> 
> Cheers!

Hi Alberto,

Since the latest version in Debian, upstream have started using Rust
as part of the Anki package.  They are also now building Anki using
their own Rust program (called maturin).  This is making packaging the
newer releases for Debian significantly challenging, as it require
liaising with the Rust team and learning a whole new packaging
environment.  Rust has lots of little modules ("crates"), each of
which is packaged separately, and the version dependencies are pretty
horrendous.  I spent a day a couple of weeks ago trying to figure it
all out, and learnt lots.  But it's probably most of a week's work to
get the whole thing to work, and I haven't yet had the time to do
this.

If you're able to help, it would be hugely appreciated!

Best wishes,

   Julian



Bug#958853: anki: Upstream new version

2020-04-28 Thread alberto fuentes
Im not sure how much i can help since i dont know anything about rust

I checked

https://salsa.debian.org/debian/anki

But its not been touched in a long time

Where do you keep your development?


On Sun, Apr 26, 2020 at 11:19 AM Julian Gilbey  wrote:

> On Sat, Apr 25, 2020 at 10:15:55PM +0200, Alberto Fuentes wrote:
> > Package: anki
> > Version: 2.1.15+dfsg-1
> > Severity: wishlist
> >
> > Upstream version is 2.1.22. Almost 9 months of fixes :)
> >
> > Cheers!
>
> Hi Alberto,
>
> Since the latest version in Debian, upstream have started using Rust
> as part of the Anki package.  They are also now building Anki using
> their own Rust program (called maturin).  This is making packaging the
> newer releases for Debian significantly challenging, as it require
> liaising with the Rust team and learning a whole new packaging
> environment.  Rust has lots of little modules ("crates"), each of
> which is packaged separately, and the version dependencies are pretty
> horrendous.  I spent a day a couple of weeks ago trying to figure it
> all out, and learnt lots.  But it's probably most of a week's work to
> get the whole thing to work, and I haven't yet had the time to do
> this.
>
> If you're able to help, it would be hugely appreciated!
>
> Best wishes,
>
>Julian
>


Bug#958853: anki: Upstream new version

2020-04-28 Thread Julian Gilbey
On Tue, Apr 28, 2020 at 12:26:52PM +0200, alberto fuentes wrote:
> Im not sure how much i can help since i dont know anything about rust
> I checked
> https://salsa.debian.org/debian/anki
> But its not been touched in a long time
> Where do you keep your development?

Salsa.

   Julian



Bug#958853: anki: Upstream new version

2020-04-28 Thread alberto fuentes
Maybe you forgot to git push?

Last commit in salsa is from 8 months ago

On Tue, Apr 28, 2020 at 8:02 PM Julian Gilbey  wrote:

> On Tue, Apr 28, 2020 at 12:26:52PM +0200, alberto fuentes wrote:
> > Im not sure how much i can help since i dont know anything about rust
> > I checked
> > https://salsa.debian.org/debian/anki
> > But its not been touched in a long time
> > Where do you keep your development?
>
> Salsa.
>
>Julian
>


Bug#958853: anki: Upstream new version

2020-04-28 Thread Julian Gilbey
On Tue, Apr 28, 2020 at 09:34:50PM +0200, alberto fuentes wrote:
> Maybe you forgot to git push?
> Last commit in salsa is from 8 months ago

Huh?  No it isn't:

  Update watch file to use github release tags
  Julian Gilbey authored 3 months ago

Could it be you checked salsa when it was suffering from a storage
failure?

Best wishes,

   Julian



Bug#958853: anki: Upstream new version

2020-04-28 Thread alberto fuentes
On Tue, Apr 28, 2020 at 10:56 PM Julian Gilbey  wrote:

> Could it be you checked salsa when it was suffering from a storage
> failure?
>

Thats only the watch file. Before that last update is 8 months ago

Never mind, I thought there was already something in progress for the rust
thing and that you had just not pushed it :)


Bug#958853: anki: Upstream new version

2020-04-28 Thread Julian Gilbey
On Tue, Apr 28, 2020 at 11:03:33PM +0200, alberto fuentes wrote:
> On Tue, Apr 28, 2020 at 10:56 PM Julian Gilbey  wrote:
> 
>   Could it be you checked salsa when it was suffering from a storage
>   failure?
> 
> Thats only the watch file. Before that last update is 8 months ago
> Never mind, I thought there was already something in progress for the rust 
> thing
> and that you had just not pushed it :)

I'm trying to get my head around Rust, the Debian Rust policy, how to
build things, work out the nightmares of Rust dependencies, what new
packages need to be built (beyond maturin) and so on.  Add to that the
fact that the whole Anki source package structure has been changed, so
it is hard to see what the detailed changes are - it's a lot of work.
And I haven't committed anything yet, as I'm nowhere close to having
anything to commit :(  (Too much other stuff going on in real life.)

In the meantime, if you want to use the most up-to-date version of
Anki, there is a downloadable compiled package on the Anki website.
(I could package 2.1.16, but it does not seem worth the effort at this
point.)

Best wishes,

   Julian



Bug#958853: anki: Upstream new version

2020-04-28 Thread alberto fuentes
On Tue, Apr 28, 2020 at 11:19 PM Julian Gilbey  wrote:

> On Tue, Apr 28, 2020 at 11:03:33PM +0200, alberto fuentes wrote:
> > On Tue, Apr 28, 2020 at 10:56 PM Julian Gilbey 
> wrote:
> >
> >   Could it be you checked salsa when it was suffering from a storage
> >   failure?
> >
> > Thats only the watch file. Before that last update is 8 months ago
> > Never mind, I thought there was already something in progress for the
> rust thing
> > and that you had just not pushed it :)
>
> I'm trying to get my head around Rust, the Debian Rust policy, how to
> build things, work out the nightmares of Rust dependencies, what new
> packages need to be built (beyond maturin) and so on.  Add to that the
> fact that the whole Anki source package structure has been changed, so
> it is hard to see what the detailed changes are - it's a lot of work.
> And I haven't committed anything yet, as I'm nowhere close to having
> anything to commit :(  (Too much other stuff going on in real life.)
>
> In the meantime, if you want to use the most up-to-date version of
> Anki, there is a downloadable compiled package on the Anki website.
> (I could package 2.1.16, but it does not seem worth the effort at this
> point.)
>

Ill take a look!

And thanks for all yout troubles and work!!