mnemosyne-proj / mnemosyne

Mnemosyne: efficient learning with powerful digital flash-cards.
https://mnemosyne-proj.org/
Other
507 stars 74 forks source link

update the ubuntu package #37

Closed iambumblehead closed 5 years ago

iambumblehead commented 6 years ago

https://launchpad.net/ubuntu/artful/+source/mnemosyne

ubuntu currently provides version 2.4. There are some important additions in 2.5 and 2.6 for high-resolution screens, so it would be great if 2.6 were packaged instead.

Thanks :)

jmehne commented 6 years ago

AFAIK Ubuntu syncs from Debian (testing?) every six months. So, I guess long-term we need to find out why Debian doesn't update the package. I've been wanting to do this for quite some time ... I'll try to look into it this week and report back.

iambumblehead commented 6 years ago

I tried building an ubuntu-style 'snap' package for mnemosyne but encountered this issue. I've not made a snap before.

It should work for someone building the snap from LTS ubuntu.

snapcraft.yaml

name: mnemosyne # you probably want to 'snapcraft register <name>'
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Optimized Flashcards and Research Project # 79 char long summary
description: |
  a free, open-source, spaced-repetition flashcard program that helps you
  learn as efficiently as possible.

grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots

parts:
  mnemosyne:
    source: .
    plugin: python
    python-version: python3
    build-packages:
      - python3-distutils-extra
    stage-packages:
      - python3-distutils-extra

apps:
  mnemosyne:
    command: python3 mnemosyne/pyqt_ui/mnemosyne
jmehne commented 6 years ago

Nice.

My current status regarding Debian is that it seems the package got kicked out of testing, because it didn't build automatically. I guess I'll ask on their IRC channel to see if there's anything I can do to help.

SnarkBoojum commented 6 years ago

I'm pondering taking over the mnemosyne package in Debian -- with the blessing of the current maintainer (Robert Lemmen) ; would it be possible to tag releases on github to allow me packaging official releases?

Thanks.

pbienst commented 6 years ago

Thanks for doing this!

Not sure if we can retroactively tag releases on github, but this is the 2.6 release:

https://github.com/mnemosyne-proj/mnemosyne/commit/cb30cbf275e12a8af1d71e42a033af7eb1847bff

SnarkBoojum commented 6 years ago

As far as I know, you just git tag the commit, and it's ok.

pbienst commented 6 years ago

OK, should be done now.

SnarkBoojum commented 6 years ago

Excellent ; I started working on updating the packaging.

The main license file only tells about two directories, for the rest there is no license (which means in particular : no right to ship it in Debian). Could you clarify the situation? Thanks.

SnarkBoojum commented 6 years ago

(I'll also drop the android files from the package : they're not source files -- but it's not a problem since they are useless on Debian anyway)

pbienst commented 6 years ago

I'll improve the wording, but the idea is that only openSM2sync has a different licence (LGPL3) compared to all the rest of Mnemosyne.

iambumblehead commented 6 years ago

the debian package is "in process"

https://tracker.debian.org/news/955509/mnemosyne-26ds-1-migrated-to-testing/ https://packages.debian.org/buster/all/mnemosyne/download

SnarkBoojum commented 6 years ago

No, it's not "in process" : it has been processed, about ten days ago.

It's both in unstable and testing, see here.

Ubuntu will sync to that in a while.

pbienst commented 6 years ago

There seems to be an 'icon not found issue' with the package. Is this something you could have a look at? Thanks!

SnarkBoojum commented 6 years ago

Hmmm... what icon not found issue? Which package version?

pbienst commented 6 years ago

At the time I wrote this, the Debian tracker page listed an error related to an icon not being found. However, this seems to have disappeared now...

pbienst commented 5 years ago

I guess we can close this now.