okular epub plugin part 2

Finally seeing text!!!  of course page breaking still doesn’t work properly, and not all html is parsed correctly (like links).

but it’s a start!

show text

9 Comments

  1. m said,

    February 14, 2008 at 10:06 pm

    Hey! That is wonderful! Thank you for your work.

  2. mix said,

    February 23, 2008 at 12:14 pm

    Hum, trying to tet it, I install ebook-tools but epub won’t cmake anyway, it complains like:

    CMake Error: Okular_DIR is not set. It must be set to the directory containing OkularConfig.cmake in order to use Okular.

    while if I merge epub into okular sources and add it as a subdir to okular/generators/CMakeLists.txt I get the complaint:

    CMake Error: EPub_DIR is not set. It must be set to the directory containing EPubConfig.cmake in order to use EPub.

    Any hint?

  3. nakee said,

    February 23, 2008 at 9:39 pm

    Do you have kdelibs pointing at the place where FindOkular.cmake is?

  4. mix said,

    February 24, 2008 at 9:14 am

    I have no OkularConfig.cmake and no FindOkular.cmake in my system, it’s gentoo + kde-4.0.1

  5. mix said,

    February 24, 2008 at 9:36 am

    TY, fixed my system :modified okular ebuild to install FindOkular.cmake and I can get past that error directly to :

    [ 75%] Building CXX object CMakeFiles/okularGenerator_epub.dir/converter.o
    /home/user/epub/converter.cpp: In member function ‘void EPub::Converter::_emitData(Okular::DocumentInfo::Key, epub_metadata)’:
    /home/user/epub/converter.cpp:61: error: no matching function for call to ‘EPub::Converter::addMetaData(Okular::DocumentInfo::Key&, QString)’

  6. nakee said,

    February 24, 2008 at 11:08 am

    Now you mention it I remember that problem with the ebuild (sorry I forgot)
    In the end I just installed okular from svn.
    The function it is missing seems to also be only in svn, so you might want to install it in /usr/local or so.
    BTW I’m in a stage where I’m really missing testers, so if you notice any epub files that do you problems (or something I missed) please leave me a note or even email me.

  7. mix said,

    February 24, 2008 at 4:21 pm

    I’d like to test, but I’ve still to find a way , installing svn in /usr/local/ okular complains it can’t
    find okular components…. sorry I think I’ll test later, hopefully with okular-4.0.2 out in some weeks…

  8. ravikumar said,

    September 15, 2009 at 6:26 am

    Hi,

    I installed okular on ubuntu 9.04 and I built and install epub plugin successfully. But I am not able to open any epub documents and getting the error as can’t find a suitable plugin. Please let me know if I missed anything here and kindly help me on this.

    Is it possible to use okular on arm based embedded devices?

  9. July 3, 2012 at 4:32 am

    Jesus Christ there is lots of spammy comments on this page. Have you at any time believed about trying to eliminate them or installing a wordpress plugin?


Leave a comment