Red Hat Bugzilla – Bug 1017204
calibre: mathjax is bundled
Last modified: 2013-11-12 21:09:04 EST
I'm currently packaging MathJax, so it can be unbundled from the IPython package. Please have a look at https://bugzilla.redhat.com/show_bug.cgi?id=1016677 (koji builds are linked there), hopefully the new package is good enough to unbundle mathjax from calibre.
Version-Release number of selected component (if applicable):
This looks ok to me from a quick glance.
I'm happy to try it and adjust as needed to keep things working.
Thanks for working on this. ;)
Please let us know when the package is available and ready and we can adjust calibre to use it.
mathjax is now a package: https://admin.fedoraproject.org/updates/mathjax-2.2-3.fc20
So, would you care to try unbundling this in rawhide at least?
Or perhaps one of my co-maintainers would be willing to give it a try. Should be just removing all those files in prep and then linking them to the system versions/adding requires.
So, I prepared some patches, also fixing some small issues I found:
1. cleanup: remove deprecated invocations and simplify things a bit, cleanup whitespace
2. unbundle mathjax
3. fix exception on shutdown
4. install bash completion script in /usr/share, and install zsh completion script
I tested this lightly, http://manual.calibre-ebook.com/_static/mathjax.epub at least displays properly.
Created attachment 819325 [details]
Created attachment 819326 [details]
unbundle mathjax patch
Created attachment 819327 [details]
install shell completion scripts nicely
Created attachment 819328 [details]
fix exception on shutdown
Cool. I can look at this in the next few days... or if you like I'd be happy to grant you acls and you could push it to rawhide. ;)
I applied for commit privileges for F20 and rawhide.
Approved them. Thanks very much for working on this... it's appreciated. ;)
(In reply to Kevin Fenzi from comment #11)
> Approved them. Thanks very much for working on this... it's appreciated. ;)
Ooops, I pushed the changes to F20 git before I noticed that it was still at the old version. Do you want to keep the update or should I revert the version change?
I'm ok to update f20 too.
I am getting this on upgrades this morning though:
Transaction check error:
file /usr/share/calibre/viewer/mathjax from install of calibre-1.9.0-3.fc21.x86_64 conflicts with file from package calibre-1.9.0-1.fc21.x86_64
I guess it's the old rpm can't handle directory moving to a symlink? ;(
calibre-1.9.0-4.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing calibre-1.9.0-4.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
calibre-1.9.0-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.