mnemosyne 2.0 for linux

37 views
Skip to first unread message

robertle

unread,
May 28, 2012, 4:18:22 PM5/28/12
to mnemosyne-proj-users
hi folks,

I have been maintaining the debian packages of mnemosyne so far, and
debian is removing qt3 for good. So I either need to get mnemosyne
working with qt4, or remove the package from debian for now.

I suspect taking version 2.0 is the easiest way to get it to work with
qt4, so I wanted to play around with that a bit to see how it goes (I
am of course aware that this is a release candidate).

However, I can't find any package for linux, which I thought is a bit
strange because building the tarball doesn't seem like a big thing. Is
there such a package? Or can anyone see a simple way to get mnemosyne
1.2.2 to work with qt4?

thanks robert

Peter Bienstman

unread,
May 29, 2012, 1:48:57 AM5/29/12
to mnemosyne-...@googlegroups.com
Thanks for packaging 2.0!

Currently, linux folks get the code via bzr:

http://www.mnemosyne-proj.org/hacking.php

When I get back from travelling, I will also put up a tarball.

Cheers,

Peter


Citeren robertle <robe...@semistable.com>:
> --
> You received this message because you are subscribed to the Google
> Groups "mnemosyne-proj-users" group.
> To post to this group, send email to mnemosyne-...@googlegroups.com.
> To unsubscribe from this group, send email to
> mnemosyne-proj-u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mnemosyne-proj-users?hl=en.
>
>


robertle

unread,
May 29, 2012, 5:02:38 AM5/29/12
to mnemosyne-proj-users
hi peter,

On May 29, 6:48 am, "Peter Bienstman" <Peter.Bienst...@UGent.be>
wrote:
> Currently, linux folks get the code via bzr:
> http://www.mnemosyne-proj.org/hacking.php

yeah, I had a play with that and it seems to basically work

> When I get back from travelling, I will also put up a tarball.

excellent, I'd much prefer some sort of non-moving upstream to base
the debian package on,
although it could in theory be based directly on a source repo.

I'll start some of the packaging work and testing here based on the
bzr version, and will switch to your tarball once available

regards robert

robertle

unread,
May 30, 2012, 2:48:36 PM5/30/12
to mnemosyne-proj-users
update: I have built provisional packages from the current bzr
checkout, anyone interested please have a look and let me know if
there
are any problems: http://www.semistable.com/files/

I also did apply some changes to get it to work and/or make it more
policy-compliant, perhaps some of it is of interest to you as well:

--- a/mnemosyne/libmnemosyne/configuration.py
+++ b/mnemosyne/libmnemosyne/configuration.py
@@ -234,9 +234,9 @@
join = os.path.join
# Create paths.
if not exists(self.data_dir):
- os.mkdir(self.data_dir)
+ os.makedirs(self.data_dir)
if not exists(self.config_dir):
- os.mkdir(self.config_dir)
+ os.makedirs(self.config_dir)
for directory in ["history", "plugins", "backups"]:
if not exists(join(self.data_dir, directory)):
os.mkdir(join(self.data_dir, directory))
--- /dev/null
+++ b/mnemosyne.1
@@ -0,0 +1,19 @@
+.TH MNEMOSYNE 1 "" "Mnemosyne" "Spaced Repetition Flash-card Program"
+.SH NAME
+mnemosyne \- spaced repetition flash-card program
+.SH SYNOPSIS
+.B mnemosyne
+.RI [ options ]
+.SH DESCRIPTION
+The Mnemosyne software resembles a traditional flash-card program to
help you
+memorise question/answer pairs, but with an important twist: it uses
a
+sophisticated algorithm to schedule the best time for an item to come
up for
+review. Difficult items that you tend to forget quickly will be
scheduled more
+often, while Mnemosyne won't waste your time on things you remember
well.
+
+Since Mnemosyne is a KDE application, it is usually not started from
a shell,
+but from an X11 menu, and doesn't take many options. For a few hints
on how to
+use the software, see the homepage at http://www.mnemosyne-proj.org
+.SH AUTHOR
+mnemosyne was written by Peter Bienstman <Peter.B...@UGent.be>
and friends
+
--- a/mnemosyne/webserver/mnemosyne-webserver
+++ b/mnemosyne/webserver/mnemosyne-webserver
@@ -1,3 +1,5 @@
+#!/usr/bin/python
+
#
# mnemosyne_webserver <Peter.B...@UGent.be>
#

regards robert


Peter Bienstman

unread,
May 30, 2012, 3:30:27 PM5/30/12
to mnemosyne-...@googlegroups.com
Thanks a lot!

I committed the patch (Mnemosyne is Qt app, not a KDE though).

If you still want a tarball, do 'make distrib' and look into the 'dist' dir.

Cheers,

Peter

robertle

unread,
May 31, 2012, 4:50:06 AM5/31/12
to mnemosyne-proj-users


On May 30, 8:30 pm, "Peter Bienstman" <Peter.Bienst...@UGent.be>
wrote:
> I committed the patch (Mnemosyne is Qt app, not a KDE though).

ok, will change the manpage accordingly, will probably say "GUI"
anyway...

> If you still want a tarball, do 'make distrib' and look into the 'dist' dir.

that's what I did, if you want I can just continue doing so, I'd also
slap a
date on the version number to make it more explicit when this was
taken
from bzr. the only problem with this is that people might have a
problem
and report that they have version 2.0~RC1-20120531, which doesn't
exist
outside of debian. most upstreams would prefer everyone to use the
same
set of versions, so that support is easier. that's why I was wondering
if you
want to make an "official" rc2 tarball...

regards robert

Peter Bienstman

unread,
May 31, 2012, 5:23:50 AM5/31/12
to mnemosyne-...@googlegroups.com
OK, thanks!

The official RC2 tarball will come when RC2 is officially released.

Cheers,

Peter
--
Peter Bienstman
Ghent University, Dept. of Information Technology
Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium
tel: +32 9 264 34 46, fax: +32 9 264 35 93
WWW: http://photonics.intec.UGent.be
email: Peter.B...@UGent.be

Reply all
Reply to author
Forward
0 new messages