Okular epub support missing

Bug #345672 reported by Mark Eaton
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ebook-tools (Ubuntu)
Fix Released
Wishlist
Unassigned
kdegraphics (Ubuntu)
Fix Released
Undecided
Christian Mangold

Bug Description

The package says that it supports the epub format and the upstream code does support building with epub support but even with this package installed support for epub is not available.

I currently have 9.04 alpha 6 installed with all available updates and this is still the case.

Changed in kdegraphics (Ubuntu):
status: New → Confirmed
assignee: nobody → alessandro-ghersi
Changed in kdegraphics (Ubuntu):
assignee: alessandro-ghersi → nobody
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Ebook-tools would have to get included in main. This won't happen for Kubuntu 9.04, it's way too late. :(

We will make the package description not advertise support for the format, though.

Changed in ebook-tools (Ubuntu):
importance: Undecided → Wishlist
summary: - epub support missing
+ Okular epub support missing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdegraphics - 4:4.2.2-0ubuntu2

---------------
kdegraphics (4:4.2.2-0ubuntu2) jaunty; urgency=low

  * Do not advertise support for backends we don't compile
    (LP: #277007, #345672)
  * Add kubuntu_02_kolourpaint_qt_crash_fix.diff to work around the Qt crash
    that is otherwise present. (LP: #334868)
    - Drop kubuntu_01_kolourpaint.desktop-graphicssytem.diff, replaced by the
      above

 -- Jonathan Thomas <email address hidden> Wed, 08 Apr 2009 09:14:22 -0400

Changed in kdegraphics (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
N7DR (doc-evans) wrote :

I am unclear about the resolution of this.

Has it been resolved:
1) simply by no longer advertising epub support? or
2) actually including epub support?

If the former, I guess I'll file another bug, specifically requesting epub support, but I don't want to do that if this bug has been resolved by option 2.

Revision history for this message
Johannes Mockenhaupt (mockenh-deactivatedaccount) wrote :

N7DR, the bug has been resolved by no longer advertising epub support, not by including epub support unfortunately. The reason for this is, so that this package, which is in the main repository, does not depend on a package in the universe repository (see https://bugs.launchpad.net/kdegraphics/+bug/277007). A possible solution for this would be to create a new okular-extra-backends-universe package that contains epub and chmlib support (chm support was removed for the same reason - introducing a universe dependency).

Revision history for this message
N7DR (doc-evans) wrote :

It seems like something like the extra package you suggest would be a great idea. Right now, it's very confusing to the end-user not to be able to view particular formats in okular when people on other distros can do so.

Also, at least for this particular format, it's hard to believe that more and more people won't be affected by the inability to view it in okular. Project Gutenberg seems to be making a lot of its books available in EPUB format.

Revision history for this message
Götz Christ (g-christ) wrote :

This bug was opened in the Jaunty devel cycle, now in Karmic, is not possible to finally move libepub0 to main and compile Okular with EPUB support?

Revision history for this message
humufr (humufr-deactivatedaccount) wrote :

perhaps for the release 42.4? But for what I see nothing change in karmic. It's not still not included. By the way the okular in pardus 2009 has it so perhaps it's time to think to migrate?

Changed in kdegraphics (Ubuntu):
status: Fix Released → Confirmed
assignee: nobody → Christian Mangold (neversfelde)
Changed in ebook-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Mangold (neversfelde) wrote :

I have a package ready for testing in my ppa:
https://edge.launchpad.net/~neversfelde/+archive/ppa/+packages

It would be great, if you could install okular from there and try to open and read epub files. The reason is, that I could open some of my testfiles and some not, I had only some free ebooks and the files are probably not ok.

Thanks in advance.

Revision history for this message
humufr (humufr-deactivatedaccount) wrote :

Hi I installed okular from your ppa. I do have the same behavior than you some epub ar ok (I am saying ok because for all the file I open the font was grayish and so difficult to read) but some, especially the one I create from a pdf with calibre, are not open correctly (only one empty page). The problem is coming from your package because on pardus it's working fine but thanks for the try.

Revision history for this message
Christian Mangold (neversfelde) wrote :

No, it was a bug in ebook-tools. See bug 435826.

The next upload of kdegraphics should fix this bug and okular will be compiled with epub support.

I will upload a version to my ppa, so any further testing is appreciated (needs some time to build).

Thank you in advance,

Revision history for this message
Johannes Mockenhaupt (mockenh-deactivatedaccount) wrote :

Sorry for asking this just now and not earlier, but would it be possible to add chm support as well? I've patched okular on my system to support epub and chm. And while epub has problems with some files (just one empty page, same what humufr sees) but chm support works well. I can attach my patch. The way I did it was to create an additional package 'okular-extra-backends-universe' package that contains epub and chm support. What route are you taking Christian? I will create a patch for that route then. Thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdegraphics - 4:4.3.1-0ubuntu2

---------------
kdegraphics (4:4.3.1-0ubuntu2) karmic; urgency=low

  * Add libepub-dev to build-deps, enables epub
    support for okular (LP: #345672)
  * Update okular.install

 -- Christian Mangold <email address hidden> Thu, 24 Sep 2009 01:25:26 +0200

Changed in kdegraphics (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Christian Mangold (neversfelde) wrote :

I created a main inclusion report for libepub and it was accepted, so kdegraphics can now depend on it.

Unfortunately we are now in beta freeze, so I think we are to far in the release cycle to get chm support in for Karmic. I suggest, that you open a bug report for Lucid.

Revision history for this message
humufr (humufr-deactivatedaccount) wrote :

It's seems to work fine now. Thanks.

Revision history for this message
Götz Christ (g-christ) wrote :

Yes, it works fine, thanks Mangold!

Changed in ebook-tools (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.