Page 1 of 3

epub readers

Posted: 20. Jan 2013, 14:32
by Dani745
Hi guys,

what ebook reader do you recommend?

I already know fdreader and calibre, but I would like something that doesn't need 300 MB of dependencies :DD

Re: epub readers

Posted: 20. Jan 2013, 15:12
by knome
Coolreader? QT based so perhaps not what you are looking for.

How about going the browser add-on route? Firefox has a few options.

Re: epub readers

Posted: 20. Jan 2013, 16:01
by zAchAry
https://github.com/sakisds/pPub
pPub is a simple epub reader written in Python using GTK3 and WebKit. It has most features expected from a book reader and some support for ebook-convert. It's licenced under GPLv2.
I think you can ask fredg for an SLKBUILD.

Re: epub readers

Posted: 1. Jun 2013, 18:45
by zAchAry
I used this build script http://people.salixos.org/fredg/package ... 0/SLKBUILD

I get an error:

Code: Select all

$ ppub 
Traceback (most recent call last):
  File "/usr/share/ppub/ppub.py", line 22, in <module>
    from gi.repository import Gdk, Gtk, GObject, WebKit
ImportError: No module named gi.repository

Re: epub readers

Posted: 1. Jun 2013, 19:40
by sojurn
zAchAry wrote:I used this build script http://people.salixos.org/fredg/package ... 0/SLKBUILD

I get an error:

Code: Select all

$ ppub 
Traceback (most recent call last):
  File "/usr/share/ppub/ppub.py", line 22, in <module>
    from gi.repository import Gdk, Gtk, GObject, WebKit
ImportError: No module named gi.repository
Here is a similar problem at least, although its a year old (gtk3??):

http://stackoverflow.com/questions/8109 ... repository

Re: epub readers

Posted: 29. Jun 2013, 10:00
by zAchAry
I am having the same problem with MenuLibre.

Code: Select all

$ menulibre
Traceback (most recent call last):
  File "/usr/bin/menulibre", line 48, in <module>
    import menulibre
  File "/usr/lib/python2.7/site-packages/menulibre/__init__.py", line 23, in <module>
    from gi.repository import Gtk # pylint: disable=E0611
ImportError: No module named gi.repository
It is available through slapt-src (SBo repository).
http://slackbuilds.org/repository/14.0/ ... menulibre/

Re: epub readers

Posted: 29. Jun 2013, 12:04
by mimosa
Do you have the following installed:

Code: Select all

pygobject
gobject-introspection
both in Salix repos

Re: epub readers

Posted: 29. Jun 2013, 12:38
by zAchAry
Yes. I have also reinstalled both of these after reading your comment, and problem persists.

Re: epub readers

Posted: 29. Jun 2013, 12:58
by zAchAry
I have installed pygobject3 (3.2.2) from SBo and MenuLibre is working now.

Code: Select all

slapt-src -i pygobject3
Slackware official has version 2.28.6 of pygobject

Ppub still does not work:

Code: Select all

$ ppub 
ERROR:root:Could not find any typelib for WebKit
Traceback (most recent call last):
  File "/usr/share/ppub/ppub.py", line 22, in <module>
    from gi.repository import Gdk, Gtk, GObject, WebKit
ImportError: cannot import name WebKit

Re: epub readers

Posted: 29. Jun 2013, 17:57
by gapan
you probably need pywebkitgtk for that.