On Sun, Jan 16, 2011 at 11:31:00AM +0100, Peter Hessler wrote: > Hi. I just got an ebook reader, and decided I needed to manage my > ebooks. So, here is a port for calibre. > > There are still notes and TODO items left before it can be committed, > but right now it works for me for basic management. > > My notes from the Makefile > > # not compiling pyc files yet > # XXX - fails to build if qt3 is installed!!! > # detects and uses qt3 before qt4 > # XXX - rss feeds are broken > # doesn't install .desktop etc files (needs xdg) > # not using libpodofo yet > > It currently does not do the fancy HW management, since I do not have a > compatible device. I don't intend to do that myself, but others are > more than welcome to test and submit fixes. > > > -- > i'm living so far beyond my income that we may almost be said to be > living apart. > -- e. e. cummings
I needed this diff to make it build. calibre (the binary) should be fixed to call python2.6 instead of python. If I give it a pdf, it just sits there, chews cycles, stops after a while and nothing happens. Maybe because libpodofo is missing? It tries to run itself during install. Not having X on the build box might have been an issue.. diff --git a/Makefile b/Makefile index 624bbe8..215d9fa 100644 --- a/Makefile +++ b/Makefile @@ -25,14 +25,16 @@ MODULES = lang/python LIB_DEPENDS= graphics/ImageMagick \ print/poppler,-qt4 \ graphics/libwmf \ - devel/chmlib -BUILD_DEPENDS = ${RUN_DEPENDS} + devel/chmlib \ + textproc/icu4c RUN_DEPENDS = www/py-mechanize \ textproc/py-cssutils \ devel/py-dateutil \ textproc/py-lxml>=2.2.8 \ x11/py-qt4>=4.8.2p1 \ - www/py-beautifulsoup + www/py-beautifulsoup \ + graphics/py-Imaging +BUILD_DEPENDS = ${RUN_DEPENDS} #RUN_DEPENDS= devel/xdg-utils \ # dns/py-dnspython \